Skip to content

Commit

Permalink
Merge pull request #94 from sendbird/v4.2.1
Browse files Browse the repository at this point in the history
Add 4.2.1.
  • Loading branch information
sf-tyler-jeong authored Feb 5, 2024
2 parents 0b854cd + 0e49875 commit fdfe7fa
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## v4.2.1 (Fed 5, 2024)

### Improvements
- Fixed the bug where `getCachedMetaData()` in `BaseChannel` is not being updated when deleting metadata.

## v4.2.0 (Jan 31, 2024)

### Features
Expand All @@ -9,7 +14,7 @@
- Added `useCollectionCaching` in `SendbirdChatOptions` (The default value is `true`)
- Added `getCachedDataSize()`, `clearCachedData()` and `clearCachedMessages()` in `SendbirdChat`
- Added `getFailedMessages()`, `removeFailedMessages()` and `removeAllFailedMessages()` in `MessageCollection`
- Added `markAsRead() in `BaseMessageCollection`
- Added `markAsRead()` in `BaseMessageCollection`

### Improvements
- Fixed the bugs regarding FeedChannel
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Before installing Sendbird Chat SDK, you need to create a Sendbird application o

```yaml
dependencies:
sendbird_chat_sdk: ^4.2.0
sendbird_chat_sdk: ^4.2.1
```
- Run `flutter pub get` command in your project directory.
Expand Down
2 changes: 1 addition & 1 deletion lib/src/internal/main/chat/chat.dart
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ part 'chat_notifications.dart';
part 'chat_push.dart';
part 'chat_user.dart';

const sdkVersion = '4.2.0';
const sdkVersion = '4.2.1';

// Internal implementation for main class. Do not directly access this class.
class Chat with WidgetsBindingObserver {
Expand Down
2 changes: 1 addition & 1 deletion lib/src/internal/main/chat_manager/command_manager.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1157,7 +1157,7 @@ class CommandManager {
);

final cachedMetaData = _chat.channelCache
.find<MetaDataCache<String>>(channelKey: event.channelUrl) ??
.find<MetaDataCache>(channelKey: event.channelUrl) ??
MetaDataCache(
channelType: event.channelType,
channelUrl: event.channelUrl,
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: sendbird_chat_sdk
description: With Sendbird Chat for Flutter, you can easily build an in-app chat with all the essential messaging features.
version: 4.2.0
version: 4.2.1
homepage: https://sendbird.com
repository: https://github.com/sendbird/sendbird-chat-sdk-flutter
documentation: https://sendbird.com/docs/chat/sdk/v4/flutter/getting-started/send-first-message
Expand Down

0 comments on commit fdfe7fa

Please sign in to comment.