Permalink
Fetching contributors…
Cannot retrieve contributors at this time
1012 lines (768 sloc) 83.2 KB

Change Log

2.0.2 (2018-12-12)

Fixed bugs:

  • jms serialzier 2.0 Error in debug mode #1018
  • AbstractDoctrineTypeDriver::normalizeFieldType() must be of the type string, null given #1015
  • internal classes have false in reflection::getFilename() #1013 (chregu)

Closed issues:

  • DateTime converted to ArrayObject instead of string in custom visitor class #1017

Merged pull requests:

2.0.1 (2018-11-29)

Fixed bugs:

  • BC Break on deserialize with non existing properties in JSON payload? #1011

Merged pull requests:

2.0.0 (2018-11-09)

Implemented enhancements:

Merged pull requests:

  • Added missing comma in 'Overriding Groups' example #1001 (skuhnow)

2.0.0-RC1 (2018-10-17)

Merged pull requests:

2.0.0-beta1 (2018-09-12)

Breaking changes:

  • I want to change the default group used when overriding groups of deeper branches #898
  • NullAwareVisitorInterface::isNull second argument #823
  • Simplify deep group exclusion strategy #946 (goetas)
  • Discriminator property serialization when parent is in discriminator map #879 (supersmile2009)

Implemented enhancements:

  • Change license to MIT #950
  • Do not instantiate visitors in the serialization builder #613
  • Possible to prefix the root element while serializing? #506
  • Add logo #976 (goetas)
  • Implementation deserialization of Inline property #974 (scyzoryck)
  • Code style #971 (goetas)
  • Make access strategies aware of the context #962 (goetas)
  • Distinguish between metadata errors and run time errors #948 (goetas)
  • Allow inline lists and maps #944 (goetas)
  • Move property ordering strategy out of Metadata #938 (Majkl578)
  • Do not use property metadata to get/set object values #934 (goetas)
  • Type hints and final clases #930 (goetas)
  • Added graph navigator factories #929 (goetas)
  • No global graph navigator #925 (goetas)
  • Allow instance of event filtering #924 (goetas)
  • Move accessors to graph navigator #923 (goetas)
  • Make PHPUnit stricter, drop redundant defaults #919 (Majkl578)
  • Base exception should extend Throwable #911 (Majkl578)
  • Port TypeParser to Hoa\Compiler #900 (Majkl578)
  • [2.0] better handling when something gets excluded #895 (goetas)

Fixed bugs:

  • XmlDeserializationVisitor references undefined property PropertyMetadata::$reflection #958
  • Invalid sprintf usage in DefaultAccessorStrategy #957
  • Serializer::handleDeserializeResult() changes the result after using Visitor::visitArray() #710
  • setGroups add new ExclusionStrategy instead of overwriting it #486
  • GraphNavigator using \LogicException without serializer namespace #473
  • Serialize doctrine entities load linked entities even if the max depth should stop this behavior #407
  • HandlerCallback inconsistent behaviour #324
  • Max Depth possible issue #272
  • MaxDepth shows empty array property #148
  • Custom Serialization handlers give an invalid result on top level #95
  • Deserialization to ArrayCollection not working as expected #9
  • Avoid duplicate exclusion strategies in the context #922 (goetas)

Closed issues:

  • Revert fix for #43 (JSON representation of empty objects) #942
  • Update jms/metadata #936
  • Property access should not rely on PropertyMetadata but only on AccessorStrategyInterface #932
  • Adopt some coding standard #914
  • Replace in-house EventDispatcher by an existing one #912
  • Risky tests in master #910
  • Move resolveMetadata from the GraphNavigator #906
  • Remove Context::getDirection() #905
  • [2.0 proposal] Moving non-essential components to separate packages #902
  • [2.0 proposal] Splitting Navigator/Visitor #901
  • Virtual property is excluded when the name equals to an excluded property #896
  • Consider @var annotation for type inference when deserializing #893
  • Consider hoa/compiler #892
  • setSerialiseNull(true) + exclusion strategies still include data #852
  • Serializing a self-referencing object returns null #845
  • Allow generators as return type for SubscribingHandlerInterface::getSubscribingMethods #832
  • Add control to deserialization of null values #821
  • serialize null should be a boolean in the context #740
  • Allow data access to Property naming strategy #717
  • Custom handler works with array of objects but fails to serialize one object #700
  • Deprecate set*ContextFactory in the Serializer to keep it immutable #691
  • Remove Symfony Validator <2.6 support #687
  • Remove PHP metadata driver #686
  • Prevent doctrine proxy loading for virtual types by default #685
  • Inconsistency between serializing arrays and objects key names #655
  • Can't hint interface using @Type to trigger custom handler #631
  • Event Listeners are "lowercasing" class names for event match #624
  • JSON/YAML encoding changes #617
  • Remove PhpCollection and PhpOption and use arrays instead #616
  • Remove handler callback #615
  • MaxDepth exclusion strategy for OneToMany (ArrayCollection) type triggers too many doctrine queries. #500
  • Permit (optional) inheritance of HandlerCallback functions #499
  • Serialized name based on the format #456
  • obsolete strategies when calling Context::setVersion/setGroups more than once #98

Merged pull requests:

1.13.0 (2018-07-25)

Implemented enhancements:

Fixed bugs:

  • Exception on deserialization using XML and exclude-if #975

Closed issues:

  • Serialization fails if root element has custom handler #961
  • Make inline property work with deserialization too #937

Merged pull requests:

  • Serializer 2.0 compatibility features #967 (goetas)

1.12.1 (2018-06-01)

Fixed bugs:

  • Accessing static property as non static #960
  • creating JMS\Serializer\Metadata->closureAccessor on internal class failed #959

1.12.0 (2018-05-25)

Implemented enhancements:

  • Add support for namespaced XML attribute on Discriminator + Tests #909 (ArthurJam)
  • Introduce graph navigator interface #876 (goetas)
  • Use Bind closure accessor #875 (goetas)

Fixed bugs:

  • DoctrineObjectConstructor and deserialize not work #806
  • [Symfony] DoctrineObjectorConstructor always creates new entity because of camel case to snake case conversion #734
  • Fix DoctrineObjectConstructor deserialization with naming strategies #951 (re2bit)

Closed issues:

  • Feature proposal: dynamic property serialized name #225
  • Mapping request payload works for JSON but not for XML #820

Merged pull requests:

1.11.0 (2018-02-04)

Implemented enhancements:

Fixed bugs:

  • Exception thrown for non-existant accessor to an excluded property #862
  • Support non-namespaced lists in namespaced XML #851 (bertterheide)

Closed issues:

  • Context Group not working #865
  • Not all virtual properties are serialized #864
  • DeserializedName #857
  • Annotation does not exist, or could not be auto-loaded. #855
  • [Question] Serialization of primitive types #853
  • Empty list when deserializing namespaced XML with children that are not namespaced #850
  • XmlList(skipWhenEmpty=true) or @SkipWhenEmpty() does not work #847
  • DateHandler Timezone ignored on deserialization #457

Merged pull requests:

  • Drop HHVM support #869 (goetas)
  • Allow excluded private properties to not have a getter acc… #863 (0mars)
  • Solve php 7.2 deprecations #860 (goetas)
  • Fixed issue where timezone is lost when creating DateTime from unix timestamp #835 (goetas)

1.10.0 (2017-11-30)

Implemented enhancements:

  • support PSR-11 compatible DI containers #844 (xabbuh)

Closed issues:

  • Serialize using jsonSerialize() if object implements JsonSerializable #846
  • ExclusionStrategy backward compatibility break #843
  • @MaxDepth jms/serializer-bundle 2.2 #842

1.9.2 (2017-11-22)

Fixed bugs:

Closed issues:

  • DateTime format documentation #836
  • Deserialization not working with camelCase #831

Merged pull requests:

  • Fix documentation syntax errors on available types #839 (andy-morgan)
  • Improve documentation about default DateTime format #838 (enumag)

1.9.1 (2017-10-27)

