Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update symfony/serializer requirement from ^6 to ^7 #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jun 17, 2024

Updates the requirements on symfony/serializer to permit the latest version.

Release notes

Sourced from symfony/serializer's releases.

v7.1.1

Changelog (symfony/serializer@v7.1.0...v7.1.1)

Changelog

Sourced from symfony/serializer's changelog.

CHANGELOG

7.1

  • Add arguments $class, $format and $context to NameConverterInterface::normalize() and NameConverterInterface::denormalize()
  • Add DateTimeNormalizer::CAST_KEY context option
  • Add Default and "class name" default groups
  • Add AbstractNormalizer::FILTER_BOOL context option
  • Add CamelCaseToSnakeCaseNameConverter::REQUIRE_SNAKE_CASE_PROPERTIES context option
  • Deprecate AbstractNormalizerContextBuilder::withDefaultContructorArguments(?array $defaultContructorArguments), use withDefaultConstructorArguments(?array $defaultConstructorArguments) instead (note the missing s character in Contructor word in deprecated method)
  • Add XmlEncoder::CDATA_WRAPPING_PATTERN context option

7.0

  • Add method getSupportedTypes() to DenormalizerInterface and NormalizerInterface
  • Remove denormalization support for AbstractUid in UidNormalizer, use one of AbstractUid child class instead
  • Denormalizing to an abstract class in UidNormalizer now throws an \Error
  • Remove ContextAwareDenormalizerInterface, use DenormalizerInterface instead
  • Remove ContextAwareNormalizerInterface, use NormalizerInterface instead
  • Remove CacheableSupportsMethodInterface, use NormalizerInterface and DenormalizerInterface instead
  • Require explicit argument when calling AttributeMetadata::setSerializedName() and ClassMetadata::setClassDiscriminatorMapping()
  • Add argument $context to NormalizerInterface::supportsNormalization() and DenormalizerInterface::supportsDenormalization()
  • Remove Doctrine annotations support in favor of native attributes
  • Remove AnnotationLoader, use AttributeLoader instead

6.4

  • Add TranslatableNormalizer
  • Allow Context attribute to target classes
  • Deprecate Doctrine annotations support in favor of native attributes
  • Allow the Groups attribute/annotation on classes
  • JsonDecode: Add json_decode_detailed_errors option
  • Make ProblemNormalizer give details about Messenger's ValidationFailedException
  • Add XmlEncoder::CDATA_WRAPPING context option
  • Deprecate AnnotationLoader, use AttributeLoader instead
  • Add aliases for all classes in the Annotation namespace to Attribute

6.3

  • Add AbstractNormalizer::REQUIRE_ALL_PROPERTIES context flag to require all properties to be listed in the input instead of falling back to null for nullable ones
  • Add XmlEncoder::SAVE_OPTIONS context option
  • Add BackedEnumNormalizer::ALLOW_INVALID_VALUES context option
  • Add UnsupportedFormatException which is thrown when there is no decoder for a given format
  • Add method getSupportedTypes(?string $format) to NormalizerInterface and DenormalizerInterface
  • Make ProblemNormalizer give details about ValidationFailedException and PartialDenormalizationException

... (truncated)

Commits
  • 74817ee Merge branch '7.0' into 7.1
  • 267299e Merge branch '6.4' into 7.0
  • d6eda99 Merge branch '5.4' into 6.4
  • ef0be2b Revert "minor #54653 Auto-close PRs on subtree-splits (nicolas-grekas)"
  • d7e6907 [Serializer] Fix denormalizing a collection of union types
  • 972eb05 Merge branch '7.0' into 7.1
  • e205ae5 Merge branch '6.4' into 7.0
  • cd0cd9c [Serializer] Cache readability/writability computation
  • f43a533 Merge branch '7.0' into 7.1
  • 7c5eebc Merge branch '6.4' into 7.0
  • Additional commits viewable in compare view

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Updates the requirements on [symfony/serializer](https://github.com/symfony/serializer) to permit the latest version.
- [Release notes](https://github.com/symfony/serializer/releases)
- [Changelog](https://github.com/symfony/serializer/blob/7.1/CHANGELOG.md)
- [Commits](symfony/serializer@v6.0.0...v7.1.1)

---
updated-dependencies:
- dependency-name: symfony/serializer
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants