Skip to content

Latest commit

 

History

History
158 lines (92 loc) · 8.67 KB

CHANGELOG.md

File metadata and controls

158 lines (92 loc) · 8.67 KB

Release Notes

  • Nothing yet!

v1.3.0 - 2024-06-12

  • Add "always" props using new Inertia::always() wrapper (#627)
  • Revert dot-notation support in partial reloads (#641)

v1.2.0 - 2024-05-17

  • Make commands lazy (#601)
  • Add persistent properties (#621)
  • Exclude except props from partial reloads (#622)

v1.1.0 - 2024-05-16

  • Support dot notation in partial requests (#620)
  • Add $request->inertia() IDE helper (#625)

v1.0.0 - 2024-03-08

  • Add Laravel 11 support (#560, #564)
  • Fix URL generation (#592)
  • Remove deprecated Assert class and Laravel 6 & 7 support. (#594)

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)