8000 [DI] Fix "!tagged" related upgrade/changelog notes · symfony/symfony@81b9c3c · GitHub
[go: up one dir, main page]

Skip to content

Commit 81b9c3c

Browse files
committed
[DI] Fix "!tagged" related upgrade/changelog notes
1 parent d082732 commit 81b9c3c

File tree

3 files changed

+1
-38
lines changed

3 files changed

+1
-38
lines changed

UPGRADE-4.4.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -39,22 +39,6 @@ DependencyInjection
3939
factory: ['@factory_service', method]
4040
```
4141
42-
* Deprecated `tagged` in favor of `tagged_iterator`
43-
44-
Before:
45-
```yaml
46-
services:
47-
App\HandlerCollection:
48-
arguments: [!tagged my_tag]
49-
```
50-
51-
After:
52-
```yaml
53-
services:
54-
App\HandlerCollection:
55-
arguments: [!tagged_iterator my_tag]
56-
```
57-
5842
* Passing an instance of `Symfony\Component\DependencyInjection\Parameter` as class name to `Symfony\Component\DependencyInjection\Definition` is deprecated.
5943

6044
Before:

UPGRADE-5.0.md

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -94,27 +94,6 @@ DependencyInjection
9494
my_service:
9595
factory: ['@factory_service', method]
9696
```
97-
* Removed `tagged` in favor of `tagged_iterator`
98-
99-
Before:
100-
```yaml
101-
services:
102-
App\Handler:
103-
tags: ['app.handler']
104-
105-
App\HandlerCollection:
106-
arguments: [!tagged app.handler]
107-
```
108-
109-
After:
110-
```yaml
111-
services:
112-
App\Handler:
113-
tags: ['app.handler']
114-
115-
App\HandlerCollection:
116-
arguments: [!tagged_iterator app.handler]
117-
```
11897
11998
DoctrineBridge
12099
--------------

src/Symfony/Component/DependencyInjection/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ CHANGELOG
77
* added support for opcache.preload by generating a preloading script in the cache folder
88
* added support for dumping the container in one file instead of many files
99
* deprecated support for short factories and short configurators in Yaml
10-
* deprecated `tagged` in favor of `tagged_iterator`
10+
* added `tagged_iterator` alias for `tagged` which might be deprecated in a future version
1111
* deprecated passing an instance of `Symfony\Component\DependencyInjection\Parameter` as class name to `Symfony\Component\DependencyInjection\Definition`
1212
* added support for binding iterable and tagged services
1313
* made singly-implemented interfaces detection be scoped by file

0 commit comments

Comments
 (0)
0