onoff
Version:
GPIO access and interrupt detection with Node.js
326 lines (229 loc) • 8.12 kB
Markdown
6.0.3 - Apr 26 2021
===================
* update performance numbers
* add support for node.js 16
* update dependencies
6.0.2 - Apr 07 2021
===================
* fix accessible property (thank you [@mildsunrise](https://github.com/mildsunrise))
* update dependencies
* add support for node.js 15
6.0.1 - Oct 10 2020
===================
* switch from coveralls to codecov
* update dependencies
* drop support for node.js 8
* drop support for node.js 13
6.0.0 - Apr 23 2020
===================
* document the potential of EPERM errors when invoking write methods (fixes [#167](https://github.com/fivdi/onoff/issues/167))
* drop support for node.js 6, add support for node.js 14
* avoid calling fs.writeFileSync with numeric data (fixes [#170](https://github.com/fivdi/onoff/issues/170))
* update dependencies
* use g++-6 on travis
5.0.1 - Dec 24 2019
===================
* document node 11 support
* update benchmark results for pi 1, 2, 3 and 4
5.0.0 - Sep 22 2019
===================
* drop support for node.js v4
* update dependencies (epoll v3.0.0, ts-node v8.4.1, typescript v3.6.3)
4.1.4 - Sep 07 2019
===================
* update dependencies (epoll v2.0.10, coveralls v3.0.6, mocha v6.2.0, typescript v3.6.2)
4.1.3 - Jul 05 2019
===================
* avoid recursion in read and write methods (fixes [#156](https://github.com/fivdi/onoff/issues/156))
4.1.2 - Jun 16 2019
===================
* fix export
* refactor promises (thank you [@pizzaisdavid](https://github.com/pizzaisdavid))
* update npm keywords
* update dependencies
4.1.1 - Mar 14 2019
===================
* simplify constructor
* update dependencies (epoll v2.0.9, jshint v2.10.2, ts-node v8.0.3)
4.1.0 - Mar 03 2019
===================
* add type definitions for TypeScript (thank you [@saenglert](https://github.com/saenglert))
4.0.0 - Feb 28 2019
===================
* added Promises to async read/write operations (thank you [@saenglert](https://github.com/saenglert)) - breaking change
* update dependencies (mocha@6.0.2, nyc@13.3.0)
3.2.9 - Feb 24 2019
===================
* post lcov to coveralls.io
3.2.8 - Feb 21 2019
===================
* prevent EACCES errors from occurring while waiting for file access permission [#131](https://github.com/fivdi/onoff/issues/131)
3.2.7 - Feb 17 2019
===================
* add code coverage to build
* add more unit tests
* document node 11 support
* only reconfigure direction if needed [#128](https://github.com/fivdi/onoff/issues/128)
3.2.6 - Feb 09 2019
===================
* add travis build
3.2.5 - Feb 09 2019
===================
* lint with jshint
3.2.4 - Feb 09 2019
===================
* add .npmignore
3.2.3 - Feb 09 2019
===================
* update dependencies
3.2.2 - Sep 30 2018
===================
* add unittests for reading and writing (thank you [@pizzaisdavid](https://github.com/pizzaisdavid))
* update dependencies (epoll v2.0.4, mocha v4.7.0)
3.2.1 - Jul 28 2018
===================
* code style
* update dependencies (epoll v2.0.3)
3.2.0 - Jul 24 2018
===================
* add test to ensure HIGH and LOW have the expected values
* add unittests (thank you [@pizzaisdavid](https://github.com/pizzaisdavid))
* set active_low before setting direction in constructor
* add constructor reconfigureDirection option
3.1.0 - May 13 2018
===================
* replace new Buffer with Buffer.from or Buffer.alloc
* add accessebile property to Gpio class (thank you [@johntalton](https://github.com/johntalton))
* add HIGH and LOW properties to Gpio class (thank you [@johntalton](https://github.com/johntalton))
3.0.2 - Apr 07 2018
===================
* update dependencies (epoll v2.0.1)
* improve performance tests
3.0.1 - Apr 01 2018
===================
* create poller for both inputs and outputs
* add test to verify that gpio direction can be changed
3.0.0 - Mar 31 2018
===================
* add effective debouncing support
* codebase modernized
* remove link to outdated tutorial
* remove undocumented options method
2.0.0 - Feb 26 2018
===================
* update dependencies (epoll v2.0.0)
* drop support for node.js v0.10, v0.12, v5 and v7
1.2.0 - Feb 11 2018
===================
* ignore edge argument when instantiating a Gpio for an output
1.1.9 - Dec 24 2017
===================
* document node 9 support
* update BeagleBone performance numbers
* many documentation improvements
* update BeagleBone Black performance numbers
* update dependencies
1.1.8 - Oct 15 2017
===================
* update dependencies (epoll v1.0.0)
1.1.7 - Aug 26 2017
===================
* only check permissions for edge file if edge specified [#77](https://github.com/fivdi/onoff/issues/77)
1.1.5 - Jul 30 2017
===================
* wait until unprivileged file access allowed
1.1.4 - Jul 15 2017
===================
* improve examples
1.1.3 - Jun 18 2017
===================
* upgrade to epoll v0.1.22
* document related packages
1.1.2 - Feb 12 2017
===================
* documentation improved
* upgrade to epoll v0.1.21
1.1.1 - Jun 05 2016
===================
* avoid exceptions when cape_universal is enabled on the bbb [#50](https://github.com/fivdi/onoff/issues/50)
1.1.0 - May 04 2016
===================
* activeLow option
* documentation improved
1.0.4 - Jan 29 2016
===================
* documentation improved
* epoll v0.1.17
1.0.3 - Oct 10 2015
===================
* documentation improved
* epoll v0.1.16
1.0.2 - Feb 18 2015
===================
* documentation improved
1.0.1 - Feb 15 2015
===================
* refactored tests to avoid relying in interrupt generating outputs as linux 3.13 and above no longer supports them
* new wiring for tests and examples
* pullup and pulldown resistor configuration documented
1.0.0 - Jan 10 2015
===================
* use strict mode
* jslint improvements
* updated dependencies: epoll 0.1.4 -> 0.1.10
* new wiring for tests on pi
* GPIO access without superuser privileges on Raspbian
0.3.2 - Apr 18 2014
===================
* Documented BeagleBone Ångström prerequisites
* Updated dependencies: epoll 0.1.2 -> 0.1.4
0.3.1 - Mar 22 2014
===================
* Added setDirection functionality [#19](https://github.com/fivdi/onoff/pull/19)
* Added setEdge functionality
* Updated dependencies: epoll 0.1.0 -> 0.1.2
0.3.0 - Nov 18 2013
===================
* Updated dependencies: epoll 0.0.8 -> 0.1.0
* Removed persistentWatch option
0.2.3 - Oct 14 2013
===================
* Use epoll 0.0.8
* onoff now plays well with the quick2wire gpio-admin and the WiringPi gpio utilities on the Pi [#14](https://github.com/fivdi/onoff/issues/14)
* Documentation improved
* New test to monitor interrupt performance
* New light switch example
0.2.2 - Oct 05 2013
===================
* Use epoll 0.0.7
* Removed timeout hack in many-interrupts test
0.2.1 - Sep 25 2013
===================
* Use epoll 0.0.3
* Improved five-inputs test
0.2.0 - Sep 22 2013
===================
* Use epoll module for interrupt detection [#15](https://github.com/fivdi/onoff/issues/15)
* 0.11.4+ compatability [#11](https://github.com/fivdi/onoff/issues/10)
* One thread for watching all GPIOs rather than one thread per GPIO [#5](https://github.com/fivdi/onoff/issues/5)
* Unwatch API added [#4](https://github.com/fivdi/onoff/issues/4)
0.1.7 - Sep 17 2013
===================
* Remove OS limitations for installing [#12](https://github.com/fivdi/onoff/issues/12)
0.1.6 - July 15 2013
===================
* Fixed typos
* Documented how to watch five or more inputs
0.1.5 - May 26 2013
===================
* Added test with five inputs
0.1.0 - Nov 11 2012
===================
* Added Gpio objects
* Removed functions, use Gpio objects instead
* Performance improvements
* Synchronous or asynchronous access to a GPIOs value
* Allow applications to handle superuser issues
0.0.1 - Oct 28 2012
===================
* Initial release