Skip to content

Conversation

@dunglas
Copy link
Member

@dunglas dunglas commented Oct 29, 2019

Q A
Branch? 4.4
Bug fix? no
New feature? yes
Deprecations? no
Tickets n/a
License MIT
Doc PR n/a

Re-allow to use tagged in 4.4 and 5.0. It makes it easier for bundles to support both Symfony 4.3- and Symfony 4.4+.

Needed to make API Platform compatible with Symfony 5 (api-platform/core#3009)

@nicolas-grekas nicolas-grekas added this to the 4.4 milestone Oct 29, 2019
@nicolas-grekas
Copy link
Member

Thank you @dunglas.

nicolas-grekas added a commit that referenced this pull request Oct 29, 2019
This PR was merged into the 4.4 branch.

Discussion
----------

Re-allow to use "tagged" in service definitions

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | yes <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets       | n/a
| License       | MIT
| Doc PR        | n/a

Re-allow to use `tagged` in 4.4 and 5.0. It makes it easier for bundles to support both Symfony 4.3- and Symfony 4.4+.

Needed to make API Platform compatible with Symfony 5 (api-platform/core#3009)

Commits
-------

7b7dc0d Re-allow to use "tagged" in service definitions
@nicolas-grekas nicolas-grekas merged commit 7b7dc0d into symfony:4.4 Oct 29, 2019
@emodric
Copy link
Contributor

emodric commented Oct 29, 2019

Hi. Will !tagged be deprecated again sometime in the future?

@dunglas dunglas deleted the tagged-alias branch October 29, 2019 15:38
@stof
Copy link
Member

stof commented Oct 29, 2019

Well, we'll probably deprecate this in some 5.x release for removal in 6.0, when it will be fine for third-party bundles to have SF 4.4 LTS as their min version.

This was referenced Nov 12, 2019
@maxhelias
Copy link
Contributor

@nicolas-grekas The "tagged" function was missing for the "ContainerConfigurator". Maybe the time has come to deprecated it ? I can open a PR if it's ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants