From b5032189bf10b58b3a138f4ce54e7ae3065507e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Noco=C5=84?= Date: Fri, 13 Dec 2024 11:10:03 +0100 Subject: [PATCH 1/4] [v4.6.15] Added mention about removed Symfony packs --- .../from_3.3/update_from_3.3.md | 12 ++++++++++++ .../from_4.6/update_from_4.6.md | 14 ++++++++++++++ mkdocs.yml | 2 +- 3 files changed, 27 insertions(+), 1 deletion(-) diff --git a/docs/update_and_migration/from_3.3/update_from_3.3.md b/docs/update_and_migration/from_3.3/update_from_3.3.md index 1a15b2d4f9..afd8746b40 100644 --- a/docs/update_and_migration/from_3.3/update_from_3.3.md +++ b/docs/update_and_migration/from_3.3/update_from_3.3.md @@ -514,6 +514,18 @@ Adjust the web server configuration to prevent direct access to the `index.php` See [the updated Apache and nginx template files](https://github.com/ibexa/post-install/pull/70/files) for more information. +### Removed `symfony/serializer-pack` dependency + +This release no longer directly requires the `symfony/serializer-pack` Composer dependency, which can remove some dependencies from your project during the update process. + +If you rely on them in your project and need to continue using them, run the following command before updating Ibexa packages: + +``` bash +composer require symfony/serializer-pack +``` + +and verify that Symfony Flex installs the versions you were using before. + ## Finish the update diff --git a/docs/update_and_migration/from_4.6/update_from_4.6.md b/docs/update_and_migration/from_4.6/update_from_4.6.md index d2092ead75..0ec2ffc0db 100644 --- a/docs/update_and_migration/from_4.6/update_from_4.6.md +++ b/docs/update_and_migration/from_4.6/update_from_4.6.md @@ -231,3 +231,17 @@ php bin/console ibexa:migrations:migrate --file=2024_07_25_07_00_non_translatabl Adjust the web server configuration to prevent direct access to the `index.php` file when using URLs consisting of multiple path segments. See [the updated Apache and nginx template files](https://github.com/ibexa/post-install/pull/70/files) for more information. + +## v4.6.15 + +### Removed `symfony/orm-pack` and `symfony/serializer-pack` dependencies + +This release no longer directly requires the `symfony/orm-pack` and `symfony/serializer-pack` Composer dependencies, which can remove some dependencies from your project during the update process. + +If you rely on them in your project and need to continue using them, run the following command before updating Ibexa packages: + +``` bash +composer require symfony/serializer-pack symfony/orm-pack +``` + +and verify that Symfony Flex installs the versions you were using before. diff --git a/mkdocs.yml b/mkdocs.yml index 982347503f..331bc103f1 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -929,7 +929,7 @@ extra: latest_tag_4_3: '4.3.5' latest_tag_4_4: '4.4.4' latest_tag_4_5: '4.5.7' - latest_tag_4_6: '4.6.14' + latest_tag_4_6: '4.6.15' symfony_doc: 'https://symfony.com/doc/5.4' user_doc: 'https://doc.ibexa.co/projects/userguide/en/master' From 6d9a07db36fc4781e3678c8b39c1a2d7567531c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Noco=C5=84?= Date: Fri, 13 Dec 2024 11:21:14 +0100 Subject: [PATCH 2/4] Vale suggestions --- docs/update_and_migration/from_3.3/update_from_3.3.md | 2 +- docs/update_and_migration/from_4.6/update_from_4.6.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/update_and_migration/from_3.3/update_from_3.3.md b/docs/update_and_migration/from_3.3/update_from_3.3.md index afd8746b40..6e15d40d4c 100644 --- a/docs/update_and_migration/from_3.3/update_from_3.3.md +++ b/docs/update_and_migration/from_3.3/update_from_3.3.md @@ -518,7 +518,7 @@ See [the updated Apache and nginx template files](https://github.com/ibexa/post- This release no longer directly requires the `symfony/serializer-pack` Composer dependency, which can remove some dependencies from your project during the update process. -If you rely on them in your project and need to continue using them, run the following command before updating Ibexa packages: +If you rely on them in your project and need to continue using them, run the following command before updating [[= product_name_base =]] packages: ``` bash composer require symfony/serializer-pack diff --git a/docs/update_and_migration/from_4.6/update_from_4.6.md b/docs/update_and_migration/from_4.6/update_from_4.6.md index 0ec2ffc0db..ad8906e541 100644 --- a/docs/update_and_migration/from_4.6/update_from_4.6.md +++ b/docs/update_and_migration/from_4.6/update_from_4.6.md @@ -238,7 +238,7 @@ See [the updated Apache and nginx template files](https://github.com/ibexa/post- This release no longer directly requires the `symfony/orm-pack` and `symfony/serializer-pack` Composer dependencies, which can remove some dependencies from your project during the update process. -If you rely on them in your project and need to continue using them, run the following command before updating Ibexa packages: +If you rely on them in your project and need to continue using them, run the following command before updating [[= product_name_base =]] packages: ``` bash composer require symfony/serializer-pack symfony/orm-pack From 0f1cd368ee9d4d79550aa9c081b762f706b18017 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Noco=C5=84?= Date: Fri, 13 Dec 2024 11:24:09 +0100 Subject: [PATCH 3/4] =?UTF-8?q?Added=20Pawe=C5=82's=20remark?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/update_and_migration/from_3.3/update_from_3.3.md | 2 +- docs/update_and_migration/from_4.6/update_from_4.6.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/update_and_migration/from_3.3/update_from_3.3.md b/docs/update_and_migration/from_3.3/update_from_3.3.md index 6e15d40d4c..9109193cae 100644 --- a/docs/update_and_migration/from_3.3/update_from_3.3.md +++ b/docs/update_and_migration/from_3.3/update_from_3.3.md @@ -518,7 +518,7 @@ See [the updated Apache and nginx template files](https://github.com/ibexa/post- This release no longer directly requires the `symfony/serializer-pack` Composer dependency, which can remove some dependencies from your project during the update process. -If you rely on them in your project and need to continue using them, run the following command before updating [[= product_name_base =]] packages: +If you rely on them in your project, for example by using Symfony's `ObjectNormalizer` to create your own REST endpoints, run the following command before updating [[= product_name_base =]] packages: ``` bash composer require symfony/serializer-pack diff --git a/docs/update_and_migration/from_4.6/update_from_4.6.md b/docs/update_and_migration/from_4.6/update_from_4.6.md index ad8906e541..b2c5779051 100644 --- a/docs/update_and_migration/from_4.6/update_from_4.6.md +++ b/docs/update_and_migration/from_4.6/update_from_4.6.md @@ -238,7 +238,7 @@ See [the updated Apache and nginx template files](https://github.com/ibexa/post- This release no longer directly requires the `symfony/orm-pack` and `symfony/serializer-pack` Composer dependencies, which can remove some dependencies from your project during the update process. -If you rely on them in your project and need to continue using them, run the following command before updating [[= product_name_base =]] packages: +If you rely on them in your project, for example by using Symfony's `ObjectNormalizer` to create your own REST endpoints, run the following command before updating [[= product_name_base =]] packages: ``` bash composer require symfony/serializer-pack symfony/orm-pack From 44a37e67920a2a5bdb64fed962f1b10860dc498d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Noco=C5=84?= Date: Fri, 13 Dec 2024 11:39:19 +0100 Subject: [PATCH 4/4] Applied review suggestion --- docs/update_and_migration/from_3.3/update_from_3.3.md | 2 +- docs/update_and_migration/from_4.6/update_from_4.6.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/update_and_migration/from_3.3/update_from_3.3.md b/docs/update_and_migration/from_3.3/update_from_3.3.md index 9109193cae..1f4152d0d7 100644 --- a/docs/update_and_migration/from_3.3/update_from_3.3.md +++ b/docs/update_and_migration/from_3.3/update_from_3.3.md @@ -524,7 +524,7 @@ If you rely on them in your project, for example by using Symfony's `ObjectNorma composer require symfony/serializer-pack ``` -and verify that Symfony Flex installs the versions you were using before. +Then, verify that Symfony Flex installed the versions you were using before. ## Finish the update diff --git a/docs/update_and_migration/from_4.6/update_from_4.6.md b/docs/update_and_migration/from_4.6/update_from_4.6.md index b2c5779051..35f17b353c 100644 --- a/docs/update_and_migration/from_4.6/update_from_4.6.md +++ b/docs/update_and_migration/from_4.6/update_from_4.6.md @@ -244,4 +244,4 @@ If you rely on them in your project, for example by using Symfony's `ObjectNorma composer require symfony/serializer-pack symfony/orm-pack ``` -and verify that Symfony Flex installs the versions you were using before. +Then, verify that Symfony Flex installed the versions you were using before.