Skip to content

Releases: hackfixme/paseto-cli

v0.2.0

25 Jun 13:43

Choose a tag to compare

This is a minor release with the following changes:

Features

  • 7a91f5c: Added Token.Claims method for retrieving all token claims in a stable order.

  • a75871b: Added allow list validation rules for audiences, issuers, and subjects in token claims.

Improvements

  • f466fc4: Simplified time handling by using function callbacks instead of interface abstractions.

  • e6d36b2: Improved display of nested claims by rendering complex objects as JSON in text format.

  • 29d6881: Optimized registered claims handling by caching claim definitions.

Documentation

  • 788257f: Fixed command examples in README.

Internal

  • e24b2be: Improved test code readability by using raw string literals for expected outputs.

  • b130d4d: Excluded gochecknoglobals linter from test files to reduce noise.

  • ac1b1de: Fixed lint report summary to prevent double counting of linter issues.


Full Changelog: v0.1.0...v0.2.0

v0.1.0

18 Jun 09:09

Choose a tag to compare

This is the first public release of paseto-cli! 🎉

It started as a light wrapper around the go-paseto library with a more ergonomic API, but I also needed a CLI tool for working with PASETO.

It doesn't do anything special that similar tools don't do already, but it served as a way for me to get familiar with PASETO and the shortcomings of JWT. Plus as with any NIH tool, I personally trust mine more than the alternatives. 😊

The basic functionality is implemented, and the test coverage is decent (78%). There likely won't be any new major releases, just bug fixes.

Full Changelog: https://github.com/hackfixme/paseto-cli/commits/v0.1.0