APIDeveloperUserRelease NotesDemoContact Us
  • Core

    • Addresses
    • Adjustments
    • Calculators
    • Inventory
    • Orders
    • Payments
    • Preferences
    • Products
    • Promotions
    • Shipments
    • Taxation
  • Customization

    • Storefront Customization
    • View Customization
    • Asset Customization
    • Images Customization
    • Dependency system
    • Logic Customization
    • Checkout Flow
    • API v2 Customization
    • API v1 Customization
    • Custom Authentication
    • Internationalization
    • Extensions
    • Emails Customization
  • Source

    • About the Code
    • Getting Help
    • Navigating the Source
  • Tutorials

    • Getting Started
    • Add Spree to an existing Ruby on Rails application
    • Developing Spree
    • Improve SEO
    • Creating an Extension
    • Deface Overrides
    • Extend Product Attributes
    • Security
    • Testing Spree Applications
    • Updating Extensions to Rails 6 and Spree 4
  • Upgrades

    • Upgrading Spree 4.1 to 4.2
    • Upgrading Spree 4.0 to 4.1
    • Upgrading Spree 3.7 to 4.0
    • Upgrading Spree from 3.6 to 3.7
    • Upgrading Spree from 3.5 to 3.6
    • Upgrading Spree from 3.4 to 3.5
    • Upgrading Spree from 3.3 to 3.4
    • Upgrading Spree from 3.2 to 3.3
    • Upgrading Spree from 3.1 to 3.2
    • Upgrading Spree from 3.0 to 3.1
    • All Upgrade Guides

Table Of Contents

Update GemfileUpdate your Rails version to 5.2Run bundle updateMigrate to ActiveStorage (optional)Install missing migrationsRun migrationsRead the release notesVerify that everything is OK

Upgrading Spree from 3.5 to 3.6

This guide covers upgrading a 3.5 Spree application, to a 3.6 application.

Update Gemfile

gem 'spree', '~> 3.6.1'
gem 'spree_auth_devise', '~> 3.3'
gem 'spree_gateway', '~> 3.3'

Update your Rails version to 5.2

Please follow the official Rails guide to upgrade your store.

Run bundle update

Migrate to ActiveStorage (optional)

Please follow the official paperclip guide if you want to use ActiveStorage instead of paperclip.

You cann still use paperclip for attachment management by setting SPREE_USE_PAPERCLIP environment variable to true, but keep in mind that paperclip is DEPRECATED and we will remove paperclip support in Spree 4.0.

Install missing migrations

rails spree:install:migrations
rails spree_auth:install:migrations
rails spree_gateway:install:migrations

Run migrations

rails db:migrate

You’re good to go!

Read the release notes

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

Verify that everything is OK

Run you test suite, click around in your application and make sure it’s performing as normal. Fix any deprecation warnings you see.

Propose changes to this page
Designed and developed bySpree Commerce & Ruby on Rails developers© Spree Commerce. 2021 All Rights Reserved.