Skip to content

Commit d317476

Browse files
committed
chore: update CHANGELOG.md
1 parent e079dcb commit d317476

File tree

1 file changed

+64
-95
lines changed

1 file changed

+64
-95
lines changed

packages/stream_chat/CHANGELOG.md

Lines changed: 64 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@
5858
✅ Added
5959

6060
- 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
6666

6767
- Included the changes from version [`9.15.0`](https://pub.dev/packages/stream_chat/changelog).
6868

@@ -84,16 +84,11 @@
8484

8585
🛑️ Breaking
8686

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
9792

9893
- Included the changes from version [`9.14.0`](https://pub.dev/packages/stream_chat/changelog).
9994

@@ -148,16 +143,14 @@
148143
`message.reactionGroups`.
149144

150145
🐞 Fixed
151-
152146
- `Null check operator used on a null value` in Websocket connect.
153147
- Ensure query cache is cleared when refreshing channel queries.
154148

155149
## 9.10.0
156150

157151
🐞 Fixed
158152

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.
161154

162155
🔄 Changed
163156

@@ -177,10 +170,10 @@
177170
- Added support for Channel pinning and archiving.
178171
- Added support for 'DraftMessage' feature, which allows users to save draft messages in channels.
179172
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.
184177

185178
🐞 Fixed
186179

@@ -205,10 +198,9 @@
205198
- Added support for message moderation feature.
206199

207200
- 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.
212204

213205
🐞 Fixed
214206

@@ -226,30 +218,24 @@
226218

227219
🐞 Fixed
228220

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.
231222

232223
## 9.5.0
233224

234225
✅ Added
235226

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`.
238228
- Added support for sending private or restricted visibility messages.
239229
- Add `member.extraData` field.
240230

241231
🐞 Fixed
242232

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.
247235

248236
🔄 Changed
249237

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`.
253239
- Improved the `x-stream-client` header generation for better client identification and analytics.
254240

255241
## 9.4.0
@@ -366,19 +352,16 @@
366352

367353
🐞 Fixed
368354

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.
373357

374358
## 7.0.0
375359

376360
- 🛑️ Breaking
377361

378362
- Removed deprecated `channelQuery.sort` property. Use `channelStateSort` instead.
379363
- 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`
382365
instead.
383366
- Removed deprecated `MessageSendingStatus` enum. Use `MessageState` instead.
384367

@@ -410,8 +393,7 @@
410393

411394
✅ Added
412395

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
415397
channel. [#1692](https://github.com/GetStream/stream-chat-flutter/issues/1692)
416398

417399
🔄 Changed
@@ -422,8 +404,7 @@
422404

423405
✅ Added
424406

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)
427408
```
428409
It is now possible to send system messages. System messages differ from normal messages in the way they are
429410
presented to the user. Like the name says, system messages are normally send from the system itself, but a user is
@@ -448,19 +429,16 @@
448429

449430
🐞 Fixed
450431

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
453433
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
456435
when channel mute expires.
457436

458437
## 6.3.0
459438

460439
🐞 Fixed
461440

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
464442
the persistent storage.
465443

466444
🔄 Changed
@@ -471,37 +449,31 @@
471449

472450
🐞 Fixed
473451

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
476453
currentTime when the ws connection is not established.
477454

478455
✅ Added
479456

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.
482458
- 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
485460
connecting to the database.
486461

487462
## 6.1.0
488463

489464
🐞 Fixed
490465

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
493467
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
496469
message reference.
497470

498471
✅ Added
499472

500473
- Expose `ChannelMute` class. [#1473](https://github.com/GetStream/stream-chat-flutter/issues/1473)
501474
- Added synchronization to the `StreamChatClient.sync`
502475
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.
505477
[#1265](https://github.com/GetStream/stream-chat-flutter/issues/1265).
506478

507479
```dart
@@ -533,8 +505,7 @@
533505

534506
🐞 Fixed
535507

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.
538509
- Make `Message.i18n` field read-only.
539510

540511
🔄 Changed
@@ -868,12 +839,12 @@ the [V4 Migration Guide](https://getstream.io/chat/docs/sdk/flutter/guides/migra
868839
🛑️ Breaking Changes from `2.2.1`
869840
870841
- 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`
877848
878849
✅ Added
879850
@@ -957,20 +928,19 @@ the [V4 Migration Guide](https://getstream.io/chat/docs/sdk/flutter/guides/migra
957928
- `ConnectUserWithProvider` now requires `tokenProvider` as a required parameter. (Removed from the
958929
constructor)
959930
- `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.
962933
- `client.devToken()` now returns a `Token` model instead of `String`.
963934
- `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
972942
- `client.queryUsers()` options parameter is removed in favor of individual parameters
973-
- `option.presence` -> bool presence
943+
- `option.presence` -> bool presence
974944
- Migrate this package to null safety
975945
- Added typed filters
976946
@@ -1006,20 +976,19 @@ the [V4 Migration Guide](https://getstream.io/chat/docs/sdk/flutter/guides/migra
1006976
- `ConnectUserWithProvider` now requires `tokenProvider` as a required parameter. (Removed from the
1007977
constructor)
1008978
- `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.
1011981
- `client.devToken()` now returns a `Token` model instead of `String`.
1012982
- `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
1021990
- `client.queryUsers()` options parameter is removed in favor of individual parameters
1022-
- `option.presence` -> bool presence
991+
- `option.presence` -> bool presence
1023992
1024993
✅ Added
1025994

0 commit comments

Comments
 (0)