What's Changed
- [3.x] Drop support for Svelte 4 by @pascalbaljet in #2713
- [3.x] Remove qs dependency by @pascalbaljet in #2791
- [3.x] Svelte 5 Adapter based on #2586 by @puRe1337 in #2677
- [3.x] Drop support for React < 19 by @pascalbaljet in #2712
- [3.x] Pass props as second argument to resolve() in createInertiaApp() by @HichemTab-tech in #2485
- [3.x] Only reset useForm processing and progress with onFinish by @pascalbaljet in #2838
- [3.x] Bump Node.js to v24 + Bump GitHub CI Actions by @pascalbaljet in #2847
- [3.x] Remove unused
pendingVisitOptionsparameter by @pascalbaljet in #2853 - [3.x] Remove
hideProgress()andrevealProgress()exports by @pascalbaljet in #2852 - [3.x] Svelte 5 improvements by @pascalbaljet in #2863
- [3.x] Built-in XHR HTTP client + make Axios an optional peer dependency by @pascalbaljet in #2833
- [3.x] Add
useHttphook for standalone HTTP requests by @pascalbaljet in #2840 - [3.x] Generics in
<Form>Component by @pascalbaljet in #2849 - [3.x] Add layout props helpers by @pascalbaljet in #2859
- [3.x] Upgrade Svelte playground to Svelte 5 syntax by @pascalbaljet in #2868
- [3.x] Migrate
futureoptions to be new defaults by @pascalbaljet in #2867 - [3.x] Add
reloadingslot prop to<Deferred>component by @pascalbaljet in #2860 - [3.x] Rename
useDataElementForInitialPagetouseDataAttributeForInitialPageby @pascalbaljet in #2871 - [3.x] Add
preserveErrorsoption to preserve validation errors during partial requests by @pascalbaljet in #2819 - [3.x] SSR support in Vite development mode + simplified setup by @pascalbaljet in #2864
- [3.x] Rename
invalidandexceptionevents and add visit callbacks by @pascalbaljet in #2869 - [3.x] Optimistic updates for
router,useForm, anduseHttpby @pascalbaljet in #2866 - [3.x] Streamline adapter
index.tsexports by @pascalbaljet in #2872 - [3.x] Drop CJS builds in favor of ESM-only output by @pascalbaljet in #2873
- [3.x] Use Precognition 2.x and bump all deps by @pascalbaljet in #2877
- [3.x] Support for
withAllErrorsinuseHttpby @pascalbaljet in #2880 - [3.x] Add
optimisticprop to<Form>component by @pascalbaljet in #2881 - [3.x] Add test for named layout persistence across navigations by @pascalbaljet in #2882
- [3.x] Allow calling
createInertiaApp()without arguments by @pascalbaljet in #2883 - [3.x] Add
layoutoption tocreateInertiaApp()by @pascalbaljet in #2884 - [3.x] Update Playgrounds by @pascalbaljet in #2885
- [3.x] Add a singleton for the usePage function by @DavidCCoimbra in #2874
- [3.x] Remove
legacy.useDataAttributeForInitialPageconfig option by @pascalbaljet in #2887 - [3.x] Concurrent optimistic updates by @pascalbaljet in #2898
- [3.x] Preserve URL fragment across redirects with server-side
preserveFragmentoption by @pascalbaljet in #2897 - [3.x] Hash fragment redirect support by @pascalbaljet in #2899
- [3.x] Support nested dot-notation prop types by @pascalbaljet in #2901
- [3.x] Add strictMode option to React's createInertiaApp by @pascalbaljet in #2909
- [3.x] Fix FOUC during SSR development by @pascalbaljet in #2911
- [3.x] Make
clearHistoryandencryptHistoryoptional in page object by @pascalbaljet in #2908 - [3.x] Instant visits by @pascalbaljet in #2907
- Include resources directory in published packages by @pushpak1300 in #2914
- [3.x] Consolidate SSR error handling by @pascalbaljet in #2915
- [3.x] Use the popover API for the progress bar by @pascalbaljet in #2917
- [3.x] Minor clean up core package by @pascalbaljet in #2918
- [3.x] Fix axios adapter being required by @skryukov in #2926
- [3.x] Fire
onHttpExceptionfor server-rendered Inertia error pages by @pascalbaljet in #2927 - [3.x] Fix duplicate base path in Vite SSR CSS link URLs by @isaackaara in #2936
- [3.x] Populate global page store during Svelte 5 SSR by @pascalbaljet in #2938
- [3.x] Stop collecting CSS sub-dependencies during SSR by @pascalbaljet in #2937
- [v3.x] refactor(svelte)!: migrate useLayoutProps from stores to runes by @peaklabs-dev in #2944
- [3.x] fix: remove request from stream on network failure by @Anthony14FR in #2940
- [3.x] Support more createInertiaApp() patterns in SSR transform by @skryukov in #2929
- [v3.x] fix(types): module augmentation example by @peaklabs-dev in #2945
- [3.x] Convert Vue adapter components to Composition API by @pascalbaljet in #2947
- [3.x] fix: always fire flash event regardless of partial reload equality by @Anthony14FR in #2941
- [3.x] Include
SharedPagePropsincreateInertiaAppand event types by @pascalbaljet in #2956 - [3.x] Add
withAppcallback tocreateInertiaAppby @pascalbaljet in #2949 - [3.x] fix(type): add Record<string, string> to UrlMethodPair type by @stafast in #2952
- [3.x] Improve optimistic update rollback with multiple pending requests by @pascalbaljet in #2958
- [3.x] Prevent useHttp from parsing empty 204 responses by @entity in #2967
- [3.x] Include
SharedPagePropsin optimistic update callback types by @pascalbaljet in #2968 - [3.x] Test SSR across multiple Node.js versions in CI by @pascalbaljet in #2969
- [3.x] Migrate from
lodash-estoes-toolkitby @pascalbaljet in #2973 - [3.x] Add Vite 8 support, drop Vite 6 by @pascalbaljet in #2974
- [3.x] Fix Infinite Scroll SSR hydration by @pascalbaljet in #2975
- [3.x] Simplify layout props by passing them directly as component prop by @pascalbaljet in #2972
- [3.x] Improve form state stability by @pascalbaljet in #2976
- [3.x] Allow overriding
useHttpresponse type per method call by @pascalbaljet in #2979 - Revert "[3.x] Allow overriding
useHttpresponse type per method call" by @pascalbaljet in #2980 - [3.x] Fix React form not re-rendering memoized children on
setDataby @pascalbaljet in #2986 - [3.x] Update Boost skills by @pascalbaljet in #2987
- [3.x] Add generic type inference for
optimisticandtransformcallbacks by @pascalbaljet in #2990 - [3.x] Cleanup of
server.jsby @pascalbaljet in #2991 - [3.x] Clean up leftover
snapshotRefinuseFormStateby @pascalbaljet in #2992 - [3.x] Additional Vite tests by @pascalbaljet in #2994
- [3.x] Svelte linting fixes by @pascalbaljet in #2995
- [3.x] Rename
networkErrorevent detail key toerrorby @pascalbaljet in #2996 - [3.x] Fix
PagesOptiontype and makesetup/withAppmutually exclusive by @pascalbaljet in #2997 - [3.x] Guard against
voidreturn fromuseHttpoptimistic callback by @pascalbaljet in #3001 - [3.x] Fix Svelte Form ignoring global
withAllErrorsconfig by @pascalbaljet in #2998 - [3.x] Add
HttpErrorbase class by @pascalbaljet in #2999 - [3.x] Rename
handleErrorsSSR option toformatErrorsby @pascalbaljet in #3000 - [3.x] Remove deprecated router.cancel() method by @pascalbaljet in #3002
- [3.x] Bump Precognition package by @pascalbaljet in #3006
- [3.x] Refactor Layout Props by @pascalbaljet in #3005
New Contributors
- @puRe1337 made their first contribution in #2677
- @DavidCCoimbra made their first contribution in #2874
- @Anthony14FR made their first contribution in #2940
- @stafast made their first contribution in #2952
- @entity made their first contribution in #2967
Full Changelog: v2.3.16...v3.0.0