Nfc Pcsc Versions Save

Easy reading and writing NFC tags and cards in Node.js

v0.8.1

3 years ago

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.

v0.8.0

4 years ago

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.

v0.7.4

4 years ago

Upgraded dev dependencies 🔝 1c305c17775acc8ce2702fbfb638f8bc4ac0981f

v0.7.3

5 years ago

Improved examples 👀 and reduced package size! 📦

Improvements 🎉

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

Docs 📝

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

Others

  • Improve .gitignore e3175965afa36be09f56e4a960f73762c54c20ea
  • Improve .editorconfig 5d8e86abe0d409c98044bf26bc815a1bd39b40ec
  • Upgrade dependencies 🔝 35534c7364f1e3430d9ab2d8281d8d47373585a4

v0.7.1

5 years ago

Docs improvements and enhanced debug logging in Reader class! 🐛

Improvements 🎉

  • Improve debug logging in Reader e5da27a
  • Add Travis CI config and enable Travis CI #49 #61 8d40260
  • Add build status badge in README #61 38b4bdb 🚦

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

v0.7.0

5 years ago

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 ba4348bf54b2fb651beb2a21087cd78fb81d4f29
  • Remove Reader.parseAid() dfa2efe9c007aabc627305fd532bc76faf20535e Use native Buffer.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) 02d0ef4c127979fade09513801899ae2d7c51115

Improvements 📝

  • Improve parsing and usage of AID dfa2efe9c007aabc627305fd532bc76faf20535e Dynamic AID based on detected card now possible See possible usages in basic example
  • Improve key parsing in reader.loadAuthenticationKey(keyNumber, key) dfa2efe9c007aabc627305fd532bc76faf20535e 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) fb8c4e2a2f9b83c4e20f69add528981d4b6ec502
  • Add JSdoc comment to Reader.reverseBuffer() to clarify how it works 5a2109fd505f540380ac3e6ee71814f5023f5605
  • Fix deprecated usage of Buffer (replace new Buffer with Buffer.from) ba4348bf54b2fb651beb2a21087cd78fb81d4f29
  • Remove invisible unicode characters from ACR122Reader.js PR #52

Docs 📝

  • Improve examples 📦 ab2938afa76584718d6085cdcbcbd7a560bc7b7a
  • Add note about reading NFC tags inside Elsys.se sensors a70f1b0a1953854e2d873070da5ccccfa9321f83
  • Add Which Node.js versions are supported? FAQ

Others

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

v0.6.2

6 years ago

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 8c0b3c3118594da9829eea2a44fae60601bb577c

Others

  • Upgrade devDependencies 8c0b3c3118594da9829eea2a44fae60601bb577c

v0.6.1

6 years ago

Bug Fixes

Docs 📝

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

Others

  • Upgrade dependencies 947c82cf05bbe3f55026225e0bb354b4559ebef8

v0.6.0

6 years ago

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

v0.5.0

7 years ago
  • Add ability to control LED indicators and buzzer on supported readers (currently ACR122U)
  • Improve README (fix links)
  • Add license (MIT)