Releases: alekitto/serializer
Releases · alekitto/serializer
Version 4.3.0
Version 4.2.0
- Apply new code style
- Execute static analysis on code base
- Fix deprecation on symfony/property-info >= 5.3
Version 4.1.2 - Patch
CHANGES:
- Fix metadata loading through reflection when PHP 8 union types are encountered
Version 4.1.1 - Patch
CHANGES:
- Additional debug traces
- Add some tests
Version 4.1
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
FIXES:
- Fix type error when creating xml text node (b430aa1)
- Fix annotations and attributes mixed usage
Version 4.0
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
andUuidHandler
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
CHANGES:
- Correctly handle date time object from
thecodingmachine/safe
library - Load xml/yaml mapping files from symfony bundles
- Add support for
doctrine/common
3 (anddoctrine/persistence
2) for mapping loading and object construction - Support PHP 8
- Various fixes
Version 3.5
CHANGES:
- Add
csv
serializer visitor (no deserialization yet).
Version 3.4
CHANGES:
- Require PHP 7.4
- Add alternative custom serialization/deserialization classes:
- Easier
SerializationHandlerInterface
andDeserializationHandlerInterface
to implement. - Reduce cognitive load for handler signature.
- Allow directly return the serialization/deserialization result.
- Easier