Skip to content

Releases: intility/fastapi-azure-auth

5.0.1 - Fix support for Python 3.9 and 3.10

20 Aug 09:26
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 5.0.0...5.0.1

5.0.0

06 Aug 12:36
Compare
Choose a tag to compare

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

5.0.0-rc0

15 Jul 07:25
Compare
Choose a tag to compare
5.0.0-rc0 Pre-release
Pre-release

This is a release candidate of 5.0.0.

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-rc0

4.4.0

30 May 15:48
Compare
Choose a tag to compare

What's Changed

Other

  • chore(deps): bump actions/cache from 4.0.1 to 4.0.2 by @dependabot in #190
  • chore(deps): bump peaceiris/actions-gh-pages from 3 to 4 by @dependabot in #193

New Contributors

Full Changelog: 4.3.1...4.4.0

4.3.1 - Minor fixes

04 Mar 15:48
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 4.3.0...4.3.1

4.3.0 - Small improvements and lots of documentation

30 Oct 18:06
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 4.2.1...4.3.1

4.2.1 - Move dependencies

31 Jul 19:41
30d3dae
Compare
Choose a tag to compare

What's Changed

  • move openapi-spec-validator and pydantic-settings to dev deps by @enadeau in #146

Full Changelog: 4.2.0...4.2.1

4.2.0 - Pydantic 2 support

31 Jul 14:04
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 4.1.3...4.2.0

4.1.3 - Fix optional claims

24 Jun 11:26
Compare
Choose a tag to compare

What's Changed

Full Changelog: 4.1.2...4.1.3

4.1.2 - Fix optional claims

23 Jun 13:06
Compare
Choose a tag to compare

What's Changed

Full Changelog: 4.1.1...4.1.2