Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump phoenix_live_view from 0.16.4 to 0.20.0 #945

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 22, 2023

Bumps phoenix_live_view from 0.16.4 to 0.20.0.

Changelog

Sourced from phoenix_live_view's changelog.

0.20.0 (2023-09-22)

Deprecations

  • Deprecate the ~L sigil in favor of ~H
  • Deprecate preload/1 in LiveComponent in favor of update_many/2
  • Deprecate live_component/2-3 in favor of <.live_component />
  • Deprecate live_patch in favor of <.link patch={...} />
  • Deprecate live_redirect in favor of <.link navigate={...} />
  • Deprecate live_title_tag in favor of <.live_title />

Backwards incompatible changes

  • Remove previously deprecated render_block/2 in favor of render_slot/2
  • Remove previously deprecated live_img_preview/2 in favor of <.live_img_preview />
  • Remove previously deprecated live_file_input/2 in favor of <.live_file_input />

Bug fixes

  • Fix uploads with auto_upload: true failing to propegate errors when any individual entry is invalid
  • Fix uploads with auto_upload: true failing to auto upload valid entries errors when any individual entry is invalid
  • Fix error on form recovery with auto_upload: true
  • Fix issue on form recovery where hidden inputs would be selected by mistake
  • Fix form recovery when phx-change is a JS command
  • Fix stream reset on nested live components with nested streams.
  • Fix window location resetting to null when using nested LiveView on connection error
  • Fix anchors within contenteditable causing LiveSocket disconnects

Enhancements

  • Add heex debug annotations via config :phoenix_live_view, :debug_heex_annotations: true, which provides special HTML comments that wrap around rendered components to help you identify where markup in your HTML document is rendered within your function component tree
  • Add assync_async, start_async, <.async_result> and, AsyncResult for declaratively handling async operations in a LiveView or LiveComponent.
  • Supporting passing @myself for Phoenix.LiveView.send_update/3
  • Support change tracking on Access.get
  • Allow overriding id of <.live_img_preview>

0.19.5 (2023-07-19)

Backwards incompatible changes

  • The close/1 callback of Phoenix.LiveView.UploadWriter is now close/2 with the close reason passed as the second argument.
  • The write_chunk callback of Phoenix.LiveView.UploadWriter must now return the updated writer state when an error occurs. Instead of {:error, reason}, return {:error, reason, new_state}.

Enhancements

  • Pass close reason to Phoenix.LiveView.UploadWriter close.
  • Dispatch phx:navigate window events when LiveView changes the history state

Bug fixes

  • Call Phoenix.LiveView.UploadWriter close callback when LiveView goes down or connection is lost
  • Fix JS.patch to a Phoenix router scope with :host causing errors
  • Fix immediate navigation after patch not updating URL
  • Fix stream reset on nested streams inside live components causing nested stream children to be removed

0.19.4 (2023-07-10)

... (truncated)

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 <dependency name> 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](https://github.com/phoenixframework/phoenix_live_view) from 0.16.4 to 0.20.0.
- [Changelog](https://github.com/phoenixframework/phoenix_live_view/blob/main/CHANGELOG.md)
- [Commits](phoenixframework/phoenix_live_view@v0.16.4...v0.20.0)

---
updated-dependencies:
- dependency-name: phoenix_live_view
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file elixir Pull requests that update Elixir code labels Sep 22, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 11, 2023

Superseded by #947.

@dependabot dependabot bot closed this Oct 11, 2023
@dependabot dependabot bot deleted the dependabot/hex/phoenix_live_view-0.20.0 branch October 11, 2023 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file elixir Pull requests that update Elixir code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants