All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
For changes prior to v1.0.0, see the legacy releases.
- Add Svelte TypeScript support (#1866)
- Fix form helper
transform
return type in React adapter (#1896) - Use updater function in
setData
inuseForm
hook in React adapter (#1859) - Skip intercepting non-left button clicks on links (#1908, #1910)
- Fix
preserveScroll
andpreserveState
types (#1882) - Revert "merge props from partial reloads" (#1895)
- Add new
except
visit option to exclude props from partial reloads (#1876) - Deep merge props from partial reloads (#1877)
- Fix Svelte 4 slot rendering issues (#1763)
- Fix accessibility warning in Svelte
Link
component (#1858) - Use
Omit
instead ofExclude
in router types (#1857)
- Bump axios from
v1.4.0
tov1.6.0
(#1723)
- Revert "Clear errors on form reset (#1568)" (#1716)
- Fix form helper types for
setDefaults()
method (React) anddefaults()
method (Vue) (#1504) - Fix interface issue with
useForm()
in React and Vue adapters (#1649)
- Fix Svelte's
useForm
helper (#1610)
- Fix
<Head>
vNode handling in Vue 3 adapter (#1570) - Fix watching remembered data in Vue 3 adapter (#1571)
- Fix
<Head>
fragment detection in Vue 3 adapter (#1509)
- Fix
usePage()
null object error in Vue 3 adapter (#1530)
- Fix
usePage()
reactivity in Vue 2 adapter (#1527)
- Simplify the Vue 2 form helper (#1529)
- Added
displayName
toLink
component in React adapter (#1512)
- Fix
usePage()
reactivity in Vue 3 adapter (#1469)
- Added initialization callback to form helper in Vue adapters (#1516)
- Added explicit children to
InertiaHeadProps
(#1448) - Exported
InertiaLinkProps
type (#1450) - Improved React
usePage
generic type (#1451)
- Fixed Vue type overrides for
$page
and$inertia
(#1393) - Restored React
usePage
generic type (#1396) - Prevented need to use
Method
enum with the Link component (#1392) - Restored Vue 3
usePage
generic type (#1394) - Fixed export of server types (#1397)
- Updated form types to support nested data (#1401)
- Allowed stronger type support with Vue
useForm
(#1413) - Fixed Vue 2
setup
prop types (#1418) - Fixed issue when passing multiple children to React
Head
component (#1433)
v1.0.0 - 2023-01-14
- Added SSR support to Svelte library (#1349)
- Added first-class TypeScript support to React adapter
- Added first-class TypeScript support to Vue 2 adapter
- Added first-class TypeScript support to Vue 3 adapter
- Added new
useForm()
hook to Vue 2 adapter (ff59196)
- Renamed
@inertiajs/inertia
library to@inertiajs/core
(#1282) - Renamed
@inertiajs/inertia-react
library to@inertiajs/react
(#1282) - Renamed
@inertiajs/inertia-svelte
library to@inertiajs/svelte
(#1282) - Renamed
@inertiajs/inertia-vue
library to@inertiajs/vue2
(#1282) - Renamed
@inertiajs/inertia-vue3
library to@inertiajs/vue3
(#1282) - Merged progress library to core and deprecated
@inertiajs/progress
library (#1282, 0b5f773) - Merged server library to core and deprecated
@inertiajs/server
library (#1282) - Renamed
Inertia
named export torouter
(#1282, e556703) - Removed deprecated named exports (#1282, e556703)
- Removed deprecated
app
argument fromcreateInertiaApp()
in Vue adapters (#1282, 65f8a5f) - Updated axios to 1.x (#1377)
- Simplified
usePage()
hook in Vue 3 adapter (#1373) - Improved Svelte
use:inertia
and<Link />
component (#1344) - Removed global
visitOptions()
hook (#1282, 30908c2) - Switched bundler from Microbundle to ESbuild (f711b46, 8093713, 342312d, c9e12b3)