Skip to content

Commit 5025b48

Browse files
authored
Merge branch 'symfony:7.3' into mappedrouteparameters
2 parents a73622e + 0d01dbc commit 5025b48

File tree

6 files changed

+36
-4
lines changed

6 files changed

+36
-4
lines changed

components/console/helpers/tree.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ inside your console command::
2727

2828
use Symfony\Component\Console\Attribute\AsCommand;
2929
use Symfony\Component\Console\Command\Command;
30+
use Symfony\Component\Console\Helper\TreeHelper;
31+
use Symfony\Component\Console\Helper\TreeNode;
3032
use Symfony\Component\Console\Input\InputInterface;
3133
use Symfony\Component\Console\Output\OutputInterface;
3234
use Symfony\Component\Console\Style\SymfonyStyle;
33-
use Symfony\Component\Console\Helper\TreeHelper;
34-
use Symfony\Component\Console\Helper\TreeNode;
3535

3636
#[AsCommand(name: 'app:some-command', description: '...')]
3737
class SomeCommand extends Command

contributing/core_team.rst

+2
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ Active Core Members
8686
* **Berislav Balogović** (`hypemc`_);
8787
* **Mathias Arlaud** (`mtarld`_);
8888
* **Florent Morselli** (`spomky`_);
89+
* **Tugdual Saunier** (`tucksaun`_);
8990
* **Alexandre Daubois** (`alexandre-daubois`_).
9091

9192
* **Security Team** (``@symfony/security`` on GitHub):
@@ -263,3 +264,4 @@ discretion of the **Project Leader**.
263264
.. _`mtarld`: https://github.com/mtarld/
264265
.. _`spomky`: https://github.com/spomky/
265266
.. _`alexandre-daubois`: https://github.com/alexandre-daubois/
267+
.. _`tucksaun`: https://github.com/tucksaun/

controller.rst

+5
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,11 @@ The ``MapQueryParameter`` attribute supports the following argument types:
371371
* ``float``
372372
* ``int``
373373
* ``string``
374+
* Objects that extend :class:`Symfony\\Component\\Uid\\AbstractUid`
375+
376+
.. versionadded:: 7.3
377+
378+
Support for ``AbstractUid`` objects was introduced in Symfony 7.3.
374379

375380
``#[MapQueryParameter]`` can take an optional argument called ``filter``. You can use the
376381
`Validate Filters`_ constants defined in PHP::

frontend/asset_mapper.rst

+9
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,15 @@ to add any `npm package`_:
215215
216216
$ php bin/console importmap:require bootstrap
217217
218+
.. tip::
219+
220+
Add the ``--dry-run`` option to simulate package installation without actually
221+
making any changes (e.g. ``php bin/console importmap:require bootstrap --dry-run``)
222+
223+
.. versionadded:: 7.3
224+
225+
The ``--dry-run`` option was introduced in Symfony 7.3.
226+
218227
This adds the ``bootstrap`` package to your ``importmap.php`` file::
219228

220229
// importmap.php

messenger.rst

+10-2
Original file line numberDiff line numberDiff line change
@@ -1288,8 +1288,8 @@ to retry them:
12881288
# see the 10 first messages
12891289
$ php bin/console messenger:failed:show --max=10
12901290
1291-
# see only MyClass messages
1292-
$ php bin/console messenger:failed:show --class-filter='MyClass'
1291+
# see only App\Message\MyMessage messages
1292+
$ php bin/console messenger:failed:show --class-filter='App\Message\MyMessage'
12931293
12941294
# see the number of messages by message class
12951295
$ php bin/console messenger:failed:show --stats
@@ -1312,6 +1312,9 @@ to retry them:
13121312
# remove all messages in the failure transport
13131313
$ php bin/console messenger:failed:remove --all
13141314
1315+
# remove only App\Message\MyMessage messages
1316+
$ php bin/console messenger:failed:remove --class-filter='App\Message\MyMessage'
1317+
13151318
If the message fails again, it will be re-sent back to the failure transport
13161319
due to the normal :ref:`retry rules <messenger-retries-failures>`. Once the max
13171320
retry has been hit, the message will be discarded permanently.
@@ -1321,6 +1324,11 @@ retry has been hit, the message will be discarded permanently.
13211324
The option to skip a message in the ``messenger:failed:retry`` command was
13221325
introduced in Symfony 7.2
13231326

1327+
.. versionadded:: 7.3
1328+
1329+
The option to filter by a message class in the ``messenger:failed:remove`` command was
1330+
introduced in Symfony 7.3
1331+
13241332
Multiple Failed Transports
13251333
~~~~~~~~~~~~~~~~~~~~~~~~~~
13261334

serializer.rst

+8
Original file line numberDiff line numberDiff line change
@@ -1387,6 +1387,14 @@ normalizers (in order of priority):
13871387
By default, an exception is thrown when data is not a valid backed enumeration. If you
13881388
want ``null`` instead, you can set the ``BackedEnumNormalizer::ALLOW_INVALID_VALUES`` option.
13891389

1390+
:class:`Symfony\\Component\\Serializer\\Normalizer\\NumberNormalizer`
1391+
This normalizer converts between :phpclass:`BcMath\\Number` or :phpclass:`GMP` objects and
1392+
strings or integers.
1393+
1394+
.. versionadded:: 7.2
1395+
1396+
The ``NumberNormalizer`` was introduced in Symfony 7.2.
1397+
13901398
:class:`Symfony\\Component\\Serializer\\Normalizer\\DataUriNormalizer`
13911399
This normalizer converts between :phpclass:`SplFileInfo` objects and a
13921400
`data URI`_ string (``data:...``) such that files can be embedded into

0 commit comments

Comments
 (0)