|
2 | 2 |
|
3 | 3 | ## 2.33 |
4 | 4 |
|
5 | | -- Add support for React 19. |
| 5 | +- Add support for React 19. |
6 | 6 |
|
7 | 7 | Dependencies `react` and `react-dom` need to be updated together to version `^19.0` if you want to use React 19. |
8 | 8 |
|
9 | 9 | ## 2.30 |
10 | 10 |
|
11 | | -- Ensure compatibility with PHP 8.5 |
| 11 | +- Ensure compatibility with PHP 8.5 |
12 | 12 |
|
13 | 13 | ## 2.29.0 |
14 | 14 |
|
15 | | -- Add Symfony 8 support |
| 15 | +- Add Symfony 8 support |
16 | 16 |
|
17 | 17 | ## 2.28.0 |
18 | 18 |
|
19 | | -- [BC BREAK] By modernizing our building tools, the file `dist/render_controller.js` now does not contain any useless |
20 | | - code related to `development` environment. |
| 19 | +- [BC BREAK] By modernizing our building tools, the file `dist/render_controller.js` now does not contain any useless |
| 20 | + code related to `development` environment. |
21 | 21 |
|
22 | 22 | This file is now smaller and faster to load, but the imported module changed from `react-dom` to `react-dom/client`: |
23 | 23 | - You **are not impacted** if you are using the Symfony AssetMapper and Symfony Flex, or Webpack Encore. |
24 | 24 | - You **are impacted** if you are using the Symfony AssetMapper but **not** Symfony Flex, you need to : |
| 25 | + |
25 | 26 | ```shell |
26 | 27 | php bin/console importmap:remove react-dom |
27 | 28 | php bin/console importmap:require react-dom/client |
28 | 29 | ``` |
29 | 30 |
|
30 | 31 | ## 2.26.0 |
31 | 32 |
|
32 | | -- Improve error handling when resolving a React component |
| 33 | +- Improve error handling when resolving a React component |
33 | 34 |
|
34 | 35 | ## 2.21.0 |
35 | 36 |
|
36 | | -- Add `permanent` option to the `react_component` Twig function, to prevent the |
37 | | - _unmounting_ when the component is deconnected and immediately re-connected |
| 37 | +- Add `permanent` option to the `react_component` Twig function, to prevent the |
| 38 | + _unmounting_ when the component is deconnected and immediately re-connected |
38 | 39 |
|
39 | 40 | ## 2.13.2 |
40 | 41 |
|
41 | | -- Revert "Change JavaScript package to `type: module`" |
| 42 | +- Revert "Change JavaScript package to `type: module`" |
42 | 43 |
|
43 | 44 | ## 2.13.0 |
44 | 45 |
|
45 | | -- Add Symfony 7 support. |
46 | | -- Change JavaScript package to `type: module` |
| 46 | +- Add Symfony 7 support. |
| 47 | +- Change JavaScript package to `type: module` |
47 | 48 |
|
48 | 49 | ## 2.9.0 |
49 | 50 |
|
50 | | -- Add support for symfony/asset-mapper |
| 51 | +- Add support for symfony/asset-mapper |
51 | 52 |
|
52 | | -- Replace `symfony/webpack-encore-bundle` by `symfony/stimulus-bundle` in dependencies |
| 53 | +- Replace `symfony/webpack-encore-bundle` by `symfony/stimulus-bundle` in dependencies |
53 | 54 |
|
54 | | -- Minimum PHP version is now 8.1 |
| 55 | +- Minimum PHP version is now 8.1 |
55 | 56 |
|
56 | 57 | ## 2.7.0 |
57 | 58 |
|
58 | | -- Add `assets/src` to `.gitattributes` to exclude source TypeScript files from |
59 | | - installing. |
| 59 | +- Add `assets/src` to `.gitattributes` to exclude source TypeScript files from |
| 60 | + installing. |
60 | 61 |
|
61 | | -- TypeScript types are now included. |
| 62 | +- TypeScript types are now included. |
62 | 63 |
|
63 | 64 | ## 2.6.0 |
64 | 65 |
|
65 | | -- [BC BREAK] The `assets/` directory was moved from `Resources/assets/` to `assets/`. Make |
66 | | - sure the path in your `package.json` file is updated accordingly. |
| 66 | +- [BC BREAK] The `assets/` directory was moved from `Resources/assets/` to `assets/`. Make |
| 67 | + sure the path in your `package.json` file is updated accordingly. |
67 | 68 |
|
68 | | -- The directory structure of the bundle was updated to match modern best-practices. |
| 69 | +- The directory structure of the bundle was updated to match modern best-practices. |
69 | 70 |
|
70 | 71 | ## 2.2 |
71 | 72 |
|
72 | | -- Component added |
| 73 | +- Component added |
0 commit comments