Bump symfony/dependency-injection from 7.2.6 to 7.3.0
Type: Pull Request
State: Merged
Association: Contributor
Comments: 0
(6 months ago)
(6 months ago)
(6 months ago)
by jerowork
dependencies php
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 (https://github.com/symfony/dependency-injection/compare/v7.3.0-RC1...v7.3.0)
- no significant changes
v7.3.0-RC1
Changelog (https://github.com/symfony/dependency-injection/compare/v7.3.0-BETA2...v7.3.0-RC1)
- bug symfony/symfony#60423 [DependencyInjection] Make
DefinitionErrorExceptionPassconsiderIGNORE_ON_UNINITIALIZED_REFERENCEandRUNTIME_EXCEPTION_ON_INVALID_REFERENCEthe same (@MatTheCat)- bug symfony/symfony#60428 [DependencyInjection] Fix missing binding for ServiceCollectionInterface when declaring a service subscriber (
@nicolas-grekas)v7.3.0-BETA2
Changelog (https://github.com/symfony/dependency-injection/compare/v7.3.0-BETA1...v7.3.0-BETA2)
- bug symfony/symfony#60392 [DependencyInjection][FrameworkBundle] Fix precedence of
App\Kernelalias and ignorecontainer.excludedtag on synthetic services (@nicolas-grekas)v7.3.0-BETA1
Changelog (https://github.com/symfony/dependency-injection/compare/v7.2.6...v7.3.0-BETA1)
- feature symfony/symfony#60186 [DependencyInjection] Add "when" argument to #[AsAlias] (
@Zuruuh)- feature symfony/symfony#59890 [VarExporter] Leverage native lazy objects (
@nicolas-grekas)- feature symfony/symfony#60011 [DependencyInjection] Enable multiple attribute autoconfiguration callbacks on the same class (
@GromNaN)- feature symfony/symfony#59913 [DependencyInjection] Leverage native lazy objects for lazy services (
@nicolas-grekas)- feature symfony/symfony#59704 [DependencyInjection] Add
Definition::addExcludedTag()andContainerBuilder::findExcludedServiceIds()for auto-discovering value-objects (@GromNaN)- feature symfony/symfony#59712 [DependencyInjection] Don't skip classes with private constructor when autodiscovering (
@nicolas-grekas)- feature symfony/symfony#59257 [DependencyInjection] Support
@>as a shorthand for!service_closurein YamlFileLoader (@chx)- feature symfony/symfony#59088 [DependencyInjection] Make
#[AsTaggedItem]repeatable (@alexandre-daubois)v7.2.7
Changelog (https://github.com/symfony/dependency-injection/compare/v7.2.6...v7.2.7)
- bug symfony/symfony#60423 [DependencyInjection] Make
DefinitionErrorExceptionPassconsiderIGNORE_ON_UNINITIALIZED_REFERENCEandRUNTIME_EXCEPTION_ON_INVALID_REFERENCEthe same (@MatTheCat)- bug symfony/symfony#60428 [DependencyInjection] Fix missing binding for ServiceCollectionInterface when declaring a service subscriber (
@nicolas-grekas)
Changelog
Sourced from symfony/dependency-injection's changelog.
CHANGELOG
7.3
- Make
#[AsTaggedItem]repeatable- Support
@>as a shorthand for!service_closurein yaml files- Don't skip classes with private constructor when autodiscovering
- Add
Definition::addResourceTag()andContainerBuilder::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
whenargument to#[AsAlias]7.2
- Deprecate
!taggedtag, use!tagged_iteratorinstead- Add a
ContainerBuilder::registerChild()shortcut method for registering child definitions- Add support for
key-typeinXmlFileLoader- Enable non-empty parameters with
ParameterBag::cannotBeEmpty()andContainerBuilder::parameterCannotBeEmpty()methods- Resolve parameters found in index attribute of service tags
7.1
- Add
CheckAliasValidityPassto check service compatibility with aliased interface- Add argument
$prependtoContainerConfigurator::extension()to prepend the configuration instead of appending it- Have
ServiceLocatorimplementServiceCollectionInterface- 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
$prependtoFileLoader::construct()to prepend loaded configuration instead of appending it- [BC BREAK] When used in the
prependExtension()method, theContainerConfigurator::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
StaticEnvVarLoader7.0
- Remove
#[MapDecorated], use#[AutowireDecorated]instead- Remove
ProxyHelper, useSymfony\Component\VarExporter\ProxyHelperinstead- Remove
ReferenceSetArgumentTrait- Remove support of
@requiredannotation, use theSymfony\Contracts\Service\Attribute\Requiredattribute instead- Require explicit argument when calling
ContainerAwareTrait::setContainer()- Remove
PhpDumperoptionsinline_factories_parameterandinline_class_loader_parameter, use optionsinline_factoriesandinline_class_loaderinstead- Parameter names of
ParameterBagcannot be numerics- Remove
ContainerAwareInterfaceandContainerAwareTrait, use dependency injection instead
... (truncated)
Commits
f64a8f3Merge branch '7.2' into 7.38007d7aMerge branch '6.4' into 7.28cb11f8[DependencyInjection] MakeDefinitionErrorExceptionPassconsider `IGNORE_ON...42cb5ab[DependencyInjection] Fix missing binding for ServiceCollectionInterface when...5a6f679[DependencyInjection][FrameworkBundle] Fix precedence of App\Kernel alias and...01e3ad7Remove unneeded use statementsefbe665[DependencyInjection] Add better return type on ContainerInterface::get()ea97890[DependencyInjection] Add "when" argument to #[AsAlias]14be4d9feature #59890 [VarExporter] Leverage native lazy objects (nicolas-grekas)cb416d8[VarExporter] Leverage native lazy objects- 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request Statistics
1
2
+16
-15
Package Dependencies
symfony/dependency-injection
packagist
7.2.6 → 7.3.0
Minor
Technical Details
| ID: | 770337 |
| UUID: | 2555832347 |
| Node ID: | PR_kwDOOvDr6c6YVugb |
| Host: | GitHub |
| Repository: | jerowork/example-application-graphql-attribute-schema |
| Merge State: | Unknown |