Fixed bugs:

  • Dynamic exclusion strategy, Variable "object" is not valid #826

Closed issues:

  • Allow DateTime or Null #779

Merged pull requests:

  • Alow to use "object" var in expressions when deserializing #827 (goetas)

1.9.0 (2017-09-28)

Implemented enhancements:

  • Doctrine LazyCriteriaCollection not supported #814
  • Do not require the translator #824 (goetas)
  • Added mapping for guid type #802 (develth)
  • Added translation domain to FormErrorHandler #783 (prosalov)

Fixed bugs:

  • Node no longer exists - Deserialize Error #817
  • Serializer fails if there is no AnnotationDriver in the DriverChain instance #815
  • Evaluate XML xsi:nil="1" to null #799 (Bouwdie)

Closed issues:

  • Empty array removed from XML serialization #816
  • XML Discriminator tags don't work in YAML metadata #811
  • Launching phpunit does not execute any test #809
  • Add "bool" Annotation/Type #807
  • Add support for overriding default annotation driver configuration #804
  • Add description to PropertyMetadata? #800

Merged pull requests:

1.8.1 (2017-07-13)

Closed issues:

  • Version 1.8 is breaking backwards compatibility #796

1.8.0 (2017-07-12)

Implemented enhancements:

  • Detect XML xsi:nil="true" to null when deserializing #790 (goetas)
  • Added support for a third deserialize parameter for the DateTime type #788 (bobvandevijver)
  • Added trim to xml metadata reader for groups parameter, and added support for groups element #781 (mrosiu)
  • Add propertyMetdata to dynamic expression variables #778 (goetas)
  • Fix xml deserialization when xsi:nil="true" is set #771 (Bouwdie)

Fixed bugs:

  • do not disappear type params in DoctrineProxySubscriber #793 (kriswallsmith)
  • #784 fix with inline array of type array<K, V> #785 (aviortm)

Closed issues:

  • inline array with type array<K, V> not serialized #784
  • [2.0] [Feature-request] Provide InitializedObjectConstructor as default #775
  • Allow access to PropertyMetadata in Dynamic Exclusion strategies #772
  • Overriding groups at runtime does not work, or? #767
  • DateTime format and control characters #94

Merged pull requests:

  • Missing features of the compiler pass #789 (mikemix)
  • Updated documentation related to PR #778 #780 (bblue)
  • [RFC] Move to PSR 4 #770 (goetas)
  • Re-formatted code for better PSR compliance #769 (goetas)
  • Proposing some guidelines for contributing #763 (goetas)

1.7.1 (2017-05-15)

Fixed bugs:

  • Custom type handlers does not work with doctrine proxies anymore #765
  • Doctrine listener should not change the type on proxies with virtual type #768 (goetas)

Closed issues:

  • Missing bool type in graphNavigator.php in method accept() #764
  • The sub-class "Proxy-Class" is not listed in the discriminator of the base class "DiscriminatorClass" #459
  • Configure whether serializing empty array. #124

1.7.0 (2017-05-10)

Implemented enhancements:

  • Skip doctrine proxy initializations when exclusion strategy will exclude it #760 (goetas)

Closed issues:

  • Error deserializing a map of (nullable) objects #762
  • Add data using setData produces hashes instead of arrays #761

1.7.0-RC2 (2017-05-05)

Implemented enhancements:

  • Make sure input is always a string #755 (goetas)
  • Allow namespaced XML element discriminator #753 (goetas)

Fixed bugs:

  • Allow to skip "empty serialization result" when serializing #757 (goetas)

Closed issues:

  • Is it possible to use @XmlNamespace & @XmlRoot in a class at same time ? #759
  • Serializes FOS:User datas with ExclusionPolicy("all") #599

Merged pull requests:

  • Add a quick reference for how to enable expression evaluator #758 (chasen)
  • Allow for setExpressionEvaluator usage to be chainable #756 (chasen)
  • Fix typo in annotation docs #754 (JustBlackBird)

1.7.0-RC1 (2017-04-25)

