Skip to content

🌱 Samara

Choose a tag to compare

@mychidarko mychidarko released this 13 Aug 08:46
· 2 commits to v5.x since this release

v5.0 - 12 Aug 2026

Added

  • Mirrored Inertia Laravel v2: optional(), defer(), always(), merge(), deepMerge(), encryptHistory(), clearHistory() and location() (Inertia::lazy() still works but is deprecated)
  • Added setOmittedProps() to keep chosen props away from the frontend (thanks [@ghosthi](https://github.com/ghosthi))
  • Inertia renders leave a breadcrumb with the component name in [Leaf Crash](https://leafphp.dev/docs/routing/error-handling)
  • Test suite now runs through Alchemy

Fixed

  • Asset-version mismatches return 409 with X-Inertia-Location, so stale clients reload cleanly instead of breaking
  • Page props win over shared props of the same name
  • Inertia::share() only resolves closures, so shared values like 'time' pass through as values instead of being called

Changed

  • SSR responses expect both head and body, and no longer depend on leafs/fetch
  • Inertia now requires PHP 8.2+ and Illuminate ^11 | ^12 | ^13