Skip to content

Commit b95f83e

Browse files
committed
Update doc for Symfny 7.4
1 parent 228b4ad commit b95f83e

File tree

2 files changed

+51
-1
lines changed

2 files changed

+51
-1
lines changed

docs/update_and_migration/from_5.0/update_from_5.0.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,56 @@ Additionally, you must remove the following line from your `.platform.app.yaml`
334334
curl -fs https://get.symfony.com/cloud/configurator | bash
335335
```
336336

337+
## v5.0.7
338+
339+
### Update Symfony from 7.3 to 7.4
340+
341+
With this version of [[= product_name =]], [Symfony 7.4](https://symfony.com/releases/7.4) is required.
342+
Update Symfony constraints in `composer.json` befre updating the packages.
343+
344+
1. In `composer.json`, update `extra.symfony.require` to allow installing higher Symfony version:
345+
346+
```json
347+
"extra": {
348+
"symfony": {
349+
"require": "7.4.*"
350+
}
351+
}
352+
```
353+
354+
2. Review your code, configuration, and third-party bundles for Symfony 7.4 compatibility.
355+
356+
3. Update packages by running:
357+
358+
=== "[[= product_name_headless =]]"
359+
360+
``` bash
361+
yarn upgrade @ibexa/frontend-config @ibexa/ts-config
362+
composer require ibexa/headless:v5.0.7 --with-all-dependencies --no-scripts
363+
composer recipes:install ibexa/headless --force -v
364+
```
365+
=== "[[= product_name_exp =]]"
366+
367+
``` bash
368+
yarn upgrade @ibexa/frontend-config @ibexa/ts-config
369+
composer require ibexa/experience:v5.0.7 --with-all-dependencies --no-scripts
370+
composer recipes:install ibexa/experience --force -v
371+
```
372+
=== "[[= product_name_com =]]"
373+
374+
``` bash
375+
yarn upgrade @ibexa/frontend-config @ibexa/ts-config
376+
composer require ibexa/commerce:v5.0.7 --with-all-dependencies --no-scripts
377+
composer recipes:install ibexa/commerce --force -v
378+
```
379+
380+
!!! tip
381+
382+
As part of the [array-based PHP configuratiom format](https://symfony.com/blog/new-in-symfony-7-4-better-php-configuration), a `config/reference.php` file will be created.
383+
You should commit this file to the repository.
384+
385+
For more details about the new version, see the official Symfony [upgrade instuctions](https://github.com/symfony/symfony/blob/7.4/UPGRADE-7.4.md) and [blog posts introducing this release]((https://symfony.com/blog/category/living-on-the-edge/8.0-7.4)).
386+
337387
## LTS Updates and additional packages
338388

339389
[LTS Updates](editions.md#lts-updates) are standalone packages with their own update procedures.

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1001,7 +1001,7 @@ extra:
10011001
latest_tag_4_6: '4.6.28'
10021002
latest_tag_5_0: '5.0.6'
10031003

1004-
symfony_doc: 'https://symfony.com/doc/7.3'
1004+
symfony_doc: 'https://symfony.com/doc/7.4'
10051005
user_doc: 'https://doc.ibexa.co/projects/userguide/en/5.0'
10061006
connect_doc: 'https://doc.ibexa.co/projects/connect/en/latest'
10071007

0 commit comments

Comments
 (0)