Skip to content

Releases: hotwired-laravel/turbo-laravel

2.0.0-beta2

27 Dec 20:10

Choose a tag to compare

2.0.0-beta2 Pre-release
Pre-release

Changelog

  • NEW: New Blade components that allow configuring Turbo Drive behavior were added. See docs
  • CHANGED: The Blade components moved from the <x-turbo-* notation to <x-turbo::*; Besides looking better, the later format allows us to remove the PHP classes and use anonymous components instead. The 2.x upgrade guide was updated.

2.0.0-beta1

27 Nov 02:10
3334579

Choose a tag to compare

2.0.0-beta1 Pre-release
Pre-release

What's Changed

  • CHANGED: Renames the Code namespace and Composer/Packagist namespace by @tonysm in #112
  • NEW: Request::wasFromTurboFrame macro by @tonysm in #123
  • NEW: Adds the plural version of wantsTurboStream() macro for convenience by @tonysm in #124
  • NEW: Turbo frame testing helpers by @tonysm in #125
  • NEW: Send flash messages via query string on Turbo Native redirects (recede, resume, & refresh) by @tonysm in #127
  • NEW: Page Refreshes by @tonysm in #128
  • INTERNAL: Workbench Improvements by @crynobone in #117
  • INTERNAL: Workbench by @tonysm in #116

New Contributors

Full Changelog: 1.12.2...2.0.0-beta1


Upgrade guide can be found at https://turbo-laravel.com/docs/2.x/upgrade

1.12.2

13 May 16:50
8dc043a

Choose a tag to compare

What's Changed

  • Fix model broadcast was not being triggered when using model touching by @tonysm in #109
  • Ensure the install command properly configures the JS imports by @tonysm in #110

Full Changelog: 1.12.1...1.12.2

1.12.1

07 Apr 02:07
8a27373

Choose a tag to compare

What's Changed

  • Reuse Name instances to improve performance when using dom_id and dom_class functions (on my benchmarks, it went from 3.596μs to just 0.252μs) by @tobyzerner in #106

New Contributors

Full Changelog: 1.12.0...1.12.1

1.12.0

29 Mar 02:01
e5995e2

Choose a tag to compare

Changelog

  • FIXED: Fixes the redirect route guessing behavior when using form requests, since in that case, Laravel will set the exception's redirectTo, bypassing the guessing behavior. Thanks, @yttrian, for reporting it (see #105)
  • NEW: Adds a new redirect_guessing_exceptions config in the turbo-laravel.php for adding exceptions to the guessing behavior. The internal redirect will still happen when using this config, just not the route-guessing behavior.

1.11.1

07 Mar 18:57
300bacc

Choose a tag to compare

Changelog

  • FIXED: The TurboMiddleware was automatically registered to the "web" route group. But something must have changed in Laravel 10, and that was no longer working. The issue was fixed by prepending the middleware via the HTTP Kernel instead of via the Route facade. See #103

1.11.0

14 Feb 01:25
f175456

Choose a tag to compare

Changelog

  • CHANGED: Support for Laravel 10

1.10.0

01 Feb 12:19
37671cf

Choose a tag to compare

Changelog

  • CHANGED: Bumped Turbo.js to 7.2.5, Laravel Echo to 1.15.0, Pusher.js to 8.0.1, and Alpine.js to 3.11.1 in the turbo:install command (for new installs)

1.9.0

06 Jan 00:43
d068ee8

Choose a tag to compare

Changelog

  • NEW: Turbo Stream broadcasts are now decoupled from models! Testing broadcasts was also improved! (#97 and handmade broadcasts docs and testing broadcasts docs)
  • FIXED: The turbo-echo-stream-source custom HTML tag that ships with the package was not being able to connect to public channels (#98)

1.8.1

28 Dec 22:50
d3f5ad8

Choose a tag to compare

Changelog

  • FIXED: Ensure the published turbo-echo-stream-source custom HTML element is defined only once (d3f5ad8)

Note: Those that already have the custom element published may change the file manually.