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

Mise à jour "majeure" LiveView (0.19 -> 0.20) à prévoir #3831

Closed
9 tasks done
thbar opened this issue Mar 21, 2024 · 1 comment · Fixed by #3956
Closed
9 tasks done

Mise à jour "majeure" LiveView (0.19 -> 0.20) à prévoir #3831

thbar opened this issue Mar 21, 2024 · 1 comment · Fixed by #3956
Assignees
Labels
dette technique Entretien & maintenance générale, nécessaire pour que le code reste de bonne qualité

Comments

@thbar
Copy link
Contributor

thbar commented Mar 21, 2024

Suite de:

Changelog : https://hexdocs.pm/phoenix_live_view/changelog.html#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 />
@thbar thbar added the dette technique Entretien & maintenance générale, nécessaire pour que le code reste de bonne qualité label Mar 21, 2024
@thbar
Copy link
Contributor Author

thbar commented May 16, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dette technique Entretien & maintenance générale, nécessaire pour que le code reste de bonne qualité
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants