alephdata / aleph

Search and browse documents and data; find the people and companies you look for.
http://docs.aleph.occrp.org
MIT License
1.97k stars 263 forks source link

Bump authlib from 0.15.5 to 1.3.0 #3764

Closed dependabot[bot] closed 1 week ago

dependabot[bot] commented 1 month ago

Bumps authlib from 0.15.5 to 1.3.0.

Release notes

Sourced from authlib's releases.

Version 1.3.0

Bug fixes

Breaking changes

Version 1.2.1

  • Apply headers in ClientSecretJWT.sign method, via #552
  • Allow falsy but non-None grant uri params, via #544
  • Fixed authorize_redirect for Starlette v0.26.0, via #533
  • Removed has_client_secret method and documentation, via #513
  • Removed request_invalid and token_revoked remaining occurences and documentation. #514
  • Fixed RFC7591 grant_types and response_types default values, via #509
  • Add support for python 3.12, via #590

Version 1.2.0

  • Not passing request.body to ResourceProtector, #485.
  • Use flask.g instead of _app_ctx_stack, #482.
  • Add headers parameter back to ClientSecretJWT, #457.
  • Always passing realm parameter in OAuth 1 clients, #339.
  • Implemented RFC7592 Dynamic Client Registration Management Protocol, #505`
  • Add default_timeout for requests OAuth2Session and AssertionSession.
  • Deprecate jwk.loads and jwk.dumps

Version 1.1.0

This release contains breaking changes and security fixes.

Breaking changes:

  • Raise InvalidGrantError for invalid code, redirect_uri and no user errors in OAuth 2.0 server.
  • The default authlib.jose.jwt would only work with JSON Web Signature algorithms, if you would like to use JWT with JWE algorithms, please pass the algorithms parameter:
jwt = JsonWebToken(['A128KW', 'A128GCM', 'DEF'])

Security fixes for JOSE module

... (truncated)

Changelog

Sourced from authlib's changelog.

Version 1.3.0

Released on Dec 17, 2023

  • Restore AuthorizationServer.create_authorization_response behavior, via :PR:558
  • Include leeway in validate_iat() for JWT, via :PR:565
  • Fix encode_client_secret_basic, via :PR:594
  • Use single key in JWK if JWS does not specify kid, via :PR:596
  • Fix error when RFC9068 JWS has no scope field, via :PR:598
  • Get werkzeug version using importlib, via :PR:591

New features:

  • RFC9068 implementation, via :PR:586, by @​azmeuk.

Breaking changes:

  • End support for python 3.7

Version 1.2.1

Released on Jun 25, 2023

  • Apply headers in ClientSecretJWT.sign method, via :PR:552
  • Allow falsy but non-None grant uri params, via :PR:544
  • Fixed authorize_redirect for Starlette v0.26.0, via :PR:533
  • Removed has_client_secret method and documentation, via :PR:513
  • Removed request_invalid and token_revoked remaining occurences and documentation. :PR:514
  • Fixed RFC7591 grant_types and response_types default values, via :PR:509.
  • Add support for python 3.12, via :PR:590.

Version 1.2.0

Released on Dec 6, 2022

  • Not passing request.body to ResourceProtector, via :issue:485.
  • Use flask.g instead of _app_ctx_stack, via :issue:482.
  • Add headers parameter back to ClientSecretJWT, via :issue:457.
  • Always passing realm parameter in OAuth 1 clients, via :issue:339.
  • Implemented RFC7592 Dynamic Client Registration Management Protocol, via :PR:505.
  • Add default_timeout for requests OAuth2Session and AssertionSession.
  • Deprecate jwk.loads and jwk.dumps

Version 1.1.0

... (truncated)

Commits
  • a7d68b4 chore: release 1.3.0
  • a26f1d0 Merge GitHub action for release
  • 2d66702 Merge pull request #591 from Sparrow0hawk/patch-2
  • 0f8e087 docs: add changelog for 1.3.0
  • 3ffc950 chore: fix pypi release action
  • a2543b9 chore: add pypi github action
  • c7e1b2d chore: move configuration from setup.cfg to pyproject.toml
  • 04e83f6 Merge pull request #598 from tanguilp/fix-rfc9068-no-scope-in-jws
  • 092f688 Fix error when RFC9068 JWS has no scope field
  • ac58322 Get werkzeug version using importlib
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 1 week ago

Superseded by #3803.