Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 1.25 KB

CHANGELOG.md

File metadata and controls

35 lines (28 loc) · 1.25 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

[0.4.0] - 2023-08-12

Changed

  • Breaking changes:
    • decode now borrows the XQR instead of taking ownership of it
      • This allows the XQR to be reused after decoding
    • encode takes an issuer rather than key id
    • fetch_public_key takes an issuer in addition to key id
      • This allows the issuer to be used to fetch the public key and look up by key id
  • Change from jwt-simple to jwtk

[0.3.0] - 2023-08-11

Added

  • Add CONTRIBUTING.md and CODE_OF_CONDUCT.md for community guidelines
  • Breaking change: encode now takes a valid_for argument to set how long the token is valid for
    • This can be set to None to make the token valid forever

[0.2.0] - 2023-08-11

Added

  • Add fetch_public_key to fetch a public key based on a key id
  • Add XQR.get_key_id to get the key id from a JWT

[0.1.0] - 2023-08-10

Added

  • encode method to create a new XQR
  • decode method to decode an XQR
  • generate_key_pair method to generate a new ES256 key pair