Implemented enhancements:

  • Allow to configure the doctrine object constructor #751 (goetas)
  • Trigger doctrine events on doctrine proxies #750 (goetas)
  • Added stdClass serialization handler #749 (goetas)

Fixed bugs:

  • Array gets serialized as object, not as array, depending on order. #709
  • Doctrine Proxies and serializer.pre_serialize #666
  • Fix stdClass inconsistencies when serializing to JSON #730 (goetas)
  • Allow to typehint for the type (array/hash) of the root item to be serialized #728 (goetas)

Closed issues:

  • Array serialized as JSON object #706
  • From old issue #290 #670
  • Form validation error response - field names not converted from camel case to underscore #587
  • Ability to getGroups on Context #554
  • SerializedName misleading usage and constructor issue #548
  • Discriminator should support xmlAttribute #547
  • Public method accessor is required for excluded/not exposed properties #519
  • Entity changed via preserialize and wrongly persisted #509
  • XML deserialization properties null when using default namespace #504
  • AccessorOrder is ignored #501
  • Deserialization of sub entites with non existing id #492
  • [Question] Handler/Converter for specific field #476
  • getClassName regex may incorrectly retrieve a false class name from comments above the class. #460
  • Multiple types for property? #445
  • Allow non-qualified XML serialization when XML namespaces are part of the metadata #413
  • Discriminator field name #412
  • Serializing to and deserializing from DateTime is inconsistent #394
  • ManyToOne and OneToMany Serialization Groups #387
  • Static SubscribingHandlerInterface::getSubscribingMethod #380
  • User defined ordering function #379
  • serialized_name for discriminator #372
  • Serializing object with empty array #350
  • VirtualProperty(s) are ignored with AccessorOrder #349
  • When setting a group of serialization, the inheritance doesn't work anymore #328
  • Serialization of empty object #323
  • "Can't pop from an empty datastructure" error when multiple serializer calls #319
  • virtual_properties cannot be excluded with groups #291
  • Integer serialized as String using VirtualProperty #289
  • SimpleObjectProxy is not implement abstract methods of Proxy class #287
  • Serializing array that have one of the element or member of an element an empty object #277
  • Serialization with groups return json object instead array #267
  • The purpose of "Force JSON output to "{}" instead of "[]" if it contains either no properties or all properties are null" #248
  • Json array serialisation #242
  • Ignoring "Assert" in output doc if excluded #241
  • Alphabetical accessor order doesn't respect SerializedName overrides #240
  • Request Annotation for Array Data #234
  • Allow @var instead of @Type when deserializing #233
  • Strange issue with groups exclusion strategy #230
  • Warning when deserializing removed entity #216
  • Where in the JMS code does the navigator call VisitProperty method for visitor #207
  • Property of the type array is not in alphabetic order after serialization #196
  • Magic and inconsistencies in array serialization #191
  • PreSerialization Event not handled if the value is not object #162
  • Hierarchical object serialization does not appear to inherit metadata from ancestors for metadata defined in XML #151
  • When using MaxDepth, Serialization of an array entitiy is not working #132
  • Switch to change default naming strategy #128
  • Throw exceptions on invalid input #112
  • Recursion detected error when serialization groups are in use #96
  • Allow serialization groups to be accessible within event subscriber callbacks. #84
  • Allow Constructed Object to be Passed to Deserialize #79
  • JSON recursion when first object in root list is empty #61
  • Can't serialize an array with an empty object #59

Merged pull requests:

  • Added runtime twig extension support (significant performance improvements) #747 (goetas)

1.6.2 (2017-04-17)

Fixed bugs:

  • @VirtualProperty "exp" does not play nice with @ExclusionPolicy("ALL") #746

1.6.1 (2017-04-12)

Fixed bugs:

  • Do not output the XML node when the object will be emtpy #744 (goetas)

