Skip to content

Commit 3618be2

Browse files
committed
minor #388 [Turbo] Moving repeatable Broadcast changelog to 2.3 (weaverryan)
This PR was merged into the 2.x branch. Discussion ---------- [Turbo] Moving repeatable Broadcast changelog to 2.3 | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Tickets | None | License | MIT CHANGELOG tweak needed for #387 Commits ------- 6defd83 [Turbo] Moving repeatable Broadcast changelog to 2.3
2 parents 53b99fb + 6defd83 commit 3618be2

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

src/Turbo/CHANGELOG.md

+4-1
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

+4-4
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)