Skip to content

Commit 3701734

Browse files
committed
v2.0.0-beta.1
1 parent bc8274c commit 3701734

File tree

10 files changed

+133
-127
lines changed

10 files changed

+133
-127
lines changed

CHANGELOG.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,13 @@ 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/v1.2.0...HEAD)
10+
## [Unreleased](https://github.com/inertiajs/inertia/compare/v2.0.0-beta.1...HEAD)
1111

12-
- v2.0 🫣
12+
- Nothing!
13+
14+
## [v2.0.0-beta.1](https://github.com/inertiajs/inertia/compare/v1.2.0...v2.0.0-beta.1)
15+
16+
- First beta release for the upcoming Inertia.js v2.0. View documentation and upgrade guide at https://v2.inertiajs.com.
1317

1418
## [v1.3.0-beta.2](https://github.com/inertiajs/inertia/compare/v1.3.0-beta.1...v1.3.0-beta.2)
1519

package-lock.json

Lines changed: 13 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/core/package.json

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

packages/react/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@inertiajs/react",
3-
"version": "1.2.0",
3+
"version": "2.0.0-beta.1",
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"
6060
},
6161
"dependencies": {
62-
"@inertiajs/core": "1.2.0",
62+
"@inertiajs/core": "2.0.0-beta.1",
6363
"lodash.isequal": "^4.5.0"
6464
}
6565
}

packages/svelte/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@inertiajs/svelte",
3-
"version": "1.2.0",
3+
"version": "2.0.0-beta.1",
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": "1.2.0",
46+
"@inertiajs/core": "2.0.0-beta.1",
4747
"html-escape": "^2.0.0",
4848
"lodash": "^4.5.0"
4949
},

packages/vue3/package.json

Lines changed: 61 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,65 @@
11
{
2-
"name": "@inertiajs/vue3",
3-
"version": "1.2.0",
4-
"license": "MIT",
5-
"description": "The Vue 3 adapter for Inertia.js",
6-
"contributors": [
7-
"Jonathan Reinink <jonathan@reinink.ca>"
8-
],
9-
"homepage": "https://inertiajs.com/",
10-
"repository": {
11-
"type": "git",
12-
"url": "https://github.com/inertiajs/inertia.git",
13-
"directory": "packages/vue3"
2+
"name": "@inertiajs/vue3",
3+
"version": "2.0.0-beta.1",
4+
"license": "MIT",
5+
"description": "The Vue 3 adapter for Inertia.js",
6+
"contributors": [
7+
"Jonathan Reinink <jonathan@reinink.ca>"
8+
],
9+
"homepage": "https://inertiajs.com/",
10+
"repository": {
11+
"type": "git",
12+
"url": "https://github.com/inertiajs/inertia.git",
13+
"directory": "packages/vue3"
14+
},
15+
"bugs": {
16+
"url": "https://github.com/inertiajs/inertia/issues"
17+
},
18+
"files": [
19+
"dist",
20+
"types"
21+
],
22+
"type": "module",
23+
"main": "dist/index.js",
24+
"types": "types/index.d.ts",
25+
"exports": {
26+
".": {
27+
"types": "./types/index.d.ts",
28+
"import": "./dist/index.esm.js",
29+
"require": "./dist/index.js"
1430
},
15-
"bugs": {
16-
"url": "https://github.com/inertiajs/inertia/issues"
17-
},
18-
"files": [
19-
"dist",
20-
"types"
21-
],
22-
"type": "module",
23-
"main": "dist/index.js",
24-
"types": "types/index.d.ts",
25-
"exports": {
26-
".": {
27-
"types": "./types/index.d.ts",
28-
"import": "./dist/index.esm.js",
29-
"require": "./dist/index.js"
30-
},
31-
"./server": {
32-
"types": "./types/server.d.ts",
33-
"import": "./dist/server.esm.js",
34-
"require": "./dist/server.js"
35-
}
36-
},
37-
"typesVersions": {
38-
"*": {
39-
"server": [
40-
"types/server.d.ts"
41-
]
42-
}
43-
},
44-
"scripts": {
45-
"dev": "./build.js --watch",
46-
"build": "npm run clean && ./build.js && tsc --emitDeclarationOnly --skipLibCheck",
47-
"clean": "rm -rf types && rm -rf dist",
48-
"prepublishOnly": "npm run build"
49-
},
50-
"devDependencies": {
51-
"@playwright/test": "^1.46.1",
52-
"@types/node": "^22.5.3",
53-
"esbuild": "^0.16.13",
54-
"typescript": "^4.9.4",
55-
"vue": "^3.0.0"
56-
},
57-
"peerDependencies": {
58-
"vue": "^3.0.0"
59-
},
60-
"dependencies": {
61-
"@inertiajs/core": "1.2.0",
62-
"lodash.clonedeep": "^4.5.0",
63-
"lodash.isequal": "^4.5.0"
31+
"./server": {
32+
"types": "./types/server.d.ts",
33+
"import": "./dist/server.esm.js",
34+
"require": "./dist/server.js"
35+
}
36+
},
37+
"typesVersions": {
38+
"*": {
39+
"server": [
40+
"types/server.d.ts"
41+
]
6442
}
43+
},
44+
"scripts": {
45+
"dev": "./build.js --watch",
46+
"build": "npm run clean && ./build.js && tsc --emitDeclarationOnly --skipLibCheck",
47+
"clean": "rm -rf types && rm -rf dist",
48+
"prepublishOnly": "npm run build"
49+
},
50+
"devDependencies": {
51+
"@playwright/test": "^1.46.1",
52+
"@types/node": "^22.5.3",
53+
"esbuild": "^0.16.13",
54+
"typescript": "^4.9.4",
55+
"vue": "^3.0.0"
56+
},
57+
"peerDependencies": {
58+
"vue": "^3.0.0"
59+
},
60+
"dependencies": {
61+
"@inertiajs/core": "2.0.0-beta.1",
62+
"lodash.clonedeep": "^4.5.0",
63+
"lodash.isequal": "^4.5.0"
64+
}
6565
}

playgrounds/react/package.json

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
{
2-
"name": "@inertiajs/react-playground",
3-
"private": true,
4-
"scripts": {
5-
"dev": "vite",
6-
"build": " vite build && vite build --ssr"
7-
},
8-
"type": "module",
9-
"devDependencies": {
10-
"@inertiajs/react": "^1.0.0",
11-
"@types/react": "^16.14.35",
12-
"@types/react-dom": "^16.9.18",
13-
"@vitejs/plugin-react": "^4.3.2",
14-
"autoprefixer": "^10.4.13",
15-
"axios": "^1.6.0",
16-
"laravel-vite-plugin": "^1.0.5",
17-
"lodash": "^4.17.19",
18-
"postcss": "^8.4.31",
19-
"react": "^18.2.0",
20-
"react-dom": "^18.2.0",
21-
"tailwindcss": "^3.2.4",
22-
"typescript": "^4.9.5",
23-
"vite": "^5.4.8"
24-
}
2+
"name": "@inertiajs/react-playground",
3+
"private": true,
4+
"scripts": {
5+
"dev": "vite",
6+
"build": " vite build && vite build --ssr"
7+
},
8+
"type": "module",
9+
"devDependencies": {
10+
"@inertiajs/react": "2.0.0-beta.1",
11+
"@types/react": "^16.14.35",
12+
"@types/react-dom": "^16.9.18",
13+
"@vitejs/plugin-react": "^4.3.2",
14+
"autoprefixer": "^10.4.13",
15+
"axios": "^1.6.0",
16+
"laravel-vite-plugin": "^1.0.5",
17+
"lodash": "^4.17.19",
18+
"postcss": "^8.4.31",
19+
"react": "^18.2.0",
20+
"react-dom": "^18.2.0",
21+
"tailwindcss": "^3.2.4",
22+
"typescript": "^4.9.5",
23+
"vite": "^5.4.8"
24+
}
2525
}

playgrounds/svelte4/package.json

Lines changed: 1 addition & 1 deletion
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": "^1.0.0",
12+
"@inertiajs/svelte": "2.0.0-beta.1",
1313
"@sveltejs/vite-plugin-svelte": "^3.1.2",
1414
"@tsconfig/svelte": "^5.0.4",
1515
"autoprefixer": "^10.4.13",

playgrounds/svelte5/package.json

Lines changed: 1 addition & 1 deletion
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": "^1.0.0",
12+
"@inertiajs/svelte": "2.0.0-beta.1",
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

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
{
2-
"name": "@inertiajs/vue3-playground",
3-
"private": true,
4-
"scripts": {
5-
"dev": "vite",
6-
"build": "vue-tsc && vite build && vite build --ssr"
7-
},
8-
"devDependencies": {
9-
"@inertiajs/vue3": "^1.0.0",
10-
"@vitejs/plugin-vue": "^5.0.5",
11-
"@volar/vue-typescript": "^1.0.22",
12-
"@vue/server-renderer": "^3.3.4",
13-
"autoprefixer": "^10.4.13",
14-
"axios": "^1.6.0",
15-
"laravel-vite-plugin": "^1.0.5",
16-
"lodash": "^4.17.19",
17-
"postcss": "^8.4.31",
18-
"tailwindcss": "^3.2.4",
19-
"typescript": "^5.5.4",
20-
"vite": "^5.3.4",
21-
"vue": "^3.3.4",
22-
"vue-tsc": "^2.0.0"
23-
},
24-
"type": "module"
2+
"name": "@inertiajs/vue3-playground",
3+
"private": true,
4+
"scripts": {
5+
"dev": "vite",
6+
"build": "vue-tsc && vite build && vite build --ssr"
7+
},
8+
"devDependencies": {
9+
"@inertiajs/vue3": "2.0.0-beta.1",
10+
"@vitejs/plugin-vue": "^5.0.5",
11+
"@volar/vue-typescript": "^1.0.22",
12+
"@vue/server-renderer": "^3.3.4",
13+
"autoprefixer": "^10.4.13",
14+
"axios": "^1.6.0",
15+
"laravel-vite-plugin": "^1.0.5",
16+
"lodash": "^4.17.19",
17+
"postcss": "^8.4.31",
18+
"tailwindcss": "^3.2.4",
19+
"typescript": "^5.5.4",
20+
"vite": "^5.3.4",
21+
"vue": "^3.3.4",
22+
"vue-tsc": "^2.0.0"
23+
},
24+
"type": "module"
2525
}

0 commit comments

Comments
 (0)