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

[BUGFIX release] Fix Embroider compatibility with ember-source@3.27.2+ #19586

Merged
merged 4 commits into from Jun 3, 2021

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Jun 2, 2021

Fixes a few things:

  • Ensures that Embroider has a consistent protocol for ensuring the global is bootstrapped
  • Allows our override code to be transpiled
  • Ensures that any bootstrapping tweaks force us out of "prebuilt" mode (allowing that customized bootstrap code to actually run)

Refactors the work in #19557 to address some of the recent comments there.

rwjblue and others added 3 commits June 2, 2021 18:40
No logical changes here, just moving the code to detect and generate the
message out into a stand alone module (makes it easier to reason about
and possible to unit test).

Co-authored-by: Stefan Penner <stefan.penner@gmail.com>
Co-authored-by: Stefan Penner <stefan.penner@gmail.com>
Fixes a few things:

* Ensures that Embroider has a consistent protocol for ensuring the
  global is bootstrapped
* Allows our override code to be transpiled
* Ensures that any bootstrapping tweaks force us out of "prebuilt" mode
  (allowing that customized bootstrap code to actually run)

Co-authored-by: Stefan Penner <stefan.penner@gmail.com>
Also fixed a few minor errors in the message (wrong version number etc)

Included a list of hardcoded known dormant addons (polyfills mostly) to make
the suggestions more reliable.
@chancancode chancancode force-pushed the refactor-global-deprecation-override branch from 6c36fff to 35689f9 Compare June 3, 2021 19:42
@rwjblue rwjblue merged commit 5ad6f79 into master Jun 3, 2021
@rwjblue rwjblue deleted the refactor-global-deprecation-override branch June 3, 2021 19:55
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.

None yet

2 participants