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.2.1.
Changelog
Sourced from symfony/serializer's changelog.
... (truncated)
Commits
4af8151
Merge branch '5.1' into 5.201d9ede
Merge branch '4.4' into 5.1f5a4c86
Remove :void in test function signatures97c0f0c
Merge branch '5.1' into 5.2773f9fd
Merge branch '4.4' into 5.13b14b7f
Normalize exceptions messages containing methods references8d8512e
Merge branch '5.1' into 5.288a37a9
Merge branch '4.4' into 5.1394ffa6
Fix EncoderInterface::encode() return type7e103d0
[Serializer][Validator] Mention annotation loaders handle PHP8 attributesDependabot 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)