- Adds built-in support for dependency injection, using the new
ContainerProtocol
in rodi v2.
- Partially removes the synchronous code API, maintaining only the asynchronous code API for
AuthenticationStrategy.authenticate and AuthorizationStrategy.authorize (authentication handlers and authorization requirements can still be synchronous).
- 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.
⚠️ Contains breaking changes