Skip to content

Commit

Permalink
v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
reinink committed Dec 13, 2024
1 parent 7fc3bc0 commit 19b6ab4
Show file tree
Hide file tree
Showing 10 changed files with 46 additions and 53 deletions.
55 changes: 24 additions & 31 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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 `<Deferred />` 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))
Expand Down
22 changes: 11 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
4 changes: 2 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down Expand Up @@ -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"
}
}
4 changes: 2 additions & 2 deletions packages/svelte/package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down Expand Up @@ -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"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/vue3/package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down Expand Up @@ -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"
}
Expand Down
2 changes: 1 addition & 1 deletion playgrounds/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion playgrounds/svelte4/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion playgrounds/svelte5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion playgrounds/vue3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 19b6ab4

Please sign in to comment.