From 370173404f97d796f3b072d619d821b95d86a6eb Mon Sep 17 00:00:00 2001 From: Jonathan Reinink Date: Thu, 10 Oct 2024 12:28:20 -0400 Subject: [PATCH] v2.0.0-beta.1 --- CHANGELOG.md | 8 +- package-lock.json | 24 +++--- packages/core/package.json | 2 +- packages/react/package.json | 4 +- packages/svelte/package.json | 4 +- packages/vue3/package.json | 122 +++++++++++++++---------------- playgrounds/react/package.json | 46 ++++++------ playgrounds/svelte4/package.json | 2 +- playgrounds/svelte5/package.json | 2 +- playgrounds/vue3/package.json | 46 ++++++------ 10 files changed, 133 insertions(+), 127 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bc2f584c5..4cb0a3f46 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,9 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 For changes prior to v1.0.0, see the [legacy releases](https://legacy.inertiajs.com/releases). -## [Unreleased](https://github.com/inertiajs/inertia/compare/v1.2.0...HEAD) +## [Unreleased](https://github.com/inertiajs/inertia/compare/v2.0.0-beta.1...HEAD) -- v2.0 🫣 +- Nothing! + +## [v2.0.0-beta.1](https://github.com/inertiajs/inertia/compare/v1.2.0...v2.0.0-beta.1) + +- First beta release for the upcoming Inertia.js v2.0. View documentation and upgrade guide at https://v2.inertiajs.com. ## [v1.3.0-beta.2](https://github.com/inertiajs/inertia/compare/v1.3.0-beta.1...v1.3.0-beta.2) diff --git a/package-lock.json b/package-lock.json index 8b2553b3b..1cbd28696 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6305,7 +6305,7 @@ }, "packages/core": { "name": "@inertiajs/core", - "version": "1.2.0", + "version": "2.0.0-beta.1", "license": "MIT", "dependencies": { "axios": "^1.6.0", @@ -6344,10 +6344,10 @@ }, "packages/react": { "name": "@inertiajs/react", - "version": "1.2.0", + "version": "2.0.0-beta.1", "license": "MIT", "dependencies": { - "@inertiajs/core": "1.2.0", + "@inertiajs/core": "2.0.0-beta.1", "lodash.isequal": "^4.5.0" }, "devDependencies": { @@ -6375,10 +6375,10 @@ }, "packages/svelte": { "name": "@inertiajs/svelte", - "version": "1.2.0", + "version": "2.0.0-beta.1", "license": "MIT", "dependencies": { - "@inertiajs/core": "1.2.0", + "@inertiajs/core": "2.0.0-beta.1", "html-escape": "^2.0.0", "lodash": "^4.5.0" }, @@ -6694,10 +6694,10 @@ }, "packages/vue3": { "name": "@inertiajs/vue3", - "version": "1.2.0", + "version": "2.0.0-beta.1", "license": "MIT", "dependencies": { - "@inertiajs/core": "1.2.0", + "@inertiajs/core": "2.0.0-beta.1", "lodash.clonedeep": "^4.5.0", "lodash.isequal": "^4.5.0" }, @@ -6727,7 +6727,7 @@ "playgrounds/react": { "name": "@inertiajs/react-playground", "devDependencies": { - "@inertiajs/react": "^1.0.0", + "@inertiajs/react": "2.0.0-beta.1", "@types/react": "^16.14.35", "@types/react-dom": "^16.9.18", "@vitejs/plugin-react": "^4.3.2", @@ -6958,8 +6958,9 @@ } }, "playgrounds/svelte4": { + "name": "@inertiajs/svelte4-playground", "devDependencies": { - "@inertiajs/svelte": "^1.0.0", + "@inertiajs/svelte": "2.0.0-beta.1", "@sveltejs/vite-plugin-svelte": "^3.1.2", "@tsconfig/svelte": "^5.0.4", "autoprefixer": "^10.4.13", @@ -7212,8 +7213,9 @@ } }, "playgrounds/svelte5": { + "name": "@inertiajs/svelte5-playground", "devDependencies": { - "@inertiajs/svelte": "^1.0.0", + "@inertiajs/svelte": "2.0.0-beta.1", "@sveltejs/vite-plugin-svelte": "^4.0.0-next.6", "@tsconfig/svelte": "^5.0.4", "autoprefixer": "^10.4.13", @@ -7493,7 +7495,7 @@ "playgrounds/vue3": { "name": "@inertiajs/vue3-playground", "devDependencies": { - "@inertiajs/vue3": "^1.0.0", + "@inertiajs/vue3": "2.0.0-beta.1", "@vitejs/plugin-vue": "^5.0.5", "@volar/vue-typescript": "^1.0.22", "@vue/server-renderer": "^3.3.4", diff --git a/packages/core/package.json b/packages/core/package.json index f536b702f..73c187ae7 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@inertiajs/core", - "version": "1.2.0", + "version": "2.0.0-beta.1", "license": "MIT", "description": "A framework for creating server-driven single page apps.", "contributors": [ diff --git a/packages/react/package.json b/packages/react/package.json index 58aa05b13..5e380a247 100755 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@inertiajs/react", - "version": "1.2.0", + "version": "2.0.0-beta.1", "license": "MIT", "description": "The React adapter for Inertia.js", "contributors": [ @@ -59,7 +59,7 @@ "react": "^16.9.0 || ^17.0.0 || ^18.0.0" }, "dependencies": { - "@inertiajs/core": "1.2.0", + "@inertiajs/core": "2.0.0-beta.1", "lodash.isequal": "^4.5.0" } } diff --git a/packages/svelte/package.json b/packages/svelte/package.json index ba4de16a9..2ac360168 100755 --- a/packages/svelte/package.json +++ b/packages/svelte/package.json @@ -1,6 +1,6 @@ { "name": "@inertiajs/svelte", - "version": "1.2.0", + "version": "2.0.0-beta.1", "license": "MIT", "description": "The Svelte adapter for Inertia.js", "contributors": [ @@ -43,7 +43,7 @@ "svelte": "^4.0.0 || ^5.0.0 || ^5.0.0-next.244" }, "dependencies": { - "@inertiajs/core": "1.2.0", + "@inertiajs/core": "2.0.0-beta.1", "html-escape": "^2.0.0", "lodash": "^4.5.0" }, diff --git a/packages/vue3/package.json b/packages/vue3/package.json index fe319c135..0c6dfb53c 100755 --- a/packages/vue3/package.json +++ b/packages/vue3/package.json @@ -1,65 +1,65 @@ { - "name": "@inertiajs/vue3", - "version": "1.2.0", - "license": "MIT", - "description": "The Vue 3 adapter for Inertia.js", - "contributors": [ - "Jonathan Reinink " - ], - "homepage": "https://inertiajs.com/", - "repository": { - "type": "git", - "url": "https://github.com/inertiajs/inertia.git", - "directory": "packages/vue3" + "name": "@inertiajs/vue3", + "version": "2.0.0-beta.1", + "license": "MIT", + "description": "The Vue 3 adapter for Inertia.js", + "contributors": [ + "Jonathan Reinink " + ], + "homepage": "https://inertiajs.com/", + "repository": { + "type": "git", + "url": "https://github.com/inertiajs/inertia.git", + "directory": "packages/vue3" + }, + "bugs": { + "url": "https://github.com/inertiajs/inertia/issues" + }, + "files": [ + "dist", + "types" + ], + "type": "module", + "main": "dist/index.js", + "types": "types/index.d.ts", + "exports": { + ".": { + "types": "./types/index.d.ts", + "import": "./dist/index.esm.js", + "require": "./dist/index.js" }, - "bugs": { - "url": "https://github.com/inertiajs/inertia/issues" - }, - "files": [ - "dist", - "types" - ], - "type": "module", - "main": "dist/index.js", - "types": "types/index.d.ts", - "exports": { - ".": { - "types": "./types/index.d.ts", - "import": "./dist/index.esm.js", - "require": "./dist/index.js" - }, - "./server": { - "types": "./types/server.d.ts", - "import": "./dist/server.esm.js", - "require": "./dist/server.js" - } - }, - "typesVersions": { - "*": { - "server": [ - "types/server.d.ts" - ] - } - }, - "scripts": { - "dev": "./build.js --watch", - "build": "npm run clean && ./build.js && tsc --emitDeclarationOnly --skipLibCheck", - "clean": "rm -rf types && rm -rf dist", - "prepublishOnly": "npm run build" - }, - "devDependencies": { - "@playwright/test": "^1.46.1", - "@types/node": "^22.5.3", - "esbuild": "^0.16.13", - "typescript": "^4.9.4", - "vue": "^3.0.0" - }, - "peerDependencies": { - "vue": "^3.0.0" - }, - "dependencies": { - "@inertiajs/core": "1.2.0", - "lodash.clonedeep": "^4.5.0", - "lodash.isequal": "^4.5.0" + "./server": { + "types": "./types/server.d.ts", + "import": "./dist/server.esm.js", + "require": "./dist/server.js" + } + }, + "typesVersions": { + "*": { + "server": [ + "types/server.d.ts" + ] } + }, + "scripts": { + "dev": "./build.js --watch", + "build": "npm run clean && ./build.js && tsc --emitDeclarationOnly --skipLibCheck", + "clean": "rm -rf types && rm -rf dist", + "prepublishOnly": "npm run build" + }, + "devDependencies": { + "@playwright/test": "^1.46.1", + "@types/node": "^22.5.3", + "esbuild": "^0.16.13", + "typescript": "^4.9.4", + "vue": "^3.0.0" + }, + "peerDependencies": { + "vue": "^3.0.0" + }, + "dependencies": { + "@inertiajs/core": "2.0.0-beta.1", + "lodash.clonedeep": "^4.5.0", + "lodash.isequal": "^4.5.0" + } } diff --git a/playgrounds/react/package.json b/playgrounds/react/package.json index e2da809f5..b585d8835 100644 --- a/playgrounds/react/package.json +++ b/playgrounds/react/package.json @@ -1,25 +1,25 @@ { - "name": "@inertiajs/react-playground", - "private": true, - "scripts": { - "dev": "vite", - "build": " vite build && vite build --ssr" - }, - "type": "module", - "devDependencies": { - "@inertiajs/react": "^1.0.0", - "@types/react": "^16.14.35", - "@types/react-dom": "^16.9.18", - "@vitejs/plugin-react": "^4.3.2", - "autoprefixer": "^10.4.13", - "axios": "^1.6.0", - "laravel-vite-plugin": "^1.0.5", - "lodash": "^4.17.19", - "postcss": "^8.4.31", - "react": "^18.2.0", - "react-dom": "^18.2.0", - "tailwindcss": "^3.2.4", - "typescript": "^4.9.5", - "vite": "^5.4.8" - } + "name": "@inertiajs/react-playground", + "private": true, + "scripts": { + "dev": "vite", + "build": " vite build && vite build --ssr" + }, + "type": "module", + "devDependencies": { + "@inertiajs/react": "2.0.0-beta.1", + "@types/react": "^16.14.35", + "@types/react-dom": "^16.9.18", + "@vitejs/plugin-react": "^4.3.2", + "autoprefixer": "^10.4.13", + "axios": "^1.6.0", + "laravel-vite-plugin": "^1.0.5", + "lodash": "^4.17.19", + "postcss": "^8.4.31", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "tailwindcss": "^3.2.4", + "typescript": "^4.9.5", + "vite": "^5.4.8" + } } diff --git a/playgrounds/svelte4/package.json b/playgrounds/svelte4/package.json index b85b200cf..96be0ef9b 100644 --- a/playgrounds/svelte4/package.json +++ b/playgrounds/svelte4/package.json @@ -9,7 +9,7 @@ "check:watch": "svelte-check --tsconfig ./tsconfig.json --watch" }, "devDependencies": { - "@inertiajs/svelte": "^1.0.0", + "@inertiajs/svelte": "2.0.0-beta.1", "@sveltejs/vite-plugin-svelte": "^3.1.2", "@tsconfig/svelte": "^5.0.4", "autoprefixer": "^10.4.13", diff --git a/playgrounds/svelte5/package.json b/playgrounds/svelte5/package.json index 3e0c27b59..241172932 100644 --- a/playgrounds/svelte5/package.json +++ b/playgrounds/svelte5/package.json @@ -9,7 +9,7 @@ "check:watch": "svelte-check --tsconfig ./tsconfig.json --watch" }, "devDependencies": { - "@inertiajs/svelte": "^1.0.0", + "@inertiajs/svelte": "2.0.0-beta.1", "@sveltejs/vite-plugin-svelte": "^4.0.0-next.6", "@tsconfig/svelte": "^5.0.4", "autoprefixer": "^10.4.13", diff --git a/playgrounds/vue3/package.json b/playgrounds/vue3/package.json index 7045eb5b6..1eb04639a 100644 --- a/playgrounds/vue3/package.json +++ b/playgrounds/vue3/package.json @@ -1,25 +1,25 @@ { - "name": "@inertiajs/vue3-playground", - "private": true, - "scripts": { - "dev": "vite", - "build": "vue-tsc && vite build && vite build --ssr" - }, - "devDependencies": { - "@inertiajs/vue3": "^1.0.0", - "@vitejs/plugin-vue": "^5.0.5", - "@volar/vue-typescript": "^1.0.22", - "@vue/server-renderer": "^3.3.4", - "autoprefixer": "^10.4.13", - "axios": "^1.6.0", - "laravel-vite-plugin": "^1.0.5", - "lodash": "^4.17.19", - "postcss": "^8.4.31", - "tailwindcss": "^3.2.4", - "typescript": "^5.5.4", - "vite": "^5.3.4", - "vue": "^3.3.4", - "vue-tsc": "^2.0.0" - }, - "type": "module" + "name": "@inertiajs/vue3-playground", + "private": true, + "scripts": { + "dev": "vite", + "build": "vue-tsc && vite build && vite build --ssr" + }, + "devDependencies": { + "@inertiajs/vue3": "2.0.0-beta.1", + "@vitejs/plugin-vue": "^5.0.5", + "@volar/vue-typescript": "^1.0.22", + "@vue/server-renderer": "^3.3.4", + "autoprefixer": "^10.4.13", + "axios": "^1.6.0", + "laravel-vite-plugin": "^1.0.5", + "lodash": "^4.17.19", + "postcss": "^8.4.31", + "tailwindcss": "^3.2.4", + "typescript": "^5.5.4", + "vite": "^5.3.4", + "vue": "^3.3.4", + "vue-tsc": "^2.0.0" + }, + "type": "module" }