All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Bump phpunit version
- Require PHP >=7.2.5
- Expand supported versions of upstream
symfony/yaml
library UnsetArrayValue
tags now encode with anull
value instead of{ }
. This is due to a change in the upstreamsymfony/yaml
library.
- Add
asset-packagist.org
repository - Bump phpunit version
- Restrict upstream
symfony/yaml
to<=3.4.29
to maintain support for custom tags with empty values such asUnsetArrayValue
.
- Improved support for custom handlers based on class or interface names. Values
can now be handled by any class, superclass, or interface implemented by the
value. Previously, on the value's
get_class()
result could be configured as a handler.
- ValueEvent should not automatically unwrap the TaggedValue value in
Symfony\Component\Yaml\Tag\TaggedValue-{tagName}
events.
- Raw, unprocessed parsed TaggedValues now trigger a ValueEvent named
Symfony\Component\Yaml\Tag\TaggedValue-{tagName}
. After this event is handled, the resulting value is processed and then fired in a separate{tagName}
ValueEvent.
- Inner values of parsed TaggedValue objects should be processed
$event->handleValue($value)
shortcut for setting thevalue
, and setting$event->handled = true
.- Added ability to set and override parser and dumper handlers globally via dependency injection mechanisms
- Breaking Change - Automatically unwrap value from inside TaggedValue during parsing
- Initial implementation