Enhancements
- Allow cancelling client-side navigation (#4332)
You can now listen for thephx:before-navigateevent and callevent.preventDefault()to cancel the navigation synchronously.
This is mostly useful to prevent a "do you really want to leave" scenario when a user has unsaved changes, combined with abeforeunloadlistener. - Sign LiveView upload tokens as
:localto avoid node names being included in the token - Ensure async tasks exit gracefully in LiveView tests (#4348)
- Allow opting focused form elements into DOM patching (#4339)