Upgrading Spree 3 to 4

Today we are introducing Ruby on Rails 5.2 support for Spree Commerce versions 4.0, 4.1, and 4.2, and thanks to that, it’s now easier to make the upgrade from Spree 3 to 4.

 

We heard rumors that the migration from Spree 3.7 to 4.x was no easy task. The main reason behind that being the Ruby on Rails 5 to 6 upgrade requirement. So – to put an end to those nasty rumors once and for all – we decided to make it easier for you.

 

The solution: You can now upgrade to Spree 4 without the need to upgrade Rails in the process. In an attempt to simplify the procedure as much as possible, we’ve also updated the Spree 3.7 -> 4.0 upgrade guide. Hopefully, those of you who were struggling in the past find the new process much more straightforward.

 

To sum up:

  • Spree 4 now supports  Rails 5.2, 6.0, and 6.1, as well as Ruby 2.5+ and 3.0.
  • Spree 4 will include Rails 7 support when it’s released, but we will not force you to make any Rails upgrades in the future (even when upgrading to Spree 5)

 

Disclaimer: While this should make migration from 3.x to 4.x less complicated, if you’re still having trouble with the upgrade, please contact us for support either on Spree Slack or by email.

 

In the coming weeks, we will have more exciting news to share about Spree 4.3 development and the new, upcoming features to be included in the release – stay tuned!