b752df6fe23485ddf3d7a313b3df0752683f862e
[yaffs-website] / vendor / symfony / config / CHANGELOG.md
1 CHANGELOG
2 =========
3
4 3.0.0
5 -----
6
7  * removed `ReferenceDumper` class
8  * removed the `ResourceInterface::isFresh()` method
9  * removed `BCResourceInterfaceChecker` class
10  * removed `ResourceInterface::getResource()` method
11
12 2.8.0
13 -----
14
15 The edge case of defining just one value for nodes of type Enum is now allowed:
16
17 ```php
18 $rootNode
19     ->children()
20         ->enumNode('variable')
21             ->values(array('value'))
22         ->end()
23     ->end()
24 ;
25 ```
26
27 Before: `InvalidArgumentException` (variable must contain at least two
28 distinct elements).
29 After: the code will work as expected and it will restrict the values of the
30 `variable` option to just `value`.
31  
32  * deprecated the `ResourceInterface::isFresh()` method. If you implement custom resource types and they
33    can be validated that way, make them implement the new `SelfCheckingResourceInterface`.
34  * deprecated the getResource() method in ResourceInterface. You can still call this method
35    on concrete classes implementing the interface, but it does not make sense at the interface
36    level as you need to know about the particular type of resource at hand to understand the
37    semantics of the returned value.
38
39 2.7.0
40 -----
41
42  * added `ConfigCacheInterface`, `ConfigCacheFactoryInterface` and a basic `ConfigCacheFactory`
43    implementation to delegate creation of ConfigCache instances
44    
45 2.2.0
46 -----
47
48  * added `ArrayNodeDefinition::canBeEnabled()` and `ArrayNodeDefinition::canBeDisabled()`
49    to ease configuration when some sections are respectively disabled / enabled
50    by default.
51  * added a `normalizeKeys()` method for array nodes (to avoid key normalization)
52  * added numerical type handling for config definitions
53  * added convenience methods for optional configuration sections to `ArrayNodeDefinition`
54  * added a utils class for XML manipulations
55
56 2.1.0
57 -----
58
59  * added a way to add documentation on configuration
60  * implemented `Serializable` on resources
61  * `LoaderResolverInterface` is now used instead of `LoaderResolver` for type
62    hinting