@nanokajs/core 2.0.0 → 2.0.2

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,23 @@ All notable changes to `@nanokajs/core` 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.2] — 2026-10-19
9
+
10
+ ### Fixed
11
+
12
+ - Normalize both CLI `bin` paths to avoid misleading npm publication warnings. npm previously retained the commands while stripping the leading `./`; this does not change CLI behavior.
13
+ - Verify built tarballs preserve normalized CLI registrations, executable entry points, and working `--help` output before publication.
14
+
15
+ ## [2.0.1] — 2026-10-02
16
+
17
+ ### Security
18
+
19
+ - Update Hono to 4.13.12 and Vitest to 4.1.11. Pin vulnerable development-tool dependencies (esbuild, Undici, PostCSS, nanoid, fflate, and Miniflare’s Sharp) to patched releases; update the site’s Sharp to 0.35.5. Public APIs and peer dependency ranges are unchanged.
20
+
21
+ ### Changed
22
+
23
+ - Add missing auth/scaffolder checks and site typechecking to PR CI; synchronize maintenance and development documentation. The scaffolder now recommends patched Hono releases.
24
+
8
25
  ## [2.0.0] — 2026-07-18
9
26
 
10
27
  ### Changed
package/README.md CHANGED
@@ -45,7 +45,7 @@ pnpm add @nanokajs/core drizzle-orm zod
45
45
  pnpm add -D typescript drizzle-kit @cloudflare/workers-types
46
46
  ```
47
47
 
48
- > **Node.js 22 or later is required for the development toolchain.** `wrangler` 4 declares `engines.node >= 22` (and `vite` 8 requires `>= 22.12`), so local dev / test tooling needs Node 22+. As of v2.0.0, `@nanokajs/core` also declares `engines.node >= 22`, matching the toolchain requirement (the library still runs on Cloudflare Workers; the runtime surface is unchanged).
48
+ > **Node.js 22.12 or later is required for this repository’s development/test toolchain.** `wrangler` 4 declares `engines.node >= 22` (and `vite` 8 requires `>= 22.12`), so use Node 22.12+ on the Node 22 line. As of v2.0.0, `@nanokajs/core` also declares `engines.node >= 22`, raising the declared minimum for local development (the library still runs on Cloudflare Workers; the runtime surface is unchanged).
49
49
 
50
50
  Then add a `types` entry to `tsconfig.json` so `D1Database`, `Request`, `ExecutionContext`, and `crypto` resolve as ambient globals (no per-file imports needed):
51
51
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nanokajs/core",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "type": "module",
5
5
  "description": "Thin wrapper over Hono + Drizzle + Zod for Cloudflare Workers + D1. 80% automatic, 20% explicit.",
6
6
  "author": "Eiichiro Iriguchi <eiichiro_iriguchi@a-1ro.dev>",
@@ -48,7 +48,7 @@
48
48
  "CHANGELOG.md"
49
49
  ],
50
50
  "bin": {
51
- "nanoka": "./dist/cli.js"
51
+ "nanoka": "dist/cli.js"
52
52
  },
53
53
  "publishConfig": {
54
54
  "access": "public"
@@ -83,11 +83,11 @@
83
83
  "@libsql/client": "^0.17.4",
84
84
  "@types/node": "^25.9.1",
85
85
  "drizzle-orm": "^0.45.2",
86
- "hono": "^4.12.22",
86
+ "hono": "^4.13.12",
87
87
  "tsup": "^8.5.1",
88
88
  "typescript": "^5.9.3",
89
89
  "vite": "^8.1.4",
90
- "vitest": "^4.1.10",
90
+ "vitest": "^4.1.11",
91
91
  "wrangler": "^4.111.0",
92
92
  "zod": "^3.25.76"
93
93
  }