Skip to content

break(collections): 💥 Make UniqueObjectArray immutable - #92

Merged
haskou merged 1 commit into
masterfrom
break/unique-object-array
Oct 2, 2026
Merged

haskou merged 1 commit into
masterfrom
break/unique-object-array

Conversation

@haskou

@haskou haskou commented Oct 2, 2026

Copy link
Copy Markdown
Owner

UniqueObjectArray is now an immutable collection. Breaking changes: length() becomes the length getter, and push()/remove() return a new collection instead of mutating. Adds isEmpty, at, find, filter, map, some, every, forEach, reduce, toArray and iteration, and indexes items by class name and value so includes no longer scans every item. Includes tests and a migration table in the docs.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@haskou
haskou merged commit 714e556 into master Oct 2, 2026
2 checks passed
@haskou
haskou deleted the break/unique-object-array branch October 2, 2026 23:26
@codecov

codecov Bot commented Oct 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant