rtio / kdti-server

MIT License
21 stars 6 forks source link

Composer(deps): Bump symfony/serializer from 5.0.10 to 5.2.1 #151

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps symfony/serializer from 5.0.10 to 5.2.1.

Changelog

Sourced from symfony/serializer's changelog.

CHANGELOG

6.2

  • 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

6.0

  • Remove ArrayDenormalizer::setSerializer(), call setDenormalizer() instead
  • Remove the ability to create instances of the annotation classes by passing an array of parameters, use named arguments instead

5.4

  • Add support of PHP backed enumerations
  • Add support for serializing empty array as object
  • Return empty collections as ArrayObject from Serializer::normalize() when PRESERVE_EMPTY_OBJECTS is set
  • Add support for collecting type errors during denormalization
  • Add missing arguments in MissingConstructorArgumentsException

5.3

  • Add the ability to provide (de)normalization context using metadata (e.g. @Symfony\Component\Serializer\Annotation\Context)
  • Deprecate ArrayDenormalizer::setSerializer(), call setDenormalizer() instead
  • Add normalization formats to UidNormalizer
  • Add CsvEncoder::END_OF_LINE context option
  • Deprecate creating instances of the annotation classes by passing an array of parameters, use named arguments instead

... (truncated)

Commits
  • 4af8151 Merge branch '5.1' into 5.2
  • 01d9ede Merge branch '4.4' into 5.1
  • f5a4c86 Remove :void in test function signatures
  • 97c0f0c Merge branch '5.1' into 5.2
  • 773f9fd Merge branch '4.4' into 5.1
  • 3b14b7f Normalize exceptions messages containing methods references
  • 8d8512e Merge branch '5.1' into 5.2
  • 88a37a9 Merge branch '4.4' into 5.1
  • 394ffa6 Fix EncoderInterface::encode() return type
  • 7e103d0 [Serializer][Validator] Mention annotation loaders handle PHP8 attributes
  • Additional commits viewable in compare view


Dependabot compatibility score

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)
dependabot[bot] commented 1 year ago

Superseded by #155.