diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b7d76731..9f1039e9e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,10 +7,31 @@ 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/v2.0.0-beta.3...HEAD) +## [Unreleased](https://github.com/inertiajs/inertia/compare/v2.0.0...HEAD) -- [2.x] Add React 19 support ([#2131](https://github.com/inertiajs/inertia/pull/2131)) -- [2.x] Add client side visits ([#2130](https://github.com/inertiajs/inertia/pull/2130)) +- Nothing + +## [v2.0.0](https://github.com/inertiajs/inertia/compare/v1.2.0...v2.0.0) + +### Added + +- Add polling +- Add link prefetching +- Add deferred props +- Add lazy loading of data when scrolling +- Add history encryption API +- Add React 19 support ([#2131](https://github.com/inertiajs/inertia/pull/2131)) +- Add client side visits ([#2130](https://github.com/inertiajs/inertia/pull/2130)) + +### Changed + +- Removal of NProgress dependency ([#2045](https://github.com/inertiajs/inertia/pull/2045)) +- Change TypeScript module resolution in the Svelte adapter ([#2035](https://github.com/inertiajs/inertia/pull/2035)) +- Refactor `createInertiaApp` in Svelte adapter ([#2036](https://github.com/inertiajs/inertia/pull/2036)) + +### Fixed + +- Fix: make Link href prop reactive ([#2089](https://github.com/inertiajs/inertia/pull/2089)) ## [v1.3.0](https://github.com/inertiajs/inertia/compare/v1.2.0...v1.3.0) @@ -45,34 +66,6 @@ For changes prior to v1.0.0, see the [legacy releases](https://legacy.inertiajs. - Fix command + click behavior on links in React adapter ([#2132](https://github.com/inertiajs/inertia/pull/2132)) - Fix import in Svelte adapter ([#2002](https://github.com/inertiajs/inertia/pull/2002)) -## [v2.0.0-beta.3](https://github.com/inertiajs/inertia/compare/v2.0.0-beta.2...v2.0.0-beta.3) - -- [2.x] Ensure current page is set before prefetching ([#2100](https://github.com/inertiajs/inertia/pull/2100)) -- [2.x] Set the history state before swapping component ([#2098](https://github.com/inertiajs/inertia/pull/2098)) -- [2.x] Ensure we have a default slot for WhenVisible before executing it ([#2096](https://github.com/inertiajs/inertia/pull/2096)) -- [2.x] Fix: make Link href prop reactive ([#2089](https://github.com/inertiajs/inertia/pull/2089)) -- [2.x] Don't prefetch the current page ([#2097](https://github.com/inertiajs/inertia/pull/2097)) -- [2.x] Removal of NProgress dependency ([#2045](https://github.com/inertiajs/inertia/pull/2045)) - -## [v2.0.0-beta.2](https://github.com/inertiajs/inertia/compare/v2.0.0-beta.1...v2.0.0-beta.2) - -- [2.x] Fix issue where initial page data is coming from history state ([#2023](https://github.com/inertiajs/inertia/pull/2023)) -- [2.x] Fix onClick in React adapter ([#2019](https://github.com/inertiajs/inertia/pull/2019)) -- [2.x] Export usePrefetch for react ([#2016](https://github.com/inertiajs/inertia/pull/2016)) -- [2.x] Rename WhenVisible "elementTag" prop to "as" ([#2009](https://github.com/inertiajs/inertia/pull/2009)) -- [2.x] $page url should not include the host ([#2032](https://github.com/inertiajs/inertia/pull/2032)) -- [2.x] Suppress Svelte accessibility warnings from Playwright logs ([#2033](https://github.com/inertiajs/inertia/pull/2033)) -- [2.x] Change TypeScript module resolution in the Svelte adapter ([#2035](https://github.com/inertiajs/inertia/pull/2035)) -- [2.x] Fix multi byte strings in history encryption ([#2030](https://github.com/inertiajs/inertia/pull/2030)) -- [2.x] Load deferred props on every page swap ([#2024](https://github.com/inertiajs/inertia/pull/2024)) -- [2.x] Refactor createInertiaApp in Svelte adapter ([#2036](https://github.com/inertiajs/inertia/pull/2036)) -- [2.x] Fix `` in Svelte adapter ([#2037](https://github.com/inertiajs/inertia/pull/2037)) -- [2.x] Fix `usePrefetch` in SSR mode in Svelte adapter ([#2034](https://github.com/inertiajs/inertia/pull/2034)) - -## [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.2.0](https://github.com/inertiajs/inertia/compare/v1.1.0...v1.2.0) - Fix `preserveScroll` and `preserveState` types ([#1882](https://github.com/inertiajs/inertia/pull/1882)) diff --git a/package-lock.json b/package-lock.json index cee47abc5..c4f4902e2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6069,7 +6069,7 @@ }, "packages/core": { "name": "@inertiajs/core", - "version": "2.0.0-beta.3", + "version": "2.0.0", "license": "MIT", "dependencies": { "axios": "^1.6.0", @@ -6111,10 +6111,10 @@ }, "packages/react": { "name": "@inertiajs/react", - "version": "2.0.0-beta.3", + "version": "2.0.0", "license": "MIT", "dependencies": { - "@inertiajs/core": "2.0.0-beta.3", + "@inertiajs/core": "2.0.0", "lodash.isequal": "^4.5.0" }, "devDependencies": { @@ -6144,10 +6144,10 @@ }, "packages/svelte": { "name": "@inertiajs/svelte", - "version": "2.0.0-beta.3", + "version": "2.0.0", "license": "MIT", "dependencies": { - "@inertiajs/core": "2.0.0-beta.3", + "@inertiajs/core": "2.0.0", "html-escape": "^2.0.0", "lodash": "^4.5.0" }, @@ -6218,10 +6218,10 @@ }, "packages/vue3": { "name": "@inertiajs/vue3", - "version": "2.0.0-beta.3", + "version": "2.0.0", "license": "MIT", "dependencies": { - "@inertiajs/core": "2.0.0-beta.3", + "@inertiajs/core": "2.0.0", "lodash.clonedeep": "^4.5.0", "lodash.isequal": "^4.5.0" }, @@ -6253,7 +6253,7 @@ "playgrounds/react": { "name": "@inertiajs/react-playground", "devDependencies": { - "@inertiajs/react": "2.0.0-beta.3", + "@inertiajs/react": "2.0.0", "@types/react": "^19.0.0", "@types/react-dom": "^19.0.0", "@vitejs/plugin-react": "^4.3.2", @@ -6306,7 +6306,7 @@ "playgrounds/svelte4": { "name": "@inertiajs/svelte4-playground", "devDependencies": { - "@inertiajs/svelte": "2.0.0-beta.3", + "@inertiajs/svelte": "2.0.0", "@sveltejs/vite-plugin-svelte": "^3.1.2", "@tsconfig/svelte": "^5.0.4", "autoprefixer": "^10.4.13", @@ -6324,7 +6324,7 @@ "playgrounds/svelte5": { "name": "@inertiajs/svelte5-playground", "devDependencies": { - "@inertiajs/svelte": "2.0.0-beta.3", + "@inertiajs/svelte": "2.0.0", "@sveltejs/vite-plugin-svelte": "^4.0.0-next.6", "@tsconfig/svelte": "^5.0.4", "autoprefixer": "^10.4.13", @@ -6426,7 +6426,7 @@ "playgrounds/vue3": { "name": "@inertiajs/vue3-playground", "devDependencies": { - "@inertiajs/vue3": "2.0.0-beta.3", + "@inertiajs/vue3": "2.0.0", "@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 ccd02a707..e96ac8cb9 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@inertiajs/core", - "version": "2.0.0-beta.3", + "version": "2.0.0", "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 bc18f053f..5595be509 100755 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@inertiajs/react", - "version": "2.0.0-beta.3", + "version": "2.0.0", "license": "MIT", "description": "The React adapter for Inertia.js", "contributors": [ @@ -59,7 +59,7 @@ "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" }, "dependencies": { - "@inertiajs/core": "2.0.0-beta.3", + "@inertiajs/core": "2.0.0", "lodash.isequal": "^4.5.0" } } diff --git a/packages/svelte/package.json b/packages/svelte/package.json index 48e722990..2311b7bd4 100755 --- a/packages/svelte/package.json +++ b/packages/svelte/package.json @@ -1,6 +1,6 @@ { "name": "@inertiajs/svelte", - "version": "2.0.0-beta.3", + "version": "2.0.0", "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": "2.0.0-beta.3", + "@inertiajs/core": "2.0.0", "html-escape": "^2.0.0", "lodash": "^4.5.0" }, diff --git a/packages/vue3/package.json b/packages/vue3/package.json index 63daa88b1..6b98eb92e 100755 --- a/packages/vue3/package.json +++ b/packages/vue3/package.json @@ -1,6 +1,6 @@ { "name": "@inertiajs/vue3", - "version": "2.0.0-beta.3", + "version": "2.0.0", "license": "MIT", "description": "The Vue 3 adapter for Inertia.js", "contributors": [ @@ -58,7 +58,7 @@ "vue": "^3.0.0" }, "dependencies": { - "@inertiajs/core": "2.0.0-beta.3", + "@inertiajs/core": "2.0.0", "lodash.clonedeep": "^4.5.0", "lodash.isequal": "^4.5.0" } diff --git a/playgrounds/react/package.json b/playgrounds/react/package.json index 3e00f3ab1..ce6e7efc7 100644 --- a/playgrounds/react/package.json +++ b/playgrounds/react/package.json @@ -7,7 +7,7 @@ }, "type": "module", "devDependencies": { - "@inertiajs/react": "2.0.0-beta.3", + "@inertiajs/react": "2.0.0", "@types/react": "^19.0.0", "@types/react-dom": "^19.0.0", "@vitejs/plugin-react": "^4.3.2", diff --git a/playgrounds/svelte4/package.json b/playgrounds/svelte4/package.json index 103577de9..4d8d2146e 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": "2.0.0-beta.3", + "@inertiajs/svelte": "2.0.0", "@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 9d5a5b0da..9b72aaad3 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": "2.0.0-beta.3", + "@inertiajs/svelte": "2.0.0", "@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 31bd632d5..e945bf7fd 100644 --- a/playgrounds/vue3/package.json +++ b/playgrounds/vue3/package.json @@ -6,7 +6,7 @@ "build": "vue-tsc && vite build && vite build --ssr" }, "devDependencies": { - "@inertiajs/vue3": "2.0.0-beta.3", + "@inertiajs/vue3": "2.0.0", "@vitejs/plugin-vue": "^5.0.5", "@volar/vue-typescript": "^1.0.22", "@vue/server-renderer": "^3.3.4",