Skip to content

Upgrading jms/serializer 0.15 to 0.16

Review needed0.15.0 → 0.16.0New3Changed2Other1

Review neededUpgrade verdict

2 behavior changes.

  • When an annotated type cannot be parsed, the error message is now more helpful.
  • The package now accepts newer versions of its dependencies, making it easier to install alongside other packages.
Nothing to change

No breaking, platform, security or deprecated items in this range.

Moves phpcollection/phpcollection >=0.1,<0.3-dev → ~0.1. Your build may pick other versions.

Nothing in this upgrade needs a code or configuration change.

Generated by DepDelta from published PHP source. Not mixed with prose notes.

  • changed: method XmlSerializationVisitor.setDefaultRootName($name) → method XmlSerializationVisitor.setDefaultRootName($name, $namespace = …)
  • added: method SerializerBuilder.setMetadataDriverFactory(DriverFactoryInterface $driverFactory)
  • added: property XmlRoot.namespace
  • added: class CallbackDriverFactory implements DriverFactoryInterface
  • added: class DefaultDriverFactory implements DriverFactoryInterface
  • added: constructor CallbackDriverFactory($callable)
  • added: interface DriverFactoryInterface
  • added: method CallbackDriverFactory.createDriver(array $metadataDirs, Reader $reader)
  • added: method DefaultDriverFactory.createDriver(array $metadataDirs, Reader $annotationReader)
  • added: method DriverFactoryInterface.createDriver(array $metadataDirs, Reader $annotationReader)
  • added: property ClassMetadata.xmlRootNamespace