Repository navigation
Conversation
Minimum supported Ember is 3.28, so gte('3.13.0') is always true. Drop the
branch and the ember-compatibility-helpers dependency.
Tobzzy
marked this pull request as ready for review
October 7, 2026 08:25
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
addon/-private/utils/observer.jspicks between async and sync observer implementations withgte('3.13.0')fromember-compatibility-helpers. The oldest Ember version this addon is tested against is 3.28 (ember-source: ~3.28.0indevDependencies, andember-lts-3.28is the oldest scenario intests/dummy/config/ember-try.js). The addon doesn't declare an Ember peer range, so I'm inferring 3.28 as the floor from that. On any version it is tested against, the check is alwaystrueand the non-async branch is dead code.If you'd like to keep compatibility with Ember < 3.13 for consumers, happy to close this.
This removes the dead branch and the
ember-compatibility-helpersdependency, which was only used here:observer,addObserverandremoveObserverare now exported directly (previously theasync*implementations, selected viaUSE_ASYNC_OBSERVERS).ember-compatibility-helpersis dropped fromdependenciesandyarn.lockis updated. It is still pulled in transitively by another package, so only the direct range was removed.Behaviour
No behaviour change. One detail worth calling out:
removeObserverwas previously exported asemberRemoveObserver ? asyncRemoveObserver : emberRemoveObserver.emberRemoveObserveris always defined, so that already resolved toasyncRemoveObserver, which is what is exported now.Testing
yarn install --frozen-lockfile,yarn lintandyarn testpass locally (231 passed, 7 skipped).TableStickyPolyfillmaxStickyProportiontests are intermittently flaky on the unmodifiedv6.0.0-12tag as well, unrelated to this change.