Skip to content
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

Update symfony/dependency-injection requirement from ^6.0 to ^7.1 #254

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 31, 2024

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

Release notes

Sourced from symfony/dependency-injection's releases.

v7.1.3

Changelog (symfony/dependency-injection@v7.1.2...v7.1.3)

Changelog

Sourced from symfony/dependency-injection's changelog.

CHANGELOG

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

6.3

  • Add options inline_factories and inline_class_loader to PhpDumper::dump()
  • Deprecate PhpDumper options inline_factories_parameter and inline_class_loader_parameter
  • Add RemoveBuildParametersPass, which removes parameters starting with a dot during compilation
  • Add support for nesting autowiring-related attributes into #[Autowire(...)]
  • Deprecate undefined and numeric keys with service_locator config
  • Fail if Target attribute does not exist during compilation

... (truncated)

Commits
  • 8126f0b Merge branch '7.0' into 7.1
  • 01dcf14 Merge branch '6.4' into 7.0
  • 5caf9c5 Merge branch '5.4' into 6.4
  • c840988 [DependencyInjection] Do not try to load default method name on interface
  • 6e108cd Merge branch '7.0' into 7.1
  • 1a97831 Allow service locators to be ordered by priority.
  • aaf3e9d Merge branch '7.0' into 7.1
  • 4e6e9fa Merge branch '6.4' into 7.0
  • 9084258 bug #57289 [DependencyInjection] Fix phpdoc for $calls in class Autoconfigure...
  • adc3424 [DependencyInjection] Fix phpdoc for $calls
  • Additional commits viewable in compare view

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)

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.1/CHANGELOG.md)
- [Commits](symfony/dependency-injection@v6.0.0...v7.1.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 31, 2024
@shochdoerfer shochdoerfer added this to the 0.7.0 milestone Jul 31, 2024
@shochdoerfer shochdoerfer merged commit f538841 into main Jul 31, 2024
2 checks passed
@dependabot dependabot bot deleted the dependabot/composer/symfony/dependency-injection-tw-7.1 branch July 31, 2024 06:23
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