Skip to content

Commit 07c863a

Browse files
committed
bumping CHANGELOG for 2.8
1 parent f71343a commit 07c863a

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed

src/Autocomplete/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# CHANGELOG
22

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+
311
## 2.7.0
412

513
- Add `assets/src` to `.gitattributes` to exclude them from the installation

src/Chartjs/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# CHANGELOG
22

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+
39
## 2.7.0
410

511
- The `chartjs:connect` JavaScript event now bubbles up.

src/LiveComponent/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,26 @@ public User $user;
1515

1616
- Better support for using arrays with `LiveProp`.
1717

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+
1822
- Added support for setting `writable` to a property that is an object
1923
(previously, only scalar values were supported). The object is passed
2024
through the serializer.
2125

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+
2238
## 2.7.0
2339

2440
- [BC BREAK]: The "key" used to load the controller in your `assets/controllers.json`

0 commit comments

Comments
 (0)