Closed issues:

  • XmlList not working since version 1.5.0 with xmlns attributes #742
  • DoctrineObjectConstructor: how to use it without Symfony, in a PHP project #741
  • Outdated docs site #733
  • Why do we need this check inside SerializedName constructor, if there is name? #558
  • Is it possible to deserialize Collection from Json #534
  • PhpCollection 0.4 #531
  • Possible mismatch of xml-attribute-map and $pMetadata->xmlAttribute in XmlDriver.php #422
  • Access level propose for Handler/DateHandler.php #386
  • Type DateTime and Timestamp (U format) #343

Merged pull requests:

1.6.0 (2017-03-24)

Implemented enhancements:

  • Add DateTimeImmutable support to DateHandler #543

Fixed bugs:

  • Virtual property having type overriden by doctrine metadata #276

Closed issues:

  • Serialize a subclass #735
  • How to handle Doctrine not found entity ? #731
  • Regression with 1.5.0 => Undefined offset 15 #715
  • detect serialisation without groups set #546
  • Introducing the NormalizerInterface #537
  • How to set JSON serialization options? #535
  • @MaxDepth doesn't seem to be working #522
  • max_depth in YML config is ignored #498
  • Dynamic property type annotation #436
  • How to deserialize JSON if property might have a list of subobjects? #355
  • Object to array normalization #354
  • Serialize Doctrine object without references #353
  • Post_serialize doesn't serialize relation! #236
  • parsing string to date #217
  • Discriminator is not exposed when using a group exclusion strategy #157

1.6.0-RC1 (2017-03-14)

Implemented enhancements:

  • Add symfony expression in exclusions/expositions #406
  • check that cache directory was not created before throwing exception #729 (mente)
  • #720 - Adding support for DateInterval deserialization #721 (c0ntax)
  • Expression language based virtual properties #708 (goetas)
  • Added clearing previous libxml errors #688 (zerkms)
  • Xml namespaces improvements #644 (goetas)

Fixed bugs:

  • Serialize correctly empty intervals according to ISO-8601 #722 (goetas)

Closed issues:

  • Is it possible to achieve something like - shouldSerializeEmpty #725
  • How to handle DateTime serialization with fromArray method ? #723
  • DateInterval supported for serialization but not deserialization #720
  • Deserialization of collection when wraped by aditional xml tags #719
  • SerializedName based on a property value #716
  • Blank XML breaks XmlDeserializationVisitor error handling #701
  • Problem with FOSUserBundle ROLE serialization #690
  • Doctrine cache dependency when using setCacheDir #676
  • OneToOne entities are not deserialized if passing a nested one-to-one property #652
  • [RFC] Serialization refacotring #609
  • Object handler callback returns array, but serialized object = null #594
  • Cannot add @Discriminator field into specific @Group #557
  • Object check on SerializationContext::isVisiting() #502
  • Define cdata and namespace for @XmlList elements #480
  • Serializer working with parent class #376
  • Add support for array format #374
  • Obtain VirtualProperty value using a service #359
  • make deserialisation of non existing id's configurable #333
  • HHVM compatibility issue with undefined property JMS\Serializer\Metadata\ClassMetadata::$inline #312
  • resources serialization #275
  • I'm receiving "Class ArrayCollection does not exist" when serializing (temporarily solved with a workaround) #274
  • Can't use handlers on strings (and other simple types) #194
  • composer.json update for doctrine #178
  • Use expression for virtual properties #171
  • Handle classes that implement collections (e.g. ArrayObject) and properties #137
  • Check CDATA is needed #136
  • property path support #22

Merged pull requests:

1.5.0 (2017-02-14)

Fixed bugs:

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

Closed issues:

  • Serialized DateTime instances are not valid ISO-8601 #713
  • Impossible to use discriminator field. Why we need StaticPropertyMetadata ? #705
  • Deserializing XMLList with Namespaces not (always) working as intended #695

1.5.0-RC1 (2017-01-19)

Implemented enhancements:

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

Closed issues:

  • 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

Merged pull requests:

1.4.2 (2016-11-13)

Fixed bugs:

  • Warning: JMS\Serializer\XmlDeserializationVisitor::visitArray(): Node no longer exists #674
  • Fixed xml arrays with namespaced entry triggers error #675 (goetas)

