Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
9b85553
chore(release): v0.8.17
adnaan Apr 4, 2026
c1dd3c9
feat: extend lvt-el: to support any native DOM event as interaction t…
adnaan Apr 5, 2026
20b7c11
feat: extend lvt-fx: directives to support DOM event and lifecycle tr…
adnaan Apr 5, 2026
795ffdb
fix: address bot review comments — delegation boundary, dedup, docs
adnaan Apr 5, 2026
d914c47
fix: eliminate duplicate directive logic — thin wrappers around apply…
adnaan Apr 5, 2026
6c173c6
fix: read fx attribute value at fire time to avoid stale closure
adnaan Apr 5, 2026
2be3925
fix: guard overlapping highlights, hoist regex, handle removed attrs
adnaan Apr 5, 2026
58c8961
fix(ci): remove deleted graceful-shutdown example from cross-repo tests
adnaan Apr 5, 2026
a9bdba8
fix(ci): also remove deleted testing/01_basic from cross-repo tests
adnaan Apr 5, 2026
f90b250
fix: scope lifecycle listeners per wrapper, null guard, CI comment
adnaan Apr 5, 2026
08c51dc
fix: teardown lifecycle listeners on disconnect, scope DOM scan to su…
adnaan Apr 5, 2026
d40ea28
fix: teardown delegated DOM event listeners on disconnect
adnaan Apr 5, 2026
2d61d47
fix: teardown non-bubbling direct listeners, guard disconnected highl…
adnaan Apr 5, 2026
c2c6e8c
fix: add fx listener teardown, warn on unknown effects, hoist allList…
adnaan Apr 5, 2026
89c545f
fix: prune stale element references from listener arrays on each scan
adnaan Apr 5, 2026
71e6ef4
fix: clear per-element guard keys on teardown, scan root element itself
adnaan Apr 5, 2026
b715a8b
fix: include root in lifecycle scan, avoid allocation in event handler
adnaan Apr 5, 2026
b398f92
fix: avoid NodeList spread, lift NON_BUBBLING, guard inner highlight …
adnaan Apr 5, 2026
03666f4
fix: restore inline styles before early return on disconnected highlight
adnaan Apr 5, 2026
50b029c
fix: clear non-bubbling guard keys on lvt-el teardown
adnaan Apr 5, 2026
23d373a
fix: centralize fx listener registry on wrapper, not scan root
adnaan Apr 5, 2026
50fb7dd
fix: escape trigger name in delegated handler regex pattern
adnaan Apr 5, 2026
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
3 changes: 2 additions & 1 deletion .github/workflows/cross-repo-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ jobs:
LVT_PATH=$(realpath ../lvt)

# Test each working example
for example in counter chat todos graceful-shutdown testing/01_basic; do
# Note: graceful-shutdown and testing/01_basic were removed from examples repo
for example in counter chat todos; do
echo "Testing: $example"
cd "$example"

Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,19 @@ All notable changes to @livetemplate/client will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Added

- feat: `lvt-el:{method}:on:{event}` now supports any native DOM event as trigger (click, focusin, focusout, mouseenter, mouseleave, keydown, etc.) — no server round-trip, CSP-safe
- feat: `lvt-fx:{effect}:on:{event}` supports DOM event triggers (e.g., `lvt-fx:highlight:on:click="flash"`) and lifecycle triggers (e.g., `lvt-fx:highlight:on:success="flash"`)

## [v0.8.17] - 2026-04-05

### Changes

- fix: form.name DOM shadowing + skip File objects in FormData parsing (58cf0c2)

Comment on lines +15 to +20
Copy link

Copilot AI Apr 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The v0.8.17 changelog entry doesn’t mention the new “native DOM event triggers for lvt-el:*:on:{event}” feature described in the PR, and instead references an unrelated FormData/form.name fix. Please update the entry so the changelog accurately reflects the changes being released in 0.8.17 (or move the unrelated note to the appropriate release).

Copilot uses AI. Check for mistakes.
## [v0.8.16] - 2026-04-04

### Changes
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.8.16
0.8.17
Loading
Loading