Skip to content

Latest commit

 

History

History
141 lines (81 loc) · 7.45 KB

CHANGELOG.md

File metadata and controls

141 lines (81 loc) · 7.45 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.

  • Nothing!

v0.6.11 - 2023-09-13

  • Add option for using the bun runtime in SSR (#552)

v0.6.10 - 2023-09-13

  • Add inertia_location helper function (#491)
  • Add Route::inertia() IDE helper (#413)
  • Automatically update Facade docblocks (#538)
  • Restore request and session on redirects (#539)
  • Add PHP 8.3 support (#540)

v0.6.9 - 2023-01-17

  • Conditionally use pcntl extension in inertia:start-ssr command (#492)

v0.6.8 - 2023-01-14

  • Reintroduce inertia.ssr.enabled config option (#488)
  • Fix bug where SSR is dispatched twice when errors exist (#489)

v0.6.7 - 2023-01-12

  • Report SSR errors (#486)
  • Auto enable SSR based on existence of SSR bundle (#487)

v0.6.6 - 2023-01-11

  • Add inertia:start-ssr and inertia:stop-ssr artisan commands (#483)

v0.6.5 - 2023-01-10

  • Add Laravel v10 support (#480)

v0.6.4 - 2022-11-08

  • Add PHP 8.2 support (#463)

v0.6.3 - 2022-06-27

  • Check Vite manifest path (build/manifest.json) when determining the current asset version (#399)

v0.6.2 - 2022-05-24

  • Switch to using the Vary: X-Inertia header (#404)
  • Fix bug with incompatible $request->header() method (#404)

v0.6.1 - 2022-05-24

  • Set Vary: Accept header for all responses (#398)
  • Only register Blade directives when actually needed (#395)

v0.6.0 - 2022-05-10

Added

  • Inertia now redirects back by default when no response is returned from a controller (#350)
  • The Middleware has an overridable onEmptyResponse hook to customize the default 'redirect back' behavior (#350)

Changed

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

Fixed

  • Fixed namespace issue with Route::inertia() method (#368)
  • Added session check when sharing validation errors (#380)
  • Fixed docblock on facade render method (#387)

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)