diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a307aea90..ad941fd026 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## 0.20.4 +## 0.20.4 (2024-02-01) ### Bug fixes * Fix phx-remove on sticky LiveViews @@ -12,6 +12,12 @@ * 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` @@ -21,6 +27,8 @@ * 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` ## 0.20.3 (2024-01-02) diff --git a/assets/package-lock.json b/assets/package-lock.json index 948d57857e..c527fb7d07 100644 --- a/assets/package-lock.json +++ b/assets/package-lock.json @@ -1,12 +1,12 @@ { "name": "phoenix_live_view", - "version": "0.20.3", + "version": "0.20.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "phoenix_live_view", - "version": "0.20.3", + "version": "0.20.4", "license": "MIT", "dependencies": { "morphdom": "2.7.2" diff --git a/assets/package.json b/assets/package.json index 1185d87280..aaee7d4612 100644 --- a/assets/package.json +++ b/assets/package.json @@ -1,6 +1,6 @@ { "name": "phoenix_live_view", - "version": "0.20.3", + "version": "0.20.4", "description": "The Phoenix LiveView JavaScript client.", "license": "MIT", "repository": {}, diff --git a/mix.exs b/mix.exs index e7be07a51d..0961299cfc 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule Phoenix.LiveView.MixProject do use Mix.Project - @version "0.20.3" + @version "0.20.4" def project do [ diff --git a/package.json b/package.json index 0b5fb52c01..f74f143109 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "phoenix_live_view", - "version": "0.20.3", + "version": "0.20.4", "description": "The Phoenix LiveView JavaScript client.", "license": "MIT", "module": "./priv/static/phoenix_live_view.esm.js",