@nanokajs/auth 2.0.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,26 @@ All notable changes to `@nanokajs/auth` will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [2.1.0] — 2026-10-25
9
+
10
+ ### Added
11
+
12
+ - Accept `@nanokajs/core` 3.x as a peer, in addition to existing 1.x/2.x ranges. Auth remains independently versioned; core 3 applications require Zod 4.6.6+.
13
+
14
+ ### Security
15
+
16
+ - Require Hono `^4.13.12` as a peer to exclude older releases affected by published Hono advisories. Authentication behavior is unchanged.
17
+
18
+ ## [2.0.1] — 2026-10-02
19
+
20
+ ### Security
21
+
22
+ - Refresh Hono and Vitest development dependencies and pin vulnerable transitive development dependencies to patched releases. Public APIs and peer dependency ranges are unchanged.
23
+
24
+ ### Changed
25
+
26
+ - Run auth tests and typechecking in PR CI, in addition to the existing release checks.
27
+
8
28
  ## [2.0.0] — 2026-07-18
9
29
 
10
30
  ### Changed
package/README.md CHANGED
@@ -10,7 +10,11 @@ Provides credential validation, JWT issuance, and Hono middleware — built on `
10
10
  pnpm add @nanokajs/auth
11
11
  ```
12
12
 
13
- Peer dependencies: `@nanokajs/core ^1.0.0 || ^2.0.0`, `hono ^4.0.0`.
13
+ Peer dependencies: `@nanokajs/core ^1.0.0 || ^2.0.0 || ^3.0.0`, `hono ^4.13.12`.
14
+
15
+ Existing applications must update Hono to 4.13.12 or later in the 4.x line. This
16
+ minimum excludes older releases affected by published Hono advisories; updating
17
+ Nanoka's development lockfile alone does not update a consumer's Hono installation.
14
18
 
15
19
  ## Usage
16
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nanokajs/auth",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "type": "module",
5
5
  "description": "Authentication utilities for Nanoka on Cloudflare Workers.",
6
6
  "author": "Eiichiro Iriguchi <eiichiro_iriguchi@a-1ro.dev>",
@@ -49,19 +49,19 @@
49
49
  "prepublishOnly": "pnpm build && pnpm test && pnpm typecheck"
50
50
  },
51
51
  "peerDependencies": {
52
- "@nanokajs/core": "^1.0.0 || ^2.0.0",
53
- "hono": "^4.0.0"
52
+ "@nanokajs/core": "^1.0.0 || ^2.0.0 || ^3.0.0",
53
+ "hono": "^4.13.12"
54
54
  },
55
55
  "devDependencies": {
56
- "@cloudflare/vitest-pool-workers": "^0.18.5",
56
+ "@cloudflare/vitest-pool-workers": "0.23.0",
57
57
  "@cloudflare/workers-types": "^4.20260523.1",
58
58
  "@nanokajs/core": "workspace:*",
59
- "@types/node": "^25.9.1",
60
- "hono": "^4.12.22",
59
+ "@types/node": "^26.6.5",
60
+ "hono": "^4.13.12",
61
61
  "tsup": "^8.5.1",
62
62
  "typescript": "^5.9.3",
63
63
  "vite": "^8.1.4",
64
- "vitest": "^4.1.10",
64
+ "vitest": "^4.1.11",
65
65
  "wrangler": "^4.111.0"
66
66
  }
67
67
  }