Closed issues:

  • Max depth produces array of nulls #671

1.4.1 (2016-11-02)

Fixed bugs:

  • Groups context might be not initialized #669 (goetas)

Closed issues:

  • Warning: Invalid argument supplied for foreach() on getCurrentPath method #668

1.4.0 (2016-10-31)

Implemented enhancements:

  • Document the implied 'Default' property group when no group is specified #661 (akoebbe)
  • Allow discriminator map in the middle of the hierarchy when deserializing #659 (goetas)
  • Handle both int and integer #657 (Aliance)
  • Can now override groups on specific paths of the graph #170 (adrienbrault)

Fixed bugs:

  • Deserialization fails when discriminator base class extends another class #182
  • Xml setters ignored when deserializing #665 (goetas)

Closed issues:

  • Move FormErrorHandler to the bundle #664
  • Not compatible with Symfony 3's Controller::json() #663
  • Class name not reflecting in serialized json #662
  • YML virtual_properties no group exlcusion #656
  • [RFC] Introduce normalizer\denormalizer interface #646
  • Plain arrays are serialized (normalized) as "objects", ignoring serializeNull #641
  • serializer doesn't serialize traits #638
  • Add metadata informations #637
  • Unexpected results when serializing arrays containing null value elements #593
  • Allow to set default serialization context when building serializer #528
  • Enable Sourcegraph #455
  • Use different accessor for each group #420
  • GenericSerializationVisitor and shouldSerializeNull #360
  • Specify group along with MaxDepth #150
  • Allow Post Serialize Event to overwrite existing data #129
  • Warning: array_key_exists() expects parameter 2 to be array, string given #70

Merged pull requests:

  • Nullable array inconsistency #660 (goetas)
  • Fixed PHP 7.0.11 BC break (or bugfix) #658 (goetas)
  • 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)
  • Revert "Default $serializeNull to false" #630 (goetas)
  • Introducing NormalizerInterface #592 (alcalyn)
  • Fix inheritance of discriminators on Doctrine entities #382 (xoob)
  • Allow Post Serialize Event to overwrite existing data #273 (jockri)

1.3.1 (2016-08-23)

Closed issues:

  • [Idea] Inline name #629
  • indexBy property doesn't work since 1.2.0 #618
  • Composer deps issue #494
  • PHP 7 compatability issue #478
  • Add new tag (upgrade packagist) #461
  • Custom Type Handler for String Values #384
  • serializer ignores properties added by traits #313
  • Skip an element during Xml deserialization process #229
  • Using serializer for JSON serialising #223
  • No way to serialize binary data with a custom type #202
  • Automatic mapping of properties #200
  • Maybe the serializer should also allow the legal literals {1, 0} for booleans #198
  • Customize how Booleans are serialized #180
  • Problem with deserialize related entity #123
  • serialized_name does not work in yaml #118

1.3.0 (2016-08-17)

Fixed bugs:

Closed issues:

  • problems with xml namespaces after update #621
  • Trying to decorate a member to ArrayCollection but gets an error when deserilizing because composer didn't download the class from doctrine. #596
  • Missing doctrine/common requirement ? #517
  • PHP Fatal error: Using $this when not in object context in JMS/Serializer/Serializer.php on line 99 #441
  • custom collection handler #415
  • Exclude annotation not preventing attempt to find public methods when using AccessType #367
  • serializer.pre_serialize event only thrown on objects/classes #337
  • Installing through composer gets "Segmentation fault" #308
  • Erroneous data format for unserializing... #283
  • DoctrineObjectConstructor should skip empty identifier field #193

Merged pull requests:

1.2.0 (2016-08-03)

Fixed bugs:

  • Fix xml-attribute-map for the xml driver #595 (romantomchak)
  • #367 Exclude annotation not preventing attempt to find public methods when using AccessType #397 (Strate)

