Skip to content

Release v2.5.0

Choose a tag to compare

@github-actions github-actions released this 25 Apr 21:25
· 45 commits to main since this release
9f7f10b

Added

  • OrgContextExtractor — Axum FromRequestParts extractor that resolves OrganizationContext from a principal extension or X-Org-Id/X-Org-Path headers, with cross-tenant conflict detection.
  • OrgIsolationLayer — Tower middleware that short-circuits with 401 Unauthorized when OrganizationContext is absent from request extensions.
  • OrgContextSource — enum recording which mechanism resolved the org context (PrincipalClaim or Header).
  • OrgPolicy trait + AncestryOrgPolicy — policy trait for org-scoped access control, with a default ancestry-based implementation.
  • CreatedAtResponse<T> + created_at(location, value) helper — returns 201 Created with a Location header alongside the JSON body, mirroring ok / created / listed ergonomics.
  • AuditLayer — Tower middleware that captures request/response audit events to a pluggable AuditSink, with built-in sinks for tracing and in-memory collection.