Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ade34d5ffb
|
||
|
|
97be926423
|
||
|
|
514eabbc63
|
||
|
|
8bc98968ef
|
||
|
|
96d44b37eb
|
@@ -1,5 +1,26 @@
|
||||
# Changelog
|
||||
|
||||
## v1.1.3 — 2026-08-08
|
||||
|
||||
Patch — coordinated framework version alignment. Bumped einherjar dependencies (\`contracts\`, \`core\`, \`web\`) to v1.1.3.
|
||||
No code or API changes.## v1.1.2 — 2026-08-08
|
||||
|
||||
Patch — documentation fix plus coordinated framework version alignment.
|
||||
|
||||
### Fixed
|
||||
|
||||
- README wiring example: `rbac.NewClaimsPermissionProvider("perms", authmw.GetClaims)` (was
|
||||
missing the `getClaims` argument); install line updated to v1.1.2.
|
||||
|
||||
### Changed
|
||||
|
||||
- Bumped `contracts`, `core`, `web` to v1.1.2.
|
||||
|
||||
## v1.1.1 — 2026-08-07
|
||||
|
||||
Patch — coordinated framework version alignment. Bumped `contracts`, `core`, `web` to v1.1.1.
|
||||
No code or API changes.
|
||||
|
||||
## v1.1.0 — 2026-08-07
|
||||
|
||||
Coordinated framework version alignment — released in lockstep at v1.1.0.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# einherjar/auth
|
||||
|
||||
[](https://code.nochebuena.dev/einherjar/auth)
|
||||
[](https://code.nochebuena.dev/einherjar/auth)
|
||||
[](LICENSE)
|
||||
[](https://go.dev)
|
||||
|
||||
@@ -40,7 +40,7 @@ enricher := userservice.NewIdentityEnricher(userRepo)
|
||||
|
||||
// Build permission resolution chain.
|
||||
permissions := rbac.NewChainPermissionProvider(
|
||||
rbac.NewClaimsPermissionProvider("perms"), // JWT fast-path
|
||||
rbac.NewClaimsPermissionProvider("perms", authmw.GetClaims), // JWT fast-path
|
||||
rbac.NewCachedPermissionProvider(dbProvider, valkeyCache, 5*time.Minute), // DB fallback
|
||||
)
|
||||
|
||||
@@ -128,5 +128,5 @@ None. Auth middleware is wired in code, not configured via environment.
|
||||
## Install
|
||||
|
||||
```bash
|
||||
go get code.nochebuena.dev/einherjar/auth@v1.0.0
|
||||
go get code.nochebuena.dev/einherjar/auth@v1.1.2
|
||||
```
|
||||
|
||||
@@ -3,9 +3,9 @@ module code.nochebuena.dev/einherjar/auth
|
||||
go 1.26
|
||||
|
||||
require (
|
||||
code.nochebuena.dev/einherjar/contracts v1.1.0
|
||||
code.nochebuena.dev/einherjar/core v1.1.0
|
||||
code.nochebuena.dev/einherjar/web v1.1.0
|
||||
code.nochebuena.dev/einherjar/contracts v1.3.0
|
||||
code.nochebuena.dev/einherjar/core v1.3.0
|
||||
code.nochebuena.dev/einherjar/web v1.3.0
|
||||
)
|
||||
|
||||
require (
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
code.nochebuena.dev/einherjar/contracts v1.1.0 h1:GsGr6reyrd9qCc7D8CqbT1LWPTeeK9lT4r4EdsNA5Ro=
|
||||
code.nochebuena.dev/einherjar/contracts v1.1.0/go.mod h1:ccltUtrFb5+MEJdkx2VVEUL+xC5pupVlVVsMM8AlCWI=
|
||||
code.nochebuena.dev/einherjar/core v1.1.0 h1:zxj9bFPthEEFRnvWV/vgNZqWa2y/kAo3p5pODWablyk=
|
||||
code.nochebuena.dev/einherjar/core v1.1.0/go.mod h1:Ot2JbjsnZ33Ed5C9Ev1kSn2PW+F4dLz/LRwIUh+fYt0=
|
||||
code.nochebuena.dev/einherjar/web v1.1.0 h1:Re2GOwnmDmOipcB2SVj57DhaAU+JeGaoTO474kfDBqM=
|
||||
code.nochebuena.dev/einherjar/web v1.1.0/go.mod h1:va8lFwW3OXdKp3Is8UE9hZjv1c6esQM4+dWMfUMWsjs=
|
||||
code.nochebuena.dev/einherjar/contracts v1.3.0 h1:rm5hqaA1NBtWgH8okwwt6WLoIne1SwQ1Ogi7qbbwfY8=
|
||||
code.nochebuena.dev/einherjar/contracts v1.3.0/go.mod h1:ccltUtrFb5+MEJdkx2VVEUL+xC5pupVlVVsMM8AlCWI=
|
||||
code.nochebuena.dev/einherjar/core v1.3.0 h1:LRT8gln+KJLLGzySVf3C0WX/qiufxg5Jp5v2jySBirE=
|
||||
code.nochebuena.dev/einherjar/core v1.3.0/go.mod h1:2Pdbb3Pni8dYBZKOpQKqzpR/WFq+Ln9+KSPycf7DQh0=
|
||||
code.nochebuena.dev/einherjar/web v1.3.0 h1:TFinxtrpX6yvvplm2SplHmXF211HGALrxOBuhQZxK9U=
|
||||
code.nochebuena.dev/einherjar/web v1.3.0/go.mod h1:vYwnFQAJ2+b9b+LYrysy+xPzlzdX05WAkUKJaOBYTIY=
|
||||
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
|
||||
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
||||
github.com/gabriel-vasile/mimetype v1.4.12 h1:e9hWvmLYvtp846tLHam2o++qitpguFiYCKbn0w9jyqw=
|
||||
|
||||
Reference in New Issue
Block a user