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)
Fixed bugs:
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:
- Added doc reference for disabling discriminator #699 (dragosprotung)
- Use GroupsExclusionStrategy::DEFAULT_GROUP instead default group. #694 (Aliance)
- Improved Symfony 3.x compatibility #682 (goetas)
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:
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)
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)
- 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
Merged pull requests:
1.3.0 (2016-08-17)
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
- 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:
- Added public
hasData
function to check if a data key already have been added. #625 (goetas) - $context is not used #622 (olvlvl)
- Fix Doctrine PHPCR ODM 2.0 compatibility #605 (wouterj)
- Introducing NormalizerInterface #592 (alcalyn)
- Fixed type-hinting #586 (jgendera)
- Fix multiple handler callbacks in YamlDriver #515 (mpajunen)
- Fixed minor typos #364 (sdaoudi)
- Default
$serializeNull
to false #317 (steveYeah) - Missing attribute 'xml-value' in XML Reference #269 (holtkamp)
- Removed unnecessary use statement #262 (dunglas)
1.2.0 (2016-08-03)
Implemented enhancements:
- Issue543 - Adding DateTimeImmutable support #635 (toby-griffiths)
Fixed bugs:
- Fix xml-attribute-map for the xml driver #595 (romantomchak)
- Fix warning array_key_exists in deserialization. #398 (leonnleite)
- #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)
- Discriminator Groups #579 (maennchen)
- Fixed test suite on master #578 (goetas)
- Fix for a broken test: a missing (incorrectly positioned) argument #577 (zerkms)
- Add extra test for handling child elements #569 (tarjei)
- 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:
- Manage empty array for serializer #510 (Soullivaneuh)
- Fix the method name for the serialization context factory #490 (stof)
- Switch the Twig integration to use non-deprecated APIs #482 (stof)
- Add PHP 7 on Travis #477 (Soullivaneuh)
- Change Proxy class used to Doctrine\Common\Persistence\Proxy #351 (bburnichon)
- Added PHP 5.6 #297 (Nyholm)
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:
- fix json output (from [] to {} if empty) of form error #462 (jhkchan)
- Add toArray and fromArray methods to the serializer #435 (tystr)
- Erroneous data format for unserializing #430 #431 (tmilos)
- Scrutinizer Auto-Fixes #381 (scrutinizer-auto-fixer)
- Fixing tests for bugfixed PHP versions #375 (urakozz)
- Making test running against phpunit 4.* #369 (joelwurtz)
- Fixes a typo in the annotations.rst #363 (Potherca)
- [doc] Default group informations #345 (emilien-puget)
- bump branch alias to 0.17 as 0.16 is already released #305 (lsmith77)
- Unserialization of XML booleans #302 (goetas)
- Added xml_root_namespace on YAML reference #299 (goetas)
- Fixed yml mapping file name #256 (spolischook)
- Serialization of nested polymorphic objects #238 (DavidMikeSimon)
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
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
- Virtual property documentation xml & yaml #100
Merged pull requests:
- Read only class #227 (goetas)
- @Alex88's Serialize only form child of type Form #117 #224 (minayaserrano)
- @XmlElement notation consistency #219 (ajgarlag)
- add $this->maxDepth to serialize / unserialize #218 (rothfahl)
- xml reference updated with virtual-property example #215 (ribeiropaulor)
- Add XmlNamespace annotation documentation #213 (jeserkin)
- Scrutinizer Auto-Fixes #210 (scrutinizer-auto-fixer)
- Scrutinizer Auto-Fixes #206 (scrutinizer-auto-fixer)
- Add xmlAttributeMap to serialized values #204 (colinfrei)
- fix issue #199: "array" type ignoring DateTime format #201 (lukey78)
- Potential fix for "recursion detected" issue #104 (tyler-sommer)
0.14.0 (2013-12-04)
Implemented enhancements:
- Can now override groups on specific paths of the graph #170 (adrienbrault)
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:
- No CData #187 (mvrhov)
- composer is preinstalled on travis #185 (lsmith77)
- [WIP] added support for PHPCR #184 (lsmith77)
- Metadata filename convention added to yml/xml references #172 (rodrigodiez)
- Fix inline bug with empty child #165 (adrienbrault)
- Add virtual properties yaml example #163 (adrienbrault)
- Allow deserialization to constructed objects #160 (eugene-dounar)
- Fix DoctrineDriverTest random failures #155 (eugene-dounar)
- Fix XML null DateTime deserialization #154 (eugene-dounar)
- Update doctrine/orm dev dependency #153 (eugene-dounar)
- composer install --dev fails #152 (eugene-dounar)
- Update annotations.rst #146 (chrisjohnson00)
- Add Doctrine\ODM\PHPCR\ChildrenCollection to ArrayCollectionHandler #143 (hacfi)
- xml_attribute_map fix for the yaml driver #142 (mvanmeerbeck)
- Support PropelCollection serialization #81 (zebraf1)
- Adds XML namespaces support #58 (ajgarlag)
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:
- fix wrong quote in used in docs #130 (jaapio)
- Document the handler $context argument #116 (adrienbrault)
- Document the SubscribingHandlerInterface a bit #115 (adrienbrault)
- Add getter for the xml serialization visitor defaultRootName property #114 (adrienbrault)
- Add Serializer::getMetadataFactory #113 (adrienbrault)
- Accessor order #108 (jaapio)
- Added xmlns:xsi namespace and fixed tests #107 (josser)
- [Doc] Fixed typo in event_system #106 (lyrixx)
- Fix discriminator map search in ClassMetadata #97 (xanido)
- Use the AnnotationReader interface in the SerializerBuilder, instead of the implemented AnnotationReader itself #82 (HarmenM)
- Remove useless YamlSerializationVisitor::prepare method #75 (adrienbrault)
- Add the PRE_DESERIALIZE event to the Events class #73 (adrienbrault)
- Improve serialization example #71 (tvlooy)
- Max depth strategy #4 (adrienbrault)
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