Skip to content

Releases: pokusew/nfc-pcsc

0.8.1

18 Feb 20:42
Compare
Choose a tag to compare

Notable changes ⚠️

  • Use ACR122Reader class also for ACR1252U reader (has the same LED/Buzzer)
    • see #111
    • see updated matching code in NFC class here

Others

  • Upgrade dev dependencies 🔝

See diff with 0.8.0 here.

0.8.0

26 Jan 00:16
Compare
Choose a tag to compare

Finally added support for Node.js 11.x, 12.x and 13.x! 🚀

Improvements 🎉

  • Add support for Node.js 11.x, 12.x and 13.x

Docs 📝

  • Update supported versions
  • Improve installation guide
  • Improve FAQs

Others

  • Upgrade all dependencies 🔝

See diff with 0.7.4 here.

0.7.4

06 Jun 18:38
Compare
Choose a tag to compare

Upgraded dev dependencies 🔝 1c305c1

0.7.3

18 Apr 20:04
Compare
Choose a tag to compare

Improved examples 👀 and reduced package size! 📦

Improvements 🎉

  • Fix .npmignore rules > reduced package size 📦 2d2c7fe

Docs 📝

  • Improve MIFARE Classic example, remove misleading information #80 Thank you @michaelroland! 78a9e45
  • Add useful utils for the future examples
  • Improve other examples

Others

0.7.1

14 Jan 05:24
Compare
Choose a tag to compare

Docs improvements and enhanced debug logging in Reader class! 🐛

Improvements 🎉

Docs 📝

  • Add Mifare Ultralight EV1 and NTAG examples c53a475
  • Improve Running examples locally section in README 1444d1a
  • Unify card naming (replace Mifare by MIFARE in comments to unify and follow the card family brand usage) 4a76a2b
  • Fix npm badge caching issues in README 7a4b000

Others

  • Add prepack script to package.json to automate building when publishing package 📦 ee5f700
    Minimizes the risk that an outdated dist folder with built sources will be accidentally published into npm.
  • Upgrade dev dependencies 🔝 e5da27a

0.7.0

28 Dec 04:29
Compare
Choose a tag to compare

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 ⚠️

Bug Fixes 🐛

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 with Buffer.from) ba4348b
  • Remove invisible unicode characters from ACR122Reader.js PR #52

Docs 📝

Others

  • Improve code style (add trailing commas) ✨
  • Upgrade all dependencies 🔝

0.6.2

24 Mar 17:54
Compare
Choose a tag to compare

Finally, next version after a half a year is here! More improvements coming soon! 🎉

Bug Fixes 🐛

  • Fix permanent authentication failure if initial call to loadAuthenticationKey fails PR #28
    Fixes a serious bug in reader.authenticate (used for Mifare Classic cards authentication).
    Credit goes to @foxxyz. Thank you very much, @foxxyz. 🙂

Docs 📝

  • Add contributors field to package.json 8c0b3c3

Others

0.6.1

09 Sep 16:45
Compare
Choose a tag to compare

Bug Fixes

Docs 📝

  • Add note about usage in angular-electron #24 981674d

Others

0.6.0

31 Jul 12:17
Compare
Choose a tag to compare

⚠️ Breaking Change ⚠️

Default export was removed to standardise require/import behaviour in ES5 and ES6 envs #12
You have to update all requires or imports of this library to the following (note the brackets around NFC):

// in ES6 environment
import { NFC } from 'nfc-pcsc';

// in ES2015 environment
const { NFC } = require('nfc-pcsc');

New features 🎉

  • Add card.off event (emitted when card is removed from the reader) (see in example in README) #15

Docs

  • Improve documentation for Mifare Classic cards #8 #7 #16
  • 📦 Add more examples, FAQs, and solutions of frequent errors

Others

  • Standardise card data in events

0.5.0

16 Mar 17:33
Compare
Choose a tag to compare
  • Add ability to control LED indicators and buzzer on supported readers (currently ACR122U)
  • Improve README (fix links)
  • Add license (MIT)