Skip to content

5.2.0

Compare
Choose a tag to compare
@rra rra released this 19 Jan 23:34
· 29 commits to main since this release
5.2.0
36689b7

New features

  • Add a FastAPI dependency for retrieving a Gafaelfawr delegated token from the request headers: safir.dependencies.gafaelfawr.auth_delegated_token_dependency.

Bug fixes

  • Rewrite CaseInsensitiveQueryMiddleware and XForwardedMiddleware as pure ASGI middleware rather than using the Starlette BaseHTTPMiddleware class. The latter seems to be behind some poor error reporting of application exceptions, has caused problems in the past due to its complexity, and is not used internally by Starlette middleware.

What's Changed

  • Bump actions/setup-python from 4 to 5 by @dependabot in #227
  • Exclude buggy version of structlog by @rra in #228
  • Update structlog requirement from !=23.3.0,<24,>=21.2.0 to >=21.2.0,!=23.3.0,<25 by @dependabot in #229
  • DM-42527: Rewrite middleware as pure ASGI middleware by @rra in #230
  • DM-42190: Add gafaelfawr delegated token FastAPI dependency by @dhirving in #231
  • DM-42527: Prepare release 5.2.0 by @rra in #232

New Contributors

Full Changelog: 5.1.0...5.2.0