Closed issues:

  • XML serialisation performance vs. SimpleXML? #606
  • Undefined Offset 21 - PropertyMetadata (master) #581
  • Invalid null serialization in arrays #571
  • List Polymorphic with XML Deserialization #568
  • Serialize null values as empty string #566
  • Type mismatch should throw an exception instead of coercing when deserializing JSON #561
  • Serialize to array #518
  • AnnotationDriver Exception on Missing Setter/Getter even on @Exclude'd Properties #516
  • Arrays are serialized as objects like {"0":... } when data contains empty objects #488
  • Tag new release #465
  • Forcing no scientific notation for larg number, type double #405
  • PHP < 5.3.9 BC break #383
  • Ignoring a tag when deserializing #352

Merged pull requests:

  • Allow to not skip empty not inline array root node #611 (goetas)
  • Allow to use custom serializer with primitive type #610 (goetas)
  • Composer is not able to resolve a dependency #608 (goetas)
  • Test on Travis always high and low deps #584 (goetas)
  • Update Symfony validator and allow PHPUnit 7 #583 (goetas)
  • Fix serialize bug #582 (goetas)
  • HHVM compatibility #580 (goetas)
  • Fixed test suite on master #578 (goetas)
  • Fix for a broken test: a missing (incorrectly positioned) argument #577 (zerkms)
  • Fix bug #343 return integer when the column is datetime #562 (Bukashk0zzz)
  • [doc] fix AccessorOrder documentation #553 (aledeg)
  • Generic way to solve setValue on a property which respects its setter #550 (maennchen)
  • Added travis-ci label #399 (spolischook)
  • Generate namespaced element on XmlList entries #301 (goetas)

1.1.0 (2015-10-27)

Closed issues:

  • Possible to set xsi:schemalocation? #505
  • Travis needs a renewed token to be able to set the status #495
  • Serialize a many-to-many relation #474
  • The document type "..." is not allowed #427
  • Yml serializer don't serialize empty arrays #183

Merged pull requests:

1.0.0 (2015-06-16)

Closed issues:

  • Unrecognized 4 parts namespace #449
  • Groups is ignored #440
  • Property FelDev\CoreBundle\Entity\Persona::$apellido does not exist #432
  • Erroneous data format for unserializing #430
  • Deserialize JSON into existing Doctrine entities and empty strings are ignored #417
  • Failing to deserealize JSON string #402
  • Empty results serializing virtual_properties #400
  • API stable 1.0.0 release in sight? #395
  • Is this project maintained still? #361
  • PreSerialize #339
  • Change default access\_type globally #336
  • Deserialization of XmlList does not support namespaces #332
  • Recursion groups, serializing properties in entities #329
  • The testsuite is broken #326
  • Namespaces and serialize/deserialize process #303
  • Exclusion of parent properties failing #282
  • How to deserialize correctly an array of arbitrary values ? #280
  • Try to identify getter/setter from an excluded property #278
  • Bug Entity constructor not called #270
  • Make it possible to escape special characters on serialization #265
  • doctrine annotations without namespace #264
  • php-collection constraint #257
  • [Metadata] PHP warning only when unittesting #255
  • Discriminator #220

Merged pull requests:

0.16.0 (2014-03-18)

Closed issues:

  • best way to add root to json? #250
  • Use Doctrine metadata #247
  • Integration Points - run-time exclusion checking #239
  • Using DoctrineTypeDriver to use Doctrine Anotations #232
  • Virtual property documentation xml & yaml #100

Merged pull requests:

  • Changed some constraint to allow latest versions #251 (stof)
  • XML root element namespace support #246 (andreasferber)
  • Added test for leading backslash in front of class name to TypeParserTest #245 (deralex)
  • Allow to fetch data from has*() with public_method #243 (jaymecd)
  • Improve yaml documentacion Fix #100 #221 (BraisGabin)

0.15.0 (2014-02-10)

Closed issues:

  • Add trait support #228
  • "array" type: Not working for arrays of DateTime objects #199
  • Discriminator field filtered by exclusion strategy #189
  • DateTime within an array (format get ignored) #140
  • EntityNotFoundException using softDeletable #101

Merged pull requests:

0.14.0 (2013-12-04)

