NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #165 most downloaded on Packagist
Allows you to standardize and centralize the way objects are constructed in your application
Latest stable
v8.1.11
Last release 9 days ago
13 Nov 2026
Ships on a steady schedule
a new release about every 2 weeks
No release notes found
nothing matched a version
Nothing withdrawn
no release was ever pulled
15 years old
784 releases · first in 2011
Drag across the ruler to compare, or tap a release to open it.
bug #67938 Fix type-hinting file_locator and services_resetter with their deprecated HttpKernel types ( @nicolas-grekas )
Changelog (v8.2.0-BETA1...v8.2.0-BETA2)
import() so new files are detected (@abp002)parent::buildContainer() tracking the default bundles.php of a MicroKernelTrait kernel (@nicolas-grekas)file_locator and services_resetter with their deprecated HttpKernel types (@nicolas-grekas)Your coding agent can read these notes before it upgrades. Set up the MCP server →
feature #66630 Add ConstantFunctionProvider and deprecate the unrestricted constant() and enum() ( @nicolas-grekas )
Changelog (v8.1.11...v8.2.0-BETA1)
resource of resource_metadata work across environments (@nicolas-grekas)KernelTestCase and KernelBrowser only when needed (@nicolas-grekas)ConstantFunctionProvider and deprecate the unrestricted constant() and enum() (@nicolas-grekas)NodeDefinition::inlineEnvVars() to resolvesAtCompileTime() (@nicolas-grekas)within and around constraints to order decorators (@nicolas-grekas)PriorityTaggedServiceUtil to its own file so that it can be autoloaded (@nicolas-grekas)XmlDumper (@nicolas-grekas)ContainerBuilder::resolveEnvPlaceholders() (@nicolas-grekas)EnvNotFoundException (@nicolas-grekas)AppReference shape (@nicolas-grekas)# to inject a class map built from resource tags (@HypeMC)factory argument in the # attribute and also enabled the use of factory within instanceof conditionals (@santysisi)Changelog ( v8.1.10...v8.1.11 )
Changelog (v8.1.10...v8.1.11)
# resolution when two names give the same camelCase alias (@nicolas-grekas)[SECURITY] Security release
bug #67376 Preserve XML schema temporary files in forked processes ( @mbeccati )
Changelog (v8.1.9...v8.1.10)
process() running twice on extensions also registered as compiler passes (@HypeMC)# ignoring # (@nicolas-grekas)# with an interface on union types (@HypeMC)[SECURITY] Security release
bug #66894 Fix ignoring env var processors after resolving env vars before compilation ( @nicolas-grekas )
Changelog (v8.1.8...v8.1.9)
bug #66434 Track env placeholders reused after a previous extension dropped them (@TamasSzigeti)
Changelog (https://github.com/symfony/dependency-injection/compare/v8.1.7...v8.1.8)
bug #65986 Deep-clone only the mutable parts of a prototype definition (@nicolas-grekas)
Changelog (https://github.com/symfony/dependency-injection/compare/v8.1.5...v8.1.7)
bug #65367 Fix PHP 8.6 deprecations (@nicolas-grekas)
Changelog (https://github.com/symfony/dependency-injection/compare/v8.1.4...v8.1.5)
bug #65133 Fix ParameterBag::clear() leaving stale deprecations and resolution state (@javiereguiluz)
Changelog (https://github.com/symfony/dependency-injection/compare/v8.1.2...v8.1.4)
# being processed twice for PSR-4-discovered abstract types (@javiereguiluz)bug #64999 Restore reading "container.behavior_describing_tags" in DecoratorServicePass (@nicolas-grekas)
Changelog (https://github.com/symfony/dependency-injection/compare/v8.1.1...v8.1.2)
not_found for imports..ignore_errors in services.schema and AppReference (@kaznovac)minor #64629 Fix deprecation when handling tagged iterator YAML short syntax (@MatTheCat)
Changelog (https://github.com/symfony/dependency-injection/compare/v8.1.0...v8.1.1)
Changelog (https://github.com/symfony/dependency-injection/compare/v8.1.0-RC1...v8.1.0) * no significant changes
Changelog (https://github.com/symfony/dependency-injection/compare/v8.1.0-RC1...v8.1.0)
Stringable when using #[Autowire(env: 'FOO')]EnvClosureArgument and !env_closure YAML tag to inject env vars as closures or Stringable argumentsAddBehaviorDescribingTagsPass to allow bundles to extend the list of behavior-describing tagsKernel\ subnamespace$extensions parameter to MergeExtensionConfigurationPass to ensure registered extensions are implicitly loadeddecorates_tagcontainer.tag_decorator resource tag or #[AsTagDecorator]SOURCE_DATE_EPOCH environment variablealias, parent, synthetic, file, arguments, properties, configurator or calls when using from_callable#[AsTaggedItem] attribute instead. in themexclude to ContainerConfigurator::import()target parameter to #[AsAlias] to create target-specific autowiring aliases#[Target]Definition instance to Definition::setFactory() and Definition::setConfigurator(), its __invoke() method will be calledServicesResetter, ServicesResetterInterface, and Compiler\ResettableServicePass (moved from HttpKernel)kernel.resetbug #64311 Fix service() as invokable factory in array-based PHP config (@nicolas-grekas)
Changelog (https://github.com/symfony/dependency-injection/compare/v8.1.0-BETA3...v8.1.0-RC1)
service() as invokable factory in array-based PHP config (@nicolas-grekas)bug #64301 Various fixes and hardenings (@nicolas-grekas)
Changelog (https://github.com/symfony/dependency-injection/compare/v8.1.0-BETA1...v8.1.0-BETA3)
feature #63426 Deprecate named autowiring alias that don't use # (@nicolas-grekas)
Changelog (https://github.com/symfony/dependency-injection/compare/v8.0.13...v8.1.0-BETA1)
service() as invokable factory in array-based PHP config (@nicolas-grekas)Stringable when using # (@nicolas-grekas)DeepCloner for COW-friendly deep cloning (@nicolas-grekas)# (@nicolas-grekas)debug:container command (@ayyoub-afwallah)target parameter to # attribute (@ayyoub-afwallah)exclude to ContainerConfigurator::import() (@tilaven). in them (Max Baldanza)SOURCE_DATE_EPOCH environment variable (Charles-Édouard Coste)from_callable (@yoeunes)bug #64708 Fix lazy + factory service with a leading-backslash class on PHP 8.4 (@Amoifr)
Changelog (https://github.com/symfony/dependency-injection/compare/v8.0.14...v8.0.15)
not_found for imports..ignore_errors in services.schema and AppReference (@kaznovac)minor #64694 Fix service _instanceof type (@philbates35)
Changelog (https://github.com/symfony/dependency-injection/compare/v8.0.13...v8.0.14)
bug #64311 Fix service() as invokable factory in array-based PHP config (@nicolas-grekas)
Changelog (https://github.com/symfony/dependency-injection/compare/v8.0.10...v8.0.13)
service() as invokable factory in array-based PHP config (@nicolas-grekas)bug #64141 Fix lazy-autowiring an already-lazy service (@nicolas-grekas)
Changelog (https://github.com/symfony/dependency-injection/compare/v8.0.9...v8.0.10)
bug #64090 Reject circular references through a factory builder's setup (@nicolas-grekas)
Changelog (https://github.com/symfony/dependency-injection/compare/v8.0.8...v8.0.9)
bug #63812 Fix tagged_iterator/tagged_locator in array PHP config (@javiereguiluz)
Changelog (https://github.com/symfony/dependency-injection/compare/v8.0.7...v8.0.8)
bug #63508 Handle Stringable for string-typed arguments in CheckTypeDeclarationsPass (@yoeunes)
Changelog (https://github.com/symfony/dependency-injection/compare/v8.0.6...v8.0.7)
Stringable for string-typed arguments in CheckTypeDeclarationsPass (@yoeunes)TypeError when using a custom container base class with typed $parameterBag (@nicolas-grekas)bug #63473 Fix PriorityTaggedServiceTrait not discovering # on decorated services (@lacatoire)
Changelog (https://github.com/symfony/dependency-injection/compare/v8.0.5...v8.0.6)
# on decorated services (@lacatoire)ResolveBindingsPass error message (@yoeunes)bug #63213 Fix lazy proxy type resolution for decorated services (@nicolas-grekas)
Changelog (https://github.com/symfony/dependency-injection/compare/v8.0.4...v8.0.5)
bug #63160 Fix alias chain inversion when deprecated alias points to decorated service (amateescu)
Changelog (https://github.com/symfony/dependency-injection/compare/v8.0.3...v8.0.4)
ParamConfigurator in ParametersConfig (@jack-worman)bug symfony/symfony#62843 [DependencyInjection] Fix referencing build-time array parameters (@nicolas-grekas)
Changelog (https://github.com/symfony/dependency-injection/compare/v8.0.2...v8.0.3)
#[AutowireCallable] sometimes incorrectly inlined (@HypeMC)bug symfony/symfony#62685 [DependencyInjection] Fix PriorityTaggedServiceTrait when tag attributes are not a list (@GromNaN)
Changelog (https://github.com/symfony/dependency-injection/compare/v8.0.1...v8.0.2)
PriorityTaggedServiceTrait when tag attributes are not a list (@GromNaN)bug symfony/symfony#62544 [DependencyInjection] Ensure deprecation detection does not trigger a PHP error (@bnf)
Changelog (https://github.com/symfony/dependency-injection/compare/v8.0.0...v8.0.1)
$this or its internal scope from PHP config files (@nicolas-grekas).container.known_envs in XML loader (@GromNaN)#[Autowire] attribute (@yoeunes)PhpFileLoader during recursive imports (@yoeunes)query_string env processor for URLs without query string (@yoeunes)CheckTypeDeclarationsPass (@yoeunes)TypedReference in PhpDumper (@yoeunes)bug symfony/symfony#62476 [DependencyInjection] Fix wrong trait usage in ServiceLocatorArgument (@yoeunes)
Changelog (https://github.com/symfony/dependency-injection/compare/v8.0.0-RC3...v8.0.0)
$this or the loader's internal scope from PHP config files; use the $loader variable insteadExtensionInterface::getXsdValidationBasePath() and getNamespace() without alternatives, the XML configuration format is no longer supported$throwOnAbstract to ContainerBuilder::findTaggedResourceIds()#[TaggedIterator] and #[TaggedLocator] attributes, replaced by #[AutowireLocator] and #[AutowireIterator]ContainerBuilder::getAutoconfiguredAttributes(), replaced by ContainerBuilder::getAttributeAutoconfigurators()!tagged tag, use !tagged_iterator instead$target to ContainerBuilder::registerAliasForArgument()bug symfony/symfony#62437 [DependencyInjection] Fix preloading LazyClosure (@nicolas-grekas)
Changelog (https://github.com/symfony/dependency-injection/compare/v8.0.0-RC2...v8.0.0-RC3)
LazyClosure (@nicolas-grekas)bug symfony/symfony#62393 [Dependencyinjection] Call default index method when index is not provided by tag (@yoeunes)
Changelog (https://github.com/symfony/dependency-injection/compare/v8.0.0-RC1...v8.0.0-RC2)
bug symfony/symfony#62304 [DependencyInjection] Fix lazy proxy creation for interfaces aliased to final classes (@yoeunes)
Changelog (https://github.com/symfony/dependency-injection/compare/v8.0.0-BETA2...v8.0.0-RC1)
Changelog (https://github.com/symfony/dependency-injection/compare/v8.0.0-BETA1...v8.0.0-BETA2) * no significant changes
Changelog (https://github.com/symfony/dependency-injection/compare/v8.0.0-BETA1...v8.0.0-BETA2)
feature symfony/symfony#62092 [Config][DependencyInjection] Deprecate the fluent PHP format for semantic configuration (@nicolas-grekas)
Changelog (https://github.com/symfony/dependency-injection/compare/v7.3.4...v8.0.0-BETA1)
config/reference.php to assist in writing and discovering app's configuration (@nicolas-grekas)ExtensionInterface::getXsdValidationBasePath() and getNamespace() (@nicolas-grekas)$this or the internal scope of the loader from PHP config files (@nicolas-grekas)Class::function(...) and global_function(...) closures in PHP DSL for factories (@GromNaN)#[AsDecorator] attributes (@Jean-Beru)!tagged tag, use !tagged_iterator instead (@nicolas-grekas)$target to ContainerBuilder::registerAliasForArgument() (@nicolas-grekas)ContainerBuilder::getAutoconfiguredAttributes() (@GromNaN)#[TaggedIterator] and #[TaggedLocator] attributes (@GromNaN)#[AsAlias] attribute (@ruudk)Changelog ( v7.4.22...v7.4.23 )
Changelog (v7.4.22...v7.4.23)
# resolution when two names give the same camelCase alias (@nicolas-grekas)[SECURITY] Security release
Changelog ( v7.4.21...v7.4.22 )
Changelog (v7.4.21...v7.4.22)
process() running twice on extensions also registered as compiler passes (@HypeMC)# ignoring # (@nicolas-grekas)# with an interface on union types (@HypeMC)[SECURITY] Security release
Changelog ( v7.4.20...v7.4.21 )
Changelog (v7.4.20...v7.4.21)
bug #66434 Track env placeholders reused after a previous extension dropped them (@TamasSzigeti)
Changelog (https://github.com/symfony/dependency-injection/compare/v7.4.17...v7.4.20)
bug #65367 Fix PHP 8.6 deprecations (@nicolas-grekas)
Changelog (https://github.com/symfony/dependency-injection/compare/v7.4.16...v7.4.17)
bug #65133 Fix ParameterBag::clear() leaving stale deprecations and resolution state (@javiereguiluz)
Changelog (https://github.com/symfony/dependency-injection/compare/v7.4.15...v7.4.16)
# being processed twice for PSR-4-discovered abstract types (@javiereguiluz)bug #64708 Fix lazy + factory service with a leading-backslash class on PHP 8.4 (@Amoifr)
Changelog (https://github.com/symfony/dependency-injection/compare/v7.4.14...v7.4.15)
not_found for imports..ignore_errors in services.schema and AppReference (@kaznovac)minor #64694 Fix service _instanceof type (@philbates35)
Changelog (https://github.com/symfony/dependency-injection/compare/v7.4.13...v7.4.14)
bug #64311 Fix service() as invokable factory in array-based PHP config (@nicolas-grekas)
Changelog (https://github.com/symfony/dependency-injection/compare/v7.4.10...v7.4.13)
service() as invokable factory in array-based PHP config (@nicolas-grekas)bug #64141 Fix lazy-autowiring an already-lazy service (@nicolas-grekas)
Changelog (https://github.com/symfony/dependency-injection/compare/v7.4.9...v7.4.10)
bug #64090 Reject circular references through a factory builder's setup (@nicolas-grekas)
Changelog (https://github.com/symfony/dependency-injection/compare/v7.4.8...v7.4.9)
bug #63812 Fix tagged_iterator/tagged_locator in array PHP config (@javiereguiluz)
Changelog (https://github.com/symfony/dependency-injection/compare/v7.4.7...v7.4.8)
bug #63508 Handle Stringable for string-typed arguments in CheckTypeDeclarationsPass (@yoeunes)
Changelog (https://github.com/symfony/dependency-injection/compare/v7.4.6...v7.4.7)
Stringable for string-typed arguments in CheckTypeDeclarationsPass (@yoeunes)TypeError when using a custom container base class with typed $parameterBag (@nicolas-grekas)bug #63473 Fix PriorityTaggedServiceTrait not discovering # on decorated services (@lacatoire)
Changelog (https://github.com/symfony/dependency-injection/compare/v7.4.5...v7.4.6)
# on decorated services (@lacatoire)ResolveBindingsPass error message (@yoeunes)bug #63213 Fix lazy proxy type resolution for decorated services (@nicolas-grekas)
Changelog (https://github.com/symfony/dependency-injection/compare/v7.4.4...v7.4.5)
bug #63160 Fix alias chain inversion when deprecated alias points to decorated service (amateescu)
Changelog (https://github.com/symfony/dependency-injection/compare/v7.4.3...v7.4.4)
ParamConfigurator in ParametersConfig (@jack-worman)bug symfony/symfony#62843 [DependencyInjection] Fix referencing build-time array parameters (@nicolas-grekas)
Changelog (https://github.com/symfony/dependency-injection/compare/v7.4.2...v7.4.3)
#[AutowireCallable] sometimes incorrectly inlined (@HypeMC)bug symfony/symfony#62685 [DependencyInjection] Fix PriorityTaggedServiceTrait when tag attributes are not a list (@GromNaN)
Changelog (https://github.com/symfony/dependency-injection/compare/v7.4.1...v7.4.2)
PriorityTaggedServiceTrait when tag attributes are not a list (@GromNaN)bug symfony/symfony#62544 [DependencyInjection] Ensure deprecation detection does not trigger a PHP error (@bnf)
Changelog (https://github.com/symfony/dependency-injection/compare/v7.4.0...v7.4.1)
$this or its internal scope from PHP config files (@nicolas-grekas).container.known_envs in XML loader (@GromNaN)#[Autowire] attribute (@yoeunes)PhpFileLoader during recursive imports (@yoeunes)query_string env processor for URLs without query string (@yoeunes)bug symfony/symfony#62485 [DependencyInjection] Fix loop corruption in CheckTypeDeclarationsPass (@yoeunes)
Changelog (https://github.com/symfony/dependency-injection/compare/v7.4.0-RC3...v7.4.0)
CheckTypeDeclarationsPass (@yoeunes)TypedReference in PhpDumper (@yoeunes)$this or its internal scope from PHP config files; use the $loader variable instead#[AsAlias] to be extended$target to ContainerBuilder::registerAliasForArgument()#[AsDecorator] attributesAppReference to help writing PHP configs using yaml-like array-shapesExtensionInterface::getXsdValidationBasePath() and getNamespace()$container->extension() or return an array insteadbug symfony/symfony#62437 [DependencyInjection] Fix preloading LazyClosure (@nicolas-grekas)
Changelog (https://github.com/symfony/dependency-injection/compare/v7.4.0-RC2...v7.4.0-RC3)
LazyClosure (@nicolas-grekas)bug symfony/symfony#62393 [Dependencyinjection] Call default index method when index is not provided by tag (@yoeunes)
Changelog (https://github.com/symfony/dependency-injection/compare/v7.4.0-RC1...v7.4.0-RC2)
bug symfony/symfony#62304 [DependencyInjection] Fix lazy proxy creation for interfaces aliased to final classes (@yoeunes)
Changelog (https://github.com/symfony/dependency-injection/compare/v7.4.0-BETA2...v7.4.0-RC1)
Changelog (https://github.com/symfony/dependency-injection/compare/v7.4.0-BETA1...v7.4.0-BETA2) * no significant changes
Changelog (https://github.com/symfony/dependency-injection/compare/v7.4.0-BETA1...v7.4.0-BETA2)
feature symfony/symfony#62092 [Config][DependencyInjection] Deprecate the fluent PHP format for semantic configuration (@nicolas-grekas)
Changelog (https://github.com/symfony/dependency-injection/compare/v7.3.4...v7.4.0-BETA1)
config/reference.php to assist in writing and discovering app's configuration (@nicolas-grekas)ExtensionInterface::getXsdValidationBasePath() and getNamespace() (@nicolas-grekas)$this or the internal scope of the loader from PHP config files (@nicolas-grekas)Class::function(...) and global_function(...) closures in PHP DSL for factories (@GromNaN)#[AsDecorator] attributes (@Jean-Beru)$target to ContainerBuilder::registerAliasForArgument() (@nicolas-grekas)#[AsAlias] attribute (@ruudk)bug #63213 Fix lazy proxy type resolution for decorated services (@nicolas-grekas)
Changelog (https://github.com/symfony/dependency-injection/compare/v7.3.10...v7.3.11)
One column per quarter.