From f8ff2a3b88c68e3fcc41977194fc150a427a8ad5 Mon Sep 17 00:00:00 2001 From: t Date: Wed, 7 Oct 2026 21:06:41 +0530 Subject: [PATCH] chore: release server 0.8.87 and cli 0.10.69 Claude-Session: https://claude.ai/code/session_01SZ72LSPAo4NvYvBDSD6RLo --- changelog/cli/0.10.69.md | 29 +++++++++++++++++++++++++++++ changelog/server/0.8.87.md | 18 ++++++++++++++++++ package-lock.json | 6 +++--- packages/cli/package.json | 4 ++-- packages/server/package.json | 2 +- 5 files changed, 53 insertions(+), 6 deletions(-) create mode 100644 changelog/cli/0.10.69.md create mode 100644 changelog/server/0.8.87.md diff --git a/changelog/cli/0.10.69.md b/changelog/cli/0.10.69.md new file mode 100644 index 000000000..b49a625f9 --- /dev/null +++ b/changelog/cli/0.10.69.md @@ -0,0 +1,29 @@ +--- +package: "@webjsdev/cli" +version: 0.10.69 +date: 2026-10-07T15:36:41.124Z +commit_count: 3 +--- +## Features + +- **ship AGENTS.md as a one-file WebJs primer** ([#1592](https://github.com/webjsdev/webjs/pull/1592)) [`f948b91d`](https://github.com/webjsdev/webjs/commit/f948b91d) + * fix: let a first scaffold build be one commit + + A fresh `webjs create` repo has no commit yet, and building the whole app + from a spec is one logical unit. The nudge hook told the agent to commit + +## Performance + +- **run a Bun app's db scripts under Bun, not Node** ([#1599](https://github.com/webjsdev/webjs/pull/1599)) [`b9169c5d`](https://github.com/webjsdev/webjs/commit/b9169c5d) + A --runtime bun scaffold wrote its db scripts as plain `webjs db `, + so `bun run db:generate` ran the CLI through its node shebang and + drizzle-kit and the seed ran on Node, at 2.5 to 4 times the CPU of the + same command on Bun (generate about 3 CPU-seconds against 1, migrate + +## Fixes + +- **resolve dynamic # imports on Bun dev and gate every release** ([#1600](https://github.com/webjsdev/webjs/pull/1600)) [`eefd3475`](https://github.com/webjsdev/webjs/commit/eefd3475) + * fix: resolve dynamic # imports on Bun dev without a file: path + + A Bun runtime onResolve result reaches a dynamic import() as a broken + file:/ path, so 0.8.85 and 0.8.86 answered 500 for any server module diff --git a/changelog/server/0.8.87.md b/changelog/server/0.8.87.md new file mode 100644 index 000000000..cefa110e2 --- /dev/null +++ b/changelog/server/0.8.87.md @@ -0,0 +1,18 @@ +--- +package: "@webjsdev/server" +version: 0.8.87 +date: 2026-10-07T15:36:41.092Z +commit_count: 2 +--- +## Fixes + +- **keep the request visible to app code after a Bun dev reload** ([#1591](https://github.com/webjsdev/webjs/pull/1591)) [`6d1b08bd`](https://github.com/webjsdev/webjs/commit/6d1b08bd) + Under bun --hot a reload resets the module registry while the first run's + server keeps serving, so an app module that imports @webjsdev/server after + an edit gets a fresh copy of the package. The server bound each request with + its copy's AsyncLocalStorage and the app read it through the other copy's, so +- **resolve dynamic # imports on Bun dev and gate every release** ([#1600](https://github.com/webjsdev/webjs/pull/1600)) [`eefd3475`](https://github.com/webjsdev/webjs/commit/eefd3475) + * fix: resolve dynamic # imports on Bun dev without a file: path + + A Bun runtime onResolve result reaches a dynamic import() as a broken + file:/ path, so 0.8.85 and 0.8.86 answered 500 for any server module diff --git a/package-lock.json b/package-lock.json index fa77f607a..94bb1421f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6980,11 +6980,11 @@ }, "packages/cli": { "name": "@webjsdev/cli", - "version": "0.10.68", + "version": "0.10.69", "license": "MIT", "dependencies": { "@webjsdev/mcp": "^0.1.0", - "@webjsdev/server": "^0.8.86", + "@webjsdev/server": "^0.8.87", "@webjsdev/ui": "^0.3.15" }, "bin": { @@ -7045,7 +7045,7 @@ }, "packages/server": { "name": "@webjsdev/server", - "version": "0.8.86", + "version": "0.8.87", "license": "MIT", "dependencies": { "ws": "^8.20.0" diff --git a/packages/cli/package.json b/packages/cli/package.json index 7afb34d37..0a0af1dd9 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@webjsdev/cli", - "version": "0.10.68", + "version": "0.10.69", "type": "module", "description": "The CLI for WebJs, a full-stack JavaScript framework built on web components with server-side rendering and no build step. Runs the dev and production servers, scaffolds apps, validates conventions, and drives the database. Node 24+ or Bun.", "bin": { @@ -18,7 +18,7 @@ ], "dependencies": { "@webjsdev/mcp": "^0.1.0", - "@webjsdev/server": "^0.8.86", + "@webjsdev/server": "^0.8.87", "@webjsdev/ui": "^0.3.15" }, "publishConfig": { diff --git a/packages/server/package.json b/packages/server/package.json index 71c0f047b..e4e582c42 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,6 +1,6 @@ { "name": "@webjsdev/server", - "version": "0.8.86", + "version": "0.8.87", "type": "module", "description": "The server for WebJs, a full-stack JavaScript framework built on web components with server-side rendering and no build step. Provides the file-based router, SSR, server actions, route handlers, middleware, and live reload on Node 24+ or Bun.", "main": "index.js",