Dependency Injection Versions Save

Allows you to standardize and centralize the way objects are constructed in your application

v7.1.0-RC1

4 days ago

Changelog (https://github.com/symfony/dependency-injection/compare/v7.1.0-BETA1...v7.1.0-RC1)

  • bug symfony/symfony#54970 [DependencyInjection] Process PHP configs using the ContainerConfigurator (@MatTheCat)
  • bug symfony/symfony#54908 [DependencyInjection] Fix "Cannot replace arguments" errors caused by ResolveAutowireInlineAttributesPass (@nicolas-grekas)

v7.1.0-BETA1

2 weeks ago

Changelog (https://github.com/symfony/dependency-injection/compare/v7.0.7...v7.1.0-BETA1)

  • feature symfony/symfony#54666 [DependencyInjection] Reset env vars when resetting the container (@faizanakram99)
  • feature symfony/symfony#52820 [DependencyInjection] Add #[AutowireInline] attribute to allow service definition at the class level (@DaDeather, @nicolas-grekas)
  • feature symfony/symfony#54371 [DependencyInjection] Deprecate #[TaggedIterator] and #[TaggedLocator] (@GromNaN)
  • feature symfony/symfony#53971 Cast env vars to null or bool when referencing them using #[Autowire(env: '...')] depending on the signature of the corresponding parameter (@ruudk)
  • feature symfony/symfony#54496 [Contracts] Rename ServiceSubscriberTrait to ServiceMethodsSubscriberTrait (@nicolas-grekas)
  • feature symfony/symfony#54414 [DependencyInjection] Improve the error message when there is no extension to load some configuration (@javiereguiluz)
  • feature symfony/symfony#52843 [DependencyInjection] Prepending extension configs with file loaders (@yceruto)
  • feature symfony/symfony#54365 [DependencyInjection] Apply attribute configurator to child classes (@GromNaN)
  • feature symfony/symfony#54016 [DependencyInjection] Add #[AutowireMethodOf] attribute to autowire a method of a service as a callable (@nicolas-grekas)
  • feature symfony/symfony#50745 [DependencyInjection] Add CheckAliasValidityPass to check interface compatibility (@n-valverde)
  • feature symfony/symfony#52922 [DependencyInjection] Add Lazy attribute for classes and arguments (@Tiriel)
  • feature symfony/symfony#53163 [Contracts][DependencyInjection] Add ServiceCollectionInterface (@kbond)
  • feature symfony/symfony#52948 Use faster hashing algorithms when possible (@javiereguiluz)
  • feature symfony/symfony#52636 [DependencyInjection] Prepend extension config with ContainerConfigurator (@yceruto)
  • feature symfony/symfony#52369 [DependencyInjection] Add urlencode function to EnvVarProcessor (@crtl)

v7.0.7

3 weeks ago

v6.4.7

3 weeks ago

v5.4.39

3 weeks ago

v7.0.6

1 month ago

Changelog (https://github.com/symfony/dependency-injection/compare/v7.0.5...v7.0.6)

  • bug symfony/symfony#54273 [DependencyInjection] fix XmlDumper when a tag contains also a 'name' property (@lyrixx)

v6.4.6

1 month ago

Changelog (https://github.com/symfony/dependency-injection/compare/v6.4.5...v6.4.6)

  • bug symfony/symfony#54273 [DependencyInjection] fix XmlDumper when a tag contains also a 'name' property (@lyrixx)

v5.4.38

1 month ago

v7.0.4

2 months ago

Changelog (https://github.com/symfony/dependency-injection/compare/v7.0.3...v7.0.4)

  • bug symfony/symfony#54035 [DependencyInjection] Fix computing error messages involving service locators (@nicolas-grekas)
  • bug symfony/symfony#53876 [DependencyInjection] fix unable to make lazy service from readonly class (@kor3k)

v6.4.4

2 months ago

Changelog (https://github.com/symfony/dependency-injection/compare/v6.4.3...v6.4.4)

  • bug symfony/symfony#54035 [DependencyInjection] Fix computing error messages involving service locators (@nicolas-grekas)
  • bug symfony/symfony#53876 [DependencyInjection] fix unable to make lazy service from readonly class (@kor3k)