Add support for constructor promoted properties to Context attribute
Add context option PropertyNormalizer::NORMALIZE_VISIBILITY with bitmask flags PropertyNormalizer::NORMALIZE_PUBLIC, PropertyNormalizer::NORMALIZE_PROTECTED, PropertyNormalizer::NORMALIZE_PRIVATE
Add method withNormalizeVisibility to PropertyNormalizerContextBuilder
Deprecate calling AttributeMetadata::setSerializedName(), ClassMetadata::setClassDiscriminatorMapping() without arguments
Change the signature of AttributeMetadataInterface::setSerializedName() to setSerializedName(?string)
Change the signature of ClassMetadataInterface::setClassDiscriminatorMapping() to setClassDiscriminatorMapping(?ClassDiscriminatorMapping)
Add option YamlEncoder::YAML_INDENTATION to YamlEncoder constructor options to configure additional indentation for each level of nesting. This allows configuring indentation in the service configuration.
Add SerializedPath annotation to flatten nested attributes
6.1
Add TraceableSerializer, TraceableNormalizer, TraceableEncoder and SerializerDataCollector to integrate with the web profiler
Add the ability to create contexts using context builders
Set Context annotation as not final
Deprecate ContextAwareNormalizerInterface, use NormalizerInterface instead
Deprecate ContextAwareDenormalizerInterface, use DenormalizerInterface instead
Deprecate supporting denormalization for AbstractUid in UidNormalizer, use one of AbstractUid child class instead
Deprecate denormalizing to an abstract class in UidNormalizer
Add support for can*() methods to ObjectNormalizer
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps symfony/serializer from 5.0.10 to 5.3.0.
Release notes
Sourced from symfony/serializer's releases.
Changelog
Sourced from symfony/serializer's changelog.
... (truncated)
Commits
c8b06ee
Merge branch '5.2' into 5.3e6b20ac
Merge branch '4.4' into 5.26db3eb4
Fix markdown5e2c296
Merge branch '5.2' into 5.xb072c8f
Merge branch '4.4' into 5.2c9c90ea
Fix deprecations from Doctrine Annotations+Cache511953d
Fix duplicated legacy testfc663b9
Merge branch '5.2' into 5.x3698d26
Merge branch '4.4' into 5.29db284c
[Serializer][Validator] Update some phpDoc relative to "getters"Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)