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

Bump phoenix_live_view from 0.19.5 to 0.20.1 #46

Merged
merged 2 commits into from
Oct 27, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 9, 2023

Bumps phoenix_live_view from 0.19.5 to 0.20.1.

Changelog

Sourced from phoenix_live_view's changelog.

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.
  • Improve void tagging and error messages

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/1
  • 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 propagate 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 assign_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>
Commits
  • 9adf28c Release 0.20.1
  • 773c7ad Release 0.20.1
  • afa4745 Bump ExDoc
  • 0eb983c Fix auto upload when there are entry errors (such as too large) (#2847)
  • 3341126 Depend on latest Plug and use more efficient query decoding
  • 1c6b997 Merge upload test files to reduce duplication
  • d75d14a Simplify branches
  • c0d9d7b Handle case where socket state is not yet initialized. Closes #2825
  • 9b26728 Bump build
  • e94c1b0 Also send meta when serializing form
  • Additional commits viewable in compare view

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.19.5 to 0.20.1.
- [Changelog](https://github.com/phoenixframework/phoenix_live_view/blob/main/CHANGELOG.md)
- [Commits](phoenixframework/phoenix_live_view@v0.19.5...v0.20.1)

---
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 Oct 9, 2023
@Flo0807 Flo0807 merged commit 3d15a84 into develop Oct 27, 2023
1 check passed
@dependabot dependabot bot deleted the dependabot/hex/phoenix_live_view-0.20.1 branch October 27, 2023 09:16
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.

1 participant