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
17 changes: 17 additions & 0 deletions changelog/core/0.7.63.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
package: "@webjsdev/core"
version: 0.7.63
date: 2026-10-07T11:35:08.909Z
commit_count: 1
---
## Breaking

- **omit a null or undefined attribute hole in SSR, matching the client** ([#1574](https://github.com/webjsdev/webjs/pull/1574)) [`2a9613cf`](https://github.com/webjsdev/webjs/commit/2a9613cf)
A plain attribute hole (`attr=${value}`) now follows one rule on the server
and the client. `null` and `undefined` omit the attribute, so
`aria-current=${active ? 'page' : null}` no longer serves `aria-current=""`.
`false` omits it too, except on an `aria-*` attribute, where both renderers
write `"false"`. Markup changes: the server no longer emits `attr=""` or a
non-aria `attr="false"`, and the client now writes `aria-x="false"` instead
of removing it. A bound form's `method=${null}` is no longer refused; the
framework supplies `method="post"`. Quoted and mixed holes are unchanged.
2 changes: 1 addition & 1 deletion 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/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@webjsdev/core",
"version": "0.7.62",
"version": "0.7.63",
"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
Loading