From cb9ad198acc62f68b410cf0fbb02d31212b746c4 Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Tue, 30 Jan 2024 09:41:41 -0500 Subject: [PATCH] Prepping changelogs for 2.14.0 --- src/Autocomplete/CHANGELOG.md | 10 +++++++++- src/Chartjs/CHANGELOG.md | 4 ++-- src/LiveComponent/CHANGELOG.md | 18 ++++++++++++++++-- src/StimulusBundle/CHANGELOG.md | 2 +- src/TwigComponent/CHANGELOG.md | 6 ++++-- 5 files changed, 32 insertions(+), 8 deletions(-) diff --git a/src/Autocomplete/CHANGELOG.md b/src/Autocomplete/CHANGELOG.md index 6f120b75c2c..905b13d4510 100644 --- a/src/Autocomplete/CHANGELOG.md +++ b/src/Autocomplete/CHANGELOG.md @@ -1,8 +1,16 @@ # CHANGELOG -## Unreleased +## 2.14.0 +- Fixed behavior of Autocomplete when the underlying `select` or `option` + elements were modified to hopefully, more reliably, reset the autocomplete + instance. This is particularly important with LiveComponents. - Add support for the `render.loading_more` Tom Select Virtual Scroll option (`loading_more_text`) +- Avoid losing the selected options when the Stimulus component is disconnected + and reconnected to the DOM. +- Added `tom-select/dist/css/tom-select.bootstrap4.css` to `autoimport` - this + will cause this to appear in your `controllers.json` file by default, but disabled + see. ## 2.13.2 diff --git a/src/Chartjs/CHANGELOG.md b/src/Chartjs/CHANGELOG.md index f1bd94354c8..0e83ec18bee 100644 --- a/src/Chartjs/CHANGELOG.md +++ b/src/Chartjs/CHANGELOG.md @@ -1,12 +1,12 @@ # CHANGELOG -## Unreleased +## 2.14.0 - Add support for Chart.js version 4 ## 2.13.2 -- Changee "module" key back to "main" in package.json +- Change "module" key back to "main" in package.json ## 2.13.1 diff --git a/src/LiveComponent/CHANGELOG.md b/src/LiveComponent/CHANGELOG.md index 0f21bfead6d..f68755f58cc 100644 --- a/src/LiveComponent/CHANGELOG.md +++ b/src/LiveComponent/CHANGELOG.md @@ -3,11 +3,25 @@ ## 2.14.0 - Add support for URL binding in `LiveProp` -- Allow multiple `LiveListener` attributes on a single method. +- DOM morphing changed from `morphdom` to `idiomorph` +- Allow multiple `LiveListener` attributes on a single method - Requests to LiveComponent are sent as POST by default - Add method prop to AsLiveComponent to still allow GET requests, usage: `#[AsLiveComponent(method: 'get')]` - Add a new `urlReferenceType` parameter to `AsLiveComponent`, which allows to - generate different type URL (e.g. absolute) for the component Ajax calls. + generate different type URL (e.g. absolute) for the component Ajax calls +- The `symfony/serializer` dependency is now optional +- Added a `data-skip-morph` attribute to allow skipping morphing of an element + (the element's attributes will be morphed, but its inner HTML will be overwritten + instead of morphed) +- Added an entry to the packages' `package.json` file so that `@symfony/ux-live-component` + will appear in the user's `importmap.php` file if using AssetMapper. This + will allow using the JavaScript from the package without extra setup. +- Fixed edge-case rendering bug where a 2nd Ajax request might start before + the 1st finished processing +- Fix usage of `{% embed %}` with `{% block %}` in `` components +- Fixed `data-loading` not working when on root element of a component +- Fixed error when `class` attributes contained a space at start or end +- Fixed loading directives being matched in a child component ## 2.13.2 diff --git a/src/StimulusBundle/CHANGELOG.md b/src/StimulusBundle/CHANGELOG.md index 5828d403fea..cfd9fff13a8 100644 --- a/src/StimulusBundle/CHANGELOG.md +++ b/src/StimulusBundle/CHANGELOG.md @@ -1,6 +1,6 @@ # CHANGELOG -## 2.x +## 2.14.0 - Added Typescript controllers support diff --git a/src/TwigComponent/CHANGELOG.md b/src/TwigComponent/CHANGELOG.md index e924524ce17..50f1e35815e 100644 --- a/src/TwigComponent/CHANGELOG.md +++ b/src/TwigComponent/CHANGELOG.md @@ -1,8 +1,10 @@ # CHANGELOG -## Unreleased +## 2.14.0 -- Make `ComponentAttributes` traversable/countable. +- Make `ComponentAttributes` traversable/countable +- Fixed lexing some `{# twig comments #}` with HTML Twig syntax +- Fix various usages of deprecated Twig code ## 2.13.0