---
package: "@webjsdev/core"
version: 0.5.0
date: 2026-05-19T02:28:39+05:30
commit_count: 5
---
## Features

- **light-DOM slot runtime foundation (slot.js)** [`b6cc3e8`](https://github.com/webjsdev/webjs/commit/b6cc3e8)
  First slice of the light-DOM slot work. Adds the standalone runtime
  file owning the slot semantics. Subsequent commits wire it into the
  compiler, component lifecycle, and SSR pipeline.
- **slot part in compiler + client renderer + fallback swap hook** [`3258888`](https://github.com/webjsdev/webjs/commit/3258888)
  Second slice. Wires light-DOM <slot> elements through the existing
  template compile, bind, apply, and clear pipeline using a new SLOT
  part kind. Adds the small slot.js hook that swaps fallback content
  into the slot when projection state is "fallback".
- **slot lifecycle in WebComponent + per-instance fallback clone** [`c69615b`](https://github.com/webjsdev/webjs/commit/c69615b)
  Third slice. Wires the slot runtime into the WebComponent lifecycle and
  refines render-client.js's slot bind so fallback content is captured
  once at compile time and cloned freshly per instance.
- **SSR slot substitution in injectDSD** [`595da6a`](https://github.com/webjsdev/webjs/commit/595da6a)
  Fourth slice. Upgrades injectDSD to project authored children into
  <slot> positions during server-side rendering for light-DOM
  WebComponents, with full parity to the client-side projection rules
  and the shadow-DOM <slot> spec.

## Fixes

- **6 browser failures fixed, all 26 browser tests pass** [`e99c33a`](https://github.com/webjsdev/webjs/commit/e99c33a)
  Four real bugs surfaced in the browser test suite and are fixed:
  
  1. captureAuthoredChildren ran on every connectedCallback, including
     on re-connection of a previously-mounted element. The second
