Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Update symfony/dependency-injection requirement from ^5 to ^6 #30

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 9, 2024

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

Release notes

Sourced from symfony/dependency-injection's releases.

v6.4.6

Changelog (symfony/dependency-injection@v6.4.5...v6.4.6)

Changelog

Sourced from symfony/dependency-injection's changelog.

CHANGELOG

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

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
  • Enable deprecating parameters with ContainerBuilder::deprecateParameter()
  • Add #[AsAlias] attribute to tell under which alias a service should be registered or to use the implemented interface if no parameter is given
  • Allow to trim XML service parameters value by using trim="true" attribute
  • Allow extending the Autowire attribute
  • Add #[Exclude] to skip autoregistering a class
  • Add support for generating lazy closures
  • Add support for autowiring services as closures using #[AutowireCallable] or #[AutowireServiceClosure]
  • Add support for #[Autowire(lazy: true|class-string)]
  • Make it possible to cast callables into single-method interfaces
  • Deprecate #[MapDecorated], use #[AutowireDecorated] instead
  • Deprecate the @required annotation, use the Symfony\Contracts\Service\Attribute\Required attribute instead
  • Add constructor option to services declaration and to #[Autoconfigure]

6.2

... (truncated)

Commits
  • 3141777 stop marking parameters implicitly as nullable
  • c8d73fd Merge branch '5.4' into 6.4
  • 0ba1fa4 Add more explicit nullable types for default null values
  • bfe8779 [DependencyInjection] fix XmlDumper when a tag contains also a 'name' property
  • 6236e5e Merge branch '5.4' into 6.4
  • cc1fb23 [DependencyInjection] Fix computing error messages involving service locators
  • ab84c89 fix tests
  • 774d507 [DependencyInjection] fix unable to make lazy service from readonly class
  • da332ce fix tests
  • 6871811 Merge branch '6.3' into 6.4
  • 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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Apr 9, 2024
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.0/CHANGELOG.md)
- [Commits](symfony/dependency-injection@v5.0.0...v6.4.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/composer/symfony/dependency-injection-tw-6 branch from 188b047 to 16b54c1 Compare April 9, 2024 21:01
@labi-le labi-le merged commit b05d104 into stable Apr 9, 2024
2 checks passed
@labi-le labi-le deleted the dependabot/composer/symfony/dependency-injection-tw-6 branch April 9, 2024 21:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant