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

Remove use of @ember/string to avoid ember-string.add-package deprecation #398

Merged

Conversation

bertdeblock
Copy link
Contributor

@bertdeblock bertdeblock commented Jan 13, 2023

Importing from @ember/string in Ember v4.10, without having the @ember/string addon installed is deprecated.
Normally, the current proposed solution would be to add @ember/string as a peer dependency and have the consuming app bring in the addon. However, in this case, I think we can just remove the use of @ember/string all together. This will now log the app's name as is, untransformed.

@bertdeblock bertdeblock self-assigned this Jan 13, 2023
@bertdeblock bertdeblock changed the title Remove use of @ember/string Remove use of @ember/string to avoid deprecation Jan 13, 2023
@kategengler
Copy link
Member

👍 I think this makes sense and is not a breaking change.

@bertdeblock bertdeblock merged commit 27c6b95 into ember-cli:master Jan 15, 2023
@bertdeblock bertdeblock changed the title Remove use of @ember/string to avoid deprecation Remove use of @ember/string to avoid ember-string.add-package deprecation Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants