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

Update Gemfile

1
gem 'spree', '~> 3.4.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!

Migrate Spree::Taxon icons to Spree Assets

We changed Spree::Taxon icon to use Spree::Asset to unify attachment usage across all Spree models. If you were using icon images in Spree::Taxon please run this to migrate your icons:
1
rails db:migrate_taxon_icons
Copied!

Read the release notes

For information about changes contained within this release, please read the 3.4.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