Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions docs/docs_screenshots/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,8 @@ dependencies:
flutter:
sdk: flutter
record: ^6.2.0
stream_chat_flutter: ^10.4.0
stream_core_flutter:
git:
url: https://github.com/GetStream/stream-core-flutter.git
ref: 2daa0a641519abe9ab637bcb41c69ed3ea4273b7
path: packages/stream_core_flutter
stream_chat_flutter: ^10.5.0
stream_core_flutter: ^0.5.2

dev_dependencies:
alchemist: ^0.14.0
Expand Down
22 changes: 7 additions & 15 deletions melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,23 +97,15 @@ command:
rxdart: ^0.28.0
share_plus: ">=12.0.2 <14.0.0"
sqlite3_flutter_libs: ^0.5.26
stream_chat: ^10.4.0
stream_chat_flutter: ^10.4.0
stream_chat_flutter_core: ^10.4.0
stream_chat_localizations: ^10.4.0
stream_chat_persistence: ^10.4.0
stream_chat: ^10.5.0
stream_chat_flutter: ^10.5.0
stream_chat_flutter_core: ^10.5.0
stream_chat_localizations: ^10.5.0
stream_chat_persistence: ^10.5.0
streaming_shared_preferences: ^2.0.0
svg_icon_widget: ^0.0.1
stream_core_flutter:
git:
url: https://github.com/GetStream/stream-core-flutter.git
ref: 2daa0a641519abe9ab637bcb41c69ed3ea4273b7
path: packages/stream_core_flutter
stream_thumbnail:
git:
url: https://github.com/GetStream/stream-core-flutter.git
ref: 2aea1413997af886ee951921d71e6b8cb8c5cfbb
path: packages/stream_thumbnail
stream_core_flutter: ^0.5.2
stream_thumbnail: ^0.2.0
synchronized: ^3.4.0
url_launcher: ^6.3.2
uuid: ^4.5.3
Expand Down
10 changes: 5 additions & 5 deletions packages/stream_chat/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
## Upcoming
## 10.5.0

✅ Added

- Added a getter for `StreamChatClient.recoverStateOnReconnect`, which was previously write-only.
- Added `ChannelClientState.isMarkedAsUnread`, which reports whether the current user marked the channel unread and hasn't read past that point since.

🔄 Changed

- Reconnecting no longer replays very large event backlogs; the offline cache is reset and the affected channels are re-queried instead, so a long spell offline does not stall the app on reconnect.
- Reconnecting after a long spell offline now resets the offline cache and re-queries channels instead of replaying a large event backlog.
- Improved the speed of converting models to and from JSON.

🐞 Fixed

- Fixed reconnecting with more than 255 channels clearing the offline cache and skipping the events missed while offline.
- Fixed reconnect recovery refreshing only the first 30 active channels.
- Fixed reconnect catch-up covering an arbitrary subset of channels when more are active than one request holds; the most recently active are now covered first.
- Fixed reconnect catch-up covering an arbitrary subset of channels when many are active; the most recently active now come first.
- Fixed `CurrentPlatform` throwing `UnimplementedError` on WebAssembly builds.
- Fixed live location expiry emitting repeated `location.expired` events for the same expired location.
- Fixed members removed from a channel keeping their read state in the channel state.
Expand All @@ -23,7 +24,7 @@

🔄 Internal / Non-breaking

- Errors thrown synchronously while handling a channel event are now logged as warnings instead of reaching the root zone, where crash reporters report them as fatal.
- Errors thrown while handling a channel event are now logged as warnings instead of surfacing as fatal crashes.

## 10.4.0

Expand Down Expand Up @@ -54,7 +55,6 @@
- Added `StreamChatClient.isLocalUnreadCountEnabled` (default `false`). When enabled, channels that have read events disabled (e.g. livestream channel types) track their unread count locally, on-device: incoming messages increment it, hard-deleted messages decrement it, and `Channel.markRead` / `markUnread` / `markUnreadByTimestamp` update it locally without a network request — including `Read.lastReadMessageId`, so the unread divider and jump-to-unread button anchor to the right message. Channels that support read receipts are unaffected and keep relying on server-driven unread counts.
- Added `Event.watcherCount`, exposing the server-provided `watcher_count` field on events (e.g. `user.watching.start`, `user.watching.stop`, `message.new`).
- Added `StreamChatNetworkError.type` (a `StreamChatNetworkErrorType` capturing the transport failure kind — connection error, timeout, cancellation, etc.).
- Added `ChannelClientState.isMarkedAsUnread`, reporting whether the current user has an active manual mark-unread on the channel that hasn't been read past yet. Set by `markUnreadLocally` and by a `notification.mark_unread` event for the current user; cleared by `markReadLocally` and by a `message.read` event for the current user.
- Exported `FilterOperator` alongside `Filter`.

⚠️ Deprecated
Expand Down
2 changes: 1 addition & 1 deletion packages/stream_chat/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ dependencies:
cupertino_icons: ^1.0.3
flutter:
sdk: flutter
stream_chat: ^10.4.0
stream_chat: ^10.5.0

dependency_overrides:
stream_chat:
Expand Down
2 changes: 1 addition & 1 deletion packages/stream_chat/lib/version.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/stream_chat/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: stream_chat
homepage: https://getstream.io/
description: The official Dart client for Stream Chat, a service for building chat applications.
version: 10.4.0
version: 10.5.0
repository: https://github.com/GetStream/stream-chat-flutter
issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues

Expand Down
Loading
Loading