Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Ember 3.24 compatibility #507

Merged
merged 5 commits into from
Jan 28, 2021
Merged

Fix Ember 3.24 compatibility #507

merged 5 commits into from
Jan 28, 2021

Conversation

Turbo87
Copy link
Collaborator

@Turbo87 Turbo87 commented Jan 27, 2021

This PR fixes the compatibility with Ember.js 3.24 and above, specifically compatibility with emberjs/ember.js#19080. The two primary changes are:

  • setupLink() is now allowed to be used even if the router is already set up
  • we ensure that the routing layer is fully set up (see isRouterInitialized) by looking at the currentURL property of the router service

This PR also re-enables the temporarily disabled CI jobs and adds another explicit one for the 3.24 LTS release.

@Turbo87 Turbo87 added the enhancement New feature or request label Jan 27, 2021
@Turbo87 Turbo87 force-pushed the ember-3.24 branch 2 times, most recently from d9b2c79 to 81f09e5 Compare January 27, 2021 17:10
Turbo87 and others added 5 commits January 28, 2021 10:08
This assertion is no longer valid because emberjs/ember.js#19080 changed the behavior in Ember.js so that rendering tests can have routing enabled too
Bumps [ember-source](https://github.com/emberjs/ember.js) from 3.23.0-beta.5 to 3.24.1.
- [Release notes](https://github.com/emberjs/ember.js/releases)
- [Changelog](https://github.com/emberjs/ember.js/blob/master/CHANGELOG.md)
- [Commits](emberjs/ember.js@v3.23.0-beta.5...v3.24.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
`canary` stays disabled for now, because the `LinkTo` tests appear to be broken there
@buschtoens
Copy link
Owner

Awesome! Thanks a lot. 💚

@Turbo87 Turbo87 merged commit 9142b2b into buschtoens:master Jan 28, 2021
@Turbo87 Turbo87 deleted the ember-3.24 branch January 28, 2021 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants