Releases: inertiajs/inertia
Releases · inertiajs/inertia
v2.1.7
What's Changed
- Bump axios from 1.11.0 to 1.12.0 by @dependabot[bot] in #2568
- Bump dependencies by @pascalbaljet in #2571
- TypeScript upgrade by @pascalbaljet in #2573
Full Changelog: v2.1.6...v2.1.7
v2.1.6
What's Changed
- Invalidate prefetch cache when page is received from a network request by @pascalbaljet in #2567
Full Changelog: v2.1.5...v2.1.6
v2.1.5
What's Changed
- Fix race condition when combining Deferred Props with an instant Partial Reload on mount by @pascalbaljet in #2562
Full Changelog: v2.1.4...v2.1.5
v2.1.4
What's Changed
- Replace html-escape with built-in function on Svelte package by @kresnasatya in #2535
- Update dirty state after DOM changes (React only) by @pascalbaljet in #2558
- Prevent errors caused by null href value by @fritz-c in #2550
- Remove data from the dependency array of setDefaults by @jasonlbeggs in #2554
New Contributors
- @fritz-c made their first contribution in #2550
- @jasonlbeggs made their first contribution in #2554
Full Changelog: v2.1.3...v2.1.4
v2.1.3
What's Changed
- Code formatting with Prettier by @pascalbaljet in #2515
- Add EditorConfig and fix some whitespace issues by @jrmajor in #2516
- Fix for nullable object types in
useForm
by @pascalbaljet in #2528 - Fix for Form Component in Svelte when resetting use input/button by @pascalbaljet in #2525
- Improve Link component
as
prop by @pascalbaljet in #2524 - [v2.x] fix: type error by changing page props type to
any
by @peaklabs-dev in #2520 - Revert to back to Lodash to retain ES2020 compatibility by @pascalbaljet in #2527
- Verify ES2020 compatibility in CI by @pascalbaljet in #2530
- [Vue] Fixing action attribute on Form Component when using Wayfinder by @nicolagianelli in #2532
- Make package.json structure in Svelte package Consistent as Vue and React by @kresnasatya in #2529
- Remove Svelte 5-next version constraint by @pascalbaljet in #2533
- improve typescript configuration by @sudo-barun in #2470
- Format JSON files with Prettier by @pascalbaljet in #2534
- Fix warning about
inert
attribute in React < 19 by @pascalbaljet in #2536 - Fix keyboard activation when using
prefetch: 'click'
by @pedroborges in #2538 - Fix
useForm
to respect manualsetDefaults()
calls inonSuccess
and unify timing across adapters by @pascalbaljet in #2539 - Run Playwright in parallel in CI by @pascalbaljet in #2540
- Fix Coding Standards workflow by @pascalbaljet in #2547
- bumpup axios to fix CVE-2025-7783 by @vallerydelexy in #2546
- Bump
@sveltejs/kit
version by @pascalbaljet in #2548
New Contributors
- @peaklabs-dev made their first contribution in #2520
- @nicolagianelli made their first contribution in #2532
- @kresnasatya made their first contribution in #2529
- @vallerydelexy made their first contribution in #2546
Full Changelog: v2.1.2...v2.1.3
v2.1.2
What's Changed
- Fix for manipulating form after redirect in
onSubmitComplete
by @joetannenbaum in #2510 - Support for passing Wayfinder objects to router methods by @pascalbaljet in #2497
- Tag-based cache invalidation for prefetch requests by @pascalbaljet in #2484
- Add
resetOnError
,resetOnSuccess
,setDefaultsOnSuccess
to Form component by @joetannenbaum in #2514
Full Changelog: v2.1.1...v2.1.2
v2.1.1
What's Changed
- Improve
Link
component types and support for prefetch events by @pascalbaljet in #2464 - allow passing partial errors object to
setError()
by @sudo-barun in #2461 - Add missing generic type support to PendingVisit and VisitHelperOptions by @HichemTab-tech in #2454
- Revamp useForm's generic types across adaptors by @Spice-King in #2335
- TypeScript improvements for
Link
component and Client Side Visits by @pascalbaljet in #2472 - Further TS improvements for
useForm
by @pascalbaljet in #2475 - Improve consistency in
useForm
across adapters by @pascalbaljet in #2482 - Improve TypeScript support for Client Side Visit
props
callback by @pascalbaljet in #2483 - TS improvements to Svelte's
<Form>
anduseForm()
implementations by @pascalbaljet in #2489 - Typescript Improvements by @pascalbaljet in #2468
- Test apps in TypeScript by @pascalbaljet in #2469
- Fix empty action in
<Form>
component when the current URL has more than one segment by @pascalbaljet in #2501 - Support uppercase method in
<Form>
component by @pascalbaljet in #2502 - Add
Form
componentdisableWhileProcessing
prop by @joetannenbaum in #2504 - Reset form fields by name in Form components by @skryukov in #2499
- Add
onSubmitComplete
prop toForm
component by @joetannenbaum in #2503 - Remove failed prefetch requests from in-flight array by @pascalbaljet in #2500
- Add
defaults()
method to Form component by @pascalbaljet in #2507 - Release script by @joetannenbaum in #2508
- Only
reset()
anddefaults()
inonSubmitComplete
by @pascalbaljet in #2509
New Contributors
- @sudo-barun made their first contribution in #2461
Full Changelog: v2.1.0...v2.1.1
v2.1.0
What's Changed
- Support for passing custom component to
as
prop ofLink
component. by @pascalbaljet in #2443 - Use
nodemon
to trigger new files and deleted files in test apps by @pascalbaljet in #2442 - Use ReactNode type for children props by @chack1172 in #2385
- Allow function as children component in react Deferred and WhenVisible by @chack1172 in #2386
- Improve test that waits for scroll position restoration by @pascalbaljet in #2473
- Introduction of the
Form
component by @pascalbaljet in #2474 - Improve
children
prop of<Form>
Component by @pascalbaljet in #2487 - Add Form component ref support by @pascalbaljet in #2496
- Make Svelte's not crash in an SSR environment by @dkulchenko in #2396
- Fix core: Queue processing when an item fails by @pintend in #2467
- Migrate playgrounds to Tailwind 4 by @jrmajor in #2369
New Contributors
- @dkulchenko made their first contribution in #2396
- @pintend made their first contribution in #2467
Full Changelog: v2.0.17...v2.1.0
v2.0.17
What's Changed
- Bump multer from 2.0.1 to 2.0.2 by @dependabot[bot] in #2447
- Bump vite from 5.4.12 to 5.4.19 by @dependabot[bot] in #2450
- Bump esbuild from 0.21.5 to 0.25.0 by @dependabot[bot] in #2451
- Explicit string coercion in
Head
component by @pascalbaljet in #2453
Full Changelog: v2.0.16...v2.0.17
v2.0.16
What's Changed
- Make errorBag parameter optional by @joelstein in #2445
New Contributors
- @joelstein made their first contribution in #2445
Full Changelog: v2.0.15...v2.0.16