0.7.0
A lot of improvements, many fixes and added support for Node.js 10.x and 11.x! 🎉
Many thanks to all of you who have posted an issue, opened a PR or contributed in any way! 🚀
Special thanks to @martijnthe for #55.
⚠️ Breaking Changes ⚠️
- Drop support for Node.js 7. See Which Node.js versions are supported? FAQ for more info ba4348b
- Remove Reader.parseAid() dfa2efe
Use nativeBuffer.from(str, 'hex')
instead. Part of changes related to better handling of AID.
Bug Fixes 🐛
- Fix reader.handle_Iso_14443_4_Tag() PR #55
- Fix reading blocks beyond 255 PR #55
- Fix response parsing in reader.read and reader.write (add checks for minimal length) 02d0ef4
Improvements 📝
- Improve parsing and usage of AID dfa2efe
Dynamic AID based on detected card now possible
See possible usages in basic example - Improve key parsing in
reader.loadAuthenticationKey(keyNumber, key)
dfa2efe
Key can now be an instance of a Buffer, an array of bytes, or a HEX string. - Add readClass option to
reader.read()
method to allow specifying the class (instead of the hard-coded 0xFF class) - Change card event when autoProcessing is off (emit a copy of this.card instead of a reference to unify it with other card events) fb8c4e2
- Add JSdoc comment to Reader.reverseBuffer() to clarify how it works 5a2109f
- Fix deprecated usage of Buffer (replace
new Buffer
withBuffer.from
) ba4348b - Remove invisible unicode characters from ACR122Reader.js PR #52
Docs 📝
- Improve examples 📦 ab2938a
- Add note about reading NFC tags inside Elsys.se sensors a70f1b0
- Add Which Node.js versions are supported? FAQ
Others
- Improve code style (add trailing commas) ✨
- Upgrade all dependencies 🔝