Skip to content

Commit

Permalink
Release 0.20.7
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismccord committed Feb 15, 2024
1 parent 82d0956 commit 01423d0
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 16 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 0.20.7 (2024-02-15)

### Bug fixes
* Fix phx-skip containers leaking into DOM on first patch in some cases (#3117)
* Fix phx-feedback-for failing to be properly updated in some cases (#3122)


## 0.20.6 (2024-02-14)

### Bug fixes
Expand Down
4 changes: 2 additions & 2 deletions assets/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "phoenix_live_view",
"version": "0.20.6",
"version": "0.20.7",
"description": "The Phoenix LiveView JavaScript client.",
"license": "MIT",
"repository": {},
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Phoenix.LiveView.MixProject do
use Mix.Project

@version "0.20.6"
@version "0.20.7"

def project do
[
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "phoenix_live_view",
"version": "0.20.6",
"version": "0.20.7",
"description": "The Phoenix LiveView JavaScript client.",
"license": "MIT",
"module": "./priv/static/phoenix_live_view.esm.js",
Expand Down
4 changes: 2 additions & 2 deletions priv/static/phoenix_live_view.cjs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions priv/static/phoenix_live_view.cjs.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions priv/static/phoenix_live_view.esm.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions priv/static/phoenix_live_view.esm.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions priv/static/phoenix_live_view.js
Original file line number Diff line number Diff line change
Expand Up @@ -2207,8 +2207,6 @@ removing illegal node: "${(childNode.outerHTML || childNode.nodeValue).trim()}"
},
onBeforeNodeAdded: (el) => {
dom_default.maybeAddPrivateHooks(el, phxViewportTop, phxViewportBottom);
if (dom_default.isFeedbackContainer(el, phxFeedbackFor))
feedbackContainers.push(el);
this.trackBefore("added", el);
let morphedEl = el;
if (!isJoinPatch && this.streamComponentRestore[el.id]) {
Expand All @@ -2222,6 +2220,8 @@ removing illegal node: "${(childNode.outerHTML || childNode.nodeValue).trim()}"
if (el.getAttribute) {
this.maybeReOrderStream(el, true);
}
if (dom_default.isFeedbackContainer(el, phxFeedbackFor))
feedbackContainers.push(el);
if (el instanceof HTMLImageElement && el.srcset) {
el.srcset = el.srcset;
} else if (el instanceof HTMLVideoElement && el.autoplay) {
Expand Down
2 changes: 1 addition & 1 deletion priv/static/phoenix_live_view.min.js

Large diffs are not rendered by default.

0 comments on commit 01423d0

Please sign in to comment.