Skip to content

Commit d0aefdf

Browse files
committed
feat: add v3 to upgade guide for clarity
1 parent 64ec8de commit d0aefdf

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

3.0/getting-started/upgrade.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,21 @@
22

33
[[toc]]
44

5+
## Upgrading to 3.x from 2.x
6+
7+
Version 3.0 upgrades the package to Laravel 10. There are no significant
8+
breaking changes, so you should be able to immediately upgrade when you
9+
upgrade your application to Laravel 10. The minor breaking changes are
10+
detailed in the [release.](https://github.com/laravel-json-api/laravel/releases/tag/v3.0.0)
11+
12+
To upgrade, run the following commands:
13+
14+
```bash
15+
composer require laravel-json-api/laravel --no-update
16+
composer require laravel-json-api/testing --dev --no-update
17+
composer up "laravel-json-api/*" cloudcreativity/json-api-testing
18+
```
19+
520
## Upgrading to 2.x from 1.x
621

722
Version 2.0 adds support for PHP 8.1, and supports both Laravel 8 and 9.

0 commit comments

Comments
 (0)