|
58 | 58 | ✅ Added |
59 | 59 |
|
60 | 60 | - Added comprehensive location sharing support with static and live location features: |
61 | | - - `Channel.sendStaticLocation()` - Send a static location message to the channel |
62 | | - - `Channel.startLiveLocationSharing()` - Start sharing live location with automatic updates |
63 | | - - `Channel.activeLiveLocations` - Track members active live location shares in the channel |
64 | | - - `Client.activeLiveLocations` - Access current user active live location shares across channels |
65 | | - - Location event listeners for `locationShared`, `locationUpdated`, and `locationExpired` events |
| 61 | + - `Channel.sendStaticLocation()` - Send a static location message to the channel |
| 62 | + - `Channel.startLiveLocationSharing()` - Start sharing live location with automatic updates |
| 63 | + - `Channel.activeLiveLocations` - Track members active live location shares in the channel |
| 64 | + - `Client.activeLiveLocations` - Access current user active live location shares across channels |
| 65 | + - Location event listeners for `locationShared`, `locationUpdated`, and `locationExpired` events |
66 | 66 |
|
67 | 67 | - Included the changes from version [`9.15.0`](https://pub.dev/packages/stream_chat/changelog). |
68 | 68 |
|
|
84 | 84 |
|
85 | 85 | 🛑️ Breaking |
86 | 86 |
|
87 | | -- **Deprecated API Cleanup**: Removed all deprecated classes, methods, and properties for the v10 |
88 | | - major release: |
89 | | - - **Removed Classes**: `PermissionType` (use string constants like `'delete-channel'`, |
90 | | - `'update-channel'`), `CallApi`, `CallPayload`, `CallTokenPayload`, `CreateCallPayload` |
91 | | - - **Removed Methods**: `cooldownStartedAt` getter from `Channel`, `getCallToken` and |
92 | | - `createCall` from `StreamChatClient` |
93 | | - - **Removed Properties**: `reactionCounts` and `reactionScores` getters from `Message` (use |
94 | | - `reactionGroups` instead), `call` property from `StreamChatApi` |
95 | | - - **Removed Files**: `permission_type.dart`, `call_api.dart`, `call_payload.dart` and their |
96 | | - associated tests |
| 87 | +- **Deprecated API Cleanup**: Removed all deprecated classes, methods, and properties for the v10 major release: |
| 88 | + - **Removed Classes**: `PermissionType` (use string constants like `'delete-channel'`, `'update-channel'`), `CallApi`, `CallPayload`, `CallTokenPayload`, `CreateCallPayload` |
| 89 | + - **Removed Methods**: `cooldownStartedAt` getter from `Channel`, `getCallToken` and `createCall` from `StreamChatClient` |
| 90 | + - **Removed Properties**: `reactionCounts` and `reactionScores` getters from `Message` (use `reactionGroups` instead), `call` property from `StreamChatApi` |
| 91 | + - **Removed Files**: `permission_type.dart`, `call_api.dart`, `call_payload.dart` and their associated tests |
97 | 92 |
|
98 | 93 | - Included the changes from version [`9.14.0`](https://pub.dev/packages/stream_chat/changelog). |
99 | 94 |
|
|
148 | 143 | `message.reactionGroups`. |
149 | 144 |
|
150 | 145 | 🐞 Fixed |
151 | | - |
152 | 146 | - `Null check operator used on a null value` in Websocket connect. |
153 | 147 | - Ensure query cache is cleared when refreshing channel queries. |
154 | 148 |
|
155 | 149 | ## 9.10.0 |
156 | 150 |
|
157 | 151 | 🐞 Fixed |
158 | 152 |
|
159 | | -- [[#2013]](https://github.com/GetStream/stream-chat-flutter/issues/2013) Fix pinned message get |
160 | | - duplicated. |
| 153 | +- [[#2013]](https://github.com/GetStream/stream-chat-flutter/issues/2013) Fix pinned message get duplicated. |
161 | 154 |
|
162 | 155 | 🔄 Changed |
163 | 156 |
|
|
177 | 170 | - Added support for Channel pinning and archiving. |
178 | 171 | - Added support for 'DraftMessage' feature, which allows users to save draft messages in channels. |
179 | 172 | Several methods have been added to the `Client` and `Channel` class to manage draft messages: |
180 | | - - `channel.createDraft`: Saves a draft message for a specific channel. |
181 | | - - `channel.getDraft`: Retrieves a draft message for a specific channel. |
182 | | - - `channel.deleteDraft`: Deletes a draft message for a specific channel. |
183 | | - - `client.queryDrafts`: Queries draft messages created by the current user. |
| 173 | + - `channel.createDraft`: Saves a draft message for a specific channel. |
| 174 | + - `channel.getDraft`: Retrieves a draft message for a specific channel. |
| 175 | + - `channel.deleteDraft`: Deletes a draft message for a specific channel. |
| 176 | + - `client.queryDrafts`: Queries draft messages created by the current user. |
184 | 177 |
|
185 | 178 | 🐞 Fixed |
186 | 179 |
|
|
205 | 198 | - Added support for message moderation feature. |
206 | 199 |
|
207 | 200 | - Improved user blocking functionality by updating client state when blocking/unblocking users: |
208 | | - - `client.blockUser` now updates `currentUser.blockedUserIds` list with newly blocked user IDs. |
209 | | - - `client.unblockUser` now removes the unblocked user ID from `currentUser.blockedUserIds` list. |
210 | | - - `client.queryBlockedUsers` now updates `currentUser.blockedUserIds` with the latest blocked |
211 | | - users data. |
| 201 | + - `client.blockUser` now updates `currentUser.blockedUserIds` list with newly blocked user IDs. |
| 202 | + - `client.unblockUser` now removes the unblocked user ID from `currentUser.blockedUserIds` list. |
| 203 | + - `client.queryBlockedUsers` now updates `currentUser.blockedUserIds` with the latest blocked users data. |
212 | 204 |
|
213 | 205 | 🐞 Fixed |
214 | 206 |
|
|
226 | 218 |
|
227 | 219 | 🐞 Fixed |
228 | 220 |
|
229 | | -- [[#1775]](https://github.com/GetStream/stream-chat-flutter/issues/1775) Fix incorrect message |
230 | | - order. |
| 221 | +- [[#1775]](https://github.com/GetStream/stream-chat-flutter/issues/1775) Fix incorrect message order. |
231 | 222 |
|
232 | 223 | ## 9.5.0 |
233 | 224 |
|
234 | 225 | ✅ Added |
235 | 226 |
|
236 | | -- [[#2101]](https://github.com/GetStream/stream-chat-flutter/issues/2101) Added support for system |
237 | | - messages not updating `channel.lastMessageAt`. |
| 227 | +- [[#2101]](https://github.com/GetStream/stream-chat-flutter/issues/2101) Added support for system messages not updating `channel.lastMessageAt`. |
238 | 228 | - Added support for sending private or restricted visibility messages. |
239 | 229 | - Add `member.extraData` field. |
240 | 230 |
|
241 | 231 | 🐞 Fixed |
242 | 232 |
|
243 | | -- [[#1774]](https://github.com/GetStream/stream-chat-flutter/issues/1774) Fixed failed to execute ' |
244 | | - close' on 'WebSocket'. |
245 | | -- [[#2016]](https://github.com/GetStream/stream-chat-flutter/issues/2016) Fix muted channel's |
246 | | - unreadCount incorrectly updated. |
| 233 | +- [[#1774]](https://github.com/GetStream/stream-chat-flutter/issues/1774) Fixed failed to execute 'close' on 'WebSocket'. |
| 234 | +- [[#2016]](https://github.com/GetStream/stream-chat-flutter/issues/2016) Fix muted channel's unreadCount incorrectly updated. |
247 | 235 |
|
248 | 236 | 🔄 Changed |
249 | 237 |
|
250 | | -- Refactored identifying the `Attachment.uploadState` logic for local and remote attachments. Also |
251 | | - updated the logic for determining the attachment type to check for ogScrapeUrl instead of |
252 | | - `AttachmentType.giphy`. |
| 238 | +- Refactored identifying the `Attachment.uploadState` logic for local and remote attachments. Also updated the logic for determining the attachment type to check for ogScrapeUrl instead of `AttachmentType.giphy`. |
253 | 239 | - Improved the `x-stream-client` header generation for better client identification and analytics. |
254 | 240 |
|
255 | 241 | ## 9.4.0 |
|
366 | 352 |
|
367 | 353 | 🐞 Fixed |
368 | 354 |
|
369 | | -- [[#1811]](https://github.com/GetStream/stream-chat-flutter/issues/1811) Bumped `UUID` dependency |
370 | | - to `^4.2.1`. This |
371 | | - **might** produce a **breaking change** if you your code depends in `UUID` `3.x.x` directly or |
372 | | - indirectly. |
| 355 | +- [[#1811]](https://github.com/GetStream/stream-chat-flutter/issues/1811) Bumped `UUID` dependency to `^4.2.1`. This |
| 356 | + **might** produce a **breaking change** if you your code depends in `UUID` `3.x.x` directly or indirectly. |
373 | 357 |
|
374 | 358 | ## 7.0.0 |
375 | 359 |
|
376 | 360 | - 🛑️ Breaking |
377 | 361 |
|
378 | 362 | - Removed deprecated `channelQuery.sort` property. Use `channelStateSort` instead. |
379 | 363 | - Removed deprecated `RetryPolicy.retryTimeout` property. Use `delayFactor` instead. |
380 | | -- Removed deprecated `StreamChatNetworkError.fromDioError` constructor. Use |
381 | | - `StreamChatNetworkError.fromDioException` |
| 364 | +- Removed deprecated `StreamChatNetworkError.fromDioError` constructor. Use `StreamChatNetworkError.fromDioException` |
382 | 365 | instead. |
383 | 366 | - Removed deprecated `MessageSendingStatus` enum. Use `MessageState` instead. |
384 | 367 |
|
|
410 | 393 |
|
411 | 394 | ✅ Added |
412 | 395 |
|
413 | | -- Added support for `channel.countUnreadMentions()` to get the count of unread messages mentioning |
414 | | - the current user on a |
| 396 | +- Added support for `channel.countUnreadMentions()` to get the count of unread messages mentioning the current user on a |
415 | 397 | channel. [#1692](https://github.com/GetStream/stream-chat-flutter/issues/1692) |
416 | 398 |
|
417 | 399 | 🔄 Changed |
|
422 | 404 |
|
423 | 405 | ✅ Added |
424 | 406 |
|
425 | | -- Added support for setting |
426 | | - `Message.type`. [#1682](https://github.com/GetStream/stream-chat-flutter/issues/1682) |
| 407 | +- Added support for setting `Message.type`. [#1682](https://github.com/GetStream/stream-chat-flutter/issues/1682) |
427 | 408 | ``` |
428 | 409 | It is now possible to send system messages. System messages differ from normal messages in the way they are |
429 | 410 | presented to the user. Like the name says, system messages are normally send from the system itself, but a user is |
|
448 | 429 |
|
449 | 430 | 🐞 Fixed |
450 | 431 |
|
451 | | -- [[#1293]](https://github.com/GetStream/stream-chat-flutter/issues/1293) Fixed wrong message order |
452 | | - when sending |
| 432 | +- [[#1293]](https://github.com/GetStream/stream-chat-flutter/issues/1293) Fixed wrong message order when sending |
453 | 433 | messages quickly. |
454 | | -- [[#1612]](https://github.com/GetStream/stream-chat-flutter/issues/1612) Fixed |
455 | | - `Channel.isMutedStream` does not emit |
| 434 | +- [[#1612]](https://github.com/GetStream/stream-chat-flutter/issues/1612) Fixed `Channel.isMutedStream` does not emit |
456 | 435 | when channel mute expires. |
457 | 436 |
|
458 | 437 | ## 6.3.0 |
459 | 438 |
|
460 | 439 | 🐞 Fixed |
461 | 440 |
|
462 | | -- [[#1585]](https://github.com/GetStream/stream-chat-flutter/issues/1585) Fixed channels left not |
463 | | - being removed from |
| 441 | +- [[#1585]](https://github.com/GetStream/stream-chat-flutter/issues/1585) Fixed channels left not being removed from |
464 | 442 | the persistent storage. |
465 | 443 |
|
466 | 444 | 🔄 Changed |
|
471 | 449 |
|
472 | 450 | 🐞 Fixed |
473 | 451 |
|
474 | | -- [[#1422]](https://github.com/GetStream/stream-chat-flutter/issues/1422) Fixed `User.createdAt` |
475 | | - property using |
| 452 | +- [[#1422]](https://github.com/GetStream/stream-chat-flutter/issues/1422) Fixed `User.createdAt` property using |
476 | 453 | currentTime when the ws connection is not established. |
477 | 454 |
|
478 | 455 | ✅ Added |
479 | 456 |
|
480 | | -- Added support for `ChatPersistenceClient.isConnected` for checking if the client is connected to |
481 | | - the database. |
| 457 | +- Added support for `ChatPersistenceClient.isConnected` for checking if the client is connected to the database. |
482 | 458 | - Added support for `ChatPersistenceClient.userId` for getting the current connected user id. |
483 | | -- Added two new methods `ChatPersistenceClient.disconnect` and `ChatPersistenceClient.connect` for |
484 | | - disconnecting and |
| 459 | +- Added two new methods `ChatPersistenceClient.disconnect` and `ChatPersistenceClient.connect` for disconnecting and |
485 | 460 | connecting to the database. |
486 | 461 |
|
487 | 462 | ## 6.1.0 |
488 | 463 |
|
489 | 464 | 🐞 Fixed |
490 | 465 |
|
491 | | -- [[#1355]](https://github.com/GetStream/stream-chat-flutter/issues/1355) Fixed error while hiding |
492 | | - channel and clearing |
| 466 | +- [[#1355]](https://github.com/GetStream/stream-chat-flutter/issues/1355) Fixed error while hiding channel and clearing |
493 | 467 | message history. |
494 | | -- [[#1525]](https://github.com/GetStream/stream-chat-flutter/issues/1525) Fixed removing message not |
495 | | - removing quoted |
| 468 | +- [[#1525]](https://github.com/GetStream/stream-chat-flutter/issues/1525) Fixed removing message not removing quoted |
496 | 469 | message reference. |
497 | 470 |
|
498 | 471 | ✅ Added |
499 | 472 |
|
500 | 473 | - Expose `ChannelMute` class. [#1473](https://github.com/GetStream/stream-chat-flutter/issues/1473) |
501 | 474 | - Added synchronization to the `StreamChatClient.sync` |
502 | 475 | api. [#1392](https://github.com/GetStream/stream-chat-flutter/issues/1392) |
503 | | -- Added support for `StreamChatClient.chatApiInterceptors` to add custom interceptors to the API |
504 | | - client. |
| 476 | +- Added support for `StreamChatClient.chatApiInterceptors` to add custom interceptors to the API client. |
505 | 477 | [#1265](https://github.com/GetStream/stream-chat-flutter/issues/1265). |
506 | 478 |
|
507 | 479 | ```dart |
|
533 | 505 |
|
534 | 506 | 🐞 Fixed |
535 | 507 |
|
536 | | -- Fixed streamWatchers. Before it was always new, now it is possible to follow the watchers of a |
537 | | - channel. |
| 508 | +- Fixed streamWatchers. Before it was always new, now it is possible to follow the watchers of a channel. |
538 | 509 | - Make `Message.i18n` field read-only. |
539 | 510 |
|
540 | 511 | 🔄 Changed |
@@ -868,12 +839,12 @@ the [V4 Migration Guide](https://getstream.io/chat/docs/sdk/flutter/guides/migra |
868 | 839 | 🛑️ Breaking Changes from `2.2.1` |
869 | 840 |
|
870 | 841 | - Added 6 new methods in `ChatPersistenceClient`. |
871 | | - - `bulkUpdateMessages` |
872 | | - - `bulkUpdatePinnedMessages` |
873 | | - - `bulkUpdateMembers` |
874 | | - - `bulkUpdateReads` |
875 | | - - `updatePinnedMessageReactions` |
876 | | - - `deletePinnedMessageReactionsByMessageId` |
| 842 | + - `bulkUpdateMessages` |
| 843 | + - `bulkUpdatePinnedMessages` |
| 844 | + - `bulkUpdateMembers` |
| 845 | + - `bulkUpdateReads` |
| 846 | + - `updatePinnedMessageReactions` |
| 847 | + - `deletePinnedMessageReactionsByMessageId` |
877 | 848 |
|
878 | 849 | ✅ Added |
879 | 850 |
|
@@ -957,20 +928,19 @@ the [V4 Migration Guide](https://getstream.io/chat/docs/sdk/flutter/guides/migra |
957 | 928 | - `ConnectUserWithProvider` now requires `tokenProvider` as a required parameter. (Removed from the |
958 | 929 | constructor) |
959 | 930 | - `client.disconnect()` is now divided into two different functions |
960 | | - - `client.closeConnection()` -> for closing user web socket connection. |
961 | | - - `client.disconnectUser()` -> for disconnecting user and resetting client state. |
| 931 | + - `client.closeConnection()` -> for closing user web socket connection. |
| 932 | + - `client.disconnectUser()` -> for disconnecting user and resetting client state. |
962 | 933 | - `client.devToken()` now returns a `Token` model instead of `String`. |
963 | 934 | - `ApiError` is removed in favor of `StreamChatError` |
964 | | - - `StreamChatError` -> parent type for all the stream errors. |
965 | | - - `StreamWebSocketError` -> for user web socket related errors. |
966 | | - - `StreamChatNetworkError` -> for network related errors. |
967 | | -- `client.queryChannels()`, `channel.query()` options parameter is removed in favor of individual |
968 | | - parameters |
969 | | - - `option.state` -> bool state |
970 | | - - `option.watch` -> bool watch |
971 | | - - `option.presence` -> bool presence |
| 935 | + - `StreamChatError` -> parent type for all the stream errors. |
| 936 | + - `StreamWebSocketError` -> for user web socket related errors. |
| 937 | + - `StreamChatNetworkError` -> for network related errors. |
| 938 | +- `client.queryChannels()`, `channel.query()` options parameter is removed in favor of individual parameters |
| 939 | + - `option.state` -> bool state |
| 940 | + - `option.watch` -> bool watch |
| 941 | + - `option.presence` -> bool presence |
972 | 942 | - `client.queryUsers()` options parameter is removed in favor of individual parameters |
973 | | - - `option.presence` -> bool presence |
| 943 | + - `option.presence` -> bool presence |
974 | 944 | - Migrate this package to null safety |
975 | 945 | - Added typed filters |
976 | 946 |
|
@@ -1006,20 +976,19 @@ the [V4 Migration Guide](https://getstream.io/chat/docs/sdk/flutter/guides/migra |
1006 | 976 | - `ConnectUserWithProvider` now requires `tokenProvider` as a required parameter. (Removed from the |
1007 | 977 | constructor) |
1008 | 978 | - `client.disconnect()` is now divided into two different functions |
1009 | | - - `client.closeConnection()` -> for closing user web socket connection. |
1010 | | - - `client.disconnectUser()` -> for disconnecting user and resetting client state. |
| 979 | + - `client.closeConnection()` -> for closing user web socket connection. |
| 980 | + - `client.disconnectUser()` -> for disconnecting user and resetting client state. |
1011 | 981 | - `client.devToken()` now returns a `Token` model instead of `String`. |
1012 | 982 | - `ApiError` is removed in favor of `StreamChatError` |
1013 | | - - `StreamChatError` -> parent type for all the stream errors. |
1014 | | - - `StreamWebSocketError` -> for user web socket related errors. |
1015 | | - - `StreamChatNetworkError` -> for network related errors. |
1016 | | -- `client.queryChannels()`, `channel.query()` options parameter is removed in favor of individual |
1017 | | - parameters |
1018 | | - - `option.state` -> bool state |
1019 | | - - `option.watch` -> bool watch |
1020 | | - - `option.presence` -> bool presence |
| 983 | + - `StreamChatError` -> parent type for all the stream errors. |
| 984 | + - `StreamWebSocketError` -> for user web socket related errors. |
| 985 | + - `StreamChatNetworkError` -> for network related errors. |
| 986 | +- `client.queryChannels()`, `channel.query()` options parameter is removed in favor of individual parameters |
| 987 | + - `option.state` -> bool state |
| 988 | + - `option.watch` -> bool watch |
| 989 | + - `option.presence` -> bool presence |
1021 | 990 | - `client.queryUsers()` options parameter is removed in favor of individual parameters |
1022 | | - - `option.presence` -> bool presence |
| 991 | + - `option.presence` -> bool presence |
1023 | 992 |
|
1024 | 993 | ✅ Added |
1025 | 994 |
|
|
0 commit comments