5 Commits
Author SHA1 Message Date
Rene Nochebuena 97be926423 chore(auth): framework version alignment to v1.2.0 2026-08-08 02:26:29 -06:00
Rene Nochebuena 514eabbc63 chore(auth): framework version alignment to v1.1.3 2026-08-08 01:27:50 -06:00
Rene Nochebuena 8bc98968ef docs(auth): fix rbac wiring example; align to v1.1.2 2026-08-08 00:45:16 -06:00
Rene Nochebuena 96d44b37eb chore(auth): framework version alignment to v1.1.1 2026-08-07 23:34:09 -06:00
Rene Nochebuena 1ee92df63c chore(auth): bump einherjar deps to v1.1.0 (framework version alignment) (#1)
Patch of the coordinated framework release: einherjar modules move to v1.1.0
in lockstep, so auth is bumped alongside the rest.

- go.mod: contracts, core, web -> v1.1.0 (via go get + go mod tidy)

No code or API changes. ModuleVersion() reports v1.1.0 automatically from
build info once tagged. Badge bumped to v1.1.0.

Reviewed-on: #1
Co-authored-by: Rene Nochebuena Guerrero <rene@nochebuena.dev>
Co-committed-by: Rene Nochebuena Guerrero <rene@nochebuena.dev>
2026-08-07 19:31:22 -06:00
4 changed files with 42 additions and 12 deletions
+30
View File
@@ -1,5 +1,35 @@
# Changelog # 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.
### Changed
- Bumped einherjar dependencies (`contracts`, `core`, `web`) to v1.1.0 via `go get` + `go mod tidy`.
No code or API changes.
## v1.0.0 ## v1.0.0
Initial release. Initial release.
+3 -3
View File
@@ -1,6 +1,6 @@
# einherjar/auth # einherjar/auth
[![version](https://img.shields.io/badge/version-v1.0.0-5C4EE5?style=flat-square)](https://code.nochebuena.dev/einherjar/auth) [![version](https://img.shields.io/badge/version-v1.2.0-5C4EE5?style=flat-square)](https://code.nochebuena.dev/einherjar/auth)
[![license](https://img.shields.io/badge/license-AGPL--3.0-22863A?style=flat-square)](LICENSE) [![license](https://img.shields.io/badge/license-AGPL--3.0-22863A?style=flat-square)](LICENSE)
[![go](https://img.shields.io/badge/Go-1.26+-00ADD8?style=flat-square&logo=go&logoColor=white)](https://go.dev) [![go](https://img.shields.io/badge/Go-1.26+-00ADD8?style=flat-square&logo=go&logoColor=white)](https://go.dev)
@@ -40,7 +40,7 @@ enricher := userservice.NewIdentityEnricher(userRepo)
// Build permission resolution chain. // Build permission resolution chain.
permissions := rbac.NewChainPermissionProvider( 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 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 ## Install
```bash ```bash
go get code.nochebuena.dev/einherjar/auth@v1.0.0 go get code.nochebuena.dev/einherjar/auth@v1.1.2
``` ```
+3 -3
View File
@@ -3,9 +3,9 @@ module code.nochebuena.dev/einherjar/auth
go 1.26 go 1.26
require ( require (
code.nochebuena.dev/einherjar/contracts v1.0.0 code.nochebuena.dev/einherjar/contracts v1.2.0
code.nochebuena.dev/einherjar/core v1.0.0 code.nochebuena.dev/einherjar/core v1.2.0
code.nochebuena.dev/einherjar/web v1.0.0 code.nochebuena.dev/einherjar/web v1.2.0
) )
require ( require (
+6 -6
View File
@@ -1,9 +1,9 @@
code.nochebuena.dev/einherjar/contracts v1.0.0 h1:hRudEtOIqU7vwedYLsCh8+9q5dCnKb61qX+zibqImRU= code.nochebuena.dev/einherjar/contracts v1.2.0 h1:i1qschvttqXJTd7yaFmHkvtj4weGfTcTkj8q9sG6pRI=
code.nochebuena.dev/einherjar/contracts v1.0.0/go.mod h1:ccltUtrFb5+MEJdkx2VVEUL+xC5pupVlVVsMM8AlCWI= code.nochebuena.dev/einherjar/contracts v1.2.0/go.mod h1:ccltUtrFb5+MEJdkx2VVEUL+xC5pupVlVVsMM8AlCWI=
code.nochebuena.dev/einherjar/core v1.0.0 h1:AueZgfjp3+rQmDKOxmJQ945TTh+sqC1l/xJdTOdbr9w= code.nochebuena.dev/einherjar/core v1.2.0 h1:nomXS05rqY9bOwnXhLbCIK/K8/KW3WbLOMp4gR8ho/4=
code.nochebuena.dev/einherjar/core v1.0.0/go.mod h1:0IywfRnJXX9xXQO6iPVaq2QDlXbbpXrB8A4T7gO8nE4= code.nochebuena.dev/einherjar/core v1.2.0/go.mod h1:L5PNjnuNN7vz057egI5y3r8DIGr7ZrbACFU19jgWoWY=
code.nochebuena.dev/einherjar/web v1.0.0 h1:OaHfDP2vNlnPTsWfmf1GRvl5EWMhCgIxHkEwYg8qH3Y= code.nochebuena.dev/einherjar/web v1.2.0 h1:pglYNuVrWlW+AUnG7wzi4IMAFwpkbHG7/hP5IebyMl8=
code.nochebuena.dev/einherjar/web v1.0.0/go.mod h1:2dbELcS5G1T1+YDAUt4hfn3wg+EmbJ7HOrKSo01CRQE= code.nochebuena.dev/einherjar/web v1.2.0/go.mod h1:zExOQX6nJTi6dPLmTm11sPcroCbNZ+XZhvgWvxGVHlI=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= 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/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/gabriel-vasile/mimetype v1.4.12 h1:e9hWvmLYvtp846tLHam2o++qitpguFiYCKbn0w9jyqw= github.com/gabriel-vasile/mimetype v1.4.12 h1:e9hWvmLYvtp846tLHam2o++qitpguFiYCKbn0w9jyqw=