Skip to content

Bugfix/list key reuse - #84

Merged
estherbrunner merged 5 commits into
nextfrom
bugfix/list-key-reuse
Aug 19, 2026
Merged

Bugfix/list key reuse#84
estherbrunner merged 5 commits into
nextfrom
bugfix/list-key-reuse

Conversation

@estherbrunner

Copy link
Copy Markdown
Member

No description provided.

estherbrunner and others added 4 commits August 19, 2026 08:02
…e/remove

List.set()/deriveList reused a keyConfig'd item's key across a content
change at a shared index instead of retiring it, so a key could silently
end up pointing at unrelated content. createCollection's applyChanges()
had a related but separate issue: change/remove entries it could not
resolve to a key without a content-based keyConfig were silently
dropped instead of surfacing an error.

diffPositional() now mints a fresh key on content mismatch when a
keyConfig is given (matching splice()'s existing semantics), while the
no-keyConfig positional case is unchanged. createCollection now throws
UnresolvableKeyError for a change/remove entry it cannot resolve,
instead of silently no-oping.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@estherbrunner estherbrunner self-assigned this Aug 19, 2026
@estherbrunner estherbrunner added the bug Something isn't working label Aug 19, 2026
Pin was stuck at 1.4.1 while latest published is 1.5.1, adding three
minor releases of accumulated drift to every measured ratio. The
list-key-reuse fix on this branch only touches list.ts/collection.ts
and cannot affect signalCreation, confirming the CI failure was drift,
not a real regression.
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​zeix/​cause-effect@​1.4.1 ⏵ 1.5.179 +1100100 +198 +1100

View full report

@estherbrunner
estherbrunner merged commit c5d64e1 into next Aug 19, 2026
4 checks passed
@estherbrunner
estherbrunner deleted the bugfix/list-key-reuse branch August 19, 2026 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant