All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Inertia now redirects back by default when no response is returned from a controller (#350)
- The Middleware has an overrideable
onEmptyResponse
hook to customize the default 'redirect back' behaviour (#350)
- Internal: Replaced the Middleware's
checkVersion
method with anonVersionChange
hook (#350)
v0.5.4 - 2022-01-18
.tsx
extension is now included to the testing paths by default (#354)
- Dot-notated props weren't being removed after unpacking (507b0a)
v0.5.3 - 2022-01-17
- Incorrect
Arrayable
type-hint (#353) - Pagination with API Resources and other nested props weren't resolving properly (#342, #298)
v0.5.2 - 2022-01-12
- Laravel 9 Support (#347)
- Respect
X-Forwarded-For
header (#333)
v0.5.1 - 2022-01-07
- When the SSR Server crashes, a
null
response will be returned, which wasn't being handled properly (7d7d89)
v0.5.0 - 2022-01-07
- PHP 8.1 Support (#327)
- Allow
Inertia::location
to be called with aRedirectResponse
(#302) - Support Guzzle Promises (#316)
- Server-side rendering support (
@inertiaHead
directive) (#339) - Allow custom
@inertia
root element ID (e.g.@inertia('foo')
-><div id="foo" data-page="...
) (#339)
- We now keep a changelog here on GitHub 🎉 For earlier releases, please see the releases page of inertiajs.com.
- Add PHP native type declarations (#301, #337)
- Deprecate
Assert
library in favor of Laravel's AssertableJson (#338)
- Laravel 5.4 Support (#327)