-
Notifications
You must be signed in to change notification settings - Fork 4.5k
UI/ember upgrade to v4.12 #23070
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
base: main
Are you sure you want to change the base?
UI/ember upgrade to v4.12 #23070
Conversation
| "ember-data": "~3.28.6", | ||
| "ember-data-model-fragments": "5.0.0-beta.8", | ||
| "ember-data": "~4.0.0", | ||
| "ember-data-model-fragments": "6.0.10", |
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.
I would recommend matching ember-data-model-fragments 6.0.10 with ember-data 4.6.7 - that is the intended pairing.
| @color='critical' | ||
| data-test-delete | ||
| {{on 'click' (fn confirm )}} | ||
| {{on 'click' confirm }} |
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.
I think this should be this.confirm to reference the component. Also the same for the cancel below.
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.
confirm is trickling down as return value from the wrapping BlockSlot. It's not part of this object.
| @color='critical' | ||
| @text='Delete' | ||
| {{on "click" (fn confirm )}} | ||
| {{on "click" confirm }} |
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.
I think this should be tied to the component action using this.
| {{on "click" confirm }} | |
| {{on "click" this.confirm }} |
Description
This PR upgrades Ember from v3.28 to v4.12
Along with Ember upgrade, the PR upgrades multiple other packages and fixes some more deprecations.
Multiple Code Refactoring and Linting changes to follow best practices for v4.12 as well as paves the way for version upgrade to v5.
Testing & Reproduction steps
Links
PR Checklist
PCI review checklist
I have documented a clear reason for, and description of, the change I am making.
If applicable, I've documented a plan to revert these changes if they require more than reverting the pull request.
If applicable, I've documented the impact of any changes to security controls.
Examples of changes to security controls include using new access control methods, adding or removing logging pipelines, etc.