-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
deprecation id: ember-string.add-packag does not go away when applying suggested fix #20377
Comments
Any chance you've hit this? |
I don't have |
@st-h What version of |
@st-h I am still on ember-data 4.6, because starting from 4.7 there has been a regression, which prevents me from upgrading. I'll try if it is fixed in 4.11. However, the stack trace do not only come from ember data. |
@st-h I mentioned in another issue you filed, but do you have |
How about a pre v5.0 release which removes the deprecated ember implementations, which should resolve this issue for everyone? Others have seemingly run into similar issues where ember internal and @ember/string implementation seem to get mixed up emberjs/ember-string#235 (comment) |
@st-h You can use 5.0 today by pointing to the |
@kategengler As I already mentioned in emberjs/ember-string#370 it is currently not possible to try out ember 5, because there are way too many popular plugins out there that are not yet compatible with ember 5. And as it looks we lack an alternative to finally removing embers duplicate implementation, which makes the endeavour of monkey patching addons pretty much pointless. |
Closing as this is resolved with Ember v5 |
🐞 Describe the Bug
After upgrading to 4.10 I am seeing thousands of deprecation messages
However, I have
"@ember/string": "^3.0.1"
indevDependencies
of mypackage.json
.After discussing this issue in discord, it seems that for some reason the ember implementation of the string functions is being invoked instead of the ones that are contained in @ember/string
There has been a comment, describing similar behaviour in another issue: emberjs/ember-string#235 (comment)
In my case I am seeing this issue in the browser, but not on the fastboot server
I have also opened an issue over at @ember/string: emberjs/ember-string#370
However, it seems that it would also be necessary to fix the misleading deprecation message
🔬 Minimal Reproduction
Describe steps to reproduce. If possible, please, share a link with a minimal reproduction.
😕 Actual Behavior
Thousands of deprecation warnings are printed
🤔 Expected Behavior
When the fix described in the deprecation message is applied, thousands of deprecation warning would no longer be printed
🌍 Environment
➕ Additional Context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: