Releases: inertiajs/inertia-laravel
Releases · inertiajs/inertia-laravel
v2.0.2
What's Changed
- [2.x] Supports Laravel 12 by @crynobone in #709
- Add Inertia::deepMerge Method for Handling Complex Data Merges in Responses by @HichemTab-tech in #679
- Improve PHPDoc annotations for ResponseFactory class by @mohammadrasoulasghari in #723
- fix props that extends Responsable after closures / lazy props by @d8vjork in #722
- [2.x] Allow environment config for
ssr.enabled
,ssr.url
, andhistory.encrypt
by @bram-pkg in #714 - Replace
array_merge
with spread operator inmiddleware.stub
by @osbre in #710 - [2.x] Resolve Closure before checking if a prop implements the Arrayable contract by @rodrigopedra in #706
- Handle SSR URLs with trailing slashes by @simon-tma in #705
- [2.x] Call
toArray()
onArrayable
props resolved from the Container by @pascalbaljet in #696 - [2.x] Replace md5 with xxhash by @RobertBoes in #653
New Contributors
- @HichemTab-tech made their first contribution in #679
- @mohammadrasoulasghari made their first contribution in #723
- @d8vjork made their first contribution in #722
- @bram-pkg made their first contribution in #714
- @osbre made their first contribution in #710
- @simon-tma made their first contribution in #705
- @pascalbaljet made their first contribution in #696
Full Changelog: v2.0.1...v2.0.2
v2.0.1
- Allow Laravel 12.x.
Full Changelog: v2.0.0...v2.0.1
v2.0.0
- Add support for Inertia.js v2.0.0
- Add
Inertia::defer()
to support deferred props - Add
Inertia::merge()
to support merging props on client - Add
Inertia::always()
for props that should always be included (#627) - Add
Inertia::clearHistory()
andInertia::encryptHistory()
methods, encryption config, and encryption middleware - Deprecated
Inertia::lazy()
in favor ofInertia::optional()
- Drop support for Laravel 8 and 9 (#629)
v1.3.2
- [1.x] Fix PHP 8.4 deprecations by @JeppeKnockaert (#691)
- [1.x] Ensure Inertia Response generate also compatible with Inertia.js 2 by @crynobone (#692)
v1.3.1
- [1.x] Supports PHP 8.4 by @crynobone in #683
v1.3.0
v1.2.0
- [1.x] Make commands lazy by @timacdonald in #601
- [1.x] Persistent properties by @lepikhinb in #621
- [1.x] Exclude properties from partial responses by @lepikhinb in #622
v1.1.0
- Support dot notation in partial requests by @lepikhinb in #620
- [1.x] Add
$request->inertia()
IDE helper by @ycs77 in #625