Release 4.0.0-next.18
Pre-release
Pre-release
·
3 commits
to 4.x
since this release
4.0.0-next.18 (2026-01-06)
Bug Fixes
renderInertiareturns Route type (d584e25), closes #16- allow optional properties when ssr is disabled (de760dc)
- api client entrypoint (15287fc)
- api client entrypoint (01f6e71)
- assembler breaking changes (928d6d6)
- asset versionning broken (15f982b)
- broken special props used in sharedData config file (bd7d337)
- cached version in dev (0b454c1)
- check if dev server exist while rendering on server (0be06ad)
- clear vite cache after executing entrypoint (710523a), closes #42
- configure incorrect dependencies react/svelte (59e882f)
- configure: await for route to be defined (6c9705e)
- crc32 default import (049f880)
- do not set x-inertia on every inertia request (801253f)
- documentation link (#12) (082caa4)
- enable ssr everywhere if
pagesis not defined (0cf4a3f) - error on render when session is undefined (#59) (1326df2)
- exclude children when extracting react props (294bcfb)
- failing test on windows (049cd96)
- fixed footer of the home page (#35) (20fa83f)
- generic interface passed to render (1171fbe)
- handle properly null and undefined props values (e3372ac)
- hmr not working server-side (e92d7c9)
- import the augmented module (66e7bb3)
- incorrect
headreturn with[@inertia](https://github.com/inertia)Head(280a9e3), closes #15 - incorrect stub types (ef20c42)
- incorrect stubs for client entrypoint when SSR activated (af44700)
- InferPageProps with empty inertia.render method (f1dad28)
- lazily share data with inertia from inertia middleware (c01a858)
- make SharedProps compatible with inertia usePage (c7a5f0e)
- missing config stub (4a0dd62)
- move tuyau/utils to prod dependencies (96a1a12)
- only extract PageObject with InferPagePRops (2f2e10e), closes #36
- package: update link to this repository (13d47a6)
- pass containerResolver to the serialize method (1890a20)
- pass page object to the view when using ssr (42e4bd8)
- pin typescript version (60f1c0b)
- preserve query parameters in page object url (2fb1fc8)
- published files (8ad9b75)
- react stub (ba3b123)
- react: correct svg attributes (6258e9a)
- react: path imports config stubs (ac3a534)
- read manifest by invoking the method (d08d7f5)
- readme: correct documentation link (#25) (98f7bcf)
- remove latest tag from release-it config (42d0359)
- renderInertia route helper to match types signature of inertia.render (060c4df)
- set NODE_ENV production only when building (ad43b65)
- set NODE_ENV to production when building (d2fdbf4)
- solid: stub do not like template string (6d152a6)
- support "callback" props with InferPageProps (e98fc5d), closes #65
- transformers types with once prop (10cf8fe)
- typecheck error (ee11d9b)
- usage of SSR bundle on windows (9a16acd)
- use updated svelte 5 functions (#51) (1784684)
- versioning when version is provided as integer (72341f1)
- vue props extraction helper (3c3e2a1)
Features
- accept a function for
ssr.pagesconfig (47a3768) - add @japa/api-client 3.x support to peerDependencies (#56) (6ebeca2)
- add
sharemethod (7944ab6) - add directive (6747a27)
- add a type helper for infering page props (c852ffd)
- add adonis plugin via configure hook (6eacb1d)
- add AlwaysProp, MergeableProps, OptionalProps and Except logic (b3d1809)
- add apiClient plugin (79042d2)
- add config/inertia reference directive in stubs (e335e1c)
- add deferred props (b1ff5d8)
- add encryption/clear history API (f9c6c01)
- add files detector (798b099)
- add helper to resolve pages (7e08132)
- add InferSharedProps type (388553e)
- add new
[@inertia](https://github.com/inertia)tag parameters (746a95d) - add once props (f60587d)
- add react Form component wrapper (ffaca4f)
- add SSR prompt in configure hook (04f45be)
- add support for generating pages (31ddf21)
- add support for view props (aa411d0)
- add svelte configuration (b9cef35)
- add v1 configure step (6d0585f)
- added renderInertia brisk route macro (6403f72)
- allow eager loaded pages objects (709cc63)
- allow to use generic with
render(4bb3365) - allow using Layouts via resolvePageComponent method (d27d93f)
- dynamic root view (318d608)
- include page entrypoint in root stubs (af7fac6)
- include shared props module augmentation in config stub (47184ff)
- InferPageProps serialize props at type-level (89f1c98)
- initial version (f8b6023)
- lazily evaluate page props types (2ee31ef)
- lazily evaluate shared data (d0837df)
- make able to infer page props from an inertia.render call (5355839)
- prevent FOUC with SSR in dev (98a4001)
- react tuyau adapter (7692030)
- refactor generated types (9f2f0ba)
- remove config.entrypoint as the property is never used (0fd9b90)
- remove shared props from props required during rendering a page (c1ee7b9)
- resolvePageComponent helper (1615c2f)
- revamp implementation (0fa9dc6)
- SSR ready version (#3) (b8e9798)
- support flag in configure hook (a08f6de)
- support inertia.lazy props via InferPageProps (0732b96)
- update splash screen (738f143)
- use resolvePageComponent in
appstubs (6f4b7f5)
BREAKING CHANGES
- This commit contains serveral breaking changes around the Inertia setup.
Same will be covered in the release notes