Skip to content

5.0.0

Compare
Choose a tag to compare
@JonasKs JonasKs released this 06 Aug 12:36
· 25 commits to main since this release

Breaking changes:

  • Azure Entra (previously Active Directory) v1 token support dropped. This is mainly to reduce tests by 30%, and for a use-case I haven't documented, nor recommend anyone to use. If you're on v1 tokens, you should upgrade. ( #200 @JonasKs )
  • Pydantic v1 support dropped. Deprecation warnings fixed, closes #150 ( #200 @JonasKs )
  • InvalidAuth now takes detail AND request object. ( #200 @JonasKs ) Users should be explicit and use InvalidAuthHttp or InvalidAuthWebSocket if they use this class. Example:
-raise InvalidAuth(detail="Missing admin role")
+raise InvalidAuthHttp(detail="Missing admin role")  # for HTTP requests
+raise InvalidAuthWebSocket(detail="Missing admin role")  # for WebSocket requests

Docs:

Feat:

Fix:

Full Changelog: 4.4.0...5.0.0