Skip to content

Latest commit

 

History

History
79 lines (45 loc) · 3.89 KB

CHANGELOG.md

File metadata and controls

79 lines (45 loc) · 3.89 KB

Changelog

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.

Added

  • 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)

Changed

  • Internal: Replaced the Middleware's checkVersion method with an onVersionChange hook (#350)

v0.5.4 - 2022-01-18

Added

  • .tsx extension is now included to the testing paths by default (#354)

Fixed

  • Dot-notated props weren't being removed after unpacking (507b0a)

v0.5.3 - 2022-01-17

Fixed

  • 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

Added

  • Laravel 9 Support (#347)

Fixed

  • Respect X-Forwarded-For header (#333)

v0.5.1 - 2022-01-07

Fixed

  • When the SSR Server crashes, a null response will be returned, which wasn't being handled properly (7d7d89)

v0.5.0 - 2022-01-07

Added

  • PHP 8.1 Support (#327)
  • Allow Inertia::location to be called with a RedirectResponse (#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)

Changed

Deprecated

  • Deprecate Assert library in favor of Laravel's AssertableJson (#338)

Removed

  • Laravel 5.4 Support (#327)

Fixed

  • Transform Responsable props to arrays instead of objects (#265)
  • Inertia::location(): Fall back to regular redirects when a direct (non-Inertia) visit was made (#312)
  • Use correct types for Resources (#214)