Releases: skythen/apdu
Releases · skythen/apdu
v0.3.0
What's Changed
Breaking Changes
- Removed
github.com/pkg/errorsdependency — errors are now stdlibfmt.Errorfwith%wwrapping - Error message strings have changed
- Minimum Go version bumped from 1.15 to 1.18
New
- Typed sentinel errors:
ErrInvalidLength,ErrInvalidLC,ErrInvalidHex,ErrDataTooLong,ErrNeTooLarge— useerrors.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 printinglen(Data)instead ofNewhen Ne exceeded maximum- Added parentheses to
IsSuccess()for clarity
apdu 0.2.0
v0.2.0 Update README.md
apdu 0.1.1
- fix error messages - improve allocation for byte conversion
apdu 0.1.0
initial release