-
-
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
Tracking remaining usage of the Ember global #19506
Comments
@sandydoo can you confirm that the first issue is still a problem? That is specifically caused by If that's still an issue, we definitely need to take a look into it. |
@pzuraq, I did some more testing. To be fixed by embroider-build/embroider#785 |
The second issue is coming from What about the last one? |
I thought we tried to get rid of the Namespace stuff, I'm unsure why we had to keep it in the end. It's odd that tests pass too, even with it. I'll dig in soon. |
I am seeing a huge number of false positives triggering this deprecation. I understand this is related to not having the latest version of https://github.com/ember-cli/babel-plugin-ember-modules-api-polyfill (which is a dependency of Just wanted to mention this here, as we can expect a lot of users will run into this... |
@simonihmig - Yes, true. Folks not doing relatively routine lock file maintenance have no way to update to get our fixes. I'm not 100% sure what we can do about it though. 🤔 |
@pzuraq do you consider this issue resolved? |
@MelSumner, technically, yes, but the Ember-specific fix (#19509) never made it to |
@sandydoo that bugfix was backported to 3.27: https://github.com/emberjs/ember.js/commits/v3.27.0 Are you still seeing this issue? |
@pzuraq, you’re totally right! My bad, @MelSumner! Thanks, everyone! |
With #19357 landing, there are a few deprecation notices being thrown even in brand new apps on
3.27-beta-1+
.Here’s a list:
PR: Improve semver checks for the modules polyfill embroider-build/embroider#785
In compiled templates built with Embroider.
const createTemplateFactory = Ember.HTMLBars.template;
PR: Remove usage of the Ember global embroider-build/embroider#784
Before app boot, by ember-inflector from Ember Data
Checks for
Ember.ENV.EXTEND_PROTOTYPE
inember-inflector/make-configurable.js
.PR: [BUGFIX beta] Remove Namespace processing #19509
On
didBecomeReady
Object.keys
is being called on the internal app context infindNamespaces
, which includes theEmber
“global”.tryIsNamespace
then accesses the Ember object.Steps to reproduce
Run
ember new
withember-cli@3.27.0-beta.1
. Inspect the console.Relevant versions
The text was updated successfully, but these errors were encountered: