chore(repo): merge master into v11 - #2946
Conversation
`Channel.memberCount` / `memberCountStream` only ever reflected the `member_count` returned by `query` / `watch` and `channel.updated`. The `member.added` / `member.removed` handlers update the loaded member list but leave the count untouched, so it went stale for the rest of the session as soon as anyone joined or left. The backend already ships the authoritative count as `channel_member_count` event metadata on channel events, next to the `channel_message_count` we already consume. Parse it into `Event.channelMemberCount` and apply it to the channel state, folding both counters into a single listener so one event produces one state update. Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
* minor fixes for wasm * update style guide
* refactor(llc): move the channel extensions into their own files * refactor(llc): move ChannelClientState into its own file * docs(llc): fix the dangling message doc references in ChannelReadHelper * test(llc): dispose the channels created by the local unread count tests * refactor(llc): move the channel files into their own directory Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
…2863) * fix(llc): replace live location polling with one-shot expiry timers Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * fix(llc): schedule expiry for live locations already expired on arrival Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
# Conflicts: # melos.yaml # packages/stream_chat/CHANGELOG.md
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Team Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## v11 #2946 +/- ##
======================================
Coverage ? 74.82%
======================================
Files ? 441
Lines ? 28414
Branches ? 0
======================================
Hits ? 21261
Misses ? 7153
Partials ? 0 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Brings
masterup to date onv11.v11was 7 commits behind; this merges them in.What flows in
test(llc): expand channel event handling coverage(test(llc): expand channel event handling coverage #2942)fix(llc): replace live location polling with one-shot expiry timers(fix(llc): replace live location polling with one-shot expiry timers #2863)refactor(llc): split channel.dart into focused files(refactor(llc): splitchannel.dartinto focused files #2930)fix(ui,llc): wasm support(fix(ui,llc): wasm support #2940)chore(repo): release v10.4.0(chore(repo): release v10.4.0 #2938)perf(llc): make primitive value streams distinct(perf(llc): make primitive value streams distinct #2935)fix(llc): keep Channel.memberCount fresh from channel events(fix(llc): keep Channel.memberCount fresh from channel events #2933)Conflicts resolved
Two, both union merges:
melos.yaml—v11pinsstream_coreandstream_core_flutterto git refs; master carries the publishedstream_core_flutter: ^0.5.1. Keptv11's git refs, since running against unreleased core is the point of the branch. Thestream_chat*bumps to^10.4.0auto-merged.packages/stream_chat/CHANGELOG.md—v11'sUpcomingholds the OpenAPI client entry, master's holds the wasm and live-location fixes plus the released10.4.0section. Both kept, with10.4.0intact below.Nothing was dropped from either side.