phoenix_live_view 0.14.5 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +37 -0
- package/assets/js/phoenix_live_view.js +569 -56
- package/package.json +1 -1
- package/priv/static/phoenix_live_view.js +1 -1
- package/assets/package.json +0 -35
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,42 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.15.0 (2020-11-20)
|
|
4
|
+
|
|
5
|
+
### Enhancements
|
|
6
|
+
- Add live uploads support for file progress, interactive file selection, and direct to cloud support
|
|
7
|
+
- Implement `Phoenix.LiveViewTest.open_browser/2` that opens up a browser with the LiveView page
|
|
8
|
+
|
|
9
|
+
### Backwards incompatible changes
|
|
10
|
+
- Remove `@inner_content` in components and introduce `render_block` for rendering component `@inner_block`
|
|
11
|
+
- Remove `@live_module` in socket templates in favor of `@socket.view`
|
|
12
|
+
|
|
13
|
+
### Bug fixes
|
|
14
|
+
- Make sure URLs are decoded after they are split
|
|
15
|
+
- Do not recover forms without inputs
|
|
16
|
+
- Fix race condition when components are removed and then immediately re-added before the client can notify their CIDs have been destroyed
|
|
17
|
+
- Do not render LiveView if only events/replies have been added to the socket
|
|
18
|
+
- Properly merge different components when sharing component subtrees on initial render
|
|
19
|
+
- Allow variables inside do-blocks to be tainted
|
|
20
|
+
- Fix `push_redirect` from mount hanging on the client and causing a fallback to full page reload when following a clicked `live_redirect` on the client
|
|
21
|
+
|
|
22
|
+
## 0.14.8 (2020-10-30)
|
|
23
|
+
|
|
24
|
+
### Bug fixes
|
|
25
|
+
- Fix compatiblity with latest Plug
|
|
26
|
+
|
|
27
|
+
## 0.14.7 (2020-09-25)
|
|
28
|
+
|
|
29
|
+
### Bug fixes
|
|
30
|
+
- Fix `redirect(socket, external: ...)` when returned from an event
|
|
31
|
+
- Properly follow location hashes on live patch/redirect
|
|
32
|
+
- Fix failure in `Phoenix.LiveViewTest` when phx-update has non-HTML nodes as children
|
|
33
|
+
- Fix `phx_trigger_action` submitting the form before the DOM updates are complete
|
|
34
|
+
|
|
35
|
+
## 0.14.6 (2020-09-21)
|
|
36
|
+
|
|
37
|
+
### Bug fixes
|
|
38
|
+
- Fix race condition on `phx-trigger-action` causing reconnects before server form submit
|
|
39
|
+
|
|
3
40
|
## 0.14.5 (2020-09-20)
|
|
4
41
|
|
|
5
42
|
### Enhancements
|