Skip to content

CHANGELOG

v4.1.1 (2026-10-16)

Bug Fixes

  • py: Enforce the caller's algorithms allowlist on discovery validation (#908, 55a2b27)

Chores

  • Sync uv.lock with 4.1.0 (81b9597)

  • deps)(deps: Bump werkzeug from 3.1.8 to 3.1.9 in /py (#864, dbffd00)

Continuous Integration

  • Lint the workflow files with actionlint and shellcheck (#735, fe40b09)

  • Run conformance, CodeQL and OSV on PRs into any branch (#871, 47c05cf)

  • deps)(deps: Bump anthropics/claude-code-action (#866, fc333f5)

  • deps)(deps: Bump anthropics/claude-code-action (#865, eea566d)

  • deps)(deps: Bump anthropics/claude-code-action (#863, 14b07ba)

  • deps)(deps: Bump anthropics/claude-code-action (#862, 4cfd672)

  • deps)(deps: Bump ossf/scorecard-action (#911, d9f761b)

  • deps)(deps: Bump the github-actions group with 2 updates (#912, 616bbd5)

  • deps)(deps: Bump the github-actions group with 7 updates (#903, 73d0af4)

  • mutation: Gate the Rust DPoP module and redirect policy (#675, a2bae55)

Testing

  • Move the shared discovery URL to a suite-neutral module (#851, b3a541e)

  • Replace the mistyped discovery URL with the shared constant (#851, b3a541e)

  • Share test constants and stop suites importing from each other (#851, b3a541e)

  • Share the example discovery URL across unit tests (#851, b3a541e)

  • Stop test suites importing from each other (#851, b3a541e)

  • py: Assert the disco algorithm-allowlist rejection message (#908, 55a2b27)

  • py: Include resolved alg in allowlist for build_resolved_config field test (#908, 55a2b27)

  • py: Pin the algorithms-allowlist rejection contract (#908, 55a2b27)

v4.1.0 (2026-10-03)

Chores

  • Sync uv.lock with 4.0.4 (b7bf8d3)

  • deps)(deps: Bump pyjwt from 2.14.0 to 2.15.0 in /py (#834, 134dbbf)

  • deps)(deps: Bump urllib3 from 2.7.0 to 2.8.0 in /py (#835, 8e36676)

  • deps)(deps: Bump virtualenv from 21.3.3 to 21.7.12 in /py (#836, cf9a677)

  • deps)(deps: Bump virtualenv from 21.7.12 to 21.7.13 in /py (#837, 492769c)

Continuous Integration

  • deps: Target the Python workspace in Dependabot (#831, 7de566b)

  • deps)(deps: Bump anthropics/claude-code-action (#839, 601f77a)

  • deps)(deps: Bump anthropics/claude-code-action (#833, 6e60dc1)

Features

  • discovery: Expose structured failure diagnostics (#832, c09ebc0)

  • discovery: Expose structured Python and Rust failure diagnostics (#832, c09ebc0)

Testing

  • discovery: Support mutation workspace fixture paths (#832, c09ebc0)

v4.0.4 (2026-09-30)

Bug Fixes

  • Require patched PyJWT and AnyIO versions (#830, 72a2ad6)

Chores

  • Sync uv.lock with 4.0.3 (8c80e46)

  • deps)(deps: Update uvicorn requirement (#829, f145669)

Continuous Integration

  • deps: Bump undici from 7.29.0 to 7.30.0 in /infra/node-oidc-provider (#800, 773b5dc)

v4.0.3 (2026-09-28)

Bug Fixes

  • go,rust: Release the JWKS-008 unusable-key fix (#798, fb78337)

Chores

  • Sync uv.lock with 4.0.2 (83d11b0)

Continuous Integration

  • Run the conformance harness tests (#737, 08eda0c)

  • Run the hosted conformance suite on every merge and daily (#761, 0d87441)

Testing

  • harness: Publish mock OP EC coordinates at full width (#797, 9250640)

v4.0.2 (2026-09-28)

Bug Fixes

  • Tolerate unusable JWKs across Python, Go and Rust; tighten no-kid key selection (#764, 8a073d4)

  • jwks: Define mistyped JWK members identically in all three languages (#764, 8a073d4)

  • jwks: Ignore unusable keys instead of rejecting the whole JWK Set (#764, 8a073d4)

  • jwks: Skip keys with mistyped members; type-check the alg header (#764, 8a073d4)

  • jwks: Skip unusable keys in Go and Rust too (JWKS-008) (#764, 8a073d4)

  • jwt: Reject alg=none and alg-mismatched keys in no-kid key selection (#764, 8a073d4)

Build System

  • Run lint and unit tests for Python, Go and Rust in pre-commit (#763, 5479f42)

Chores

  • Sync uv.lock with 4.0.1 (748d12e)

Continuous Integration

  • Pin the OIDF conformance suite to release-v5.3.1 (#764, 8a073d4)

  • Stop the @claude review cancelling itself via its own result comment (#749, fdb22a8)

  • Stop the prerelease caller shadowing required ci contexts (#760, 3f118af)

  • deps)(deps: Bump astral-sh/setup-uv in the github-actions group (#747, 0d66649)

  • deps)(deps: Bump the github-actions group with 5 updates (#748, b30094e)

Testing

  • Pin the no-kid alg rejections for the mutation gate (#764, 8a073d4)

  • integration: Fail instead of skipping when the expired token is missing (#732, b55555c)

v4.0.1 (2026-09-22)

Bug Fixes

  • ci: Gate the @claude workflow on the acting user and stop re-triggers stacking (#739, a3c98d2)

Chores

Continuous Integration

  • deps)(deps: Bump anthropics/claude-code-action (#742, a17d3d4)

  • deps)(deps: Bump the github-actions group with 5 updates (#741, 0a8b09d)

v4.0.0 (2026-09-20)

Bug Fixes

  • py: Correct the TLS-trust docs and the opt-in shim's guard (#731, 1096913)

  • py: Remove ensure_ssl_compatibility() (#731, 1096913)

  • py: Stop mutating the process environment at import (#731, 1096913)

Chores

  • Sync uv.lock with 3.18.2 (421f5ca)

  • deps)(deps: Update uvicorn requirement (#724, 4cabe3c)

Continuous Integration

  • Restore the @claude reviewer with a read-only Bash allowlist (#723, 95d6cb6)

  • Scope the review workflow's tool grant and stop persisting the job token (9bd44c4)

  • claude: Give the review skill the Bash it declares (#679, 1ba9dbd)

  • claude: Review pull requests on open, not only on @claude (#676, 5d54ee9)

  • deps: Bump anyio from 4.13.0 to 4.14.2 in /py (#726, eb4e097)

  • deps)(deps: Bump the github-actions group with 2 updates (#725, 409676f)

  • deps)(deps: Bump the github-actions group with 2 updates (#720, 156a7a7)

v3.18.2 (2026-09-16)

Bug Fixes

  • rust)(deps: Bump rustls 0.23.41 -> 0.23.45 for the TLS 1.3 advisory (#672, 0eefb7c)

Chores

  • Sync uv.lock with 3.18.1 (497f313)

Continuous Integration

  • Let @claude run the blind-peer-review lenses on demand (#668, 1fa011f)

  • Remove the cloud review workflow; review locally with the plugin (#667, 10ba9b1)

  • Repair the review gate for blind-peer-review v3.0.0 (#656, e3b4f7d)

  • Run blind peer review on demand instead of on every PR (#664, 3d8aabe)

  • deps)(deps: Bump the github-actions group with 5 updates (#665, 0b86f18)

v3.18.1 (2026-09-13)

Note: the two conformance fixes below are about conformance/scripts/rotate_conformance_token.py, a repository script used to rotate this project's own OIDF certification token. Neither touches shipped library code, and no token handled by py-identity-model was ever disclosed. This release contains no library change; it was cut because the conformance scope was missing from the release routing, which #662 fixes.

Bug Fixes

  • conformance: Restore the no-token-output rule this PR had broken (#659, 674050d)

  • conformance: Stop the rotation script disclosing the token (#659, 674050d)

Chores

  • Sync uv.lock with 3.18.0 (61a5e3d)

  • conformance: Ignore certification packages and record the latest run (#660, 3f08a36)

  • deps)(deps: Update idna requirement (#655, 2e6a4c5)

Continuous Integration

  • Add diff-scoped Go/Rust mutation gates mirroring the Python security-gate (#638) (#647, 0266cc1)

  • Re-enable adversarial review (v1.7.1, gemini-2.5-pro) (#595, 773578d)

  • Wire Go lint + reachability-vuln gates (parity with Python) (#635, b7c39a9)

  • Wire Rust lint + supply-chain gates (parity with Python) (#636, eb7969d)

  • deps)(deps: Bump jamescrowley321/adversarial-review (#658, c373661)

  • deps)(deps: Bump jamescrowley321/adversarial-review (#657, dfaafd6)

Documentation

  • Overhaul stale docs — contributing, publish status, API reference (#640, bb4b0b7)

Refactoring

  • tooling: Separate repo infrastructure from the Python package (#648, bae9d4f)

v3.18.0 (2026-09-05)

Bug Fixes

  • config: Reject non-positive http.timeout and contain non-str source values (#605, a943cc9)

Chores

  • Sync uv.lock with 3.17.0 (aee4da3)

Features

  • config: Typed fail-closed Config with pluggable sources (Python) (#605, a943cc9)

Testing

  • config: Drive shared spec vectors + real-env path against Config (#605, a943cc9)

v3.17.0 (2026-09-05)

Bug Fixes

  • token-validation: Raise IdTokenValidationException on non-ASCII hash inputs + c_hash wrapper test (#631, 37462c9)

Chores

  • Sync uv.lock with 3.16.0 (fd76bb6)

Features

  • token-validation: First-class validate_id_token (OIDC id-token profile) (#631, 37462c9)

v3.16.0 (2026-09-05)

Bug Fixes

  • token-validation: Raise IdTokenValidationException on non-ASCII hash inputs + c_hash wrapper test (#632, 2db6ba8)

Chores

  • Sync uv.lock with 3.15.0 (d1f542a)

Features

  • token-validation: First-class validate_id_token (OIDC id-token profile) (#632, 2db6ba8)

v3.15.0 (2026-09-05)

Bug Fixes

  • token-validation: Raise IdTokenValidationException on non-ASCII hash inputs + c_hash wrapper test (#630, e0046e1)

Chores

  • Sync uv.lock with 3.14.0 (ad4a8ea)

Features

  • token-validation: First-class validate_id_token (OIDC id-token profile) (#630, e0046e1)

v3.14.0 (2026-09-05)

Bug Fixes

  • token-validation: Raise IdTokenValidationException on non-ASCII hash inputs + c_hash wrapper test (#629, 272987d)

Chores

  • Sync uv.lock with 3.13.0 (a58e171)

Features

  • token-validation: First-class validate_id_token (OIDC id-token profile) (#629, 272987d)

Testing

  • validation: CLV-003 uses an unregistered claim for uniform null->missing (#625, a225eb5)

  • validation: CLV-003 uses an unregistered claim for uniform null->missing (#624, ed6d939)

v3.13.0 (2026-09-05)

Bug Fixes

  • validation: Log claims rejections, harden validators, add live integration (#623, 678946f)

Chores

  • Sync uv.lock with 3.12.0 (3be9a48)

Continuous Integration

  • Collapse per-job uv setup into a pinned composite action (#634, 23d85ba)

  • Harden supply chain and remediate conformance idna CVE (#628, a27c947)

  • Install uv in integration-tests-ws job (#604, 6a88c56)

  • security-gate: Content-verify equivalent-mutant waivers (#615) + empty-set failopen (#626, 94c07ee)

  • security-gate: Pre-filter mutmut to changed lines (fast feedback) (#592, b4a173d)

Features

  • validation: First-class injectable, composable claims validators (#623, 678946f)

  • validation: First-class injectable, composable claims validators (Python foundation for #603) (#623, 678946f)

Testing

  • conformance: Fix _Disco stub so FAPI2 token-request tests exercise real code (#621, 7d759dd)

  • validation: Claims-validator conformance vectors, example, and docs (#623, 678946f)

  • validation: CLV-003 uses an unregistered claim for uniform null->missing (#623, 678946f)

  • validation: Mutation-gate claims_validation.py; kill all changed-line mutants (#623, 678946f)

  • validation: Pin exact rejection-log message to satisfy the mutation gate (#623, 678946f)

  • validation: Resolve claims vectors by walking up (mutmut-safe) (#623, 678946f)

v3.12.0 (2026-09-04)

Chores

  • Sync uv.lock with 3.11.5 (111f6fa)

Continuous Integration

  • deps)(deps: Bump actions/deploy-pages in the github-actions group (#606, 3c8336b)

Features

  • token-validation: Make discovery policy injectable on the cached path (#585, 00fcac0)

Testing

  • token-validation: Prove injected discovery policy on rotation/retry paths (#585, 00fcac0)

v3.11.5 (2026-09-04)

Bug Fixes

  • token-validation: Accept JsonWebKey and null-safe key dicts (#587, 80c7825)

Chores

  • Sync uv.lock with 3.11.4 (f221801)

Continuous Integration

  • Remove adversarial-review merge gate (unstable) (#591, 2b9c688)

  • conformance: Gate releases on conformance + run it daily off main (#571, 606dd32)

  • conformance: Pin OIDF suite image to release-v5.2.4 (stop :latest drift) (#582, 1b286c0)

  • deps)(deps: Bump softprops/action-gh-release (#581, 6008e2e)

  • deps)(deps: Bump the github-actions group with 4 updates (#580, 27c3134)

  • deps-dev: Bump mkdocs-material from 9.7.6 to 9.7.7 in /py (#589, b9a400c)

  • release: Auto-tag and publish Go and Rust releases (#570, 7be588e)

  • release: Drop orphaned directory line from asset-upload step (e229748)

  • release: Pin gitpython<3.1.60 in the fastapi-version job too (e87a31c)

  • security-gate: Scope mutation gate to changed lines, not whole functions (#588, fde917a)

v3.11.4 (2026-08-28)

Bug Fixes

  • release: Pin GitPython <3.1.60 to unblock semantic-release (#567, 748c09f)

  • token-validation: Use JWT header alg when a kid-matched JWKS key omits alg (#562, d646628)

Chores

  • Sync uv.lock with 3.11.3 (00a3f67)

  • deps)(deps: Bump the python-dependencies group with 4 updates (#565, 9bf6d70)

Continuous Integration

  • deps)(deps: Bump the github-actions group with 6 updates (#566, 4831b26)

Testing

  • security: Pin find_key_by_kid mutants; fix spec-conformance sandbox path (#562, d646628)

v3.11.3 (2026-08-22)

Bug Fixes

  • http: Honor the documented HTTP_RETRY_COUNT env var (e7d7520)

Build System

  • moon: Add moon workspace orchestration + reserve /node scaffold (CONS-2.3) (9141c0d)

Chores

  • Sync uv.lock with 3.11.2 (513f7e7)

  • rename: Repoint references to jamescrowley321/identity-model (77a1a65)

Continuous Integration

  • Add adversarial review merge gate (#552, 56ea098)

  • Fail the merge gate closed for fork/bot PRs (#552, 56ea098)

  • Fix adversarial-review preflight check names (#552, 56ea098)

  • Harden merge gate — fail closed on partial review, guard empty lens set (#552, 56ea098)

  • release: Fix Go release (drop GoReleaser) + nightly native-suite skip (CONS-2.4 review) (9aadb05)

  • release: Go + Rust release pipelines + change-detected CI (CONS-2.4) (fa75cc0)

  • release: Make publish-parity directional + harden (CONS-2.5 review) (0198391)

  • release: Publish core py-identity-model to PyPI via OIDC Trusted Publishing (324fa54)

  • release: Publishing-parity gate — prove /py packages byte-for-byte (CONS-2.5) (846fdcd)

  • release: Py-v tag scheme + guard core release from cross-language commits (CONS-2.2) (fc09e50)

Documentation

  • Write for users — drop process narration, call them native libraries (#551, 54b6dd6)

  • readme: Lead with the vision, not a directory listing (#555, 094e589)

  • readme: Lead with what we have, drop the .NET framing (#558, 7d4c737)

  • readme: Surface the OpenID certification on the landing pages (#559, d1fad88)

  • release: Correct release_parsers module docstring to py-v tag format (ecca6bb)

v3.11.2 (2026-08-21)

Bug Fixes

  • cons2.1: Address adversarial review — un-break docs, un-vacuum security gate, fix release-asset upload (4954c30)

  • cons2.1: Make mutation-security gate rename-aware (exclude pure moves) (5a8ad60)

Refactoring

  • cons2.1: Drop inline S603 noqas, scope subprocess policy properly (3b68213)

  • layout: Relocate Python package into /py (CONS-2.1) (649b954)

v3.11.1 (2026-08-20)

Bug Fixes

  • rust: Remove dead RUSTSEC-2023-0071 allowlist from deny.toml (#541, d683095)

Chores

  • rust: Import Rust binding under /rust (CONS-1.2) (#541, d683095)

Continuous Integration

  • load: Upload PR-gate load-smoke summary as an artifact (#542, b460611)

Refactoring

  • rust: Drop rsa crate (RUSTSEC-2023-0071) via aws_lc_rs backend (#541, d683095)

Testing

  • load: Make S1 warm-cache proof request-count-independent (#539, 60cfdf4)

v3.11.0 (2026-08-18)

Bug Fixes

  • go: Narrow spec-fixture guards so non-fixture unit tests run (CONS-1.1) (#538, 6c8f12c)

Documentation

  • Consolidation plan — identity-model into py-identity-model (#533, a10c63a)

  • Design-of-record for consolidating identity-model into py-identity-model (#533, a10c63a)

  • Refine plan — /py|/go|/rust layout, moon orchestrator, tag scheme (#533, a10c63a)

  • go: Correct imported Go binding README for landed implementation (#538, 6c8f12c)

Features

  • go: Import Go binding under /go (CONS-1.1) (#538, 6c8f12c)

v3.10.0 (2026-08-14)

Bug Fixes

  • Address delta-review findings in correctness matrix (TH-1.3) (5fced0d)

  • Address review findings in correctness matrix (TH-1.3) (fe012df)

  • Address review findings in load suite (TH-1.5) (51e3561)

  • Address review findings in RS boot harness (TH-1.2) (f573ad6)

  • cache: Count cache miss/refresh only on successful upstream fetch (003724c)

  • harness: Gate RS-boot suite to node-oidc in the CI matrix (TH-1.2) (c373ed8)

  • token-validation: Count upstream fetches that FAILED. The (51e3561)

Continuous Integration

  • load: Run CI-short load in PR CI + add nightly soak workflow (93c5534)

Documentation

  • Add load/soak suite README and CLAUDE.md test command (TH-1.5) (8115079)

  • Correct CLAUDE.md caching strategy to TTL+LRU cache (T299) (4a2b33c)

  • Document Descope multi-tenant harness env vars (c93b1da)

  • performance: Correct stale lru_cache/cache_info docs to TTL-LRU reality (54e93f3)

Features

  • cache: Add per-process cache observability counters (84a2548)

  • harness: Mock-OP upstream-fetch counters + RS /metrics readout (9302509)

Testing

  • Cover LoadResult p999 + cache_hit_rate + alg_cost_ratio (TH-1.5) (6315c79)

  • benchmarks: Add validate_token warm-path micro-benchmark (dfaad6f)

  • cache: Pin kid-miss cooldown in amplification tests to remove wall-clock flake (e84880d)

  • harness: Add token_source fixture + real-IdP DoD test (TH-1.1) (bdb0dd6)

  • harness: Add TokenSource minter, mock OP + forged corpus (TH-1.1) (c506ca4)

  • harness: Boot fastapi-identity-model as a real resource server (TH-1.2) (57b3068)

  • harness: Close uvicorn stdout pipe in boot_rs teardown (ae119da)

  • harness: Crash-harden mock OP + real Descope multi-tenant exchange (TH-1.1, #463) (b689aed)

  • harness: Delete descope access-key even on empty-cleartext response (TH-1.1, #463) (c7f47a1)

  • harness: Serve mock OP over real HTTP for out-of-proc RS (TH-1.3) (607d5e0)

  • harness: Token correctness assertion matrix through booted RS (TH-1.3) (cd9f39e)

  • harness: Waive equivalent log-string mutants in _refresh_jwks (TH-1.5) (52eeb54)

  • load: Locust scenario framework + pre-minted pool replay (S1-S8 CI-short) (aa87eb7)

  • security: Fail-closed tests for aio cache fetch controls (T299) (43be93b)

v3.9.0 (2026-08-10)

Features

  • security: Opt-in multi-tenant issuer pinning via allowed_issuers (R.9) (#512, 428e139)

v3.8.7 (2026-08-10)

Bug Fixes

  • discovery: Close IP-encoding SSRF bypass + surface off-host escape hatch (F-05/F-06) (#506, ef812e6)

Chores

  • Sync uv.lock with 3.8.6 (afd1b46)

v3.8.6 (2026-08-10)

Bug Fixes

  • security: Reject HS*/none against an asymmetric key with a typed error (F-01) (#507, 3d3b49a)

v3.8.5 (2026-08-09)

Bug Fixes

  • ci: Anchor version sed so it can't corrupt the cryptography pin (#505, ab7f992)

v3.8.4 (2026-08-09)

Bug Fixes

  • ci: Pin uv to 0.11.29 to unbreak PyPI publish (#504, e5e3137)

Chores

  • Sync uv.lock with 3.8.3 (80c1f4b)

v3.8.3 (2026-08-09)

Bug Fixes

  • discovery: Reject internal-IP mtls_endpoint_aliases (F-05) (5d60410)

  • discovery: Validate pushed_authorization_request_endpoint (F-06) (d9ee46c)

Testing

  • integration: Clear stale cross-run provider cache at session start (#495, 6beb9ad)

  • integration: Surface characterization table via CI step summary + artifact (#499, f89427c)

  • integration: Token characterization harness for F-07 discriminator (#499, f89427c)

v3.8.2 (2026-08-05)

Bug Fixes

  • mtls: Make CertificateBindingError a TokenValidationException subclass (65f2cc6)

Testing

  • mtls: Integration proof that cert-binding mismatch fails closed (71116dd)

v3.8.1 (2026-08-05)

Bug Fixes

  • deps: Require cryptography>=50 to patch PYSEC-2026-3552/3553/3554 (7a2c0c7)

Continuous Integration

  • prerelease: Anchor version sed to the project.version line (3915d42)

v3.8.0 (2026-08-02)

Continuous Integration

  • conformance: Install cryptography for the test runner (fc8d8e9)

Features

  • conformance: OIDF RP conformance harness — new profiles + FAPI2/JARM/mTLS (17650e1)

v3.7.0 (2026-08-02)

Bug Fixes

  • jarm: Harden response parsing per review findings (#218, 91697b8)

Documentation

  • Document JARM support in feature tables and examples (8def841)

  • conformance: Add repeatable process for adding new profiles (e70b358)

Features

  • jarm: Add JWT-secured authorization response mode (JARM) (333b82d)

  • jarm: Thread response_mode through the PAR request path (4e2f9c2)

Testing

  • jarm: Add unit + integration tests for JARM response mode (7b2bd97)

v3.6.0 (2026-08-02)

Bug Fixes

  • mtls: Address review findings — example, conflict guard, ASCII guard (#215, 545a402)

  • mtls: Present client cert on httpx 0.28 + thread mTLS through UserInfo (528a474)

Documentation

  • Document mTLS client auth and cert-bound tokens (RFC 8705) (8c39748)

Features

  • mtls: Add mTLS client auth + certificate-bound token validation (RFC 8705, #215) (55c2ba0)

Testing

  • mtls: Add unit + integration tests for mTLS client auth (RFC 8705, #215) (4c00748)

v3.5.0 (2026-08-02)

Bug Fixes

  • auth: Form-urlencode HTTP Basic client credentials (RFC 6749 §2.3.1) (ab9e5a5)

Features

  • discovery: Expose pushed_authorization_request_endpoint (RFC 9126 §5) (21f85e0)

  • dpop: Thread DPoP proofs through PAR + auth-code token requests (2aabb62)

  • dpop: Thread DPoP proofs through UserInfo resource requests (e48beba)

v3.4.3 (2026-08-02)

Bug Fixes

  • models: Guard DeviceAuthorizationResponse repr + redact device_code (#479, 392794a)

  • models: Redact secrets in all token/credential response reprs (#479, 392794a)

  • models: Redact secrets in RefreshTokenResponse/PushedAuthorizationResponse repr (#479, 392794a)

  • models: Redact secrets in response repr (#431) (#479, 392794a)

Testing

  • models: Assert repr/str redaction for RefreshTokenResponse + PushedAuthorizationResponse (#479, 392794a)

v3.4.2 (2026-07-31)

Bug Fixes

  • jwks-cache: Guard write-path reinsert with the structure lock too (#461, 4627094)

  • jwks-cache: LRU eviction — refresh recency on read hits (#461, 4627094)

  • jwks-cache: Serialize cache clear() under the structure lock too (#461, 4627094)

  • jwks-cache: Serialize LRU reorder vs eviction with a process-wide lock (#461, 4627094)

  • jwks-cache: Switch JWKS/disco caches to LRU eviction (T236, #397) (#461, 4627094)

Testing

  • jwks-cache: Add end-to-end discovery-cache LRU eviction test (#461, 4627094)

v3.4.1 (2026-07-27)

Bug Fixes

  • conformance: Surface exc.message instead of str(exc) in logout error (#459, edce8ca)

v3.4.0 (2026-07-27)

Bug Fixes

  • Address review findings for RFC 9207 issuer validation (#457, 5c2fed7)

Documentation

  • Surface RFC 9207 issuer identification in README and API nav (#457, 5c2fed7)

  • Surface RFC 9207 issuer validator in API reference (#457, 5c2fed7)

Features

  • state-validation: Add RFC 9207 authorization-response issuer validation (#457, 5c2fed7)

Testing

  • state-validation: Cover RFC 9207 issuer validation + iss discovery field (#457, 5c2fed7)

v3.3.0 (2026-07-21)

Bug Fixes

  • Address review findings in live logout/registration tests (#454, 36f6e3e)

  • Address review findings in live logout/registration tests (#453, 3fbd6e3)

  • Harden Keycloak fixture healthcheck (bash -c + anchored status match) (60aada0)

  • Relax over-specified identity assertions in matrix tests (8330f21)

  • jwks: Serialize x5t#S256 with the RFC 7517 member name (ff3a290)

  • keycloak: Harden login-form parser and identifier handling (bb0f0cd)

  • logout: Address RP-initiated logout review findings (4a55e0c)

  • logout: Return 400 for malformed logout tokens; snapshot flow context (337a463)

  • registration: Guard client_secret and truncate error-body echo (9276901)

Build System

  • keycloak: Add keycloak integration tests to make pre-push (#454, 36f6e3e)

  • keycloak: Add local Keycloak test fixture (docker-compose + realm + README) (0382826)

  • keycloak: Enable device grant + token exchange; fix test-user password (4189692)

  • keycloak: Grant test-user offline_access role (545c898)

Continuous Integration

  • deps)(deps: Bump actions/setup-python in the github-actions group (#445, f68891f)

  • keycloak: Add Keycloak integration CI job, pre-push, and docs (#454, 36f6e3e)

  • keycloak: Add Keycloak integration job mirroring node-oidc (#454, 36f6e3e)

  • release: Automate fastapi-identity-model releases with scope-routed semantic-release (#444, 52dfcba)

Documentation

  • keycloak: Document Keycloak provider + capability matrix in integration guide (#454, 36f6e3e)

Features

  • integration: Detect end_session/registration/backchannel caps (#454, 36f6e3e)

  • integration: Detect end_session/registration/backchannel caps (#453, 3fbd6e3)

  • integration: Wire Keycloak fixture into integration harness (934c2e6)

  • integration: Wire Keycloak fixture into integration harness (#447, 1c89c1e)

  • logout: Add backchannel_logout discovery fields + exception (f4bcc2b)

  • logout: Add build_end_session_url + post-logout state validation (e044eeb)

  • logout: Add end_session_endpoint discovery field (51c24b3)

  • logout: Add validate_logout_token (core logic + sync/aio wrappers) (67fe9e6)

  • logout: Conformance harness backchannel-logout receiver + config (2cdc398)

  • logout: Conformance harness RP-initiated logout redirect + callback + config (4389644)

  • matrix: Add logout/registration columns to provider capability matrix (993e9c2)

  • registration: Add dynamic client registration models (e1ccb91)

  • registration: Conformance harness dynamic registration endpoint + config (b57d4f7)

  • registration: Dynamic client registration logic + sync/async APIs (08068ad)

Testing

  • keycloak: Gate private_key_jwt to node-oidc; skip KC token-exchange cleanly (d74fd5e)

  • keycloak: Key integration session caches by provider (7d98170)

  • keycloak: Live back-channel logout token validation (#454, 36f6e3e)

  • keycloak: Live back-channel logout token validation (#453, 3fbd6e3)

  • keycloak: Live dynamic client registration CRUD (#454, 36f6e3e)

  • keycloak: Live dynamic client registration CRUD (#453, 3fbd6e3)

  • keycloak: Live logout + dynamic registration integration tests (#453, 3fbd6e3)

  • keycloak: Live RP-initiated logout end-session round-trip (#454, 36f6e3e)

  • keycloak: Live RP-initiated logout end-session round-trip (#453, 3fbd6e3)

  • keycloak: Make live logout/registration tests exercise the flow (#454, 36f6e3e)

  • keycloak: Make live logout/registration tests exercise the flow (#453, 3fbd6e3)

  • keycloak: Send Secure auth-session cookies over http in auth-code flow (50eb4ce)

  • keycloak: Support Keycloak login form in auth-code flow helper (d2684d9)

  • logout: Unit tests for logout token validation + discovery fields (c6947b5)

  • logout: Unit tests for RP-initiated logout URL + state (LOGOUT-001/002/003) (e1dd338)

  • registration: Unit tests for dynamic client registration CRUD (c1f0575)

v3.2.0 (2026-07-06)

Bug Fixes

  • client-auth: Redact private_key repr and harden assertion guards (2dd6420)

  • client-auth: Route private_key_jwt signing failures through error handlers (901d4ed)

Documentation

  • client-auth: Add private_key_jwt usage example (f2acf0c)

Features

  • client-auth: Add private_key_jwt (RFC 7523) client authentication (acbc529)

Testing

  • client-auth: Integration tests for private_key_jwt against node-oidc (0191f65)

v3.1.1 (2026-06-30)

Bug Fixes

  • integration: Exercise real discovery/JWKS fetch instead of fake-primed caches (0bfe060)

v3.1.0 (2026-06-29)

Bug Fixes

  • conformance: Download signed plan export, not the certification package (006e603)

  • conformance: Harden RP log path against path injection (CodeQL py/path-injection) (c1a7e05)

  • conformance: Harden submission-artifact gating and log routing (30a3da2)

  • token-exchange: Surface raw error body when no standard OAuth error field (1e50877)

Documentation

  • certification: Add OIDC certification guide (f8e24cc)

  • certification: Correct submission flow — payment code gate, sourced waiver (50e5c87)

Features

  • conformance: Capture per-test RP client-side logs (clientSideData) (0b439f5)

  • conformance: Download OIDF certification package for hosted runs (f3a8bb5)

Testing

  • conformance: Add live hosted plan results as evidence (ff81387)

  • conformance: Refresh hosted evidence from full local run (d9906dc)

  • integration: Skip token exchange when provider advertises but rejects grant (b10618f)

  • integration: Skip token exchange when provider rejects grant as unsupported (c924385)

v3.0.2 (2026-05-23)

Bug Fixes

  • jwks-cache: Surface retained cache on empty refresh (#403) (#417) (#417, bd19d74)

v3.0.1 (2026-05-23)

Bug Fixes

  • aio: Per-event-loop async locks (#399) (#399, 94ceddc)

Testing

  • jwks-cache: Pin _distinct_lock_per_uri at class level (#398) (#398, 6eb301f)

v3.0.0 (2026-05-21)

Bug Fixes

  • jwks-cache: Convert aio clear_*_cache helpers to async (06e4236)

Breaking Changes

  • jwks-cache: Callers of py_identity_model.aio.token_validation's clear_discovery_cache and clear_jwks_cache must now await them. The sync mirrors in py_identity_model.sync.token_validation are unchanged.

v2.19.14 (2026-05-21)

Bug Fixes

  • jwks-cache: Use monotonic clock and capture request_time inside fetch lock (d00dcb3)

  • tests: Backdate cached_at via time.monotonic for stale-entry test (c724a93)

v2.19.13 (2026-05-17)

Bug Fixes

  • tests: Unblock CI — Ory 429 in fixture + per-URI lock test flake (c476753)

v2.19.12 (2026-05-17)

Bug Fixes

  • jwks-cache: Cap DoS amplification, clamp env config, bound cache size (d9dfde2)

  • jwks-cache: Close second-review findings on cooldown lifecycle (616f5d7)

  • jwks-cache: Invalidate stale entry on uncacheable refresh and reject empty keys (86b5d12)

  • jwks-cache: Respect HTTP cache headers for no-store, no-cache, and failed responses (e54d503)

  • jwks-cache: Use per-URI lock striping so distinct issuers fetch in parallel (c6cf4d5)

  • token-validation: Harden kid-miss refresh path with diagnostic, fixed test priming, and negative regression (df9c881)

  • token-validation: Refresh JWKS on cached kid miss (4f02bfc)

Build System

  • conformance: Wait for app-level readiness in conformance-up (b901cea)

Testing

  • integration: Skip caching benchmarks when provider sends no-store/no-cache (bf22ae6)

  • token-validation: Pin kid-miss stampede protection (3dd72d7)

v2.19.11 (2026-04-19)

Bug Fixes

  • security: Prevent cache stampede on TTL expiry (58026c4)

  • security: Prevent redundant sequential fetches in _refresh_jwks (0283782)

  • security: Reject JWKS responses with missing Content-Type (19bc96a)

Testing

  • security: Add _refresh_jwks freshness guard coverage (7a570f1)

v2.19.10 (2026-04-19)

Bug Fixes

  • security: Address review findings for require_https wiring (dde0341)

  • security: Wire require_https through to DiscoveryPolicy (372e20e)

Testing

  • security: Add require_https wiring tests for token validation (28f2b8a)

v2.19.9 (2026-04-18)

Bug Fixes

  • Use deepcopy to prevent mutable list field leakage in deprecated function (84c73f2)

  • security: Add JWKS max key count limit and KeyError guard (ba97325)

  • security: Address review findings for JWKS key count limit (a69c477)

  • security: Deprecate get_public_key_from_jwk to prevent cached key mutation (d74be8e)

  • security: Log warning on malformed Content-Length header (4691f06)

Testing

  • security: Add key count limit and KeyError guard tests (312a797)

  • security: Add tests for cached key mutation prevention (c7fd2c0)

v2.19.8 (2026-04-13)

Bug Fixes

  • conformance: Fix 7 CodeQL alerts in harness — stack traces and sensitive logging (9f09a55)

  • conformance: Remove token logging and --show-token flag (4728e4b)

v2.19.7 (2026-04-13)

Bug Fixes

  • security: Add JWKS size limit and fix async cleanup lock race (da859e3)

  • security: Enforce key type / algorithm consistency to prevent algorithm confusion (d02d523)

v2.19.6 (2026-04-13)

Bug Fixes

  • security: Auto-trust discovery URL authority for endpoint validation (2f173ec)

  • security: HTTP hardening — disable redirects, enforce HTTPS, validate JWKS Content-Type, derive endpoint authority from issuer (93f7ce5)

  • security: Thread discovery_policy through validate_token for endpoint authority control (95124ca)

v2.19.5 (2026-04-13)

Bug Fixes

  • jwt: Block options pass-through from disabling signature verification (0378f19)

Continuous Integration

  • Remove pre-push hook from pre-commit config (8e212b8)

Documentation

  • Update CLAUDE.md to reflect pre-push hook removal (65f82f2)

v2.19.4 (2026-04-13)

Bug Fixes

  • cache: Overhaul caching — TTL-based discovery, remove JWT/PyJWK caches (8d84620)

  • conformance: Update cache clearing to use clear_discovery_cache() (7042913)

v2.19.3 (2026-04-12)

Bug Fixes

  • conformance: Make UserInfo sub mismatch fatal and display claims (47a86ed)

v2.19.2 (2026-04-12)

Bug Fixes

  • conformance: Add cert-init service for SSL cert sharing (#343) (#343, 928e9ad)

  • conformance: Add SAN extension and nginx dependency to cert-init (#343) (#343, 5ccc88d)

  • conformance: Allow config-rp to continue on known signing-key-rotation timeout (#343) (#343, dff76bc)

  • conformance: Clear discovery and JWKS caches between test modules (#343) (#343, 924e39f)

v2.19.1 (2026-04-12)

Bug Fixes

  • conformance: Switch token rotation from UI selectors to REST API (#342) (#342, 39ce7d9)

Chores

  • Sync uv.lock with 2.19.0 (52ff89b)

v2.19.0 (2026-04-12)

v2.18.1 (2026-04-10)

Bug Fixes

  • infra: Make sonar_token optional so apply works without it (#318, c72df52)

Continuous Integration

  • deps)(deps: Bump the github-actions group with 8 updates (#317, 07cccb9)

v2.18.0 (2026-04-10)

Features

  • token-validation: Add JWKS cache TTL with forced refresh on signature failure (#310, bae53a5)

v2.17.4 (2026-04-07)

Bug Fixes

  • userinfo: Add sub claim mismatch validation per OIDC Core 5.3.4 (e97555c)

v2.17.3 (2026-04-07)

Bug Fixes

  • parsers: Handle missing kid in JWT header per OIDC Core Section 10.1 (fbd6d1e)

v2.17.2 (2026-04-05)

Bug Fixes

  • test: Extract mutable DEFAULT_OPTIONS to shared fixture and use cache_info.hits (#302, 0ae7a08)

v2.17.1 (2026-03-30)

Bug Fixes

  • ci: Add git identity config to uv.lock sync step in release workflow (5167464)

v2.17.0 (2026-03-30)

Refactoring

  • test: Provider-agnostic integration tests with discovery-driven capabilities (#281, 02ff38a)

v2.16.0 (2026-03-30)

v2.15.0 (2026-03-30)

v2.14.0 (2026-03-30)

v2.13.0 (2026-03-30)

v2.12.0 (2026-03-30)

v2.11.0 (2026-03-30)

Features

  • par: Implement Pushed Authorization Requests (RFC 9126) (#230, aa655ba)

v2.10.0 (2026-03-30)

Features

  • dpop: Implement DPoP proof creation and key management (RFC 9449) (#229, 994012e)

v2.9.0 (2026-03-30)

Features

  • refresh: Implement OAuth 2.0 Refresh Token Grant (#228, c0eae00)

v2.8.0 (2026-03-30)

v2.7.0 (2026-03-30)

Features

  • introspection: Implement OAuth 2.0 Token Introspection (RFC 7662) (#226, 6870781)

v2.6.0 (2026-03-30)

Features

  • auth-code: Implement Authorization Code Grant with PKCE (#225, f3ea096)

v2.5.0 (2026-03-30)

Features

  • token-validation: Add enhanced validation and base request/response classes (#224, c137b27)

v2.4.1 (2026-03-30)

Bug Fixes

  • ci: Remove tracked worktree directory breaking CI checkout (4fbaa7e)

v2.4.0 (2026-03-30)

Features

  • http-client: Add dependency injection support for HTTP client management (#222, 4ad60f2)

v2.3.0 (2026-03-30)

Bug Fixes

  • authorize: Address code review and security findings (1976416)

  • authorize: Guard against None inputs in callback parsing and state validation (2e696c5)

  • authorize: Make state accessible on error responses per RFC 6749 (1a77957)

  • test: Make authorization_endpoint HTTPS assertion conditional on require_https (2cd2801)

Chores

  • Auto-commit before merge (loop primary) (7e42771)

  • Exclude init.py from SonarCloud duplication analysis (7886657)

  • deps: Automated dependency update (244735d)

  • deps: Automated dependency update (b0ed1fe)

  • deps: Automated dependency update (104cb62)

Continuous Integration

  • Add pull_request trigger to build workflow (30399f9)

Documentation

  • authorize: Add API docs for callback response and state validation (41b63b6)

  • authorize: Add authorization callback usage examples (530cec6)

Features

  • authorize: Add AuthorizeCallbackResponse model and parser (4d8351f)

  • authorize: Add state parameter validation (2f4f826)

  • authorize: Export callback response and state validation API (6c3ddd9)

  • exceptions: Add AuthorizeCallbackException (4804ae2)

Refactoring

  • test: Reduce code duplication in authorize callback tests (76dfc6c)

Testing

  • Add coverage for review fix findings (e4a396a)

  • authorize: Add integration tests for callback parsing and state validation (02a9f94)

  • authorize: Add unit tests for callback response and state validation (1b83e10)

v2.2.0 (2026-03-14)

Features

  • Add guarded field access on failed response models (#200, 1e2b7ba)

v2.1.5 (2026-03-10)

Bug Fixes

  • Add Terraform and TFLint setup to release workflow (#189, d76de12)

v2.1.4 (2026-02-24)

Bug Fixes

  • hooks: Remove unnecessary bash -c wrappers from pre-commit config (#183, e2bab26)

v2.1.3 (2026-02-24)

Bug Fixes

  • test: Warm lru_cache before benchmark to avoid 429 rate limits (#182, ee6fa2f)

v2.1.2 (2026-02-24)

Bug Fixes

  • docs: Switch GitHub Pages to Actions deployment and add docs targets (#181, 7ba1135)

v2.1.1 (2026-02-24)

Bug Fixes

  • docs: Resolve MkDocs strict mode build failures (#179, bec22b4)

v2.1.0 (2026-02-18)

Build System

  • Consolidate dependabot dependency updates (#175, e9ae811)

Features

  • userinfo: Add OpenID Connect UserInfo endpoint support (9e35dce)

v2.0.0 (2026-01-29)

v2.0.0-rc.1 (2026-01-17)

Bug Fixes

  • Add retry logic to token client endpoint (8ec1cc6)

  • Add thread-safe SSL certificate backward compatibility for httpx (55b8fe4)

  • Address high priority issues from PR #108 code review (15ccf1d)

  • Centralize HTTP default constants and improve content-type handling (0989b59)

  • Export to_principal in root init.py (6443dec)

  • Optimize token validation with multi-layer caching (e42dbb4)

  • Reduce code duplication and improve test coverage (3de5c0a)

  • Remove private reset functions from public all exports (a9bf2ef)

  • Sonar quality issues (#126, 34ab94b)

  • Sonarcloud Quality Issues (#115, 7f74d78)

Chores

  • Remove implementation plan before PR merge (5ea55b4)

Continuous Integration

  • Trigger prerelease on PR events with auto-versioning (bbd1fc7)

  • Unify release workflow with workflow_dispatch for prereleases (735690c)

Documentation

  • Add httpx performance note to cached functions (05d969e)

  • Add Phase 8 architecture improvements to roadmap (abe7397)

  • Complete Phase 5 documentation and examples (306e99f)

Features

  • Add async support and modular architecture (55af9f3)

  • Add retry logic with exponential backoff for rate limiting (ef667e0)

  • Add SSL certificate backward compatibility and fix Docker examples (808b16c)

  • Complete async optimizations and add coverage reporting (155d682)

  • Complete async support and add SonarCloud integration (70f5031)

  • Optimize integration tests with session-scoped fixtures (c01b691)

Performance Improvements

  • Add httpx connection pooling for sync HTTP requests (54952ee)

  • Add parallel test execution to all test commands (7496d72)

  • Add public key caching to async token validation (c34fbd3)

  • Add selective parallel test execution to avoid rate limiting (7b88001)

Refactoring

  • Eliminate code duplication with shared response processors (5c023c6)

  • Extract common token validation logic to reduce duplication (b28779b)

  • Fix Sonar code quality issues (d52a03f)

  • Reduce code duplication by extracting shared logic (ea66a42)

  • Reduce cognitive complexity and eliminate string duplication (452ea1a)

Testing

  • Add cache validation tests and restore benchmark threshold (3c5de99)

  • Add comprehensive coverage for parsers module (d1645f4)

  • Update network error test to handle both error types (41743e5)

v1.2.0 (2025-11-08)

Features

  • Async/Await Support - Full asynchronous API via py_identity_model.aio module
  • Async versions of all client methods (discovery, JWKS, token validation, token client)
  • Async caching with async-lru for discovery and JWKS
  • Full backward compatibility maintained (sync API unchanged)
  • Comprehensive async test suite (10 new async tests)
  • Examples for both FastAPI and concurrent operations

  • Modular Architecture - Clean separation between HTTP layer and business logic

  • Extracted shared business logic to core/ module
  • Eliminated code duplication between sync/async implementations
  • Major code reduction: sync/jwks.py (390→78 lines), sync/discovery.py (378→246 lines)
  • All 146 tests passing with zero regressions

  • HTTP Client Migration - Migrated from requests to httpx

  • Single library supporting both sync and async operations
  • Configurable timeouts (30s default on all HTTP calls)
  • Automatic connection pooling

  • Add comprehensive logging and exception handling (#107, 98f88d6)

Documentation

  • Consolidate documentation into mkdocs instead of Wiki (#99, 71f5fcb)

  • Add comprehensive async examples and architecture documentation

  • Update roadmap to reflect completed features

v1.1.1 (2025-10-21)

Bug Fixes

  • docs: Remove awesome-pages plugin to fix navigation (95904d7)

Documentation

  • Add CONTRIBUTING.md and fix documentation (#98, 68b266d)

v1.1.0 (2025-10-21)

Chores

Features

v1.0.0 (2025-05-31)

v1.0.0-rc.1 (2025-05-31)

Chores

Features

  • Adds automated versioning (c4f9846)

  • Adds automated versioning (05549ab)

  • Cleans up workflow files (425ed08)

  • Cleans up workflow files (b612011)

  • Cleans up workflow files (f906d8c)

  • Cleans up workflow files (6febcbe)

  • Cleans up workflow files (38bff6f)

  • Cleans up workflow files (30451ec)

  • Moves from poetry to uv (33cac19)

  • Moves from poetry to uv (1d5920e)

v0.11.4 (2024-06-20)

  • Initial Release