3.4 to 3.5
This guide covers upgrading a 3.4 Spree store, to a 3.5 store.

Update Gemfile

1
gem 'spree', '~> 3.5.0'
2
gem 'spree_auth_devise', '~> 3.3'
3
gem 'spree_gateway', '~> 3.3'
Copied!

Run bundle update

Install missing migrations

1
rails spree:install:migrations
2
rails spree_auth:install:migrations
3
rails spree_gateway:install:migrations
Copied!

Run migrations

1
rails db:migrate
Copied!

Install Spree Analytics Trackers extension

If you were previously using Analytics Trackers feature you need to install it as an extension as it was extracted from the core.
    1.
    Add Spree Analytics Trackers to your Gemfile:
1
gem 'spree_analytics_trackers', github: 'spree-contrib/spree_analytics_trackers'
Copied!
    1.
    Install the gem using Bundler:
1
bundle install
Copied!
    1.
    Copy and run migrations:
1
bundle exec rails g spree_analytics_trackers:install
Copied!
You're good to go!

Read the release notes

For information about changes contained within this release, please read the 3.5.0 Release Notes.

Verify that everything is OK

Run your test suite, click around in your store and make sure it's performing as normal. Fix any deprecation warnings you see.
Last modified 2mo ago