Fix javascript error when submitting a form that has in progress uploads
Fix JS command :target failing to work when used as phx-submit or phx-change with a selector-based target
Fix JS.focus() failing to focus negative tabindex
Fix LiveViewTest failing to remove items after stream reset
Fix phx-window-blur and phx-window-focus events not firing
Fix SVG anchor links throwing errors when clicked
Enhancements
Speed up DOM patching performance 3-30x 🔥
Support handle_async Lifecycle callback
Extend visibility checks for phx-click-away to better handle whether an element is visible in the viewport or not
Allow JS.patch and JS.navigate to be tested with render_click
Support :supervisor option to assign_async and start_async
0.20.1 (2023-10-09)
Bug fixes
Fix error with live uploads auto_upload: true when a file fails to preflight
Fix error with live uploads where an early exit can cause a map key error
Fix match error on live navigation when reconnecting from client
Enhancements
Support new meta() method on File/Blob sublcasses on JavaScript client to allow the client to pass arbitrary metadata when using upload/uploadTo from hook. The %UploadEntry{}'s new client_meta field is populated from this information.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps phoenix_live_view from 0.20.0 to 0.20.2.
Changelog
Sourced from phoenix_live_view's changelog.
Commits
343911f
Release 0.20.20cb17d6
Bump build297a782
Optimize maybeHideFeedback for initial page render (#2953)744a3ab
Fix error on missing childdb964c5
Fix issue with new elements in stream DOM test (#2677)4ca4885
Bump changelog997af57
Add async supervised (#2818)2864bc0
Clarify return values of :external upload functions (#2821)639daf0
Bump build067b632
Use moudedown rather than clicks. Fixes #2856 #2554Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show