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

Fix ember-modifier v3.2 compatibility #620

Merged
merged 1 commit into from
Apr 10, 2022
Merged

Conversation

SergeAstapov
Copy link
Contributor

@SergeAstapov SergeAstapov commented Apr 8, 2022

This is fix for the logic/condition introduced in #617

Condition about whether to use new or old version of on-key modifier class was flipped.

Additionally, this adds useWorkspaces to ember-try config
so that proper version of ember-modifier is used
across the monorepo.

This is needed so that ember-modifier-X ember-try scenarios
resolve to the same version of ember-modifier both in the
test-app and addon workspaces.

ember-classic scenario should not use useWorkspaces flag as only test-app need to get classic flags.

SergeAstapov referenced this pull request Apr 8, 2022
Follows [`ember-modifier` v4 migration guide](https://github.com/ember-modifier/ember-modifier/blob/v3.2.5/MIGRATIONS.md#function-based-modifiers)
to remove deprecations added in v3.2.0 and makes addon future ready.
@SergeAstapov SergeAstapov force-pushed the ember-modifier-v4-compat branch 5 times, most recently from 8d0e031 to 3c9a7e5 Compare April 10, 2022 00:57
@SergeAstapov SergeAstapov marked this pull request as ready for review April 10, 2022 01:01
Condition about whether to use new or old version of `on-key` modifier class was flipped.

Additionally, this adds `useWorkspaces` to ember-try config
so that proper version of `ember-modifier` is used
across the monorepo.

This is needed so that `ember-modifier-X` ember-try scenarios
resolve to the same version of `ember-modifier` both in the
`test-app` and `addon` workspaces.

`ember-classic` scenario should not use `useWorkspaces` flag as only test-app need to get classic flags.
@SergeAstapov
Copy link
Contributor Author

SergeAstapov commented Apr 10, 2022

@lukemelia if this looks good, could you please release v8.1.1. sorry about the churn.

@lukemelia lukemelia merged commit a7a4eee into master Apr 10, 2022
@lukemelia
Copy link
Collaborator

Thanks @SergeAstapov

@lukemelia lukemelia deleted the ember-modifier-v4-compat branch April 10, 2022 21:12
@lukemelia
Copy link
Collaborator

Released as 8.1.1

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.

2 participants