|
1 | 1 | # Changelog
|
2 | 2 |
|
3 |
| -All notable changes to this project will be documented in this file. |
4 |
| - |
5 |
| -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
6 |
| -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
7 |
| - |
8 |
| -For changes prior to v1.0.0, see the [legacy releases](https://legacy.inertiajs.com/releases). |
9 |
| - |
10 |
| -## [Unreleased](https://github.com/inertiajs/inertia/compare/v1.3.0-beta.1...HEAD) |
11 |
| - |
12 |
| -- Fix Svelte version import ([#2002](https://github.com/inertiajs/inertia/pull/2002)) |
13 |
| -- Fix `use:inertia` action event listeners types ([#2003](https://github.com/inertiajs/inertia/pull/2003)) |
14 |
| - |
15 |
| -## [v1.3.0-beta.1](https://github.com/inertiajs/inertia/compare/v1.2.0...v1.3.0-beta.1) |
16 |
| - |
17 |
| -### Added |
18 |
| - |
19 |
| -- Add Svelte 5 support ([#1970](https://github.com/inertiajs/inertia/pull/1970)) |
20 |
| -- Add TypeScript support to Svelte adapter ([#1866](https://github.com/inertiajs/inertia/pull/1866)) |
21 |
| - |
22 |
| -### Changed |
23 |
| - |
24 |
| -- Skip intercepting non-left button clicks on links ([#1908](https://github.com/inertiajs/inertia/pull/1908), [#1910](https://github.com/inertiajs/inertia/pull/1910)) |
25 |
| -- Changed `preserveScroll` to be `true` on initial page visit ([#1360](https://github.com/inertiajs/inertia/pull/1360)) |
26 |
| -- Return early when using `router.on()` during SSR ([#1715](https://github.com/inertiajs/inertia/pull/1715)) |
27 |
| -- Use updater function in `setData` in `useForm` hook in React adapter ([#1859](https://github.com/inertiajs/inertia/pull/1859)) |
28 |
| - |
29 |
| -### Fixed |
30 |
| - |
31 |
| -- Fix history navigation issue on Chrome iOS ([#1984](https://github.com/inertiajs/inertia/pull/1984), [#1992](https://github.com/inertiajs/inertia/pull/1992)) |
32 |
| -- Fix `setNavigationType` for Safari 10 ([#1957](https://github.com/inertiajs/inertia/pull/1957)) |
33 |
| -- Export `InertiaFormProps` in all adapters ([#1596](https://github.com/inertiajs/inertia/pull/1596), [#1734](https://github.com/inertiajs/inertia/pull/1734)) |
34 |
| -- Fix `isDirty` after `form.defaults()` call in Vue 3 ([#1985](https://github.com/inertiajs/inertia/pull/1985)) |
35 |
| -- Fix scroll reset on page navigation ([#1980](https://github.com/inertiajs/inertia/pull/1980)) |
36 |
| -- Fix scroll position restoration for `[scroll-region]` elements ([#1782](https://github.com/inertiajs/inertia/pull/1782), [#1980](https://github.com/inertiajs/inertia/pull/1980)) |
37 |
| -- Fix `useForm` re-renders by memoizing functions in React adapter ([#1607](https://github.com/inertiajs/inertia/pull/1607)) |
38 |
| -- Fix doubling hash when using `<React.StrictMode>` ([#1728](https://github.com/inertiajs/inertia/pull/1728)) |
39 |
| -- Fix type augmentation in Vue 3 adapter ([#1958](https://github.com/inertiajs/inertia/pull/1958)) |
40 |
| -- Fix form helper `transform` return type in React adapter ([#1896](https://github.com/inertiajs/inertia/pull/1896)) |
41 |
| -- Fix props reactivity in Svelte adapter ([#1969](https://github.com/inertiajs/inertia/pull/1969)) |
42 |
| -- Fix `<Render />` component to respect `preserveState` option in Svelte adapter ([#1943](https://github.com/inertiajs/inertia/pull/1943)) |
43 |
| -- Fix 'received an unexpected slot "default"' warning in Svelte adapter ([#1941](https://github.com/inertiajs/inertia/pull/1941)) |
44 |
| - |
45 |
| -## [v1.2.0](https://github.com/inertiajs/inertia/compare/v1.1.0...v1.2.0) |
46 |
| - |
47 |
| -- Fix `preserveScroll` and `preserveState` types ([#1882](https://github.com/inertiajs/inertia/pull/1882)) |
48 |
| -- Revert "merge props from partial reloads" ([#1895](https://github.com/inertiajs/inertia/pull/1895)) |
49 |
| - |
50 |
| -## [v1.1.0](https://github.com/inertiajs/inertia/compare/v1.0.16...v1.1.0) |
51 |
| - |
52 |
| -- Add new `except` visit option to exclude props from partial reloads ([#1876](https://github.com/inertiajs/inertia/pull/1876)) |
53 |
| -- Deep merge props from partial reloads ([#1877](https://github.com/inertiajs/inertia/pull/1877)) |
54 |
| - |
55 |
| -## [v1.0.16](https://github.com/inertiajs/inertia/compare/v1.0.15...v1.0.16) |
56 |
| - |
57 |
| -- Fix Svelte 4 slot rendering issues ([#1763](https://github.com/inertiajs/inertia/pull/1763)) |
58 |
| -- Fix accessibility warning in Svelte `Link` component ([#1858](https://github.com/inertiajs/inertia/pull/1858)) |
59 |
| -- Use `Omit` instead of `Exclude` in router types ([#1857](https://github.com/inertiajs/inertia/pull/1857)) |
60 |
| - |
61 |
| -## [v1.0.15](https://github.com/inertiajs/inertia/compare/v1.0.14...v1.0.15) |
62 |
| - |
63 |
| -- Bump axios from `v1.4.0` to `v1.6.0` ([#1723](https://github.com/inertiajs/inertia/pull/1723)) |
64 |
| - |
65 |
| -## [v1.0.14](https://github.com/inertiajs/inertia/compare/v1.0.13...v1.0.14) |
66 |
| - |
67 |
| -- Revert "Clear errors on form reset (#1568)" ([#1716](https://github.com/inertiajs/inertia/pull/1716)) |
68 |
| - |
69 |
| -## [v1.0.13](https://github.com/inertiajs/inertia/compare/v1.0.12...v1.0.13) |
70 |
| - |
71 |
| -- Clear errors on form reset ([#1568](https://github.com/inertiajs/inertia/pull/1568)) |
72 |
| -- Fix `Link` type in React ([#1659](https://github.com/inertiajs/inertia/pull/1659)) |
73 |
| - |
74 |
| -## [v1.0.12](https://github.com/inertiajs/inertia/compare/v1.0.11...v1.0.12) |
75 |
| - |
76 |
| -- Fix type of `onClick` for `Link` component in React and Vue ([#1699](https://github.com/inertiajs/inertia/pull/1699), [#1701](https://github.com/inertiajs/inertia/pull/1701)) |
77 |
| - |
78 |
| -## [v1.0.11](https://github.com/inertiajs/inertia/compare/v1.0.10...v1.0.11) |
79 |
| - |
80 |
| -- Fix form helper types for `setDefaults()` method (React) and `defaults()` method (Vue) ([#1504](https://github.com/inertiajs/inertia/pull/1504)) |
81 |
| -- Fix interface issue with `useForm()` in React and Vue adapters ([#1649](https://github.com/inertiajs/inertia/pull/1649)) |
82 |
| - |
83 |
| -## [v1.0.10](https://github.com/inertiajs/inertia/compare/v1.0.9...v1.0.10) |
84 |
| - |
85 |
| -- Fix Svelte's `useForm` helper ([#1610](https://github.com/inertiajs/inertia/pull/1610)) |
86 |
| - |
87 |
| -## [v1.0.9](https://github.com/inertiajs/inertia/compare/v1.0.8...v1.0.9) |
88 |
| - |
89 |
| -- Fix `<Head>` vNode handling in Vue 3 adapter ([#1590](https://github.com/inertiajs/inertia/pull/1590)) |
90 |
| -- Add Svelte 4 support ([60699c7](https://github.com/inertiajs/inertia/commit/60699c7c5978eebd393e0333b567d8e465f4b58f)) |
91 |
| - |
92 |
| -## [v1.0.8](https://github.com/inertiajs/inertia/compare/v1.0.7...v1.0.8) |
93 |
| - |
94 |
| -### Fixed |
95 |
| - |
96 |
| -- Fix `<Head>` vNode handling in Vue 3 adapter ([#1570](https://github.com/inertiajs/inertia/pull/1570)) |
97 |
| -- Fix watching remembered data in Vue 3 adapter ([#1571](https://github.com/inertiajs/inertia/pull/1571)) |
98 |
| - |
99 |
| -## [v1.0.7](https://github.com/inertiajs/inertia/compare/v1.0.6...v1.0.7) |
100 |
| - |
101 |
| -### Fixed |
102 |
| - |
103 |
| -- Fix `<Head>` fragment detection in Vue 3 adapter ([#1509](https://github.com/inertiajs/inertia/pull/1509)) |
104 |
| - |
105 |
| -## [v1.0.6](https://github.com/inertiajs/inertia/compare/v1.0.5...v1.0.6) |
106 |
| - |
107 |
| -### Fixed |
108 |
| - |
109 |
| -- Fix `usePage()` null object error in Vue 3 adapter ([#1530](https://github.com/inertiajs/inertia/pull/1530)) |
110 |
| - |
111 |
| -## [v1.0.5](https://github.com/inertiajs/inertia/compare/v1.0.4...v1.0.5) |
112 |
| - |
113 |
| -### Fixed |
114 |
| - |
115 |
| -- Fix `usePage()` reactivity in Vue 2 adapter ([#1527](https://github.com/inertiajs/inertia/pull/1527)) |
116 |
| - |
117 |
| -### Changed |
118 |
| - |
119 |
| -- Simplify the Vue 2 form helper ([#1529](https://github.com/inertiajs/inertia/pull/1529)) |
120 |
| - |
121 |
| -## [v1.0.4](https://github.com/inertiajs/inertia/compare/v1.0.3...v1.0.4) |
122 |
| - |
123 |
| -### Added |
124 |
| - |
125 |
| -- Added `displayName` to `Link` component in React adapter ([#1512](https://github.com/inertiajs/inertia/pull/1512)) |
126 |
| - |
127 |
| -### Fixed |
128 |
| - |
129 |
| -- Fix `usePage()` reactivity in Vue 3 adapter ([#1469](https://github.com/inertiajs/inertia/pull/1469)) |
130 |
| - |
131 |
| -## [v1.0.3](https://github.com/inertiajs/inertia/compare/v1.0.2...v1.0.3) |
132 |
| - |
133 |
| -### Added |
134 |
| - |
135 |
| -- Added initialization callback to form helper in Vue adapters ([#1516](https://github.com/inertiajs/inertia/pull/1516)) |
136 |
| - |
137 |
| -## [v1.0.2](https://github.com/inertiajs/inertia/compare/v1.0.1...v1.0.2) |
138 |
| - |
139 |
| -### Fixed |
140 |
| - |
141 |
| -- Added explicit children to `InertiaHeadProps` ([#1448](https://github.com/inertiajs/inertia/pull/1448)) |
142 |
| -- Exported `InertiaLinkProps` type ([#1450](https://github.com/inertiajs/inertia/pull/1450)) |
143 |
| -- Improved React `usePage` generic type ([#1451](https://github.com/inertiajs/inertia/pull/1451)) |
144 |
| - |
145 |
| -## [v1.0.1](https://github.com/inertiajs/inertia/compare/v1.0.0...v1.0.1) |
146 |
| - |
147 |
| -### Fixed |
148 |
| - |
149 |
| -- Fixed Vue type overrides for `$page` and `$inertia` ([#1393](https://github.com/inertiajs/inertia/pull/1393)) |
150 |
| -- Restored React `usePage` generic type ([#1396](https://github.com/inertiajs/inertia/pull/1396)) |
151 |
| -- Prevented need to use `Method` enum with the Link component ([#1392](https://github.com/inertiajs/inertia/pull/1392)) |
152 |
| -- Restored Vue 3 `usePage` generic type ([#1394](https://github.com/inertiajs/inertia/pull/1394)) |
153 |
| -- Fixed export of server types ([#1397](https://github.com/inertiajs/inertia/pull/1397)) |
154 |
| -- Updated form types to support nested data ([#1401](https://github.com/inertiajs/inertia/pull/1401)) |
155 |
| -- Allowed stronger type support with Vue `useForm` ([#1413](https://github.com/inertiajs/inertia/pull/1413)) |
156 |
| -- Fixed Vue 2 `setup` prop types ([#1418](https://github.com/inertiajs/inertia/pull/1418)) |
157 |
| -- Fixed issue when passing multiple children to React `Head` component ([#1433](https://github.com/inertiajs/inertia/pull/1433)) |
158 |
| - |
159 |
| -## [v1.0.0](https://github.com/inertiajs/inertia/compare/7ce91ec...v1.0.0) - 2023-01-14 |
160 |
| - |
161 |
| -### Added |
162 |
| - |
163 |
| -- Added SSR support to Svelte library ([#1349](https://github.com/inertiajs/inertia/pull/1349)) |
164 |
| -- Added first-class TypeScript support to React adapter |
165 |
| -- Added first-class TypeScript support to Vue 2 adapter |
166 |
| -- Added first-class TypeScript support to Vue 3 adapter |
167 |
| -- Added new `useForm()` hook to Vue 2 adapter ([ff59196](https://github.com/inertiajs/inertia/commit/ff59196)) |
168 |
| - |
169 |
| -### Changed |
170 |
| - |
171 |
| -- Renamed `@inertiajs/inertia` library to `@inertiajs/core` ([#1282](https://github.com/inertiajs/inertia/pull/1282)) |
172 |
| -- Renamed `@inertiajs/inertia-react` library to `@inertiajs/react` ([#1282](https://github.com/inertiajs/inertia/pull/1282)) |
173 |
| -- Renamed `@inertiajs/inertia-svelte` library to `@inertiajs/svelte` ([#1282](https://github.com/inertiajs/inertia/pull/1282)) |
174 |
| -- Renamed `@inertiajs/inertia-vue` library to `@inertiajs/vue2` ([#1282](https://github.com/inertiajs/inertia/pull/1282)) |
175 |
| -- Renamed `@inertiajs/inertia-vue3` library to `@inertiajs/vue3` ([#1282](https://github.com/inertiajs/inertia/pull/1282)) |
176 |
| -- Merged progress library to core and deprecated `@inertiajs/progress` library ([#1282](https://github.com/inertiajs/inertia/pull/1282), [0b5f773](https://github.com/inertiajs/inertia/commit/0b5f773)) |
177 |
| -- Merged server library to core and deprecated `@inertiajs/server` library ([#1282](https://github.com/inertiajs/inertia/pull/1282)) |
178 |
| -- Renamed `Inertia` named export to `router` ([#1282](https://github.com/inertiajs/inertia/pull/1282), [e556703](https://github.com/inertiajs/inertia/commit/e556703)) |
179 |
| -- Removed deprecated named exports ([#1282](https://github.com/inertiajs/inertia/pull/1282), [e556703](https://github.com/inertiajs/inertia/commit/e556703)) |
180 |
| -- Removed deprecated `app` argument from `createInertiaApp()` in Vue adapters ([#1282](https://github.com/inertiajs/inertia/pull/1282), [65f8a5f](https://github.com/inertiajs/inertia/commit/65f8a5f)) |
181 |
| -- Updated axios to 1.x ([#1377](https://github.com/inertiajs/inertia/pull/1377)) |
182 |
| -- Simplified `usePage()` hook in Vue 3 adapter ([#1373](https://github.com/inertiajs/inertia/pull/1373)) |
183 |
| -- Improved Svelte `use:inertia` and `<Link />` component ([#1344](https://github.com/inertiajs/inertia/pull/1344)) |
184 |
| -- Removed global `visitOptions()` hook ([#1282](https://github.com/inertiajs/inertia/pull/1282), [30908c2](https://github.com/inertiajs/inertia/commit/30908c2)) |
185 |
| -- Switched bundler from Microbundle to ESbuild ([f711b46](https://github.com/inertiajs/inertia/commit/f711b46), [8093713](https://github.com/inertiajs/inertia/commit/8093713), [342312d](https://github.com/inertiajs/inertia/commit/342312d), [c9e12b3](https://github.com/inertiajs/inertia/commit/c9e12b3)) |
186 |
| - |
187 |
| -### Fixed |
188 |
| - |
189 |
| -- Fixed `<title>` tag not always being included when a `title` callback is defined in `createInertiaApp()` ([#1055](https://github.com/inertiajs/inertia/pull/1055)) |
190 |
| -- Fixed types to include `undefined` as a valid `FormDataConvertable` option ([#1165](https://github.com/inertiajs/inertia/pull/1165)) |
191 |
| -- Fixed issue where remembered state wasn't clear on a full page reload ([769f643](https://github.com/inertiajs/inertia/commit/769f643)) |
| 3 | +Please refer to the changelog in `master` for the [full changelog](https://github.com/inertiajs/inertia/blob/master/CHANGELOG.md). |
0 commit comments