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

Upgrade modifier capabilities to 3.22 #33

Merged
merged 1 commit into from
Apr 30, 2021
Merged

Upgrade modifier capabilities to 3.22 #33

merged 1 commit into from
Apr 30, 2021

Conversation

josemarluedke
Copy link
Owner

This addon now requires Ember v3.22 due to the new capabilities.

@josemarluedke josemarluedke merged commit 8cfe19c into main Apr 30, 2021
@josemarluedke josemarluedke deleted the modifier-cap branch April 30, 2021 19:13
@simonihmig
Copy link
Contributor

I am using this addon as a dependency of ember-bootstrap, which for now still has to support Ember 3.16, but I also don't want to be stuck on an old version, and continue to receive those deprecation warnings! 😉

I have seen other modifiers use compatibility helpers to continue to support old versions while upgrading capabilities only for those Ember versions that support them. See e.g. emberjs/ember-render-modifiers#33 (comment)

@josemarluedke would you consider doing that? Or at least accept a PR? :)

@josemarluedke
Copy link
Owner Author

Hi @simonihmig! I think that solution is great. I would love to get a PR for that if you have cycles.

simonihmig added a commit to simonihmig/ember-focus-trap that referenced this pull request May 26, 2021
As discussed in josemarluedke#33 (comment), this introduces a conditional to support Ember 3.16+ while still using the latest modifier capabilities when possible. `@embroider/macros` was chosen for this instead of the usual `ember-compatibility-helpers`, as that seems to more future-proof solution to me, especially allowing an easier transition to an eventual native "v2" addon.
simonihmig added a commit to simonihmig/ember-focus-trap that referenced this pull request May 27, 2021
As discussed in josemarluedke#33 (comment), this introduces a conditional to support Ember 3.16+ while still using the latest modifier capabilities when possible. `@embroider/macros` was chosen for this instead of the usual `ember-compatibility-helpers`, as that seems to more future-proof solution to me, especially allowing an easier transition to an eventual native "v2" addon.
simonihmig added a commit to simonihmig/ember-focus-trap that referenced this pull request May 27, 2021
As discussed in josemarluedke#33 (comment), this introduces a conditional to support Ember 3.16+ while still using the latest modifier capabilities when possible. `@embroider/macros` was chosen for this instead of the usual `ember-compatibility-helpers`, as that seems to more future-proof solution to me, especially allowing an easier transition to an eventual native "v2" addon.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants