Skip to content

Latest commit

 

History

History
54 lines (44 loc) · 2.27 KB

CHANGELOG.md

File metadata and controls

54 lines (44 loc) · 2.27 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.

[1.0.2] - 2023-06-16 🌽

  • Raises a more specific exception ForbiddenError when the user of an operation is authenticated properly, but authorization fails. This enables better handling of authorization error, differentiating when the user context is missing or invalid, and when the context is valid but the user has no rights to do a certain operation. See #371.

[1.0.1] - 2023-03-20 🌞

  • Improves the automatic rotation of JWKS: when validating JWTs, JWKS are refreshed automatically if an unknown kid is encountered, and JWKS were last fetched more than refresh_time seconds ago (by default 120 seconds).
  • Corrects an inconsistency in how claims are read in the User class.

[1.0.0] - 2023-01-07 ⭐

  • Adds built-in support for dependency injection, using the new ContainerProtocol in rodi v2.
  • Removes the synchronous code API, maintaining only the asynchronous code API for AuthenticationStrategy.authenticate and AuthoreoizationStrategy.authorize.
  • Replaces setup.py with pyproject.toml.
  • Reduces imports verbosity.
  • Improves the identity_getter code API.
  • Corrects Identity.__getitem__ to raise KeyError if a claim is missing.

[0.1.0] - 2022-11-06 🐍

  • Workflow maintenance.

[0.0.9] - 2021-11-14 🦢

  • Adds sub, access_token, and refresh_token properties to the Identity. class
  • Adds py.typed file.

[0.0.8] - 2021-10-31 🛡️

  • Adds classes to handle JWTs validation, but only for RSA keys.
  • Fixes issue (wrong arrangement in test) #5.
  • Includes Python 3.10 in the CI/CD matrix.
  • Enforces black and isort in the CI pipeline.

[0.0.7] - 2021-01-31 🍇

  • Corrects a bug in the Policy class (#2).
  • Changes the type annotation of Identity claims (#3).

[0.0.6] - 2020-12-12 :octocat:

  • Completely migrates to GitHub Workflows.
  • Improves build to test Python 3.6 and 3.9.
  • Adds a changelog.
  • Improves badges.
  • Improves code quality using flake8 and black.