-
Notifications
You must be signed in to change notification settings - Fork 6
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
Update to ember 5.12 #807
Update to ember 5.12 #807
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can't find any problems, looks good to me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found one issue (related to the usage of the removed replaceRoute
method defined on controllers).
Relevant issue: emberjs/ember.js#19497
(this.router.replaceWith
fires the model hook unnecessarily)
We could introduce the suggested solution: emberjs/ember.js#19497 (comment)
Hmm, I wasn't sure about replacing this. It was on my list of 'longer to fix ember 5 deprecations', one of the few that I didn't get to. What I was afraid of is that since we were already using |
I think the main issue is that the method has been removed in ember.js 5+, so it simply no longer works. |
Ah, then yes, we definitely should fix it... |
Added a hack around a longstanding bug in RoutingService to make the replacement behave as expected
Overview
Update packages to align with the blueprint, fix the linting, but don't fix the deprecations. Some deprecation fixes will follow in a later PR.
connected issues and PRs:
Editor PR: lblod/ember-rdfa-editor#1237
Plugins PR: lblod/ember-rdfa-editor-lblod-plugins#528
Jira ticket: https://binnenland.atlassian.net/browse/GN-5329
Setup
N/A
How to test/reproduce
Check that everything works!
Challenges/uncertainties
Without updating ember-data, had to keep an older @ember/string as well as adding an @ember-data/store dep to prevent npm from trying to install v5.
Checks PR readiness