Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions changelog/cli/0.12.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
package: "@webjsdev/cli"
version: 0.12.1
date: 2026-11-11T17:20:11.900Z
commit_count: 1
---
## Features

- **`webjs stop`** ([#1695](https://github.com/webjsdev/webjs/pull/1695)) [`7d949d22f`](https://github.com/webjsdev/webjs/commit/7d949d22f)
* Stops the app's running `webjs dev` (through its supervisor, so the server and the `dev.parallel` tasks go together) or `webjs start`, from anywhere inside the app. It finds the server through a record under `.webjs/` that follows the port actually bound (`--port 0`, a `.env` `PORT` edit), is never overwritten by a second server that fails to bind, is taken over by a second server once the first exits, and is checked against the process start time so a reused pid is never signalled.
* `webjs status` resolves the app root from a subdirectory too.
* The scaffold's `AGENTS.md` says in four lines what each shipped hook does, and the scaffold notes that Drizzle 1.0's relational queries take objects and that SQLite transactions take a synchronous callback.

## Fixes

- **`webjs dev --no-hot` keeps its `dev.parallel` tasks running** ([#1695](https://github.com/webjsdev/webjs/pull/1695)) [`7d949d22f`](https://github.com/webjsdev/webjs/commit/7d949d22f)
* They were killed right after the server bound; they now live until the process exits.
- **`webjs dev` and `webjs start` refuse inside a route folder named `app`** ([#1695](https://github.com/webjsdev/webjs/pull/1695)) [`7d949d22f`](https://github.com/webjsdev/webjs/commit/7d949d22f)
* Run from `<root>/app` in an app with an `app/app` route, they served the route folder as the app. They now name the app root instead.
10 changes: 10 additions & 0 deletions changelog/core/0.9.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
package: "@webjsdev/core"
version: 0.9.1
date: 2026-11-11T17:20:11.709Z
commit_count: 1
---
## Features

- **Working examples on the exports agents look up** ([#1695](https://github.com/webjsdev/webjs/pull/1695)) [`7d949d22f`](https://github.com/webjsdev/webjs/commit/7d949d22f)
* `connectWS`, `asset`, `cspNonce`, `fixture` and `ssrFixture` carry an `@example` in their type declarations, so `npx webjs source <Name>` answers how to use each in one call. The `optimistic` declaration's example (a degrade-first list) now prints with its signature too.
11 changes: 11 additions & 0 deletions changelog/mcp/0.1.20.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
package: "@webjsdev/mcp"
version: 0.1.20
date: 2026-11-11T17:20:11.800Z
commit_count: 1
---
## Features

- **Lookups answer file-convention and pattern questions in one call** ([#1695](https://github.com/webjsdev/webjs/pull/1695)) [`7d949d22f`](https://github.com/webjsdev/webjs/commit/7d949d22f)
* The `source` tool (and `npx webjs source`) resolves a file-convention name such as `not-found`, `middleware.ts`, `route.ts` or `loading` to a short routing guide, and `uploads`, `authentication`, `testing`, `data-flow` and others to their own guides. Real exports (`notFound`, `redirect`, `route`) still return their declaration, and `route` / `middleware` point at the routing guide.
* Guides are returned only for a lookup by name; nothing lists them up front, in the catalogue or the tool description, so an agent does not read them before it needs them.
18 changes: 18 additions & 0 deletions changelog/server/0.10.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
package: "@webjsdev/server"
version: 0.10.1
date: 2026-11-11T17:20:11.761Z
commit_count: 1
---
## Features

- **`submitForm(..., { html })` and working examples on every WebJs-specific export** ([#1695](https://github.com/webjsdev/webjs/pull/1695)) [`7d949d22f`](https://github.com/webjsdev/webjs/commit/7d949d22f)
* `submitForm` takes the HTML of a page the test fetched earlier, so a test can submit a stale form (a vote on a poll closed after the page loaded). The "no form found" error names the option.
* `rateLimit`, `cors`, `clientIp`, `cache`, `revalidateTag`, the file-store helpers, `signedUrl` / `verifySignedUrl`, `broadcast`, the stream helpers, `json`, `readBody`, `route`, `sitemap`, `robots`, `validateEnv`, `Credentials` and the test helpers each carry an `@example` showing the file it lives in, which `npx webjs source <Name>` prints. The `createAuth` example imports `AuthError` from `@webjsdev/server`.

## Fixes

- **`cookies().delete(name, { path, domain })` clears the cookie on that path** ([#1695](https://github.com/webjsdev/webjs/pull/1695)) [`7d949d22f`](https://github.com/webjsdev/webjs/commit/7d949d22f)
* The options were ignored, so the cookie was only ever cleared on `/`. A `maxAge` or `expires` passed in the options no longer keeps the cookie alive.
- **A CSRF 403 names its cause** ([#1695](https://github.com/webjsdev/webjs/pull/1695)) [`7d949d22f`](https://github.com/webjsdev/webjs/commit/7d949d22f)
* Form and RPC refusals say why (for example an `Origin` that does not match the request's host) and how to fix it, echoing only the cleaned-up origin. The check itself is unchanged.
10 changes: 10 additions & 0 deletions changelog/ui/0.5.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
package: "@webjsdev/ui"
version: 0.5.1
date: 2026-11-11T17:20:11.780Z
commit_count: 1
---
## Fixes

- **Accordion triggers show the default cursor** ([#1695](https://github.com/webjsdev/webjs/pull/1695)) [`7d949d22f`](https://github.com/webjsdev/webjs/commit/7d949d22f)
* Hovering an accordion title showed a text cursor in the eight ported styles. The trigger now takes `cursor-default`, as shadcn/ui's does; new-york keeps its pointer.
6 changes: 3 additions & 3 deletions examples/blog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@
}
},
"dependencies": {
"@webjsdev/cli": "^0.12.0",
"@webjsdev/core": "^0.9.0",
"@webjsdev/server": "^0.10.0",
"@webjsdev/cli": "^0.12.1",
"@webjsdev/core": "^0.9.1",
"@webjsdev/server": "^0.10.1",
"dayjs": "^1.11.21",
"drizzle-orm": "1.0.0-rc.5"
},
Expand Down
8 changes: 4 additions & 4 deletions gallery/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@
}
},
"dependencies": {
"@webjsdev/cli": "^0.12.0",
"@webjsdev/core": "^0.9.0",
"@webjsdev/server": "^0.10.0",
"@webjsdev/ui": "^0.5.0",
"@webjsdev/cli": "^0.12.1",
"@webjsdev/core": "^0.9.1",
"@webjsdev/server": "^0.10.1",
"@webjsdev/ui": "^0.5.1",
"drizzle-orm": "1.0.0-rc.5"
},
"devDependencies": {
Expand Down
46 changes: 23 additions & 23 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@webjsdev/cli",
"version": "0.12.0",
"version": "0.12.1",
"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": {
Expand All @@ -13,9 +13,9 @@
"README.md"
],
"dependencies": {
"@webjsdev/mcp": "^0.1.19",
"@webjsdev/server": "^0.10.0",
"@webjsdev/ui": "^0.5.0"
"@webjsdev/mcp": "^0.1.20",
"@webjsdev/server": "^0.10.1",
"@webjsdev/ui": "^0.5.1"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@webjsdev/core",
"version": "0.9.0",
"version": "0.9.1",
"type": "module",
"description": "The runtime for WebJs, a full-stack JavaScript framework built on web components with server-side rendering and no build step. Ships the html and css template tags, the WebComponent base class, signals, directives, and the isomorphic renderers.",
"types": "./index.d.ts",
Expand Down
6 changes: 3 additions & 3 deletions packages/mcp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@webjsdev/mcp",
"version": "0.1.19",
"version": "0.1.20",
"type": "module",
"description": "The Model Context Protocol server for WebJs, a full-stack JavaScript framework built on web components with server-side rendering and no build step. Gives AI coding agents the WebJs brief, live app introspection over routes, actions, components, and convention checks, and the framework source.",
"bin": {
Expand All @@ -24,8 +24,8 @@
"README.md"
],
"dependencies": {
"@webjsdev/server": "^0.10.0",
"@webjsdev/ui": "^0.5.0"
"@webjsdev/server": "^0.10.1",
"@webjsdev/ui": "^0.5.1"
},
"publishConfig": {
"access": "public"
Expand Down
6 changes: 3 additions & 3 deletions packages/server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@webjsdev/server",
"version": "0.10.0",
"version": "0.10.1",
"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",
Expand Down Expand Up @@ -55,9 +55,9 @@
"amaro": "^1.1.10"
},
"peerDependencies": {
"@webjsdev/core": "^0.9.0"
"@webjsdev/core": "^0.9.1"
},
"devDependencies": {
"@webjsdev/core": "^0.9.0"
"@webjsdev/core": "^0.9.1"
}
}
4 changes: 2 additions & 2 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@webjsdev/ui",
"version": "0.5.0",
"version": "0.5.1",
"type": "module",
"description": "The AI-first component library for WebJs, a full-stack JavaScript framework built on web components with server-side rendering and no build step. Class-helper functions for visuals, custom elements only where state matters, source-copied into your repo so you own it.",
"bin": {
Expand All @@ -26,7 +26,7 @@
"test:e2e:a11y-tree": "node test/e2e/a11y-tree.e2e.mjs"
},
"dependencies": {
"@webjsdev/core": "^0.9.0",
"@webjsdev/core": "^0.9.1",
"commander": "^14.0.0",
"kleur": "^4.1.5",
"prompts": "^2.4.2",
Expand Down
6 changes: 3 additions & 3 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@
}
},
"dependencies": {
"@webjsdev/cli": "^0.12.0",
"@webjsdev/core": "^0.9.0",
"@webjsdev/server": "^0.10.0"
"@webjsdev/cli": "^0.12.1",
"@webjsdev/core": "^0.9.1",
"@webjsdev/server": "^0.10.1"
},
"devDependencies": {
"@types/node": "^24.0.0",
Expand Down
Loading