303 Commits

Author SHA1 Message Date
aaa2000
295b72dcdf Update versionadded directive for NumberNormalizer
See the symfony/serializer changelog https://github.com/symfony/serializer/blob/7.3/CHANGELOG.md#73

```
7.3
....
Add NumberNormalizer to normalize BcMath\Number and GMP as string
```
2025-11-25 19:16:43 +01:00
Javier Eguiluz
5072de72fe Minor tweak 2025-11-25 08:27:51 +01:00
HypeMC
4fb1a4facd [Serializer] Named serializer normalizers are no longer added to defualt 2025-11-24 22:23:23 +01:00
Oskar Stark
3da95794c6 Merge branch '6.4' into 7.3
* 6.4:
  [Serializer] Add missing json parameter
2025-11-13 13:30:19 +01:00
javenlalla
df65e9f4a3 [Serializer] Add missing json parameter
In the `Deserializing Input Partially (Unwrapping)` section, the code sample is missing the `'json'` format specifier as the third argument when calling `deserialize`.

This commit adds the missing format value into the function call of the code sample.

Function signature: https://github.com/symfony/symfony/blob/6.4/src/Symfony/Component/Serializer/Serializer.php#L146

Page: https://symfony.com/doc/6.4/serializer.html#deserializing-input-partially-unwrapping
2025-11-13 11:12:50 +01:00
Oskar Stark
6373857f33 Merge branch '6.4' into 7.3
* 6.4:
  Fix typo
2025-09-15 10:45:49 +02:00
$!m0n
91c826ddbf Fix typo
Fix typo on variable name (uppercase)
2025-09-15 10:45:34 +02:00
Javier Eguiluz
26b76c063e Merge branch '6.4' into 7.3
* 6.4:
  Fix normalization format constants in serializer.rst
2025-09-10 16:51:21 +02:00
Emanuele Panzeri
604bfce31d Fix normalization format constants in serializer.rst 2025-09-10 16:50:43 +02:00
Javier Eguiluz
e946b313b5 Rewords 2025-07-25 13:20:13 +02:00
Javier Eguiluz
b2258790f5 minor #20486 [JsonEncoder] [JsonStreamer] Add streaming JSON documentation (mtarld)
This PR was merged into the 7.3 branch.

Discussion
----------

[JsonEncoder] [JsonStreamer] Add streaming JSON documentation

Fixes #20461, #20708, #20676, #20598, #20572

Commits
-------

297146e50 [Serializer] [JsonStreamer] Add streaming JSON documentation
2025-07-25 12:09:29 +02:00
Javier Eguiluz
ddbbda2ff0 Merge branch '7.2' into 7.3
* 7.2:
  Fix a minor RST syntax issue
  Improve grammar and expressions for American English
2025-07-09 08:43:11 +02:00
Javier Eguiluz
78b9a86231 Merge branch '6.4' into 7.2
* 6.4:
  Fix a minor RST syntax issue
  Improve grammar and expressions for American English
2025-07-09 08:43:00 +02:00
copilot-swe-agent[bot]
6914778eef Improve grammar and expressions for American English 2025-07-09 08:32:14 +02:00
Mathias Arlaud
297146e508 [Serializer] [JsonStreamer] Add streaming JSON documentation 2025-06-27 14:03:32 +02:00
Javier Eguiluz
6b799ff790 Merge branch '7.2' into 7.3
* 7.2:
  [Serializer] Fix YAML normalizationContext and denormalizationContext names
2025-05-29 15:59:33 +02:00
Javier Eguiluz
6780017cd2 Merge branch '6.4' into 7.2
* 6.4:
  [Serializer] Fix YAML normalizationContext and denormalizationContext names
2025-05-29 15:59:33 +02:00
Antoine Lamirault
47988f995b [Serializer] Fix YAML normalizationContext and denormalizationContext names 2025-05-29 13:19:16 +02:00
Javier Eguiluz
2a8ffcb3a3 Merge branch '6.4' into 7.2
* 6.4:
  Tweaks
  [Serializer] (re)document PRESERVE_EMPTY_OBJECTS
2025-04-14 10:41:04 +02:00
Javier Eguiluz
44d5b34e4e Merge branch '7.2' into 7.3
* 7.2:
  Tweaks
  [Serializer] (re)document PRESERVE_EMPTY_OBJECTS
2025-04-14 10:41:04 +02:00
Javier Eguiluz
e384239df4 Tweaks 2025-04-14 10:40:54 +02:00
Antoine M
ce286296c4 [Serializer] (re)document PRESERVE_EMPTY_OBJECTS 2025-04-14 10:38:18 +02:00
Javier Eguiluz
6e05fe72da Merge branch '7.2' into 7.3
* 7.2:
  Update dynamic_form_modification.rst
  Minor tweaks
  [Serializer] Update serializer.rst
