Restart or Upgrade?

Some time ago, I started a passion project, but thanks to scope creep and life, I never got around to finishing it. I’m looking into it again now, but it’s on an ancient version of Ember; 1.11.1. Seriously, it still has ArrayControllers in it.

I’m debating whether or not it’d be easier to just start a new Ember install, migrate over the code I can salvage or attempt to update to the current LTS. The project is about 3,000 lines of code, a couple dozen models, 15 or so pretty complex components.

I’m curious to see what others would do. Thoughts?

3,000 lines is still relatively small. It’s still a good idea to try to upgrade. How much external dependencies do you have? Does those dependencies have a migration guide? Do you have proper tests in place? If the answer to the last 2 questions is yes, upgrading should be easy.

1 Like

I would suggest upgrading in 3 steps. First to ember-cli 1.13.13, then to ember-cli 2.4.2 and finally to the last ember-cli. That way it will be easier to tackle all deprecation’s.

1 Like

This would be a pretty fun opportunity to screen-cast a rebuild.

There have been many major improvements introduced to Ember in the meantime, and it’d be wise to take advantage of them immediately. I’d recommend a complete rewrite in one go starting with the latest version.