- Updated dependencies and build systems
- Added
arm64
to thecpu
field in package.json for installing on 64-bit Raspberry Pis
- Updated dependencies
- Got rid of duplicate callback TypeScript types and tightened up the code a bit as a result. No behavior change outside of TypeScript.
- Updated TypeScript to v3. Note: the compiled output changed as I previously didn't set the compiled output target flag correctly.
- Added
module
export to conform with Core IO types - Updated to i2c-bus v4.
- Note: there are breaking changes in i2c-bus 4, but they are not surfaced in raspi-i2c.
- Updated to i2c-bus v3.
- Note: there are breaking changes in i2c-bus v3, but they are not surfaced in raspi-i2c.
- Fixed a bug where readWord wasn't properly swizzling the registerOrCb argument as a register when all parameters supplied
- Removed logic for parsing pin information passed to the constructor
- Normally this would be a breaking change, but it was already broken and the current behavior does nothing anyways, meaning there isn't actually a change in behavior. Funny that.
- Eventually, I want to rework this to provide support for multiple busses.
- POTENTIALLY BREAKING CHANGE: renamed the following private properties to begin with an underscore because I just learned TypeScript doesn't do anything to hide private properties. Don't use these properties, changes may not be semver-major next time.
I2C.devices
->I2C._devices
I2C.getDevice
->I2C._getDevice
- BREAKING CHANGE: dropped support for Node.js < 4.0.0, and now enforce it via package.json "engines" field.
- SORT OF BREAKING-ISH CHANGE: dropped support for attempting to install on non-arm platforms via package.json's "cpu" field.
- Attempting to install this on a non-Raspberry Pi platform before gave a bunch of obtuse errors, so this doesn't actually change the ability to install raspi-i2c, but does make it fail earlier and harder.
- Fixed a bug in
writeSync
where we weren't properly swizzling arguments.
- Publishing a new version to update the README on npmjs.com. No other changes.
- Added some important documentation to the README that needs to be on npmjs.com
- Note: there are no code changes, only documentation
- Added missing TypeScript definition package.json entry
- Made all write callbacks optional
- Normalized read and write callbacks so that error is always null if no error occured
- POTENTIALLY BREAKING CHANGE: If you were using
err === undefined
or something similar, this will no longer work
- POTENTIALLY BREAKING CHANGE: If you were using
- Normalized write callbacks so they only take an error argument
- POTENTIALLY BREAKING CHANCE: If you were relying on the undocumented extra parameters to the write callback, these will now be
undefined
- POTENTIALLY BREAKING CHANCE: If you were relying on the undocumented extra parameters to the write callback, these will now be
- Converted the project to TypeScript and cleaned up a bunch of odds and end
- Removed 32 byte length limitation when reading/writing directly to the bus and not to a register
- POTENTIALLY BREAKING CHANGE: if you were relying on the exception being thrown in this situation, you'll need to update your code.
- Updated Dependency
- Switched dependency ranges to ^
- Bumped dependencies to bring in support for a new Raspberry Pi Zero revision
- Dependency update to fix bug
- New build system
- Removed execSync and Symbol shims
- BREAKING CHANGE: Node 0.10 is no longer supported as a result
- Dependency update to add missing Raspberry Pi 3 Model B revision
- Forgot to bump the raspi-peripheral dependency in 2.3.0
- Added support for the Raspberry Pi 3 Model B
- Added support for Ubuntu
- Updated dependencies to add Raspberry Pi Zero support
- Upgraded i2c-bus to new version that uses NAN 2
- POTENTIAL BREAKING CHANGE
- The API has not changed, but the build requirements have
- Make sure you are running Raspbian Jessie because this module no longer builds on stock Raspbian Wheezy
- See https://github.com/fivdi/onoff/wiki/Node.js-v4-and-native-addons for more information
- Dependency updates to fix bug with invalid pin aliases
- Updated build dependencies
- Dependency updates to fix a bug with pin aliasing
- Added a Symbol shim to fix a crash in Node.js 0.10
- Updated dependencies
- Updated the repository links to point to their new location
- Added a contributing guide
- Added code linter
- Update code style to use newer best practices
- Added a default baudrate value to the install script
- Added notes about the default clock rate being unstable with certain Arduinos
- Added documentation
- Updated dependencies and reworked code to use
validateAlive
internally.- No user-facing changes or bug fixes.
- First publish