Skip to content

Commit e40e45e

Browse files
committed
Doc updates for v2 release
1 parent dda3a89 commit e40e45e

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

docs/guide/upgrade-guide.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
# Upgrade guide for v2.0
22

3-
> [!NOTE]
4-
> Inertia.js v2.0 is still in beta and these docs are a work-in-progress. Please report bugs on
5-
> https://github.com/inertiajs/inertia and https://github.com/inertiajs/inertia-rails
6-
73
## What's new
84

95
Inertia.js v2.0 is a huge step forward for Inertia! The core library has been completely rewritten to architecturally support asynchronous requests, enabling a whole set of new features, including:
@@ -24,27 +20,27 @@ To upgrade to the Inertia.js v2.0 beta, first use npm to install the client-side
2420
== Vue
2521

2622
```vue
27-
npm install @inertiajs/vue3@next
23+
npm install @inertiajs/vue3@^2.0
2824
```
2925

3026
== React
3127

3228
```jsx
33-
npm install @inertiajs/react@next
29+
npm install @inertiajs/react@^2.0
3430
```
3531

3632
== Svelte 4|Svelte 5
3733

3834
```svelte
39-
npm install @inertiajs/svelte@next
35+
npm install @inertiajs/svelte@^2.0
4036
```
4137

4238
:::
4339

44-
Next, upgrade the `inertia-rails` gem to use the `v2` dev branch:
40+
Next, use at least the 3.6 version of `inertia-rails`.
4541

4642
```ruby
47-
gem 'inertia_rails', github: 'inertiajs/inertia-rails', branch: 'v2'
43+
gem 'inertia_rails', '~> 3.6'
4844
```
4945

5046
## Breaking changes

0 commit comments

Comments
 (0)