From 0.13 to ??? ================ - If you have implemented your own ObjectConstructor, you need to add the DeserializationContext as an additional parameter for the ``construct`` method. From 0.11 to 0.12 ================= - GraphNavigator::detachObject has been removed, you can directly use Context::stopVisiting instead. - VisitorInterface::getNavigator was deprecated, instead use Context::accept - Serializer::setGroups, Serializer::setExclusionStrategy and Serializer::setVersion were removed, these settings must now be passed as part of a new Context object. Before: $serializer->setVersion(1); $serializer->serialize($data, 'json'); After: $serializer->serialize($data, 'json', SerializationContext::create()->setVersion(1)); - All visit??? methods of the VisitorInterface, now require a third argument, the Context; the context is for example passed as an additional argument to handlers, exclusion strategies, and also available in event listeners.
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
.github | Folder | 0755 |
|
|
doc | Folder | 0755 |
|
|
src | Folder | 0755 |
|
|
tests | Folder | 0755 |
|
|
.gitignore | File | 41 B | 0644 |
|
.scrutinizer.yml | File | 49 B | 0644 |
|
.travis.yml | File | 1.03 KB | 0644 |
|
CHANGELOG.md | File | 70.7 KB | 0644 |
|
LICENSE | File | 1.04 KB | 0644 |
|
META.md | File | 175 B | 0644 |
|
README.md | File | 436 B | 0644 |
|
UPGRADING.md | File | 1008 B | 0644 |
|
composer.json | File | 2.06 KB | 0644 |
|
phpunit.xml.dist | File | 930 B | 0644 |
|