Before proceeding to upgrade, please ensure you’re at Spree 4.10
- Dropped support for Rails < 7.2
- Dropped support for Spree Auth Devise gem (now using Devise gem directly via generator, you’re in more control of the authentication now)
- Completely new Admin Dashboard (old customizations unfortunately won’t work)
- Completely new native Stripe extension
- Spree 5.1 includes native Gift Cards, Admin Staff Management & Invitations
- Spree 5.2 includes Metafields, CSV Importer, Store Policies & Newsletter Subscribers
- Spree 5.3 includes new highly flexible Pricing Engine for B2B, Wholesale and Volume discounts, Events & Subscribers Engine, Webhooks, Customer Groups
- Spree 5.4 includes new API v3 and Next.js Storefront
Prerequisites
Before upgrading, please ensure you have the following prerequisites:- Ruby 3.2 or later
- Rails 7.2 - Upgrade guide for Rails 7.2
Upgrade steps
1. Remove old frontend/backend Spree gems
2. Update main Spree gem
3. Install and run missing migrations
4. Add new Spree gems
5. Migrate from Spree Auth Devise gem
If you previously used thespree_auth_devise gem, you will need to run some commands to create User and connect it to Spree. We don’t use the spree_auth_devise gem anymore to allow you more control over the authentication and access to all Devise options directly in your application.
First, install Devise and run the Devise generator:
Spree::User model:
Spree::User model:
config/initializers/spree.rb file, add the following code:
Spree::User model to Spree:

