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

Disable compat adapter for ember-inflector >= 4.0.0 (since it is not needed) #948

Merged
merged 2 commits into from Aug 27, 2021

Conversation

stefanpenner
Copy link
Collaborator

@stefanpenner stefanpenner commented Aug 27, 2021

[Bugfix release] EmberENV.EXTEND_PROTOTYPES is not always present

Newer versions of ember and embroider are not currently compatible, as EmberENV.EXTEND_PROTOTYPES is no longer present.
Luckily, the offending code in embroider is the ember-inflector compact-adapter and as of ember-inflector@4.0.0 is no longer needed.

To support both pre and post ember-inflector@4.0.0 we conditionally execute the compatibility code when safe & required


This fix is blocking: ember-cli/ember-cli#9597

@stefanpenner stefanpenner added the bug Something isn't working label Aug 27, 2021
@stefanpenner stefanpenner requested a review from ef4 August 27, 2021 00:03
@stefanpenner stefanpenner changed the title [Bugfix release] Fix ember inflector compat [Bugfix release] EmberENV.EXTEND_PROTOTYPES is not always present Aug 27, 2021
Newer versions of ember and embroider are not currently compatible, as EmberENV.EXTEND_PROTOTYPES is no longer present.
Luckily, the offending code in embroider is the ember-inflector compact-adapter and as of ember-inflector@4.0.0 is no longer needed.

To support both pre and post ember-inflector@4.0.0 we conditionally execute the compatibility code when safe & required
@rwjblue rwjblue changed the title [Bugfix release] EmberENV.EXTEND_PROTOTYPES is not always present Disable compat adapter for ember-inflector >= 4.0.0 (since it is not needed) Aug 27, 2021
@stefanpenner stefanpenner merged commit 9ee717f into master Aug 27, 2021
@stefanpenner stefanpenner deleted the fix-ember-inflector-compat branch August 27, 2021 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants