Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 6, 2025

Updates the requirements on symfony/dependency-injection to permit the latest version.

Release notes

Sourced from symfony/dependency-injection's releases.

v7.2.4

Changelog (symfony/dependency-injection@v7.2.3...v7.2.4)

Changelog

Sourced from symfony/dependency-injection's changelog.

CHANGELOG

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
  • Add argument $id and $asGhostObject to DumperInterface::isProxyCandidate() and getProxyCode()
  • Add argument $source to FileLoader::registerClasses()

6.4

  • Allow using #[Target] with no arguments to state that a parameter must match a named autowiring alias
  • Deprecate ContainerAwareInterface and ContainerAwareTrait, use dependency injection instead
  • Add defined env var processor that returns true for defined and neither null nor empty env vars
  • Add #[AutowireLocator] and #[AutowireIterator] attributes
  • Add urlencode env var processor that url encodes a string value

... (truncated)

Commits
  • f0a1614 Merge branch '6.4' into 7.2
  • 2eba71f [DependencyInjection] Fix phpdoc for $configurator in Autoconfigure attribute
  • b343c3b [DependencyInjection] Defer check for circular references instead of skipping...
  • e54b539 Fix merge
  • 7c31147 Merge branch '6.4' into 7.2
  • e066329 bug #59713 [DependencyInjection] Do not preload functions (biozshock)
  • 495e951 [DependencyInjection] Do not preload functions
  • 3f58cc9 [DependencyInjection] Fix cloned lazy services not sharing their dependencies...
  • 1d321c4 Merge branch '7.1' into 7.2
  • 5ebf7d4 fix(dependency-injection): reset env vars with kernel.reset
  • Additional commits viewable in compare view

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Updates the requirements on [symfony/dependency-injection](https://github.com/symfony/dependency-injection) to permit the latest version.
- [Release notes](https://github.com/symfony/dependency-injection/releases)
- [Changelog](https://github.com/symfony/dependency-injection/blob/7.2/CHANGELOG.md)
- [Commits](symfony/dependency-injection@v6.0.0...v7.2.4)

---
updated-dependencies:
- dependency-name: symfony/dependency-injection
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Mar 6, 2025
@dependabot dependabot bot requested a review from pandaskii March 6, 2025 21:03
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 php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant