Releases: wmde/Serialization
Releases · wmde/Serialization
3.2.2
4.0.0
- Removed the
Serialization_VERSIONconstant. - Removed underspecified
StrategicDeserializeralong with the abstract
TypedDeserializationStrategybase class. - Removed undocumented
TypedObjectDeserializer::requireAttributes. - Declared various protected properties and methods private:
DispatchingDeserializer::$deserializersDispatchingDeserializer::assertAreDeserializersDispatchingSerializer::$serializersDispatchingSerializer::assertAreSerializersInvalidAttributeException::$attributeNameInvalidAttributeException::$attributeValueMissingAttributeException::$attributeNameTypedObjectDeserializer::$objectTypeUnsupportedObjectException::$unsupportedObjectUnsupportedTypeException::$unsupportedType
- Deprecated pure utility functions on
TypedObjectDeserializer:assertAttributeInternalTypeassertAttributeIsArrayrequireAttribute
- Added default messages to
InvalidAttributeException,MissingAttributeException, and
UnsupportedTypeException. - Added documentation to the
SerializerandDeserializerinterfaces. - Updated minimal required PHP version from 5.3 to 5.5.9.
3.2.1
- Tested against hhvm-nightly
- Tests now run in strict mode
3.2.0
Made SerializationException non-abstract
3.1.0
TypedObjectDeserializer now explicitly implements DispatchableDeserializer.
3.0.0
- Split is(Des/S)erializerFor methods off into new Dispatchable(Des/S)erializer interfaces
- Changed from classmap based autoloading to PSR-4 based autoloading
- Improved PHPUnit bootstrap
2.2.0
Removed custom autoloader in favour of using the declarative system provided by Composer
2.1.0
- The type key in TypedObjectDeserializer can now be specified via a constructor argument
- TypedObjectDeserializer now has some tests in this component itself
- The documentation was somewhat improved
2.0.0
- Renamed Serializer::canSerialize to Serializer::isDeserializerFor
- Renamed Deserializer::canDeserialize to Deserializer::isDeserializerFor