2012-04-26 21:21:39 +01:00
|
|
|
CHANGELOG
|
|
|
|
=========
|
|
|
|
|
2019-05-22 11:29:55 +01:00
|
|
|
4.4.0
|
|
|
|
-----
|
|
|
|
|
|
|
|
* added a way to exclude patterns of resources from being imported by the `import()` method
|
|
|
|
|
2018-12-01 09:28:10 +00:00
|
|
|
4.3.0
|
|
|
|
-----
|
|
|
|
|
|
|
|
* deprecated using environment variables with `cannotBeEmpty()` if the value is validated with `validate()`
|
2019-01-31 12:39:06 +00:00
|
|
|
* made `Resource\*` classes final and not implement `Serializable` anymore
|
2019-04-09 00:07:36 +01:00
|
|
|
* deprecated the `root()` method in `TreeBuilder`, pass the root node information to the constructor instead
|
2018-12-01 09:28:10 +00:00
|
|
|
|
2018-06-02 19:20:34 +01:00
|
|
|
4.2.0
|
|
|
|
-----
|
|
|
|
|
|
|
|
* deprecated constructing a `TreeBuilder` without passing root node information
|
2018-07-22 21:38:19 +01:00
|
|
|
* renamed `FileLoaderLoadException` to `LoaderLoadException`
|
2018-06-02 19:20:34 +01:00
|
|
|
|
2017-04-04 15:56:32 +01:00
|
|
|
4.1.0
|
|
|
|
-----
|
|
|
|
|
|
|
|
* added `setPathSeparator` method to `NodeBuilder` class
|
|
|
|
* added third `$pathSeparator` constructor argument to `BaseNode`
|
2018-03-03 10:07:55 +00:00
|
|
|
* the `Processor` class has been made final
|
2017-04-04 15:56:32 +01:00
|
|
|
|
2017-09-29 10:42:39 +01:00
|
|
|
4.0.0
|
|
|
|
-----
|
|
|
|
|
|
|
|
* removed `ConfigCachePass`
|
|
|
|
|
2017-08-26 16:01:55 +01:00
|
|
|
3.4.0
|
|
|
|
-----
|
|
|
|
|
|
|
|
* added `setDeprecated()` method to indicate a deprecated node
|
2017-09-26 21:01:10 +01:00
|
|
|
* added `XmlUtils::parse()` method to parse an XML string
|
2017-09-29 10:41:38 +01:00
|
|
|
* deprecated `ConfigCachePass`
|
2017-08-26 16:01:55 +01:00
|
|
|
|
2017-01-26 15:09:57 +00:00
|
|
|
3.3.0
|
|
|
|
-----
|
|
|
|
|
|
|
|
* added `ReflectionClassResource` class
|
|
|
|
* added second `$exists` constructor argument to `ClassExistenceResource`
|
|
|
|
* made `ClassExistenceResource` work with interfaces and traits
|
2017-01-22 22:45:08 +00:00
|
|
|
* added `ConfigCachePass` (originally in FrameworkBundle)
|
2017-03-06 12:08:40 +00:00
|
|
|
* added `castToArray()` helper to turn any config value into an array
|
2017-01-26 15:09:57 +00:00
|
|
|
|
2015-01-03 11:33:20 +00:00
|
|
|
3.0.0
|
|
|
|
-----
|
|
|
|
|
|
|
|
* removed `ReferenceDumper` class
|
2015-09-26 10:27:23 +01:00
|
|
|
* removed the `ResourceInterface::isFresh()` method
|
|
|
|
* removed `BCResourceInterfaceChecker` class
|
2015-09-26 20:19:15 +01:00
|
|
|
* removed `ResourceInterface::getResource()` method
|
2015-01-03 11:33:20 +00:00
|
|
|
|
2015-09-08 07:37:45 +01:00
|
|
|
2.8.0
|
|
|
|
-----
|
|
|
|
|
|
|
|
The edge case of defining just one value for nodes of type Enum is now allowed:
|
|
|
|
|
|
|
|
```php
|
|
|
|
$rootNode
|
|
|
|
->children()
|
|
|
|
->enumNode('variable')
|
2019-01-16 13:03:22 +00:00
|
|
|
->values(['value'])
|
2015-09-08 07:37:45 +01:00
|
|
|
->end()
|
|
|
|
->end()
|
|
|
|
;
|
|
|
|
```
|
|
|
|
|
|
|
|
Before: `InvalidArgumentException` (variable must contain at least two
|
|
|
|
distinct elements).
|
|
|
|
After: the code will work as expected and it will restrict the values of the
|
|
|
|
`variable` option to just `value`.
|
2017-03-06 12:08:40 +00:00
|
|
|
|
2015-09-09 12:50:25 +01:00
|
|
|
* deprecated the `ResourceInterface::isFresh()` method. If you implement custom resource types and they
|
|
|
|
can be validated that way, make them implement the new `SelfCheckingResourceInterface`.
|
2015-09-07 19:46:33 +01:00
|
|
|
* deprecated the getResource() method in ResourceInterface. You can still call this method
|
|
|
|
on concrete classes implementing the interface, but it does not make sense at the interface
|
|
|
|
level as you need to know about the particular type of resource at hand to understand the
|
|
|
|
semantics of the returned value.
|
2015-09-08 07:37:45 +01:00
|
|
|
|
2015-04-02 14:33:59 +01:00
|
|
|
2.7.0
|
|
|
|
-----
|
|
|
|
|
|
|
|
* added `ConfigCacheInterface`, `ConfigCacheFactoryInterface` and a basic `ConfigCacheFactory`
|
|
|
|
implementation to delegate creation of ConfigCache instances
|
2017-03-06 12:08:40 +00:00
|
|
|
|
2012-09-20 06:48:14 +01:00
|
|
|
2.2.0
|
|
|
|
-----
|
|
|
|
|
2015-01-03 11:33:20 +00:00
|
|
|
* added `ArrayNodeDefinition::canBeEnabled()` and `ArrayNodeDefinition::canBeDisabled()`
|
2013-01-23 14:18:20 +00:00
|
|
|
to ease configuration when some sections are respectively disabled / enabled
|
|
|
|
by default.
|
2012-12-16 16:56:50 +00:00
|
|
|
* added a `normalizeKeys()` method for array nodes (to avoid key normalization)
|
2012-09-20 06:48:14 +01:00
|
|
|
* added numerical type handling for config definitions
|
2015-01-03 11:33:20 +00:00
|
|
|
* added convenience methods for optional configuration sections to `ArrayNodeDefinition`
|
2012-10-30 10:51:43 +00:00
|
|
|
* added a utils class for XML manipulations
|
2012-09-20 06:48:14 +01:00
|
|
|
|
2012-04-26 21:21:39 +01:00
|
|
|
2.1.0
|
|
|
|
-----
|
|
|
|
|
|
|
|
* added a way to add documentation on configuration
|
|
|
|
* implemented `Serializable` on resources
|
2015-01-03 11:33:20 +00:00
|
|
|
* `LoaderResolverInterface` is now used instead of `LoaderResolver` for type
|
2012-04-26 21:21:39 +01:00
|
|
|
hinting
|