Skip to content

Remove Ember.Comparable#21103

Open
wagenet wants to merge 1 commit intoemberjs:mainfrom
wagenet:remove-comparable
Open

Remove Ember.Comparable#21103
wagenet wants to merge 1 commit intoemberjs:mainfrom
wagenet:remove-comparable

Conversation

@wagenet
Copy link
Member

@wagenet wagenet commented Feb 19, 2026

Summary

  • Removes the Comparable mixin (private since Ember 0.9, never truly public)
  • Removes Ember.Comparable from the global namespace
  • Updates compare() to use duck-typing for custom comparators instead of requiring the mixin — preserving the public API behavior documented on @ember/utils

Test plan

  • Existing compare() tests pass with duck-typed comparator (no mixin required)
  • reexports_test no longer expects Ember.Comparable

🤖 Generated with Claude Code

`Comparable` was a private mixin since Ember 0.9 with no meaningful
public use. `compare()` now uses duck-typing to detect custom comparators
rather than requiring the mixin.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@wagenet wagenet changed the title [BREAKING] Remove Ember.Comparable Remove Ember.Comparable Feb 19, 2026
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