> ## Documentation Index
> Fetch the complete documentation index at: https://spreecommerce.org/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# 3.0 to 3.1

> This guide covers upgrading a 3.0 Spree store, to a 3.1 store

## Update gems

```bash theme={"theme":"night-owl"}
bundle update
```

## Copy and run migrations

Copy over the migrations from Spree and any other engine and run them using these commands:

```bash theme={"theme":"night-owl"}
rake railties:install:migrations
rake db:migrate
```

## Additional information

### Make sure to v1 namespace custom rabl templates & overrides.

If your rabl templates reference others with extend you'll need to add the v1 namespace.

For example:

```ruby theme={"theme":"night-owl"}
extends 'spree/api/zones/show'
```

Becomes:

```ruby theme={"theme":"night-owl"}
extends 'spree/api/v1/zones/show'
```

### Remove `Spree::Config.check_for_spree_alerts`

If you were disabling the alert checks you'll now want to remove this preference from `config/initializers/spree.rb` as it's no longer used.

## Read the release notes

For information about changes contained within this release, please read the [3.1.0 Release Notes](https://github.com/spree/spree/releases/tag/v3.1.0).
