Skip to content

Commit 6defd83

Browse files
committed
[Turbo] Moving repeatable Broadcast changelog to 2.3
1 parent 53b99fb commit 6defd83

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

src/Turbo/CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
# CHANGELOG
22

3+
## 2.3
4+
5+
- The `Broadcast` attribute can now be repeated, this is convenient to render several Turbo Streams Twig templates for the same change
6+
37
## 2.2
48

59
- The topics defined in the `Broadcast` attribute now support expression language when prefixed with `@=`.
6-
- The `Broadcast` attribute can now be repeated, this is convenient to render several Turbo Streams Twig templates for the same change
710

811
## 2.1
912

src/Turbo/Resources/doc/index.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -620,10 +620,10 @@ The ``Broadcast`` attribute comes with a set of handy options:
620620
is derived from the FQCN of the entity and from its id
621621
- ``template`` (``string``): Twig template to render (see above)
622622

623-
The ``Broadcast`` attribute can be repeated. This is convenient to
624-
to render several templates associated with their own topics for the
625-
same change (e.g. the same data is rendered in different way in the
626-
list and in the detail pages).
623+
The ``Broadcast`` attribute can be repeated (e.g. you can have multiple
624+
`#[Broadcast]`. This is convenient to to render several templates associated with
625+
their own topics for the same change (e.g. the same data is rendered in different
626+
way in the list and in the detail pages).
627627

628628
Options are transport-specific. When using Mercure, some extra options
629629
are supported:

0 commit comments

Comments
 (0)