docs/developer/upgrades/3.6-to-3.7.mdx
Run
bundle update
rake railties:install:migrations
rails db:migrate
We renamed TaxonIcon to TaxonImage to clarify usage of this model. If you were using TaxonIcon please run this to migrate your icons to images:
rails db:migrate_taxon_icons_to_images
Orders needs to be associated to Stores. To ensure all existing Order are associated with Store please run this:
rails db:associate_orders_with_store
This will associate all Orders without Store to the default Store. This can take some time depending on your volume of data.
To enhance multi currency capabilities we've made currency presence obligatory in Order model. To ensure all existing Orders have currency present please run this command:
rails db:ensure_order_currency_presence
This will set currency in Orders without currency set to Spree::Config[:default_currency] value. This can take some time depending on your volume of data.
guest_token with token in your codebaseOrder#guest_token was renamed to Order#token in order to unify the experience for guest checkouts and orders placed by signed in users.
For information about changes contained within this release, please read the 3.7.0 Release Notes.