-
Notifications
You must be signed in to change notification settings - Fork 142
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
Unexpected deprecations when running against Ember 3.27+ #738
Comments
I ran ember-cli-update in util here and fixed the one issue that seems to really be in this package. There are several others in dependencies that seem like they shouldn't be firing. For example, Is there some update to the modules-api-polyfill that's missing? Because it did compile that import to a global. |
Re-rolling the lockfile fixed some of these, but now I think the monorepo is allowing some older version to leak out of the sample apps somehow. |
You need ember-resolver@8 (the default blueprint updated to that a while back). The older ember-resolver was basically
@ef4 - There is still at least one major issue here in Embroider still: embroider/packages/core/src/babel-plugin-inline-hbs.ts Lines 117 to 118 in 4ce29ff
The babel plugin (https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile) that is used in classic builds has been updated to account for this (it adds imports instead of the older globals based code), but it seems like we are intentionally duplicating the inline transform here (and I'm not sure why). Do you recall why we needed to duplicate the code? Can we instead add additional options to the main shared babel plugin to do whatever Embroider needs? |
The major differences are:
There's no reason we can't upstream these capabilities into babel-plugin-htmlbars-inilne-precompile, that was just not a priority. |
This ember-cli-babel bug is causing some of our deprecations: emberjs/ember-cli-babel#396 |
Also, ember-inspector is causing deprecations. Also, ember-cli itself is causing one in |
Ya, I’ll be back porting the ember-cli fix to 3.24, 3.25, and 3.26. |
The
@embroider/util ember-beta
and@embroider/util ember-canary
CI jobs are failing due to new deprecations added in Ember 3.27 (currently in beta).Example failure:
The text was updated successfully, but these errors were encountered: