Skip to content

Commit 19b6ab4

Browse files
committed
v2.0.0
1 parent 7fc3bc0 commit 19b6ab4

File tree

10 files changed

+46
-53
lines changed

10 files changed

+46
-53
lines changed

CHANGELOG.md

+24-31
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
For changes prior to v1.0.0, see the [legacy releases](https://legacy.inertiajs.com/releases).
99

10-
## [Unreleased](https://github.com/inertiajs/inertia/compare/v2.0.0-beta.3...HEAD)
10+
## [Unreleased](https://github.com/inertiajs/inertia/compare/v2.0.0...HEAD)
1111

12-
- [2.x] Add React 19 support ([#2131](https://github.com/inertiajs/inertia/pull/2131))
13-
- [2.x] Add client side visits ([#2130](https://github.com/inertiajs/inertia/pull/2130))
12+
- Nothing
13+
14+
## [v2.0.0](https://github.com/inertiajs/inertia/compare/v1.2.0...v2.0.0)
15+
16+
### Added
17+
18+
- Add polling
19+
- Add link prefetching
20+
- Add deferred props
21+
- Add lazy loading of data when scrolling
22+
- Add history encryption API
23+
- Add React 19 support ([#2131](https://github.com/inertiajs/inertia/pull/2131))
24+
- Add client side visits ([#2130](https://github.com/inertiajs/inertia/pull/2130))
25+
26+
### Changed
27+
28+
- Removal of NProgress dependency ([#2045](https://github.com/inertiajs/inertia/pull/2045))
29+
- Change TypeScript module resolution in the Svelte adapter ([#2035](https://github.com/inertiajs/inertia/pull/2035))
30+
- Refactor `createInertiaApp` in Svelte adapter ([#2036](https://github.com/inertiajs/inertia/pull/2036))
31+
32+
### Fixed
33+
34+
- Fix: make Link href prop reactive ([#2089](https://github.com/inertiajs/inertia/pull/2089))
1435

1536
## [v1.3.0](https://github.com/inertiajs/inertia/compare/v1.2.0...v1.3.0)
1637

@@ -45,34 +66,6 @@ For changes prior to v1.0.0, see the [legacy releases](https://legacy.inertiajs.
4566
- Fix command + click behavior on links in React adapter ([#2132](https://github.com/inertiajs/inertia/pull/2132))
4667
- Fix import in Svelte adapter ([#2002](https://github.com/inertiajs/inertia/pull/2002))
4768

48-
## [v2.0.0-beta.3](https://github.com/inertiajs/inertia/compare/v2.0.0-beta.2...v2.0.0-beta.3)
49-
50-
- [2.x] Ensure current page is set before prefetching ([#2100](https://github.com/inertiajs/inertia/pull/2100))
51-
- [2.x] Set the history state before swapping component ([#2098](https://github.com/inertiajs/inertia/pull/2098))
52-
- [2.x] Ensure we have a default slot for WhenVisible before executing it ([#2096](https://github.com/inertiajs/inertia/pull/2096))
53-
- [2.x] Fix: make Link href prop reactive ([#2089](https://github.com/inertiajs/inertia/pull/2089))
54-
- [2.x] Don't prefetch the current page ([#2097](https://github.com/inertiajs/inertia/pull/2097))
55-
- [2.x] Removal of NProgress dependency ([#2045](https://github.com/inertiajs/inertia/pull/2045))
56-
57-
## [v2.0.0-beta.2](https://github.com/inertiajs/inertia/compare/v2.0.0-beta.1...v2.0.0-beta.2)
58-
59-
- [2.x] Fix issue where initial page data is coming from history state ([#2023](https://github.com/inertiajs/inertia/pull/2023))
60-
- [2.x] Fix onClick in React adapter ([#2019](https://github.com/inertiajs/inertia/pull/2019))
61-
- [2.x] Export usePrefetch for react ([#2016](https://github.com/inertiajs/inertia/pull/2016))
62-
- [2.x] Rename WhenVisible "elementTag" prop to "as" ([#2009](https://github.com/inertiajs/inertia/pull/2009))
63-
- [2.x] $page url should not include the host ([#2032](https://github.com/inertiajs/inertia/pull/2032))
64-
- [2.x] Suppress Svelte accessibility warnings from Playwright logs ([#2033](https://github.com/inertiajs/inertia/pull/2033))
65-
- [2.x] Change TypeScript module resolution in the Svelte adapter ([#2035](https://github.com/inertiajs/inertia/pull/2035))
66-
- [2.x] Fix multi byte strings in history encryption ([#2030](https://github.com/inertiajs/inertia/pull/2030))
67-
- [2.x] Load deferred props on every page swap ([#2024](https://github.com/inertiajs/inertia/pull/2024))
68-
- [2.x] Refactor createInertiaApp in Svelte adapter ([#2036](https://github.com/inertiajs/inertia/pull/2036))
69-
- [2.x] Fix `<Deferred />` in Svelte adapter ([#2037](https://github.com/inertiajs/inertia/pull/2037))
70-
- [2.x] Fix `usePrefetch` in SSR mode in Svelte adapter ([#2034](https://github.com/inertiajs/inertia/pull/2034))
71-
72-
## [v2.0.0-beta.1](https://github.com/inertiajs/inertia/compare/v1.2.0...v2.0.0-beta.1)
73-
74-
- First beta release for the upcoming Inertia.js v2.0. View documentation and upgrade guide at https://v2.inertiajs.com.
75-
7669
## [v1.2.0](https://github.com/inertiajs/inertia/compare/v1.1.0...v1.2.0)
7770

7871
- Fix `preserveScroll` and `preserveState` types ([#1882](https://github.com/inertiajs/inertia/pull/1882))

package-lock.json

+11-11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@inertiajs/core",
3-
"version": "2.0.0-beta.3",
3+
"version": "2.0.0",
44
"license": "MIT",
55
"description": "A framework for creating server-driven single page apps.",
66
"contributors": [

packages/react/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@inertiajs/react",
3-
"version": "2.0.0-beta.3",
3+
"version": "2.0.0",
44
"license": "MIT",
55
"description": "The React adapter for Inertia.js",
66
"contributors": [
@@ -59,7 +59,7 @@
5959
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
6060
},
6161
"dependencies": {
62-
"@inertiajs/core": "2.0.0-beta.3",
62+
"@inertiajs/core": "2.0.0",
6363
"lodash.isequal": "^4.5.0"
6464
}
6565
}

packages/svelte/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@inertiajs/svelte",
3-
"version": "2.0.0-beta.3",
3+
"version": "2.0.0",
44
"license": "MIT",
55
"description": "The Svelte adapter for Inertia.js",
66
"contributors": [
@@ -43,7 +43,7 @@
4343
"svelte": "^4.0.0 || ^5.0.0 || ^5.0.0-next.244"
4444
},
4545
"dependencies": {
46-
"@inertiajs/core": "2.0.0-beta.3",
46+
"@inertiajs/core": "2.0.0",
4747
"html-escape": "^2.0.0",
4848
"lodash": "^4.5.0"
4949
},

packages/vue3/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@inertiajs/vue3",
3-
"version": "2.0.0-beta.3",
3+
"version": "2.0.0",
44
"license": "MIT",
55
"description": "The Vue 3 adapter for Inertia.js",
66
"contributors": [
@@ -58,7 +58,7 @@
5858
"vue": "^3.0.0"
5959
},
6060
"dependencies": {
61-
"@inertiajs/core": "2.0.0-beta.3",
61+
"@inertiajs/core": "2.0.0",
6262
"lodash.clonedeep": "^4.5.0",
6363
"lodash.isequal": "^4.5.0"
6464
}

playgrounds/react/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
},
88
"type": "module",
99
"devDependencies": {
10-
"@inertiajs/react": "2.0.0-beta.3",
10+
"@inertiajs/react": "2.0.0",
1111
"@types/react": "^19.0.0",
1212
"@types/react-dom": "^19.0.0",
1313
"@vitejs/plugin-react": "^4.3.2",

playgrounds/svelte4/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"check:watch": "svelte-check --tsconfig ./tsconfig.json --watch"
1010
},
1111
"devDependencies": {
12-
"@inertiajs/svelte": "2.0.0-beta.3",
12+
"@inertiajs/svelte": "2.0.0",
1313
"@sveltejs/vite-plugin-svelte": "^3.1.2",
1414
"@tsconfig/svelte": "^5.0.4",
1515
"autoprefixer": "^10.4.13",

playgrounds/svelte5/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"check:watch": "svelte-check --tsconfig ./tsconfig.json --watch"
1010
},
1111
"devDependencies": {
12-
"@inertiajs/svelte": "2.0.0-beta.3",
12+
"@inertiajs/svelte": "2.0.0",
1313
"@sveltejs/vite-plugin-svelte": "^4.0.0-next.6",
1414
"@tsconfig/svelte": "^5.0.4",
1515
"autoprefixer": "^10.4.13",

playgrounds/vue3/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"build": "vue-tsc && vite build && vite build --ssr"
77
},
88
"devDependencies": {
9-
"@inertiajs/vue3": "2.0.0-beta.3",
9+
"@inertiajs/vue3": "2.0.0",
1010
"@vitejs/plugin-vue": "^5.0.5",
1111
"@volar/vue-typescript": "^1.0.22",
1212
"@vue/server-renderer": "^3.3.4",

0 commit comments

Comments
 (0)