@nanokajs/auth 1.6.2 → 2.0.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,18 @@ 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.0.0] — 2026-07-18
9
+
10
+ ### Changed
11
+
12
+ - **BREAKING**: `engines.node` を `>= 20` から `>= 22` に引き上げ(core / create-nanoka-app と同時実施)。開発ツールチェーン(wrangler 4 / vite 8)が既に Node 22+ を要求しており、宣言を実態に合わせた。ランタイム(Cloudflare Workers)への影響はなし。
13
+
14
+ ## [1.6.3] — 2026-07-15
15
+
16
+ ### Changed
17
+
18
+ - テスト/開発ツールチェーンを一括更新: `wrangler` 3.114 → 4.111、`vitest` 2.1 → 4.1、`@cloudflare/vitest-pool-workers` 0.5 → 0.18(Vite プラグイン方式 `cloudflareTest()` へ移行)。ライブラリ本体(`dist` / 公開 API / peerDependencies)に変更なし。
19
+
8
20
  ## [1.6.2] — 2026-05-23
9
21
 
10
22
  ### Security
package/README.md CHANGED
@@ -10,7 +10,7 @@ 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`, `hono ^4.0.0`.
13
+ Peer dependencies: `@nanokajs/core ^1.0.0 || ^2.0.0`, `hono ^4.0.0`.
14
14
 
15
15
  ## Usage
16
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nanokajs/auth",
3
- "version": "1.6.2",
3
+ "version": "2.0.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>",
@@ -21,7 +21,7 @@
21
21
  "d1"
22
22
  ],
23
23
  "engines": {
24
- "node": ">=20"
24
+ "node": ">=22"
25
25
  },
26
26
  "sideEffects": false,
27
27
  "exports": {
@@ -49,18 +49,19 @@
49
49
  "prepublishOnly": "pnpm build && pnpm test && pnpm typecheck"
50
50
  },
51
51
  "peerDependencies": {
52
- "@nanokajs/core": "^1.0.0",
52
+ "@nanokajs/core": "^1.0.0 || ^2.0.0",
53
53
  "hono": "^4.0.0"
54
54
  },
55
55
  "devDependencies": {
56
- "@cloudflare/vitest-pool-workers": "^0.5.41",
56
+ "@cloudflare/vitest-pool-workers": "^0.18.5",
57
57
  "@cloudflare/workers-types": "^4.20260523.1",
58
58
  "@nanokajs/core": "workspace:*",
59
59
  "@types/node": "^25.9.1",
60
60
  "hono": "^4.12.22",
61
61
  "tsup": "^8.5.1",
62
62
  "typescript": "^5.9.3",
63
- "vitest": "^2.1.9",
64
- "wrangler": "^3.114.17"
63
+ "vite": "^8.1.4",
64
+ "vitest": "^4.1.10",
65
+ "wrangler": "^4.111.0"
65
66
  }
66
67
  }