Skip to content

Commit

Permalink
Merge branch 'release/5.3.1'
Browse files Browse the repository at this point in the history
* release/5.3.1:
  updated the upgrade guide
  • Loading branch information
austintoddj committed Mar 10, 2020
2 parents becc371 + 6267c09 commit fb74187
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,36 @@

## Table of Contents

- [Upgrading to 5.3.0 from 5.2](#upgrading-to-530-from-52)
- [Upgrading to 5.2.0 from 5.1](#upgrading-to-520-from-51)
- [Upgrading to 5.1.0 from 5.0](#upgrading-to-510-from-50)

## Upgrading to 5.3.0 from 5.2

> **Note:** The `5.3.0` minor update contains does not contain breaking changes.
### Updating dependencies

Update your `cnvs/canvas` dependency to `^5.3` in your `composer.json` file. Upgrade the package to the latest version:

```bash
composer update
```

### Assets

Re-publish the assets using the `canvas:publish` Artisan command:

```bash
php artisan canvas:publish
```

Clear any cached views using the `view:clear` Artisan command:

```bash
php artisan view:clear
```

## Upgrading to 5.2.0 from 5.1

> **Important:** The `Canvas\Http\Middleware\ViewThrottle` middleware was renamed to `Canvas\Http\Middleware\Session`. Update any usages of this class.
Expand Down

0 comments on commit fb74187

Please sign in to comment.