Closed issues:

  • @HandlerCallback not inherited #181
  • Conditional serialization #173
  • Deserialize XML partially #167
  • getter is not called when serializing Discriminator parent entity #156
  • Deserialize DateTime from js Date.toJSON format fail #145
  • Yaml driver for the parameter xml_attribute_map is broken #141
  • XmlKeyValueStore annotation does not seem to deserialize properly #139
  • Boolean conversion gone wrong #134
  • Serialize to/from array? #133
  • @XmlRoot annotation no longer working #131
  • Skip an element based on a condition in a XmlList #121

Merged pull requests:

0.13.0 (2013-07-29)

Closed issues:

  • Documentation on Exclusion Strategies has an error #122
  • How access to the current serializing group in a subscriber ? #99
  • DoctrineProxySubscriber not found #93
  • Namespaces at root level #86
  • Issues when requesting JSON or XML using Doctrine MongoDB ODM #85
  • addGlobalIgnoredName not working #78
  • serialize_null configuration #77
  • Add json prefix to prevent script tag csrf attack #76
  • Add support for replacing serialization object inside events #74
  • Next stable version? #64
  • Deserialize with object refs #62

Merged pull requests:

0.12.0 (2013-03-28)

Closed issues:

  • Serialization profile/definition builder #68
  • I want to configure the default exclution policy #65
  • Mulit type property mapping #56
  • AccessType("public_method"): Setters ignored when deserializing to non-standard XML properties #53
  • Adding @Accessor with custom getter causes LogicException if Doctrine ManyToOneEntity #52
  • Handler callback's does not get passed context #49
  • PostSerialize callback causes data loss #46
  • Empty Objects get serialized as "array()" #43
  • Exclusion Policies aren't properly applied when "serializeNull" is "true" #42
  • Accessor annotation ignored #40
  • Support for multiple exclusion strategies #39
  • srholt123@yahoo.com #35
  • Could you tag a stable version? #34
  • Default conversion of camelCase to underscores is counterintuitive #33
  • Define the xml root when deserializing #18

Merged pull requests:

  • [Annotation] Added the ability to set the type when using @VirtualProperty #69 (pylebecq)
  • Added documentation for the @VirtualProperty annotation #67 (pylebecq)
  • Metadata stack tests #57 (adrienbrault)
  • Adding context to twig extension #55 (smurfy)
  • Allow deserialization of polymorphic classes by class without specifying the type #48 (gordalina)
  • Moves all state to dedicated context class #47 (schmittjoh)
  • Add PropertyNamingStrategy #37 (passkey1510)
  • The NavigatorContext now holds a metadata stack #28 (adrienbrault)

0.11.0 (2013-01-29)

Closed issues:

  • Hooking into metadata directly... #17
  • Serializing null values #14
  • Strange caching-error #13
  • handling of plain array #10
  • Unsupported format doesn't throw exception anymore #8

Merged pull requests:

  • Fix typo #32 (inanimatt)
  • Fixed the serialization of pluralized form errors #31 (stof)
  • Extract json specific logic from GenericSerializationVisitor #29 (adrienbrault)
  • [Serializer] Misc cleanup #27 (vicb)
  • [Builder] Add ability to include if metadata #25 (vicb)
  • Fix DateTimeZone issue when using the DateTime type #23 (colinmorelli)
  • Wrong exception message for parsing datetime #21 (nickelc)
  • Fixed typo in doc/reference/annotations.rst #16 (iambrosi)
  • Typecast when serializing primitive types #15 (baldurrensch)
  • add check and helpful exception message on inconsistent type situation #12 (dbu)
  • Dispatch pre-serialization event before handling data to have ability change type in listener #7 (megazoll)
  • Fix tests running in different environments #6 (megazoll)
  • Add DateInterval serialization to DateHandler formerly DateTimeHandler #5 (rpg600)
  • WIP Navigator context #3 (adrienbrault)
  • Update src/JMS/Serializer/Construction/DoctrineObjectConstructor.php #2 (robocoder)
  • Filter out non-identifiers from $data before calling find() #1 (robocoder)

* This Change Log was automatically generated by github_changelog_generator