diff --git a/packages/stream_chat/CHANGELOG.md b/packages/stream_chat/CHANGELOG.md index 5e31e81e..24cccf6e 100644 --- a/packages/stream_chat/CHANGELOG.md +++ b/packages/stream_chat/CHANGELOG.md @@ -1,3 +1,42 @@ +## 2.0.0 + +🛑️ Breaking Changes from `1.5.3` + +- `ConnectUserWithProvider` now requires `tokenProvider` as a required param. (Removed from the constructor) +- `client.disconnect()` is now divided into two different functions + - `client.closeConnection()` -> for closing user websocket connection. + - `client.disconnectUser()` -> for disconnecting user and resetting client state. +- `client.devToken()` now returns a `Token` model instead of `String`. +- `ApiError` is removed in favor of `StreamChatError` + - `StreamChatError` -> parent type for all the stream errors. + - `StreamWebSocketError` -> for user websocket related errors. + - `StreamChatNetworkError` -> for network related errors. +- `client.queryChannels()`, `channel.query()` options param is removed in favor of individual params + - `option.state` -> bool state + - `option.watch` -> bool watch + - `option.presence` -> bool presence +- `client.queryUsers()` options param is removed in favor of individual params + - `option.presence` -> bool presence +- Migrate this package to null safety +- Added typed filters + +🐞 Fixed + +- [#369](https://github.com/GetStream/stream-chat-flutter/issues/369): Client does not return without internet connection +- several minor fixes + + +✅ Added + +- New `Location` enum is introduced for easily changing the client location/baseUrl. +- New `client.openConnection()` and `client.closeConnection()` is introduced to connect/disconnect user ws connection. +- New `client.partialUpdateMessage` and `channel.partialUpdateMessage` methods +- `connectWebSocket` parameter in connect user calls to use the client in "connection-less" mode. + +🔄 Changed + +- `baseURL` is now deprecated in favor of using `Location` to change data location. + ## 2.0.0-nullsafety.8 🐞 Fixed @@ -32,21 +71,10 @@ - `baseURL` is now deprecated in favor of using `Location` to change data location. -🐞 Fixed - -- [#369](https://github.com/GetStream/stream-chat-flutter/issues/369): Client does not return without internet - connection - ## 2.0.0-nullsafety.6 - Fix thread reply not working with attachments - Minor fixes - -## 2.0.0-nullsafety.6 - -- Fix thread reply not working with attachments -- Minor fixes - ## 2.0.0-nullsafety.5 - Minor fixes