2025-04-03 09:39:21 +02:00
Javier Eguiluz
572533fc1f Merge branch '6.4' into 7.2
* 6.4:
  Update dynamic_form_modification.rst
  Minor tweaks
  [Serializer] Update serializer.rst
2025-04-03 09:39:21 +02:00
Javier Eguiluz
5e6d3b08c2 Minor tweaks 2025-04-03 09:12:44 +02:00
Adam Prancz
0ff840444f [Serializer] Update serializer.rst 2025-04-03 09:10:41 +02:00
Javier Eguiluz
16d7666408 Merge branch '7.2' into 7.3
* 7.2:
  Minor tweaks
  [Serializer] Document named serializers
2025-04-01 09:05:12 +02:00
Javier Eguiluz
bffad6daf4 Minor tweaks 2025-04-01 09:05:00 +02:00
Javier Eguiluz
bc3412b334 Fix syntax issue 2025-03-24 15:23:03 +01:00
Antoine Lamirault
996f3d374d [Serializer] Add NumberNormalizer 2025-03-23 18:58:28 +01:00
HypeMC
1b09d4c56c [Serializer] Document named serializers 2025-03-19 16:39:37 +01:00
Javier Eguiluz
1197041a29 Merge branch '7.2' into 7.3
* 7.2:
  [Serializer] Fix namespace
2025-03-19 10:12:57 +01:00
Javier Eguiluz
b6da1f02d1 Merge branch '6.4' into 7.2
* 6.4:
  [Serializer] Fix namespace
2025-03-19 10:12:57 +01:00
HypeMC
d0a17c54a5 [Serializer] Fix namespace 2025-03-19 09:34:50 +01:00
Javier Eguiluz
c8dfff4f9b Merge branch '7.2' into 7.3
* 7.2:
  [Serializer] Add missing space + fix import
2025-03-19 08:53:42 +01:00
Javier Eguiluz
00e1d7abd2 Merge branch '6.4' into 7.2
* 6.4:
  [Serializer] Add missing space + fix import
2025-03-19 08:53:42 +01:00
Javier Eguiluz
6a0c643241 Merge branch '7.2' into 7.3
* 7.2:
  Tweaks
  [Serializer] Add SnakeCaseToCamelCaseNameConverter
2025-03-19 08:35:38 +01:00
Javier Eguiluz
10565283d5 Tweaks 2025-03-19 08:35:26 +01:00
HypeMC
a1647c609f [Serializer] Add missing space + fix import 2025-03-18 23:51:56 +01:00
Antoine Lamirault
4213bb57c7 [Serializer] Add SnakeCaseToCamelCaseNameConverter 2025-03-18 22:26:31 +01:00
HypeMC
5f9a259167 [Serializer] Fix defaultContext example 2025-03-17 23:05:56 +01:00
Javier Eguiluz
b0faf889b4 Merge branch '7.2' into 7.3
* 7.2:
  [Serializer] Fix `defaultContext` example
2025-03-17 17:11:44 +01:00
HypeMC
d51154b75f [Serializer] Fix defaultContext example 2025-03-17 01:27:35 +01:00
Alan Poulain
3c3b2ea33b [Serializer] Add defaultType to DiscriminatorMap 2025-03-03 09:31:10 +01:00
Oskar Stark
0c6a77acda Merge branch '6.4' into 7.1
* 6.4:
  [Twig] [Twig Reference] fix path parameter and add example in asset v…
  Update serializer.rst
2024-12-16 17:51:13 +01:00
David Harding
5a43fd2da0 Update serializer.rst
The $maxDepthHandler function might return NULL, but the return type is set to : string, which causes a TypeError to be thrown.

This change allows the $maxDepthHandler function to return null, by changing the return type to : ?string for this example.
2024-12-16 13:38:55 +01:00
Javier Eguiluz
ebd71932a8 Merge branch '6.4' into 7.1
* 6.4:
  Add missing argument
  [Mesenger] Mention that some option doesn't have docs
2024-12-09 08:58:31 +01:00
Florian Moser
d94be3f157 Add missing argument 2024-12-08 15:52:04 +01:00
Wouter de Jong
84ead23b4f Merge remote-tracking branch 'origin/6.4' into 7.1
* origin/6.4:
  Replaced caution blocks with warning
2024-12-07 12:11:20 +01:00
Wouter de Jong
fdd5743201 minor #20448 Replaced caution directive by warning (TimoBakx)
This PR was merged into the 6.4 branch.

Discussion
----------

Replaced `caution` directive by `warning`

Fixes #20371

Both blocks are currently rendered identically. Keeping only one of the two makes it easier to contribute.

Some blocks were elevated to danger, as they describe a security risk.

Commits
-------

3849004fc Replaced caution blocks with warning
2024-12-07 12:04:50 +01:00