annotate vendor/symfony/dependency-injection/CHANGELOG.md @ 19:fa3358dc1485 tip

Add ndrum files
author Chris Cannam
date Wed, 28 Aug 2019 13:14:47 +0100
parents 1fec387a4317
children
rev   line source
Chris@0 1 CHANGELOG
Chris@0 2 =========
Chris@0 3
Chris@14 4 3.4.0
Chris@14 5 -----
Chris@14 6
Chris@14 7 * moved the `ExtensionCompilerPass` to before-optimization passes with priority -1000
Chris@14 8 * deprecated "public-by-default" definitions and aliases, the new default will be "private" in 4.0
Chris@14 9 * added `EnvVarProcessorInterface` and corresponding "container.env_var_processor" tag for processing env vars
Chris@14 10 * added support for ignore-on-uninitialized references
Chris@14 11 * deprecated service auto-registration while autowiring
Chris@14 12 * deprecated the ability to check for the initialization of a private service with the `Container::initialized()` method
Chris@14 13 * deprecated support for top-level anonymous services in XML
Chris@14 14 * deprecated case insensitivity of parameter names
Chris@14 15 * deprecated the `ResolveDefinitionTemplatesPass` class in favor of `ResolveChildDefinitionsPass`
Chris@14 16 * added `TaggedIteratorArgument` with YAML (`!tagged foo`) and XML (`<service type="tagged"/>`) support
Chris@14 17 * deprecated `AutowireExceptionPass` and `AutowirePass::getAutowiringExceptions()`, use `Definition::addError()` and the `DefinitionErrorExceptionPass` instead
Chris@14 18
Chris@14 19
Chris@14 20 3.3.0
Chris@14 21 -----
Chris@14 22
Chris@14 23 * deprecated autowiring services based on the types they implement;
Chris@14 24 rename (or alias) your services to their FQCN id to make them autowirable
Chris@14 25 * added "ServiceSubscriberInterface" - to allow for per-class explicit service-locator definitions
Chris@14 26 * added "container.service_locator" tag for defining service-locator services
Chris@14 27 * added anonymous services support in YAML configuration files using the `!service` tag.
Chris@14 28 * added "TypedReference" and "ServiceClosureArgument" for creating service-locator services
Chris@14 29 * added `ServiceLocator` - a PSR-11 container holding a set of services to be lazily loaded
Chris@14 30 * added "instanceof" section for local interface-defined configs
Chris@14 31 * added prototype services for PSR4-based discovery and registration
Chris@14 32 * added `ContainerBuilder::getReflectionClass()` for retrieving and tracking reflection class info
Chris@14 33 * deprecated `ContainerBuilder::getClassResource()`, use `ContainerBuilder::getReflectionClass()` or `ContainerBuilder::addObjectResource()` instead
Chris@14 34 * added `ContainerBuilder::fileExists()` for checking and tracking file or directory existence
Chris@14 35 * deprecated autowiring-types, use aliases instead
Chris@14 36 * added support for omitting the factory class name in a service definition if the definition class is set
Chris@14 37 * deprecated case insensitivity of service identifiers
Chris@14 38 * added "iterator" argument type for lazy iteration over a set of values and services
Chris@14 39 * added file-wide configurable defaults for service attributes "public", "tags",
Chris@14 40 "autowire" and "autoconfigure"
Chris@14 41 * made the "class" attribute optional, using the "id" as fallback
Chris@14 42 * using the `PhpDumper` with an uncompiled `ContainerBuilder` is deprecated and
Chris@14 43 will not be supported anymore in 4.0
Chris@14 44 * deprecated the `DefinitionDecorator` class in favor of `ChildDefinition`
Chris@14 45 * allow config files to be loaded using a glob pattern
Chris@14 46 * [BC BREAK] the `NullDumper` class is now final
Chris@14 47
Chris@0 48 3.2.0
Chris@0 49 -----
Chris@0 50
Chris@0 51 * allowed to prioritize compiler passes by introducing a third argument to `PassConfig::addPass()`, to `Compiler::addPass` and to `ContainerBuilder::addCompilerPass()`
Chris@0 52 * added support for PHP constants in YAML configuration files
Chris@0 53 * deprecated the ability to set or unset a private service with the `Container::set()` method
Chris@0 54 * deprecated the ability to check for the existence of a private service with the `Container::has()` method
Chris@0 55 * deprecated the ability to request a private service with the `Container::get()` method
Chris@12 56 * deprecated support for generating a dumped `Container` without populating the method map
Chris@0 57
Chris@0 58 3.0.0
Chris@0 59 -----
Chris@0 60
Chris@0 61 * removed all deprecated codes from 2.x versions
Chris@0 62
Chris@0 63 2.8.0
Chris@0 64 -----
Chris@0 65
Chris@0 66 * deprecated the abstract ContainerAware class in favor of ContainerAwareTrait
Chris@0 67 * deprecated IntrospectableContainerInterface, to be merged with ContainerInterface in 3.0
Chris@0 68 * allowed specifying a directory to recursively load all configuration files it contains
Chris@0 69 * deprecated the concept of scopes
Chris@0 70 * added `Definition::setShared()` and `Definition::isShared()`
Chris@0 71 * added ResettableContainerInterface to be able to reset the container to release memory on shutdown
Chris@0 72 * added a way to define the priority of service decoration
Chris@0 73 * added support for service autowiring
Chris@0 74
Chris@0 75 2.7.0
Chris@0 76 -----
Chris@0 77
Chris@0 78 * deprecated synchronized services
Chris@0 79
Chris@0 80 2.6.0
Chris@0 81 -----
Chris@0 82
Chris@0 83 * added new factory syntax and deprecated the old one
Chris@0 84
Chris@0 85 2.5.0
Chris@0 86 -----
Chris@0 87
Chris@0 88 * added DecoratorServicePass and a way to override a service definition (Definition::setDecoratedService())
Chris@0 89 * deprecated SimpleXMLElement class.
Chris@0 90
Chris@0 91 2.4.0
Chris@0 92 -----
Chris@0 93
Chris@0 94 * added support for expressions in service definitions
Chris@0 95 * added ContainerAwareTrait to add default container aware behavior to a class
Chris@0 96
Chris@0 97 2.2.0
Chris@0 98 -----
Chris@0 99
Chris@0 100 * added Extension::isConfigEnabled() to ease working with enableable configurations
Chris@0 101 * added an Extension base class with sensible defaults to be used in conjunction
Chris@0 102 with the Config component.
Chris@0 103 * added PrependExtensionInterface (to be able to allow extensions to prepend
Chris@0 104 application configuration settings for any Bundle)
Chris@0 105
Chris@0 106 2.1.0
Chris@0 107 -----
Chris@0 108
Chris@0 109 * added IntrospectableContainerInterface (to be able to check if a service
Chris@0 110 has been initialized or not)
Chris@0 111 * added ConfigurationExtensionInterface
Chris@0 112 * added Definition::clearTag()
Chris@0 113 * component exceptions that inherit base SPL classes are now used exclusively
Chris@0 114 (this includes dumped containers)
Chris@0 115 * [BC BREAK] fixed unescaping of class arguments, method
Chris@0 116 ParameterBag::unescapeValue() was made public