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
11 changes: 11 additions & 0 deletions changelog/cli/0.10.4.md
Original file line number Diff line number Diff line change
@@ -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.
17 changes: 17 additions & 0 deletions changelog/core/0.7.6.md
Original file line number Diff line number Diff line change
@@ -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.
17 changes: 17 additions & 0 deletions changelog/server/0.8.9.md
Original file line number Diff line number Diff line change
@@ -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`.
11 changes: 11 additions & 0 deletions changelog/ui/0.3.4.md
Original file line number Diff line number Diff line change
@@ -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.
8 changes: 4 additions & 4 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -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": {
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.7.5",
"version": "0.7.6",
"type": "module",
"description": "webjs core runtime - html/css tags, WebComponent base, isomorphic renderers",
"types": "./index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/server/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down