Skip to content

Releases: schmittjoh/serializer

1.5.0-RC1 release candidate

19 Jan 15:07

Choose a tag to compare

Pre-release

The 1.5.0 release is going to be one of the most important releases till now for the 1.x series of the JMS serializer.

The main feature included in the 1.5.0 release is the expression language exclusion policy implemented with #673.

Here a more detailed changelog:

Implemented enhancements:

  • Implemented dynamic exclusion using symfony expression language #673 (goetas)
  • added support for xml-attributes as discriminators #692 (twtinteractive)
  • Prevent doctrine proxy loading for virtual types #684 (goetas)

Fixed bugs:

  • Deserializing XMLList with Namespaces not (always) working as intended #697 (goetas)

Merged pull requests:

  • Added doc reference for disabling discriminator #699 (dragosprotung)
  • Use GroupsExclusionStrategy::DEFAULT_GROUP instead default group. #694 (Aliance)
  • Improved Symfony 3.x compatibility #682 (goetas)

Closed issues:

  • Deserializing XMLList with Namespaces not (always) working as intended #695
  • Groups logic #693
  • BC from 1.1.* to ^1.2 #643
  • DoctrineProxySubscriber forces loading of the proxy even if custom handler exist #575
  • ConditionalExpose/Exclude annotation #540
  • Deprecated usage of ValidatorInterface #438
  • Missing addData in XmlSerializerVisitor makes it impossible to add data in serializer.post_serialize event #235
  • Support JSON PATCH for updating object graph #231
  • Dynamic expose, aka 'fields' query param #195

A stable 1.5.0 will be tagged in 3 weeks

2016-11-02

13 Nov 10:21

Choose a tag to compare

Fixed #674 introduced by #658

v1.4.1 (2016-11-02)

02 Nov 16:17

Choose a tag to compare

Fixed #668 that creates some issues with nelmio apidoc and in general when trying to use group based exclusion strategies without a properly initialized context

v1.4.0 (2016-10-31)

31 Oct 11:41

Choose a tag to compare

  • Xml setters ignored when deserializing #665 (goetas)
  • Document the implied 'Default' property group when no group is specified #661 (akoebbe)
  • Nullable array inconsistency #660 (goetas)
  • Allow discriminator map in the middle of the hierarchy when deserializing #659 (goetas)
  • Fixed PHP 7.0.11 BC break (or bugfix) #658 (goetas)
  • Handle both int and integer #657 (Aliance)
  • Renamed replaceData to setData #653 (goetas)
  • add required sqlite extension for developing #649 (scasei)
  • Run serialization benchmarks in the build process #647 (goetas)
  • Alcalyn feature default serializer context #645 (goetas)
  • Add format output option #640 (AyrtonRicardo)
  • Remove deprecated FileCacheReader for doctrine annotations #634 (goetas)
  • Added tests to ensure SerializeNull policy #633 (goetas)
  • Fix inheritance of discriminators on Doctrine entities #382 (xoob)
  • Allow Post Serialize Event to overwrite existing data #273 (jockri)

Fixed BC break introduced with 1.3.0

23 Aug 17:23

Choose a tag to compare

Fixed BC break introduced with #317 and released as 1.3.0

Added "hasData" on generic seialization visitors and other minor bugfixes

21 Aug 13:15

Choose a tag to compare

HHVM & PHP7 support XML features, bugfixes and infrastructure improvements

03 Aug 14:08

Choose a tag to compare

This release includes many improvements and bugfixes, some of them are:
#580 HHVM compatibility
#301 Generate namespaced element on XmlList entries
#595 Fix xml-attribute-map for the xml driver
#611 Allow to not skip empty not inline array root node
#610 Allow to use custom serializer with primitive type
#397 Exclude annotation not preventing attempt to find public methods when using AccessType
#608 Composer is not able to resolve a dependency
#550 Generic way to solve setValue on a property which respects its setter
#584 Test on Travis always high and low deps
#583 Update Symfony validator and allow PHPUnit 7
#399 Added travis-ci label
#553 [doc] fix AccessorOrder documentation
#578 Fixed test suite on master
#577 Fix for a broken test: a missing (incorrectly positioned) argument

Some Yaml Fixes & Improved Twig Support

29 Oct 08:28

Choose a tag to compare

This release improves Twig support and fixes a bug in Yaml serialization.

Further Compatibility Updates and Bug Fixes

23 Jun 19:33

Choose a tag to compare

This release contains updates for newer PHP versions, and also fixes a few edge-cases. Notable in this release:

  • adds convenience toArray and fromArray methods to the Serializer
  • better handling of polymorphic objects in collections
  • fixes some bugs in the YAML metadata format

Some Features & Fixes

07 Apr 06:50

Choose a tag to compare

Additions:

  • Support for is* and has* methods when changing the accessor policy
  • Support for defining the XML namespace on the root node
  • Ability to set-up your own driver via the SerializerBuilder
  • Better parse error for annotated types

Fixes:

  • Several documentation fixes

Misc:

  • Composer constraints have been widened to allow to pick more recent versions of dependencies