Skip to content

Releases: liip/serializer

3.0.0

02 Dec 08:27
@dbu dbu
3.0.0

Choose a tag to compare

  • Update to liip/metadata-parser 2.x. Most notable changes:
    • Switched from annotations to attributes. Replace LiipMetadataAnnotationParser with
      LiipMetadataAttributeParser and change @Preferred annotations to #[Preferred] attributes.
    • Setting a (different) naming strategy via the PropertyCollection::useIdenticalNamingStrategy
      is no longer possible. Instead, pass the naming strategy as second argument to the constructor
      of the Parser.
    • For further changes in this library, take a look at the
      changelog from metadata-parser
  • Add discriminator support

2.6.2

01 Dec 11:22
@dbu dbu
2.6.2
98a64fc

Choose a tag to compare

  • Add support for Symfony 8.
  • Test with PHP 8.4 and 8.5.

2.6.1

19 Jul 16:02
@dbu dbu
2.6.1

Choose a tag to compare

  • Fixed: Dates with a getter/setter where incorrectly handled in the refactoring for 2.6.0.
    See (#44)[https://github.com//pull/44]
  • Add support for symfony 7.x
  • Also test against PHP 8.3
  • Update rector to 1.2.1

2.6.0

01 Feb 13:25
@dbu dbu
2.6.0
28e6f4a

Choose a tag to compare

  • (De)serialization now accepts timezones, and lists of deserialization formats

2.5.1

24 Nov 16:11
@dbu dbu
2.5.1
a5ccc56

Choose a tag to compare

  • Generalized the improvement on arrays with primitive types to generate more efficient code.

2.5.0

23 Nov 07:48
@dbu dbu
2.5.0

Choose a tag to compare

  • Clean CI workflow: fix GitHub composer caches
  • Add rector-php analysis
  • Increase Phpstan check level to 7
  • Fix fallback to JMS serializer when the order of configured groups were
    not ordered as the ones in the generated PHP filenames.
    Keep consistent sorting on both Context and GroupCombination classes.
  • Fix bug when serializing a multidimensional array with a primitive type.

2.4.0

19 Jul 13:11
@dbu dbu
2.4.0

Choose a tag to compare

  • Increase liip/metadata to 1.1 and drop support for 0.6
  • Clean up build process

2.3.1

29 Mar 12:07
@dbu dbu
2.3.1

Choose a tag to compare

  • Allow installation with liip/metadata 1.x in addition to 0.6

2.3.0

28 Mar 06:44
@dbu dbu
2.3.0
884675b

Choose a tag to compare

  • Fixed deprecation warnings for PHP 8
  • Dropped support for PHP 7

2.2.0

13 Jan 16:54
@dbu dbu
2.2.0

Choose a tag to compare

  • Add new parameter $options to the GenerateConfiguration class
  • Support (de)serializing arrays with undefined content by setting the
    allow_generic_arrays option to true.