You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #3056 [UX3] Start an UPGRADE file (smnandre)
This PR was merged into the 3.x branch.
Discussion
----------
[UX3] Start an UPGRADE file
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| Docs? | yes
| Issues | Fix #...
| License | MIT
We can either work with this MR or merge it in the 3.x branch (and then update the doc along the way)
I'd rather do the "merge" one but open to opinions here :)
Commits
-------
a6bb1df Add UPGRADE-3.0.md file
Copy file name to clipboardExpand all lines: src/TwigComponent/CHANGELOG.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,13 @@
4
4
5
5
- Minimum required Symfony version is now 6.4
6
6
- Minimum required PHP version is now 8.2
7
+
- The configuration `twig_component.defaults` could not be nullable anymore
8
+
- Remove method `PreCreateForRenderEvent::getProps()` in favor of `PreCreateForRenderEvent::getInputProps()`
9
+
- Remove `cva` Twig function in favor of [`html_cva` Twig function from `twig/html-extra`](https://twig.symfony.com/html_cva)
10
+
- Passing `null` as an attribute value when using `ComponentAttributes` (or `attributes` Twig variable) will now throw an exception, use `remove()` instead
11
+
- Remove method `ComponentAttributes::add()`, use `{{ attributes.defaults(stimulus_controller('...')) }}` instead
12
+
- The `ComponentTemplateFinder` does not accept `Twig\Environment` as first argument anymore, pass a `LoaderInterface` instead
13
+
- The `ComponentTemplateFinder` does not accept a nullable `directory` argument anymore, pass a string instead
0 commit comments