ripple@0.3.123
Ripple-TS/rippleripple@0.3.123Aug 18, 2026by github-actions[bot]
AI Summary
The core Ripple library has been updated to fix a critical rendering bug affecting list iteration logic in keyed or ref-based `@for` loops.
Key Highlights
- Fixed insertion order when inserting multiple new items in the middle of a list
- Resolved DOM anchor drift issue during list reconciliation
New Features
- Bug fix for DOM anchor resolution in @for loops
Full Release Notes
### Patch Changes - [#1432](https://github.com/Ripple-TS/ripple/pull/1432) [`8b5abd7`](https://github.com/Ripple-TS/ripple/commit/8b5abd7021a23b7651608fb26ff7e59ed5b4a18c) Thanks [@chenzylab](https://github.com/chenzylab)! - Fix insertion order when a keyed or ref-based `@for` inserts multiple new items in the middle of the list. The pure-insert reconciliation path resolved the DOM anchor per new item by indexing the old blocks with a new-list index, so the anchor drifted into the matched suffix and later items landed after it (e.g. `[A, C, D]` → `[A, B1, B2, C, D]` rendered as `A, B1, C, B2, D`). The anchor is now resolved once, at the start of the matched suffix, and reused for the whole run of inserts.