Skip to content

Bump symfony/dependency-injection from 7.2.6 to 7.3.0 #740

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 2, 2025

Bumps symfony/dependency-injection from 7.2.6 to 7.3.0.

Release notes

Sourced from symfony/dependency-injection's releases.

v7.3.0

Changelog (symfony/dependency-injection@v7.3.0-RC1...v7.3.0)

  • no significant changes

v7.3.0-RC1

Changelog (symfony/dependency-injection@v7.3.0-BETA2...v7.3.0-RC1)

v7.3.0-BETA2

Changelog (symfony/dependency-injection@v7.3.0-BETA1...v7.3.0-BETA2)

v7.3.0-BETA1

Changelog (symfony/dependency-injection@v7.2.6...v7.3.0-BETA1)

v7.2.7

Changelog (symfony/dependency-injection@v7.2.6...v7.2.7)

Changelog

Sourced from symfony/dependency-injection's changelog.

CHANGELOG

7.3

  • Make #[AsTaggedItem] repeatable
  • Support @> as a shorthand for !service_closure in yaml files
  • Don't skip classes with private constructor when autodiscovering
  • Add Definition::addResourceTag() and ContainerBuilder::findTaggedResourceIds() for auto-configuration of classes excluded from the service container
  • Accept multiple auto-configuration callbacks for the same attribute class
  • Leverage native lazy objects when possible for lazy services
  • Add when argument to #[AsAlias]

7.2

  • Deprecate !tagged tag, use !tagged_iterator instead
  • Add a ContainerBuilder::registerChild() shortcut method for registering child definitions
  • Add support for key-type in XmlFileLoader
  • Enable non-empty parameters with ParameterBag::cannotBeEmpty() and ContainerBuilder::parameterCannotBeEmpty() methods
  • Resolve parameters found in index attribute of service tags

7.1

  • Add CheckAliasValidityPass to check service compatibility with aliased interface
  • Add argument $prepend to ContainerConfigurator::extension() to prepend the configuration instead of appending it
  • Have ServiceLocator implement ServiceCollectionInterface
  • Add #[Lazy] attribute as shortcut for #[Autowire(lazy: [bool|string])] and #[Autoconfigure(lazy: [bool|string])]
  • Add #[AutowireMethodOf] attribute to autowire a method of a service as a callable
  • Make ContainerBuilder::registerAttributeForAutoconfiguration() propagate to attribute classes that extend the registered class
  • Add argument $prepend to FileLoader::construct() to prepend loaded configuration instead of appending it
  • [BC BREAK] When used in the prependExtension() method, the ContainerConfigurator::import() method now prepends the configuration instead of appending it
  • Cast env vars to null or bool when referencing them using #[Autowire(env: '...')] depending on the signature of the corresponding parameter
  • Add #[AutowireInline] attribute to allow service definition at the class level
  • Add StaticEnvVarLoader

7.0

  • Remove #[MapDecorated], use #[AutowireDecorated] instead
  • Remove ProxyHelper, use Symfony\Component\VarExporter\ProxyHelper instead
  • Remove ReferenceSetArgumentTrait
  • Remove support of @required annotation, use the Symfony\Contracts\Service\Attribute\Required attribute instead
  • Require explicit argument when calling ContainerAwareTrait::setContainer()
  • Remove PhpDumper options inline_factories_parameter and inline_class_loader_parameter, use options inline_factories and inline_class_loader instead
  • Parameter names of ParameterBag cannot be numerics
  • Remove ContainerAwareInterface and ContainerAwareTrait, use dependency injection instead

... (truncated)

Commits
  • f64a8f3 Merge branch '7.2' into 7.3
  • 8007d7a Merge branch '6.4' into 7.2
  • 8cb11f8 [DependencyInjection] Make DefinitionErrorExceptionPass consider `IGNORE_ON...
  • 42cb5ab [DependencyInjection] Fix missing binding for ServiceCollectionInterface when...
  • 5a6f679 [DependencyInjection][FrameworkBundle] Fix precedence of App\Kernel alias and...
  • 01e3ad7 Remove unneeded use statements
  • efbe665 [DependencyInjection] Add better return type on ContainerInterface::get()
  • ea97890 [DependencyInjection] Add "when" argument to #[AsAlias]
  • 14be4d9 feature #59890 [VarExporter] Leverage native lazy objects (nicolas-grekas)
  • cb416d8 [VarExporter] Leverage native lazy objects
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [symfony/dependency-injection](https://github.com/symfony/dependency-injection) from 7.2.6 to 7.3.0.
- [Release notes](https://github.com/symfony/dependency-injection/releases)
- [Changelog](https://github.com/symfony/dependency-injection/blob/7.3/CHANGELOG.md)
- [Commits](symfony/dependency-injection@v7.2.6...v7.3.0)

---
updated-dependencies:
- dependency-name: symfony/dependency-injection
  dependency-version: 7.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 2, 2025
@derrabus derrabus merged commit e92c62d into master Jun 2, 2025
6 checks passed
@derrabus derrabus deleted the dependabot/composer/symfony/dependency-injection-7.3.0 branch June 2, 2025 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant