petalframework / petal_components

Phoenix + Live View HEEX Components
https://petal.build/components
MIT License
767 stars 84 forks source link

Bump phoenix_live_view from 0.20.3 to 0.20.4 #296

Closed dependabot[bot] closed 4 months ago

dependabot[bot] commented 5 months ago

Bumps phoenix_live_view from 0.20.3 to 0.20.4.

Changelog

Sourced from phoenix_live_view's changelog.

0.20.4 (2024-02-01)

Bug fixes

  • Fix phx-remove on sticky LiveViews
  • Fix phx-disabled-with not restoring button disabled state on empty diff acknowledgement
  • Fix stream reset not ordering items correctly
  • Send {:shutdown, :cancel} to handle_async/3 on cancel_async
  • Prevent events from child LiveViews from bubbling up to root LiveView when child is not mounted yet
  • Fix phx-mounted being called twice for stream items
  • Never move existing stream items if they already exist (use stream_delete and then stream_insert instead)
  • Fix live component rendering breaking when the server adds a component back that was pruned by the client (#3026)
  • Allow redirect from upload progress callback
  • Fix nested components getting skipped when resetting a stream
  • Fix nested components getting skipped in LiveComponents
  • Fix stream limits not being applied correctly when bulk inserting
  • Fix click-away being called incorrectly on form submits
  • Fix inconsistencies between LiveViewTest and browser stream implementations
  • Fix phx-feedback-for being reapplied when there are multiple inputs with the same name

Enhancements

  • Add JS.toggle_class
  • Add JS.toggle_attribute
  • Force update select options when the options changed from the server while a select has focus
  • Introduce phx-feedback-group for handling feedback for composite input groups
  • Add validate_attrs to slots
  • Support phx-viewport bindings in scrollable containers
  • Perform client redirect when trying to live nav from dead client to avoid extra round trip
  • Allow regular buttons with name/value attributes to send form events and adjusted dynamic form documentation to reflect this
  • Allow form attribute on live_file_input
Commits


Dependabot compatibility score

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)
dependabot[bot] commented 4 months ago

Superseded by #300.