Skip to content

Releases: skythen/apdu

v0.3.0

12 Apr 19:56

Choose a tag to compare

What's Changed

Breaking Changes

  • Removed github.com/pkg/errors dependency — errors are now stdlib fmt.Errorf with %w wrapping
  • Error message strings have changed
  • Minimum Go version bumped from 1.15 to 1.18

New

  • Typed sentinel errors: ErrInvalidLength, ErrInvalidLC, ErrInvalidHex, ErrDataTooLong, ErrNeTooLarge — use errors.Is() to check
  • Example tests for all public API (visible in godoc)
  • Nix flake with devshell and treefmt
  • GitHub Actions CI (replaces Travis CI)

Fixes

  • Capdu.Bytes() error message was printing len(Data) instead of Ne when Ne exceeded maximum
  • Added parentheses to IsSuccess() for clarity

apdu 0.2.0

03 Mar 01:26

Choose a tag to compare

v0.2.0

Update README.md

apdu 0.1.1

03 Jun 08:32

Choose a tag to compare

- fix error messages

- improve allocation for byte conversion

apdu 0.1.0

25 Feb 12:28
3dae50b

Choose a tag to compare

initial release