Skip to content

Releases: clausecker/nfc

2.2.0

08 Mar 23:59
Compare
Choose a tag to compare
Release 2.2.0 (2024-03-09)
 N Add new functions Modulation.String(), Modulation.GoString()
 N Add new symbols ModulationTypes and BaudRates
 C Add a unit test for ListDevices()
 C Add a unit test for Device.InitiatorListPassiveTargets()
 C Use pkg-config to find libnfc.  If this is undesirable, supply build
   tag nopkgconfig / no_pkgconfig to switch back to just linking with
   -lnfc.
 C Permit call to Device.Close() on uninitialised Device struct.
   This permits the usual dev, err := nfc.Open(...); defer dev.Close()
   idiom.
 B Fix an infinite loop in Device.InitiatorListPassiveTargets (issue #12)

2.1.4

14 Sep 10:04
Compare
Choose a tag to compare
Release 2.1.4 (2020-09-14)
 I Following a rename of my github account, change import path.  The
   old import path still works for now but is not recommended for new
   developments.
 I Delete 2.0 directory with old library version.  It will still be
   available for import on old tool chains that aren't module aware.
   As this directory is not part of the API, removing it is not an
   API break.

Version 2.1.3

22 May 12:28
Compare
Choose a tag to compare
Release 2.1.0 (2020-05-22)
 N Introduce a new function nfc.Device.SupportedBaudRatesTargetMode()
   wrapping the corresponding new function in the upcoming 1.7.2 release
   of the libnfc.
 C Bump libnfc dependency to version 1.7.2.
 C Allow nil Target parameter to
   function nfc.Device.InitiatorTargetIsPresent() as supported since
   release 1.7.1 of the libnfc.
 R adapt Go modules and discontinue the subdirectory scheme.

Release 2.1.1 (2020-05-22)
 N Provide Device.InitiatorPollTarget wrapping nfc_initiator_poll_target.
 N Add support for Thinfilm NFC Barcode targets
 N Add support for NFC ISO14443BiClass, i.e. HID iClass (Picopass) targets
 I Due to upstream changes, the value of the modulation type enumeration
   constants has changed.  This has been forgotton for the 2.1.0 release
   which is why this patch release is needed.

Release 2.1.2 (2020-05-22)
 I Fix Go import paths (sorry, this is my first time using go mod)

Release 2.1.3 (2020-05-22)
 I In reaction to the newly released libnfc 1.8.0 which fixes the ABI
   breakage, revert the enumeration order changes and retract releases
   2.1.0 to 2.1.2.
 N Requires libnfc version >= 1.8.0.

Version 2.1.2

22 May 08:10
Compare
Choose a tag to compare
Version 2.1.2 Pre-release
Pre-release
Release 2.1.2 (2020-05-22)
 I Fix Go import paths (sorry, this is my first time using go mod)

Version 2.1.1

22 May 00:11
Compare
Choose a tag to compare
Version 2.1.1 Pre-release
Pre-release
Release 2.1.1 (2020-05-22)
 N Provide Device.InitiatorPollTarget wrapping nfc_initiator_poll_target.
 N Add support for Thinfilm NFC Barcode targets
 N Add support for NFC ISO14443BiClass, i.e. HID iClass (Picopass) targets
 I Due to upstream changes, the value of the modulation type enumeration
   constants has changed.  This has been forgotton for the 2.1.0 release
   which is why this patch release is needed.

Version 2.1.0

21 May 22:15
Compare
Choose a tag to compare
Version 2.1.0 Pre-release
Pre-release
Release 2.1.0 (2020-05-22)
 N Introduce a new function nfc.Device.SupportedBaudRatesTargetMode()
   wrapping the corresponding new function in the upcoming 1.7.2 release
   of the libnfc.
 C Bump libnfc dependency to version 1.7.2.
 C Allow nil Target parameter to
   function nfc.Device.InitiatorTargetIsPresent() as supported since
   release 1.7.1 of the libnfc.
 R adapt Go modules and discontinue the subdirectory scheme.

Version 2.0.2

14 Jan 11:57
Compare
Choose a tag to compare
Release 2.0.2 (2016-01-14)
 B Fix error handling in (*Device).InitiatorSelectPassiveTarget()
 B Fix initData handling (ibid.), these fix issue #8
 R Improve documentation (ibid.)

Version 2.0.1

17 Oct 20:55
Compare
Choose a tag to compare
Release 2.0.1 (2015-09-28)
 B Set device pointer to nil after calling nfc_close(), not before.

Version 2.0

17 Oct 20:55
Compare
Choose a tag to compare
Release 2.0 (2014-08-30)
 B Make this wrapper compile under Go 1.3 and newer.
 I Change the layout of some Target structures. This is needed to
   simplify the marshalling code. The new target structures also follow
   the underlying C structures more closely.
 I Some names where changed to match Go naming conventions. This was
   done now as I believe it is better to lump incompatibly changes into
   one release as much as possible.
 C Error strings were converted to lower case.
 B Some typos where fixed in comments.

Version 1.0

17 Oct 20:53
Compare
Choose a tag to compare
Release 1.0 (2014-04-06):
 R This major release is considered stable. The interface of this
   wrapper is stable until further notice.
 I Rename constants to reflect Go naming conventions
 I Change methods of type nfc.Device to use a value receiver
 B Fix an issue were copying structs of type nfc.Device could cause a
   pointer into unallocated memory to come into existence