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

[BREAKING] Replace polyfill assign with Object.assign #481

Conversation

drouhard
Copy link
Contributor

Purpose

Address deprecation warnings. (See https://github.com/emberjs/rfcs/blob/master/text/0750-deprecate-ember-assign.md)

Fix #479

Part of the quest towards a v4 release: #444

Summary

Replaces assign from @ember/polyfills with javascript built-in Object.assign.

NOTE that Object.assign is not available in IE11, so this commit removes some IE11 support.

@patocallaghan
Copy link
Collaborator

@drouhard it looks like you have a bunch of conflicting files. Any chance you could resolve those please?

Removes deprecated code. See ember-polyfills.deprecate-assign
at https://deprecations.emberjs.com/v4.x and
adopted-ember-addons#479
for more context.

NOTE that Object.assign is not available in IE11, so this commit
removes some IE11 support.
@drouhard
Copy link
Contributor Author

@patocallaghan Oops, sorry about the hassle. My personal fork was quite a bit behind this repo. Good to go now 👍

@patocallaghan patocallaghan merged commit c4ccbaa into adopted-ember-addons:master Jan 13, 2023
@patocallaghan
Copy link
Collaborator

Thanks @drouhard. Appreciate the contribution 🙌

@Techn1x Techn1x mentioned this pull request Feb 22, 2023
@patocallaghan patocallaghan changed the title Replace polyfill assign with Object.assign [BREAKING] Replace polyfill assign with Object.assign Feb 27, 2023
@patocallaghan
Copy link
Collaborator

FYI @drouhard I released an alpha release with this change in v4.0.0-alpha.1.

@drouhard
Copy link
Contributor Author

Woo hoo! Thanks for the heads up @patocallaghan.

@drouhard drouhard deleted the remove-ember-assign-polyfill branch May 5, 2023 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix ember-assign deprecation warning
2 participants