Commit c73de0f
Merge branch 'master' into v10.0.0
Brings master's QA / security / perf work into the v10 design-refresh
branch.
Highlights of what landed in v10 from master:
LLC (`stream_chat`)
- `Client.queryDrafts` now forwards `filter` (#2647).
- `Client.queryChannels` coalesces concurrent identical queries via the
new `InFlightCache<K, V>` (#2652).
- `SortedListX` / `ListX` extensions added in `list_extensions.dart`;
duplicate-keyed inputs are tolerated by `merge` (#2660). v10's
`IterableMergeExtension.merge` / `.mergeFrom` are kept — `SortedListX`
is on `List` and routes there for the new perf paths; the old
extension still serves `Iterable<T>` callers in v10.
- `ChannelClientState._checkExpiredAttachmentMessages` removed (#2653);
v10's `StreamImageCDN.cacheKey` already keeps the image cache valid
across signed-URL rotations.
- `ChannelClientState.updateChannelState` now identity-short-circuits
when `updatedState.messages` is null or the same reference, so
downstream `.distinct()` listeners can skip rebuilds.
- Reaction listeners now dispatch via `_findMessage` (parentId-aware)
while keeping v10's `addMyReaction` / `deleteMyReaction` semantics.
`stream_chat_flutter_core`
- `BetterStreamBuilder` correctness fixes: mounted guard, error reporting
via `FlutterError.reportError`, identity-equal emission gating (#2651).
- `MessageListCore` caches its `messagesStream` / `_initialMessages` as
fields instead of recomputing in `build()` (#2651). `defaultMessageFilter`
takes an optional `currentUserId`.
- `StreamChatCore` debounces connectivity events to 3 s (#2652).
`stream_chat_flutter`
- `scrollable_positioned_list/`: master version taken in full. Bounded
`_keyToIndexMap`, `isScrolling` / `isScrollingListenable`,
`itemKeyBuilder` anchor preservation, fit-anchor fallback in
`UnboundedRenderViewport`, sensible defaults on `scrollTo` (#2651).
- `tld.dart` removed (#2654); `StreamMessageComposer` relaxed its URL
regex from `[a-z]{2,4}` to `[a-z]{2,}` and dropped the `isValidTLD`
filter at both call sites.
- `StreamMessageListView` and `separated_reorderable_list_view`:
v10's design-refresh version retained. v10 already covers the
functional surface; master's identity-preserving micro-optimizations
to `updateMessage` are a follow-up.
CI / repo
- Path/draft gating job (`gate`) added to `legacy_version_analyze`,
`check_db_entities`, and `stream_flutter_workflow` (#2669).
- Flutter 3.44 fixes (#2667), pana / build cleanups (#2656),
local-setup CI fixes (#2650).
- `melos.yaml`: kept v10's higher floors; added `firebase_crashlytics`
(master's #2665); dropped `sentry_flutter` (per master).
Notes / follow-ups
- `sample_app/`: v10's redesigned app retained. The Sentry → Firebase
Crashlytics migration (#2665) applies to master's pre-redesign sample
app and was not ported here; left for a separate pass.
- `channel_test.dart` `updateMessage quoted-rewrite > does not rewrite
quotes when an existing quoted target is updated without being
deleted` is marked `skip:` — v10's `_updateMessages` reconstructs the
channel list via `_mergeMessagesIntoExisting`, so identity is not
preserved on non-deletion edits. Functional behavior matches master.
- `goldens/`: deleted-on-v10 goldens kept deleted; modified-on-both
goldens kept at v10's bytes (the redesigned UI is the source of
truth).
- `stream_message_composer.dart` had `SizeTransition(alignment:)` which
was never a valid parameter — switched to `axisAlignment: -1` (the
Flutter API the v10 author intended).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 3e5f7d8 commit c73de0f
45 files changed
Lines changed: 4760 additions & 2181 deletions
File tree
- .github
- actions/pana
- workflows
- packages
- stream_chat_flutter_core
- lib/src
- test
- stream_chat_flutter
- lib
- scrollable_positioned_list/src
- src/message_input
- test
- scrollable_positioned_list
- src
- message_input/goldens/ci
- message_list_view
- stream_chat
- lib
- src
- client
- core/util
- test/src
- client
- core/util
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | 5 | | |
8 | 6 | | |
9 | 7 | | |
10 | 8 | | |
11 | 9 | | |
12 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
13 | 34 | | |
| 35 | + | |
| 36 | + | |
14 | 37 | | |
15 | 38 | | |
16 | 39 | | |
| |||
24 | 47 | | |
25 | 48 | | |
26 | 49 | | |
27 | | - | |
| 50 | + | |
28 | 51 | | |
29 | | - | |
| 52 | + | |
30 | 53 | | |
31 | 54 | | |
32 | | - | |
| 55 | + | |
33 | 56 | | |
34 | 57 | | |
35 | 58 | | |
36 | 59 | | |
37 | 60 | | |
38 | 61 | | |
39 | | - | |
| 62 | + | |
40 | 63 | | |
41 | 64 | | |
42 | | - | |
| 65 | + | |
43 | 66 | | |
44 | 67 | | |
45 | 68 | | |
| |||
74 | 97 | | |
75 | 98 | | |
76 | 99 | | |
77 | | - | |
| 100 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | 12 | | |
16 | 13 | | |
17 | 14 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | 15 | | |
22 | 16 | | |
23 | 17 | | |
24 | 18 | | |
25 | 19 | | |
26 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
27 | 47 | | |
28 | 48 | | |
29 | 49 | | |
30 | 50 | | |
31 | 51 | | |
32 | 52 | | |
| 53 | + | |
| 54 | + | |
33 | 55 | | |
34 | | - | |
35 | 56 | | |
36 | 57 | | |
37 | 58 | | |
| |||
47 | 68 | | |
48 | 69 | | |
49 | 70 | | |
50 | | - | |
| 71 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | 9 | | |
14 | 10 | | |
15 | 11 | | |
| |||
24 | 20 | | |
25 | 21 | | |
26 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
27 | 50 | | |
| 51 | + | |
28 | 52 | | |
29 | | - | |
| 53 | + | |
30 | 54 | | |
31 | 55 | | |
32 | 56 | | |
| |||
53 | 77 | | |
54 | 78 | | |
55 | 79 | | |
| 80 | + | |
56 | 81 | | |
57 | | - | |
| 82 | + | |
58 | 83 | | |
59 | 84 | | |
60 | 85 | | |
| |||
79 | 104 | | |
80 | 105 | | |
81 | 106 | | |
| 107 | + | |
82 | 108 | | |
83 | | - | |
| 109 | + | |
84 | 110 | | |
85 | 111 | | |
86 | 112 | | |
| |||
139 | 165 | | |
140 | 166 | | |
141 | 167 | | |
| 168 | + | |
142 | 169 | | |
143 | | - | |
| 170 | + | |
144 | 171 | | |
145 | 172 | | |
146 | 173 | | |
| |||
182 | 209 | | |
183 | 210 | | |
184 | 211 | | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
89 | | - | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
0 commit comments