From c58087b14155667484e665caa43297c4583fc383 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 5 Oct 2026 08:23:39 +0000 Subject: [PATCH] chore(release): v1.21.0 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01GKRxaeYxyDhmt42cehLsGA --- CHANGELOG.md | 10 +++++++++- README.md | 4 ++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a68f0e9..5a61f33 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,13 @@ All notable changes to backendkit are documented here. Format: ## [Unreleased] +## [1.21.0] - 2026-10-05 + +Minor release on the **v1** line: additive API only. `jwtauth.WithTenantClaim` reads the tenant from +a namespaced claim, which is how a stock Socrate issues it (`https://socrate/tenant_id`); without it +`httpware.RequireTenant` refused every Socrate token. No exported identifier changes; the default +is unchanged. + ### Added - `jwtauth.WithTenantClaim(name)`: read the tenant from the named claim instead of `tenant_id`. A stock Socrate has no tenant model and issues claim mappings under its claims namespace, so a @@ -603,7 +610,8 @@ are rejected. Confirm your Socrate server populates `aud` before enabling it in production. Making audience validation required-by-default is deferred to a future major (v2.0) and tracked separately. -[Unreleased]: https://github.com/ovander/backendkit/compare/v1.20.0...HEAD +[Unreleased]: https://github.com/ovander/backendkit/compare/v1.21.0...HEAD +[1.21.0]: https://github.com/ovander/backendkit/compare/v1.20.0...v1.21.0 [1.20.0]: https://github.com/ovander/backendkit/compare/v1.19.0...v1.20.0 [1.19.0]: https://github.com/ovander/backendkit/compare/v1.18.0...v1.19.0 [1.18.0]: https://github.com/ovander/backendkit/compare/v1.17.1...v1.18.0 diff --git a/README.md b/README.md index 52bd2c2..41b887b 100644 --- a/README.md +++ b/README.md @@ -133,7 +133,7 @@ to Socrate (`bff`, `pep`) and `ailang` for `aigateway`. ## Installation ```bash -go get github.com/ovander/backendkit@v1.20.0 +go get github.com/ovander/backendkit@v1.21.0 ``` ```go @@ -142,7 +142,7 @@ module github.com/your-org/my-service go 1.27.1 -require github.com/ovander/backendkit v1.20.0 +require github.com/ovander/backendkit v1.21.0 ``` ---