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 ember-auto-import to v2 #285

Merged
merged 2 commits into from
Oct 19, 2021

Conversation

SergeAstapov
Copy link
Contributor

This is built on top of #283 and has two breaking changes:

  1. It explicitly drops Node.js v10 support in package.json's engine property
  2. Upgrades ember-auto-import to v2.

Per ember-auto-import 1.x to 2.x migration guide:

addons that upgrade to ember-auto-import >= 2 will only work in apps that have ember-auto-import >= 2, so they should do their own semver major releases when they upgrade

There is a bunch of wins (especially performance) for apps that update to e-a-i v2 and e-a-i v2 will be a hard requirement for apps to run Ember v4 (which should not be big deal as apps running v2 should be able to use addons running e-a-i v1, but why not).
There is great write up from @buschtoens about this https://twitter.com/buschtoens/status/1449745386571247620

Copy link
Collaborator

@snewcomer snewcomer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wohoo! I leave this to @cibernox to approve, merge and bump tho.

@cibernox
Copy link
Contributor

It looks great! I'm going to merge it. If we're going to bump version because of ember-auto-import it's good that we also drop node 10.

@cibernox cibernox merged commit 2727354 into DockYard:master Oct 19, 2021
@cibernox
Copy link
Contributor

@SergeAstapov is there anything else you found should be updated before I cut v4?

@SergeAstapov SergeAstapov deleted the ember-auto-import-v2 branch October 19, 2021 15:52
@SergeAstapov
Copy link
Contributor Author

@cibernox @snewcomer we should delete now deprecated in-viewport mixin as it's already marked for deprecation for v4.0.0

I'll create PR later today.

@snewcomer
Copy link
Collaborator

That sounds great! Lmk if you need any help

@SergeAstapov
Copy link
Contributor Author

@snewcomer I've done mixin clean up and it appear quite a bunch of tests related to it.

So I'm working on fixing tests and it will take few more days.

@snewcomer snewcomer added dependencies Pull requests that update a dependency file breaking labels Nov 29, 2021
@SergeAstapov SergeAstapov changed the title [Breaking] Upgrade ember-auto-import to v2 Upgrade ember-auto-import to v2 Nov 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants