4.2 KiB
4.2 KiB
Changelog
- Unreleased
- 1.3.3 (2019-03-10)
- 1.3.2 (2018-12-30)
- Year-end maintenance release. No functional change.
- Fix minor spelling and grammar mistakes in README.md.
- Remove
virtual
when usingoverride
per C++ core style guide. - Update auniter.ini for compatibility with latest ESP32 and Sparkfun cores.
- 1.3.1 (2018-09-30)
- Fix botched release on GitHub. Same as v1.3.
- 1.3 (2018-09-30)
- Merge
AdjustableButtonConfig
intoButtonConfig
and deprecatedAdjustableButtonConfig
. See Issue #13 for benchmarks which show that the theoretical increase of static RAM consumption does not often happen in practice because of compiler optimization. - Reduce default value of
getDebounceDelay()
from 50 ms to 20 ms to improve perceived responsiveness of buttons when they are rapidly pressed on and off. See Issue #14 for details. - Update
tests/auniter.ini
andJenkinsfile
for compatibility with AUniter v1.7. AddCapacitiveSensor
to the exclude list forenv:esp8266
andenv:esp32
because it doesn't compile under those environments. - Remove leading zero in
ACE_BUTTON_VERSION
because that I forgot that it means an octal number.
- Merge
- 1.2 (2018-08-14)
- Add
AceButton(ButtonConfig*)
constructor to support constructor dependency injection. Recommended oversetButtonConfig()
. Should be 100% backwards compatible. - Add examples/CapacitiveSwitch program to demonstrate integration with CapacitiveSensor library to support capacitive switches.
- Add continuous integration using AUniter/Jenkins.
- Add
- 1.1.1 (2018-06-21)
- Fix compiler warnings about unused parameters in eventHandler callback.
- Move AutoBenchmark results into AutoBenchmark/README.md.
- Update various links in AceButton/README.md.
- No functional or API change.
- 1.1.0 (2018-05-03)
- Change to MIT License.
- Add instrumentation of AceButton.check() using TimingStats to measure performance. (Fixes #9)
- Add
examples/AutoBenchmark
sketch to auto-generate benchmarks for various microcontrollers. - Verify that library and examples compile, and the tests pass for ESP32.
- Add a third method for distinguishing Clicked from DoubleClicked using both techniques described in 1.0.6.
- 1.0.6 (2018-03-25)
- Add
kFeatureSuppressClickBeforeDoubleClick
flag to suppress Clicked event before a DoubleClicked event, at the cost of slower response time of the Clicked event. Added 2 more examples to demonstrate 2 methods to distinguish between a Clicked and DoubleClicked. - Publish doxygen docs on GitHub Pages.
- Add
- 1.0.5 (2018-03-17)
- Migrate unit tests to AUnit.
- Fix various typos in README.md.
- 1.0.4 (2018-03-07)
- Support ESP8266.
- Split
loop()
inStopwatch.ino
into inner and outer loops, to allowloop()
to return periodically. - Perform manual testing, since ArduinoUnit does not work on ESP8266.
- Split
- Optimize
check()
so thatcheckOrphanedClick()
is called only when needed. - README.md: add benchmark numbers for ESP8266, fix typos.
- Fix various compiler warnings about unused variables.
- Support ESP8266.
- 1.0.3 (2018-02-13)
- Make library work on Teensy LC and 3.2.
- Fix
elapsedTime
expression that breaks on 32-bit processors (whoseint
is 4 bytes instead of 2).
- Fix
- Make library work on Teensy LC and 3.2.
- 1.0.2 (2018-02-07)
- Add documentation and unit tests for
AdjustableButtonConfig
. - Reduce
orphanClickDelay
to 1XgetDoubleClickDelay()
instead of 10X.
- Add documentation and unit tests for
- 1.0.1 (2018-02-03)
- Fix typo in 'library.properties'.
- 1.0.0 (2018-02-03)
- Initial public release.