Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / league / container / CHANGELOG.md
1 # Changelog
2
3 All Notable changes to `League\Container` will be documented in this file
4
5 ## 2.3.0
6
7 ### Added
8 - Now implementation of the PSR-11.
9
10 ### Changed
11 - Can now wrap shared objects as `RawArgument`.
12 - Ability to override shared items.
13
14 ### Fixed
15 - Booleans now recognised as accepted values.
16 - Various docblock fixes.
17 - Unused imports removed.
18 - Unreachable arguments no longer passed.
19
20 ## 2.2.0
21
22 ### Changed
23 - Service providers can now be added multiple times by giving them a signature.
24
25 ## 2.1.0
26
27 ### Added
28 - Allow resolving of `RawArgument` objects as first class dependencies.
29
30 ### Changed
31 - Unnecessary recursion removed from `Container::get`.
32
33 ## 2.0.3
34
35 ### Fixed
36 - Bug where delegating container was not passed to delegate when needed.
37 - Bug where `Container::extend` would not return a shared definition to extend.
38
39 ## 2.0.2
40
41 ### Fixed
42 - Bug introduced in 2.0.1 where shared definitions registered via a service provider would never be returned as shared.
43
44 ## 2.0.1
45
46 ### Fixed
47 - Bug where shared definitions were not stored as shared.
48
49 ## 2.0.0
50
51 ### Added
52 - Now implementation of the container-interop project.
53 - `BootableServiceProviderInterface` for eagerly loaded service providers.
54 - Delegate container functionality.
55 - `RawArgument` to ensure scalars are not resolved from the container but seen as an argument.
56
57 ### Altered
58 - Refactor of definition functionality.
59 - `Container::share` replaces `singleton` functionality to improve understanding.
60 - Auto wiring is now disabled by default.
61 - Auto wiring abstracted to be a delegate container `ReflectionContainer` handling all reflection based functionality.
62 - Inflection functionality abstracted to an aggregate.
63 - Service provider functionality abstracted to an aggregate.
64 - Much bloat removed.
65 - `Container::call` now proxies to `ReflectionContainer::call` and handles argument resolution in a much more efficient way.
66
67 ### Removed
68 - Ability to register invokables, this functionality added a layer of complexity too large for the problem it solved.
69 - Container no longer accepts a configuration array, this functionality will now be provided by an external service provider package.
70
71 ## 1.4.0
72
73 ### Added
74 - Added `isRegisteredCallable` method to public API.
75 - Invoking `call` now accepts named arguments at runtime.
76
77 ### Fixed
78 - Container now stores instantiated Service Providers after first instantiation.
79 - Extending a definition now looks in Service Providers as well as just Definitions.
80
81 ## 1.3.1 - 2015-02-21
82
83 ### Fixed
84 - Fixed bug where arbitrary values were attempted to be resolved as classes.
85
86 ## 1.3.0 - 2015-02-09
87
88 ### Added
89 - Added `ServiceProvider` functionality to allow cleaner resolving of complex dependencies.
90 - Added `Inflector` functionality to allow for manipulation of resolved objects of a specific type.
91 - Improvements to DRY throughout the package.
92
93 ### Fixed
94 - Setter in `ContainerAwareTrait` now returns self (`$this`).
95
96 ## 1.2.1 - 2015-01-29
97
98 ### Fixed
99 - Allow arbitrary values to be registered via container config.
100
101 ## 1.2.0 - 2015-01-13
102
103 ### Added
104 - Improvements to `Container::call` functionality.
105
106 ### Fixed
107 - General code tidy.
108 - Improvements to test suite.
109
110 ## 1.1.1 - 2015-01-13
111
112 ### Fixed
113 - Allow singleton to be passed as method argument.
114
115 ## 1.1.0 - 2015-01-12
116
117 ### Added
118 - Addition of `ContainerAwareTrait` to provide functionality from `ContainerAwareInterface`.
119
120 ## 1.0.0 - 2015-01-12
121
122 ### Added
123 - Migrated from [Orno\Di](https://github.com/orno/di).