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.5 #300

Closed dependabot[bot] closed 4 months ago

dependabot[bot] commented 4 months ago

Bumps phoenix_live_view from 0.20.3 to 0.20.5.

Changelog

Sourced from phoenix_live_view's changelog.

0.20.5 (2024-02-08)

Deprecations

  • Deprecate phx-feedback-group

Bug fixes

  • Fix blur event on phx-debounce being dispatched incorrectly
  • Fix open_browser not working on WSL for project under unix FS
  • Match browser stream insert ordering behavior in LiveViewTest
  • Fix phx-click-away not working when element is partially hidden
  • Fix phx-feedback-for classes not being applied in some cases
  • Fix form submitter failing to be sent as key/value pair in some cases
  • Fix null form reference causing errors on some DOM patches

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

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (acc2651) 83.06% compared to head (bd01d51) 83.06%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #300 +/- ## ======================================= Coverage 83.06% 83.06% ======================================= Files 31 31 Lines 1181 1181 ======================================= Hits 981 981 Misses 200 200 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

dependabot[bot] commented 4 months ago

Superseded by #302.