Skip to content

build(deps): bump github.com/clausecker/nfc/v2 from 2.1.4 to 2.2.0#652

Merged
wizzomafizzo merged 2 commits intomainfrom
dependabot/go_modules/github.com/clausecker/nfc/v2-2.2.0
Apr 11, 2026
Merged

build(deps): bump github.com/clausecker/nfc/v2 from 2.1.4 to 2.2.0#652
wizzomafizzo merged 2 commits intomainfrom
dependabot/go_modules/github.com/clausecker/nfc/v2-2.2.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 10, 2026

Bumps github.com/clausecker/nfc/v2 from 2.1.4 to 2.2.0.

Release notes

Sourced from github.com/clausecker/nfc/v2's releases.

2.2.0

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](https://github.com/clausecker/nfc/issues/12))
Changelog

Sourced from github.com/clausecker/nfc/v2's changelog.

Each item is prefixed with one of the following letters:

B bugfix C compatible expansion without adding new symbols I incompatible change N new function, method or variable in the API R general remark

Release 0.1 (2014-02-16): R initial release

Release 0.2 (2014-03-03): N Add a function nfc.(*Device).LastError() N Add a function nfc.(*Device).InitiatorDeselectTarget() B Fix incorrect handling in a couple of places C Improve and unify error strings B Fix issue #2

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

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.

Release 2.0.1 (2015-09-28) B Set device pointer to nil after calling nfc_close(), not before.

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.)

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.

... (truncated)

Commits
  • 54f3157 prepare version 2.2.0
  • e1ed6f3 Fix infinite loop in list_targets_wrapper()
  • 6e76119 Modulation: add String(), GoString()
  • bb2a750 copyright smoke_test.go
  • 287cf4f find libnfc using pkg-config
  • 922661f smoke_test.go: add test for Device.InitiatorListPassiveTargets()
  • a65634e Device.Close(): allow uninitialised device
  • b265046 update years and email address in README
  • 858d351 go fmt
  • a3d7652 add a simple smoke test
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/clausecker/nfc/v2](https://github.com/clausecker/nfc) from 2.1.4 to 2.2.0.
- [Release notes](https://github.com/clausecker/nfc/releases)
- [Changelog](https://github.com/clausecker/nfc/blob/master/CHANGES)
- [Commits](clausecker/nfc@v2.1.4...v2.2.0)

---
updated-dependencies:
- dependency-name: github.com/clausecker/nfc/v2
  dependency-version: 2.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Apr 10, 2026
@sentry
Copy link
Copy Markdown

sentry bot commented Apr 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@wizzomafizzo wizzomafizzo merged commit 2cd20e3 into main Apr 11, 2026
11 checks passed
@wizzomafizzo wizzomafizzo deleted the dependabot/go_modules/github.com/clausecker/nfc/v2-2.2.0 branch April 11, 2026 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant