You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The domId method was removed from the TurboFacade. Prefer using the namespaced helper function dom_id instead
Changed
The response()->turboStreamView() now has an alternative syntax and accepts the view name and a second parameter for the view data when using this syntax. For IDE users, I would recommend using turboStreamView(view()) for better auto-completion, but the new syntax might feel better
The documentation was updated and moved to a docs/ folder (still using simple markdown files, though)
Refactored the route redirection
Added a new @domclass helper, which can also be used to generate DOM classes from Eloquent Models
Added
Adds test to solidify that soft-deletes will be handled as regular deletes. I thought this could be handled differently, but it should really be treated like a regular delete and in applications where you need to handle it differently (like updating the model on the page with a deleted badge or something instead of removing it) you can implement that on the {resource}/turbo/deleted_stream.blade.php view.