inertia-laravel@0.5.0

Published on January 7, 2022

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)