Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 2, 2024

Bumps symfony/dependency-injection from 7.1.9 to 7.2.0.

Release notes

Sourced from symfony/dependency-injection's releases.

v7.2.0

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

v7.2.0-RC1

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

  • no significant changes

v7.2.0-BETA2

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

v7.2.0-BETA1

Changelog (symfony/dependency-injection@v7.1.6...v7.2.0-BETA1)

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
  • a475747 Merge branch '7.1' into 7.2
  • 8d0486a Merge branch '7.1' into 7.2
  • 5f5dbba Merge branch '7.1' into 7.2
  • f5241ad [DependencyInjection][Routing][HttpClient] Reject URIs that contain invalid c...
  • 6d5c652 Merge branch '7.1' into 7.2
  • 550f5a5 Remove always true/false occurrences
  • 887061a Reduce common control flows
  • 0a0eb06 Merge branch '7.1' into 7.2
  • 808f752 [DependencyInjection] Sort PassConfig:TYPE_* by order of execution
  • 17eeffb CS: clean some whitespaces/indentation
  • 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file PHP Pull requests that update Php code labels Dec 2, 2024
@dependabot dependabot bot force-pushed the dependabot/composer/symfony/dependency-injection-7.2.0 branch from 6737ee3 to bd093bb Compare December 2, 2024 05:29
Bumps [symfony/dependency-injection](https://github.com/symfony/dependency-injection) from 7.1.9 to 7.2.0.
- [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@v7.1.9...v7.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/composer/symfony/dependency-injection-7.2.0 branch from bd093bb to 85cc690 Compare December 2, 2024 05:30
@thorsten thorsten merged commit 97666a5 into main Dec 2, 2024
10 checks passed
@thorsten thorsten deleted the dependabot/composer/symfony/dependency-injection-7.2.0 branch December 2, 2024 05:37
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.

2 participants