File tree Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 1
1
# CHANGELOG
2
2
3
+ ## 2.8.0
4
+
5
+ - The autocomplete will now update if any of the ` option ` elements inside of
6
+ it change, including the empty / placeholder element. Additionally, if the
7
+ ` select ` or ` input ` element's ` disabled ` attribute changes, the autocomplete
8
+ instance will update accordingly. This makes Autocomplete work perfectly inside
9
+ of a LiveComponent.
10
+
3
11
## 2.7.0
4
12
5
13
- Add ` assets/src ` to ` .gitattributes ` to exclude them from the installation
Original file line number Diff line number Diff line change 1
1
# CHANGELOG
2
2
3
+ ## 2.8.0
4
+
5
+ - The chart will now automatically re-render if the ` view ` Stimulus value
6
+ (i.e. the ` data-symfony--ux-chartjs--chart-view-value ` attribute) changes.
7
+ This makes Chart.js work perfectly inside of a LiveComponent.
8
+
3
9
## 2.7.0
4
10
5
11
- The ` chartjs:connect ` JavaScript event now bubbles up.
Original file line number Diff line number Diff line change @@ -15,10 +15,26 @@ public User $user;
15
15
16
16
- Better support for using arrays with ` LiveProp ` .
17
17
18
+ - Smart rendering system! If you have JavaScript that makes changes to
19
+ the DOM inside a live component, those changes will now be _ kept_ when
20
+ the component is re-rendered. This has limitations - see the documentation.
21
+
18
22
- Added support for setting ` writable ` to a property that is an object
19
23
(previously, only scalar values were supported). The object is passed
20
24
through the serializer.
21
25
26
+ - Invalid data sent by the user is now handled in a robust way. Previously,
27
+ if the user sent invalid data (e.g. a string for a ` LiveProp ` that has
28
+ an ` int ` type), the component update would break. Now, if the new data
29
+ cannot be hydrated onto the object during a re-render, the last valid
30
+ value is used.
31
+
32
+ - Several bug fixes to parent - child components - see #700 .
33
+
34
+ - Fixed handling of boolean attributes to a component - see #710 .
35
+
36
+ - Fixed performance calculating component fingerprint for large components.
37
+
22
38
## 2.7.0
23
39
24
40
- [ BC BREAK] : The "key" used to load the controller in your ` assets/controllers.json `
You can’t perform that action at this time.
0 commit comments