From 8ab31adacf95f4db3d5410d87adda78794c55f78 Mon Sep 17 00:00:00 2001 From: Lennart Hennigs Date: Thu, 16 Apr 2020 12:01:33 +0200 Subject: [PATCH] introduced changelog, updated version to 1.2.0 --- CHANGELOG.md | 27 +++++++++++++++++++++++++++ library.json | 2 +- library.properties | 2 +- 3 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..161e3d8 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,27 @@ +# Changelog + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## Unreleased +- none, yet + + +## [1.2.0] - 2020-04-16 +- Added possibility to define your own timeouts for clicks (as suggested by [cmeldas](https://github.com/cmeldas) in [#10](https://github.com/LennartHennigs/Button2/issues/10)) +- Removed ```yield()``` in main ```loop()``` since it caused some problems +- Created and added CHANGELOG.md + + +## [1.1.0] - 2020-03-27 +- Changed the private functions to protected (as suggested by [Nagymadar](https://github.com/Nagymadar) in [#9](https://github.com/LennartHennigs/Button2/issues/9)) +- Added support for active high buttons (as suggested by [Nagymadar](https://github.com/Nagymadar) in [#8](https://github.com/LennartHennigs/Button2/issues/8)) +- Added ```reset()``` function to unset all functions (as suggested by [Nagymadar](https://github.com/Nagymadar) in [#7](https://github.com/LennartHennigs/Button2/issues/7)) +- Added a ```yield()``` command to the main ```loop()``` +- Changed the times for double and triple click +- Fixed error in ```SingleButton.ino``` (as suggested by [alexthe-red](https://github.com/alexthe-red) in [#3](https://github.com/LennartHennigs/Button2/issues/3)) +- Added the library to the Arduino IDE + + +## [1.0.0] - 2017-11-09 +- initial release \ No newline at end of file diff --git a/library.json b/library.json index 3696eb4..d164d14 100644 --- a/library.json +++ b/library.json @@ -7,7 +7,7 @@ "type": "git", "url": "https://github.com/LennartHennigs/Button2" }, - "version": "1.1.0", + "version": "1.2.0", "authors": { "name": "Lennart Hennigs", "url": "https://lennarthennigs.de" diff --git a/library.properties b/library.properties index 50c5eb6..ba85e38 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=Button2 -version=1.1.0 +version=1.2.0 author=Lennart Hennigs maintainer=Lennart Hennigs sentence=Arduino Library to simplify working with buttons.