Skip to content

Releases: alekitto/serializer

Version 4.3.0

28 Sep 14:01
3faff22
Compare
Choose a tag to compare

What's Changed

This release drops support for all PHP versions < 8.1

Full Changelog: 4.2.2...4.3.0

Version 4.2.0

09 Sep 09:12
bd304cd
Compare
Choose a tag to compare
  • Apply new code style
  • Execute static analysis on code base
  • Fix deprecation on symfony/property-info >= 5.3

Version 4.1.2 - Patch

21 Apr 11:33
9325830
Compare
Choose a tag to compare

CHANGES:

  • Fix metadata loading through reflection when PHP 8 union types are encountered

Version 4.1.1 - Patch

24 Mar 10:40
41c1cea
Compare
Choose a tag to compare

CHANGES:

  • Additional debug traces
  • Add some tests

Version 4.1

20 Feb 23:33
ad9195e
Compare
Choose a tag to compare

CHANGES:

  • Fix metadata loader creation when using SerializerBuilder
  • Register visitors by tag in symfony bundle
  • Add traceable visitor to write trace logs when serializing/deserializing
  • Decorate visitors automatically in symfony bundle when debug is set to true

Version 4.0.1 - Patch

04 Feb 15:56
bf4d182
Compare
Choose a tag to compare

FIXES:

  • Fix type error when creating xml text node (b430aa1)
  • Fix annotations and attributes mixed usage

Version 4.0

18 Jan 23:35
96b7c4a
Compare
Choose a tag to compare

BREAKING CHANGES:

  • Add property types to attributes
  • Removed legacy Xml annotations
  • Bundle: make underscore the default naming strategy
  • Removed CamelCaseNamingStrategy
  • Removed deprecated XmlDeserializationVisitor::enableExternalEntities

CHANGES:

  • Annotations are now available as PHP attributes (PHP8)
  • Add metadata attributes loader
  • Add ConstraintViolationHandler, FormHandler and UuidHandler to default handlers in serializer builder
  • Fix additional fields and static fields metadata loader from YAML and XML

DOCUMENTATION:

  • Rewritten documentation in markdown
  • Updated cache configuration section
  • Updated event dispatcher configuration section
  • Document exclusion behavior change (with OnExclude attribute)
  • Add serialization/deserialization handler documentation
  • Revamped attributes documentation
  • Updated XML and YAML reference
  • Use docsify

Version 3.6

16 Jan 15:01
211492f
Compare
Choose a tag to compare

CHANGES:

  • Correctly handle date time object from thecodingmachine/safe library
  • Load xml/yaml mapping files from symfony bundles
  • Add support for doctrine/common 3 (and doctrine/persistence 2) for mapping loading and object construction
  • Support PHP 8
  • Various fixes

Version 3.5

27 May 23:58
eb424af
Compare
Choose a tag to compare

CHANGES:

  • Add csv serializer visitor (no deserialization yet).

Version 3.4

25 May 20:06
59502e9
Compare
Choose a tag to compare

CHANGES:

  • Require PHP 7.4
  • Add alternative custom serialization/deserialization classes:
    • Easier SerializationHandlerInterface and DeserializationHandlerInterface to implement.
    • Reduce cognitive load for handler signature.
    • Allow directly return the serialization/deserialization result.