Skip to content

Commit 860a9f8

Browse files
committed
[v3.1.1] (Aug 17 2022) (#272)
Features: * Add channel handlers to the open channel settings * Add an open channel handler into the OpenChannelSettings component * Use operators property to render operator list on the OpenChannelSetting instead of fetching operators * Export handlers through `@sendbird/uikit-react/handlers`, this is a workaround to fix an issue where inhertiance chains break custom handler implementation * ConnectionHandler -> `@sendbird/uikit-react/handlers/ConnectionHandler` * GroupChannelHandler -> `@sendbird/uikit-react/handlers/GroupChannelHandler` * OpenChannelHandler -> `@sendbird/uikit-react/handlers/OpenChannelHandler` * UserEventHandler -> `@sendbird/uikit-react/handlers/UserEventHandler` * Example: https://codesandbox.io/s/test-3-1-1-rc-5-f94w7i Fixes: * Update SendableMessage to UserMessage and FileMessage * Change the type of MessageHandler.onFailed to FailedMessageHandler * Add missing type defns into scripts/index_d_ts * Typo in creating channelHandlerId on the ChannelList
1 parent 029fb2a commit 860a9f8

File tree

3 files changed

+24
-3
lines changed

3 files changed

+24
-3
lines changed

CHANGELOG.md

+21
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# Changelog - v3
22

3+
## [v3.1.1] (Aug 17 2022)
4+
5+
Features:
6+
* Add channel handlers to the open channel settings
7+
* Add an open channel handler into the OpenChannelSettings component
8+
* Use operators property to render operator list on the OpenChannelSetting
9+
instead of fetching operators
10+
* Export handlers through `@sendbird/uikit-react/handlers`, this is a workaround
11+
to fix an issue where inhertiance chains break custom handler implementation
12+
* ConnectionHandler -> `@sendbird/uikit-react/handlers/ConnectionHandler`
13+
* GroupChannelHandler -> `@sendbird/uikit-react/handlers/GroupChannelHandler`
14+
* OpenChannelHandler -> `@sendbird/uikit-react/handlers/OpenChannelHandler`
15+
* UserEventHandler -> `@sendbird/uikit-react/handlers/UserEventHandler`
16+
* Example: https://codesandbox.io/s/test-3-1-1-rc-5-f94w7i
17+
18+
Fixes:
19+
* Update SendableMessage to UserMessage and FileMessage
20+
* Change the type of MessageHandler.onFailed to FailedMessageHandler
21+
* Add missing type defns into scripts/index_d_ts
22+
* Typo in creating channelHandlerId on the ChannelList
23+
324
## [v3.1.0] (Aug 03 2022)
425
Features:
526
* Support moderation in OpenChannel

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sendbird/uikit-react",
3-
"version": "3.1.0",
3+
"version": "3.1.1",
44
"description": "React based UI kit for sendbird",
55
"main": "dist/index.js",
66
"style": "dist/index.css",

0 commit comments

Comments
 (0)