Skip to content

4.0.0

Choose a tag to compare

@thiemowmde thiemowmde released this 25 Oct 11:46
· 41 commits to master since this release
  • Removed the Serialization_VERSION constant.
  • Removed underspecified StrategicDeserializer along with the abstract
    TypedDeserializationStrategy base class.
  • Removed undocumented TypedObjectDeserializer::requireAttributes.
  • Declared various protected properties and methods private:
    • DispatchingDeserializer::$deserializers
    • DispatchingDeserializer::assertAreDeserializers
    • DispatchingSerializer::$serializers
    • DispatchingSerializer::assertAreSerializers
    • InvalidAttributeException::$attributeName
    • InvalidAttributeException::$attributeValue
    • MissingAttributeException::$attributeName
    • TypedObjectDeserializer::$objectType
    • UnsupportedObjectException::$unsupportedObject
    • UnsupportedTypeException::$unsupportedType
  • Deprecated pure utility functions on TypedObjectDeserializer:
    • assertAttributeInternalType
    • assertAttributeIsArray
    • requireAttribute
  • Added default messages to InvalidAttributeException, MissingAttributeException, and
    UnsupportedTypeException.
  • Added documentation to the Serializer and Deserializer interfaces.
  • Updated minimal required PHP version from 5.3 to 5.5.9.