NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #162 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 4 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.
Changelog (https://github.com/symfony/dependency-injection/compare/v5.4.6...v5.4.7) * no significant changes
Changelog (https://github.com/symfony/dependency-injection/compare/v5.4.6...v5.4.7)
Changelog (https://github.com/symfony/dependency-injection/compare/v5.4.5...v5.4.6) * no significant changes
Changelog (https://github.com/symfony/dependency-injection/compare/v5.4.5...v5.4.6)
bug #45529 Don't reset env placeholders during compilation (nicolas-grekas)
Changelog (https://github.com/symfony/dependency-injection/compare/v5.4.4...v5.4.5)
Your coding agent can read these notes before it upgrades. Set up the MCP server →
bug #44986 copy synthetic status when resolving child definitions (kbond)
Changelog (https://github.com/symfony/dependency-injection/compare/v5.4.2...v5.4.3)
bug #44838 Fix enum typed bindings (ogizanagi)
Changelog (https://github.com/symfony/dependency-injection/compare/v5.4.1...v5.4.2)
bug #44385 Skip parameter attribute configurators in AttributeAutoconfigurationPass if we can't get the constructor reflector (fancyweb)
Changelog (https://github.com/symfony/dependency-injection/compare/v5.4.0...v5.4.1)
Changelog (https://github.com/symfony/dependency-injection/compare/v5.4.0-RC1...v5.4.0) * no significant changes
Changelog (https://github.com/symfony/dependency-injection/compare/v5.4.0-RC1...v5.4.0)
$defaultIndexMethod and $defaultPriorityMethod to TaggedIterator and TaggedLocator attributesservice_closure() to the PHP-DSLChangelog (https://github.com/symfony/dependency-injection/compare/v5.4.0-BETA3...v5.4.0-RC1) * no significant changes
Changelog (https://github.com/symfony/dependency-injection/compare/v5.4.0-BETA3...v5.4.0-RC1)
bug #44098 fix preloading (nicolas-grekas)
Changelog (https://github.com/symfony/dependency-injection/compare/v6.0.0-BETA2...v5.4.0-BETA3)
bug #44012 fix inlining when non-shared services are involved (nicolas-grekas)
Changelog (https://github.com/symfony/dependency-injection/compare/v5.4.0-BETA1...v5.4.0-BETA2)
ServiceSubscriberInterface (kbond)feature #43804 Deprecate Composer 1 (derrabus)
Changelog (https://github.com/symfony/dependency-injection/compare/v5.3.10...v5.4.0-BETA1)
SubscribedService attribute, deprecate current ServiceSubscriberTrait usage (kbond)bug #44986 copy synthetic status when resolving child definitions (kbond)
Changelog (https://github.com/symfony/dependency-injection/compare/v5.3.13...v5.3.14)
bug #44838 Fix enum typed bindings (ogizanagi)
Changelog (https://github.com/symfony/dependency-injection/compare/v5.3.12...v5.3.13)
bug #44012 fix inlining when non-shared services are involved (nicolas-grekas)
Changelog (https://github.com/symfony/dependency-injection/compare/v5.3.10...v5.3.11)
bug #43579 Fix autowiring tagged arguments from attributes (Okhoshi)
Changelog (https://github.com/symfony/dependency-injection/compare/v5.3.9...v5.3.10)
bug #43115 Fix iterator in ServiceConfigurator (jderusse)
Changelog (https://github.com/symfony/dependency-injection/compare/v5.3.7...v5.3.8)
bug #42347 Fix ServiceLocator indexing when service is decorated (shyim)
Changelog (https://github.com/symfony/dependency-injection/compare/v5.3.6...v5.3.7)
bug #42097 Support for intersection types (derrabus)
Changelog (https://github.com/symfony/dependency-injection/compare/v5.3.3...v5.3.4)
bug #40857 Add support of PHP enumerations (alexandre-daubois)
Changelog (https://github.com/symfony/dependency-injection/compare/v5.3.2...v5.3.3)
bug #41673 fix parsing classes for attributes (nicolas-grekas)
Changelog (https://github.com/symfony/dependency-injection/compare/v5.3.1...v5.3.2)
when@{env} inside imported files (nusje2000)bug #41407 keep container.service_subscriber tag on the decorated definition (xabbuh)
Changelog (https://github.com/symfony/dependency-injection/compare/v5.3.0-RC1...v5.3.0)
ServicesConfigurator::remove() in the PHP-DSL%env(not:...)% processor to negate boolean values#[Autoconfigure] and #[AutoconfigureTag] attributes on PHP 8#[AsTaggedItem] attribute for defining the index and priority of classes found in tagged iterators/locatorsContainerBuilder::willBeAvailable() to help with conditional configuration#[When(env: 'foo')] to skip autoregistering a class when the env doesn't matchenv() and EnvConfigurator in the PHP-DSLConfigBuilder in the PhpFileLoaderContainerConfigurator::env() to get the current environment#[Target] to tell how a dependency is used and hint named autowiring aliasesbug #41240 Fixed deprecation warnings about passing null as parameter (derrabus)
Changelog (https://github.com/symfony/dependency-injection/compare/v5.3.0-BETA4...v5.3.0-RC1)
feature #41182 allow PHP-DSL files to be env-conditional (nicolas-grekas)
Changelog (https://github.com/symfony/dependency-injection/compare/v5.3.0-BETA3...v5.3.0-BETA4)
bug #40917 Uniformize trailing slash handling (dunglas)
Changelog (https://github.com/symfony/dependency-injection/compare/v5.3.0-BETA2...v5.3.0-BETA3)
bug #40903 Builder: Remove typehints and allow for EnvConfigurator (Nyholm)
Changelog (https://github.com/symfony/dependency-injection/compare/v5.3.0-BETA1...v5.3.0-BETA2)
#[Target] to tell how a dependency is used and hint named autowiring aliases (nicolas-grekas)Nothing published for this version
bug #42097 Support for intersection types (derrabus)
Changelog (https://github.com/symfony/dependency-injection/compare/v5.2.11...v5.2.12)
bug #40857 Add support of PHP enumerations (alexandre-daubois)
Changelog (https://github.com/symfony/dependency-injection/compare/v5.2.10...v5.2.11)
bug #41407 keep container.service_subscriber tag on the decorated definition (xabbuh)
Changelog (https://github.com/symfony/dependency-injection/compare/v5.2.9...v5.2.10)
bug #41240 Fixed deprecation warnings about passing null as parameter (derrabus)
Changelog (https://github.com/symfony/dependency-injection/compare/v5.2.8...v5.2.9)
bug #41176 fix dumping service-closure-arguments (nicolas-grekas)
Changelog (https://github.com/symfony/dependency-injection/compare/v5.2.7...v5.2.8)
bug #40872 Noop when the service is private (fancyweb)
Changelog (https://github.com/symfony/dependency-injection/compare/v5.2.6...v5.2.7)
bug #40541 Fixed parsing deprecated definitions without message key (adamwojs)
Changelog (https://github.com/symfony/dependency-injection/compare/v5.2.5...v5.2.6)
bug #40386 Backport psr/container 1.1/2.0 compatibility (derrabus)
Changelog (https://github.com/symfony/dependency-injection/compare/v5.2.4...v5.2.5)
bug #40350 fix parsing calls of methods named "method" (xabbuh)
Changelog (https://github.com/symfony/dependency-injection/compare/v5.2.3...v5.2.4)
Changelog (https://github.com/symfony/dependency-injection/compare/v5.2.2...v5.2.3) * no changes
Changelog (https://github.com/symfony/dependency-injection/compare/v5.2.2...v5.2.3)
bug #39861 Skip deprecated definitions in CheckTypeDeclarationsPass (chalasr)
Changelog (https://github.com/symfony/dependency-injection/compare/v5.2.1...v5.2.2)
bug #39203 Fix not working if only "default_index_method" used (malteschlueter)
Changelog (https://github.com/symfony/dependency-injection/compare/v5.2.0...v5.2.1)
deprecated Definition::setPrivate() and Alias::setPrivate(), use setPublic() instead
param() and abstract_arg() in the PHP-DSLDefinition::setPrivate() and Alias::setPrivate(), use setPublic() instead#[Required] attributeNothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
bug #39861 Skip deprecated definitions in CheckTypeDeclarationsPass (chalasr)
Changelog (https://github.com/symfony/dependency-injection/compare/v5.1.10...v5.1.11)
bug #39203 Fix not working if only "default_index_method" used (malteschlueter)
Changelog (https://github.com/symfony/dependency-injection/compare/v5.1.9...v5.1.10)
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
deprecated inline() in favor of inline_service() and ref() in favor of service() when using the PHP-DSL
inline() in favor of inline_service() and ref() in favor of service() when using the PHP-DSL.inner idInlineServiceConfiguratorDefinition::setDeprecated() to Definition::setDeprecation(string $package, string $version, string $message)Alias::setDeprecated() to Alias::setDeprecation(string $package, string $version, string $message)DeprecateTrait::deprecate() to DeprecateTrait::deprecation(string $package, string $version, string $message)Psr\Container\ContainerInterface and Symfony\Component\DependencyInjection\ContainerInterface aliases of the service_container service,
configure them explicitly insteadSymfony\Component\DependencyInjection\Dumper\Preloader to help with preloading on PHP 7.4+container.preload/.no_preload to declare extra classes to preload/services to not preloadDefinition::getDeprecationMessage(), use Definition::getDeprecation() insteadAlias::getDeprecationMessage(), use Alias::getDeprecation() insteadAliasDeprecatedPublicServicesPass to deprecate public services to privateNothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.