From c74a26dcf0525669cd3aa956c0a2c129e8a0ebce Mon Sep 17 00:00:00 2001 From: t Date: Tue, 2 Jun 2026 22:30:58 +0530 Subject: [PATCH] chore: release core 0.7.6, server 0.8.9, cli 0.10.4, ui 0.3.4 --- changelog/cli/0.10.4.md | 11 +++++++++++ changelog/core/0.7.6.md | 17 +++++++++++++++++ changelog/server/0.8.9.md | 17 +++++++++++++++++ changelog/ui/0.3.4.md | 11 +++++++++++ package-lock.json | 8 ++++---- packages/cli/package.json | 2 +- packages/core/package.json | 2 +- packages/server/package.json | 2 +- packages/ui/package.json | 2 +- 9 files changed, 64 insertions(+), 8 deletions(-) create mode 100644 changelog/cli/0.10.4.md create mode 100644 changelog/core/0.7.6.md create mode 100644 changelog/server/0.8.9.md create mode 100644 changelog/ui/0.3.4.md diff --git a/changelog/cli/0.10.4.md b/changelog/cli/0.10.4.md new file mode 100644 index 000000000..44969e79c --- /dev/null +++ b/changelog/cli/0.10.4.md @@ -0,0 +1,11 @@ +--- +package: "@webjsdev/cli" +version: 0.10.4 +date: 2026-06-02T17:00:58.774Z +commit_count: 1 +--- +## Features + +- **make webjs check correctness-only; move conventions to CONVENTIONS.md** ([#225](https://github.com/webjsdev/webjs/pull/225)) [`f9f13e48`](https://github.com/webjsdev/webjs/commit/f9f13e48) + + `webjs check` now runs only correctness checks (a crash, a security leak, a build/type-strip failure), unconditionally. The four preference rules (`actions-in-modules`, `one-function-per-action`, `tests-exist`, `no-json-data-files`) and the `package.json` `webjs.conventions` override mechanism are removed; project conventions move to `CONVENTIONS.md` guidance. The `webjs check --rules` output and the success line are updated to match. diff --git a/changelog/core/0.7.6.md b/changelog/core/0.7.6.md new file mode 100644 index 000000000..fe4412bec --- /dev/null +++ b/changelog/core/0.7.6.md @@ -0,0 +1,17 @@ +--- +package: "@webjsdev/core" +version: 0.7.6 +date: 2026-06-02T17:00:58.729Z +commit_count: 2 +--- +## Features + +- **run willUpdate/hostUpdate at SSR with a server element shim** ([#218](https://github.com/webjsdev/webjs/pull/218)) [`7857a731`](https://github.com/webjsdev/webjs/commit/7857a731) + + The SSR walker now runs the pre-render lifecycle (`willUpdate`, controllers' `hostUpdate`) and reflects `reflect: true` properties before `render()`, and `WebComponent`'s server base is a DOM shim backing the attribute methods, no-op events, and an inert `attachInternals`. So lit muscle-memory patterns (deriving render state in `willUpdate`, reading attributes in `render`, reflecting a property) work server-side instead of crashing or producing a wrong first paint. + +## Fixes + +- **decode Object/Array attributes at SSR** ([#221](https://github.com/webjsdev/webjs/pull/221)) [`02e14621`](https://github.com/webjsdev/webjs/commit/02e14621) + + `applyAttrsToInstance` JSON-parsed the raw entity-encoded attribute text, so a JSON value in an attribute (every `"` escaped to `"`) failed to parse and silently became a string at SSR. It now decodes the entities first, so the attribute form of a rich `Object` / `Array` prop renders correctly server-side. diff --git a/changelog/server/0.8.9.md b/changelog/server/0.8.9.md new file mode 100644 index 000000000..d831b8c8b --- /dev/null +++ b/changelog/server/0.8.9.md @@ -0,0 +1,17 @@ +--- +package: "@webjsdev/server" +version: 0.8.9 +date: 2026-06-02T17:00:58.750Z +commit_count: 2 +--- +## Features + +- **make webjs check correctness-only; move conventions to CONVENTIONS.md** ([#225](https://github.com/webjsdev/webjs/pull/225)) [`f9f13e48`](https://github.com/webjsdev/webjs/commit/f9f13e48) + + `checkConventions` now runs only correctness rules (a crash, a security leak, a build/type-strip failure), unconditionally. The four preference rules (`actions-in-modules`, `one-function-per-action`, `tests-exist`, `no-json-data-files`) and the `package.json` `webjs.conventions` override mechanism (`loadConventionOverrides`, the `opts.rules` param) are removed. + +## Fixes + +- **narrow no-browser-globals-in-render for the SSR shim** ([#218](https://github.com/webjsdev/webjs/pull/218)) [`7857a731`](https://github.com/webjsdev/webjs/commit/7857a731) + + Now that the SSR server base shims the attribute / event / `attachInternals` methods, `no-browser-globals-in-render` no longer flags them, and it scans `willUpdate` (which now runs at SSR) in addition to the constructor and `render`. diff --git a/changelog/ui/0.3.4.md b/changelog/ui/0.3.4.md new file mode 100644 index 000000000..c557d0510 --- /dev/null +++ b/changelog/ui/0.3.4.md @@ -0,0 +1,11 @@ +--- +package: "@webjsdev/ui" +version: 0.3.4 +date: 2026-06-02T17:00:58.824Z +commit_count: 1 +--- +## Refactor + +- **tooltip / hover-card read delay config via reactive props** ([#221](https://github.com/webjsdev/webjs/pull/221)) [`02e14621`](https://github.com/webjsdev/webjs/commit/02e14621) + + `ui-tooltip` and `ui-hover-card` now read their `delay-duration` / `skip-delay-duration` / `open-delay` / `close-delay` config through typed reactive properties (`delayDuration` etc.) instead of `this.getAttribute`. The attribute API is unchanged (shadcn parity); the property form is now also available. diff --git a/package-lock.json b/package-lock.json index e07670fe6..4c7649a24 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6969,7 +6969,7 @@ }, "packages/cli": { "name": "@webjsdev/cli", - "version": "0.10.3", + "version": "0.10.4", "license": "MIT", "dependencies": { "@webjsdev/server": "^0.8.0", @@ -6984,7 +6984,7 @@ }, "packages/core": { "name": "@webjsdev/core", - "version": "0.7.5", + "version": "0.7.6", "license": "MIT", "devDependencies": { "esbuild": "^0.24.0" @@ -7005,7 +7005,7 @@ }, "packages/server": { "name": "@webjsdev/server", - "version": "0.8.8", + "version": "0.8.9", "license": "MIT", "dependencies": { "@webjsdev/core": "^0.7.1", @@ -7049,7 +7049,7 @@ }, "packages/ui": { "name": "@webjsdev/ui", - "version": "0.3.3", + "version": "0.3.4", "license": "MIT", "dependencies": { "commander": "^14.0.0", diff --git a/packages/cli/package.json b/packages/cli/package.json index 557287fe5..748cbeaa3 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@webjsdev/cli", - "version": "0.10.3", + "version": "0.10.4", "type": "module", "description": "webjs CLI - dev, start, create, db", "bin": { diff --git a/packages/core/package.json b/packages/core/package.json index cadf0e430..aa4f011fb 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@webjsdev/core", - "version": "0.7.5", + "version": "0.7.6", "type": "module", "description": "webjs core runtime - html/css tags, WebComponent base, isomorphic renderers", "types": "./index.d.ts", diff --git a/packages/server/package.json b/packages/server/package.json index 98d81426a..97505125b 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,6 +1,6 @@ { "name": "@webjsdev/server", - "version": "0.8.8", + "version": "0.8.9", "type": "module", "description": "webjs dev/prod server: SSR, router, API, server actions, live reload", "main": "index.js", diff --git a/packages/ui/package.json b/packages/ui/package.json index 35a32e7b2..2f3e1207e 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,6 +1,6 @@ { "name": "@webjsdev/ui", - "version": "0.3.3", + "version": "0.3.4", "type": "module", "description": "An AI-first component library - class-helper functions for visuals, custom elements only where state matters. Source-copied into your repo, you own it. Works with any Tailwind v4 project.", "bin": {