Skip to content

Commit 5b2e0da

Browse files
committed
v3.0.127
1 parent 584c756 commit 5b2e0da

File tree

6 files changed

+36
-14
lines changed

6 files changed

+36
-14
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## v3.0.127(JUN 26, 2020)
4+
5+
- Added a dependency for `axios` and `form-data`.
6+
- Please add [axios](https://github.com/axios/axios) to the `script` tag if you're using SendBird by copy-and-paste the `SendBird.min.js` file.
7+
- Added `getUnreadMemberCount()` and `getUndeliveredMemberCount()` in `GroupChannel`.
8+
- Deprecated `getReadReceipt()` and `getDeliveryReceipt()` in `GroupChannel`.
9+
- Bug-fix in updating operators in `GroupChannel`.
10+
311
## v3.0.126(JUN 16, 2020)
412

513
- Bug-fixes in message threading.

README.md

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,22 @@
66

77
# Getting Started
88

9-
[Bower](http://bower.io) package for [SendBird.com](https://sendbird.com) JavaScript SDK
9+
[bower](http://bower.io) package for [SendBird](https://sendbird.com) JavaScript SDK
1010

1111
bower install sendbird
1212

13-
[npm](https://www.npmjs.com/package/sendbird) module for [SendBird.com](https://sendbird.com) JavaScript SDK
13+
[npm](https://www.npmjs.com/package/sendbird) module for [SendBird](https://sendbird.com) JavaScript SDK
1414

1515
npm install sendbird --save
1616

17-
[download](https://github.com/sendbird/SendBird-SDK-JavaScript) for [SendBird.com](https://sendbird.com) JavaScript SDK
17+
[Download](https://github.com/sendbird/SendBird-SDK-JavaScript) for [SendBird](https://sendbird.com) JavaScript SDK if you wish to use it without a package manager.
18+
19+
> NOTICE! You should also add [axios](https://github.com/axios/axios) library into the `script` tag before the SendBird library inclusion since `v3.0.127`. You can host the library by your own, or utilize the CDN as the library refers to it. The below is an example.
20+
21+
```html
22+
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
23+
<script src="/your-own-path-to-sendbird/SendBird.min.js"></script>
24+
```
1825

1926
# TypeScript
2027

@@ -45,12 +52,15 @@ Check out [Basic Sample with SyncManager](https://github.com/sendbird/SendBird-J
4552

4653
# [Documentation](https://docs.sendbird.com/javascript)
4754

48-
## v3.0.126(JUN 16, 2020)
55+
## v3.0.127(JUN 26, 2020)
4956

5057
If you want to check the record of other version, go to [Change Log](https://github.com/sendbird/SendBird-SDK-JavaScript/blob/master/CHANGELOG.md).
5158

52-
- Bug-fixes in message threading.
53-
- Improved stability.
59+
- Added a dependency for `axios` and `form-data`.
60+
- Please add [axios](https://github.com/axios/axios) to the `script` tag if you're using SendBird by copy-and-paste the `SendBird.min.js` file.
61+
- Added `getUnreadMemberCount()` and `getUndeliveredMemberCount()` in `GroupChannel`.
62+
- Deprecated `getReadReceipt()` and `getDeliveryReceipt()` in `GroupChannel`.
63+
- Bug-fix in updating operators in `GroupChannel`.
5464

5565
## [Change Log](https://github.com/sendbird/SendBird-SDK-JavaScript/blob/master/CHANGELOG.md)
5666

SendBird.d.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Type Definitions for SendBird SDK v3.0.126
2+
* Type Definitions for SendBird SDK v3.0.127
33
* homepage: https://sendbird.com/
44
* git: https://github.com/sendbird/SendBird-SDK-JavaScript
55
*/
@@ -1615,13 +1615,15 @@ declare namespace SendBird {
16151615
unhide(callback: commonCallback): void;
16161616

16171617
markAsRead(): void;
1618-
getReadReceipt(message: UserMessage | FileMessage | AdminMessage): number;
1618+
getReadReceipt(message: UserMessage | FileMessage | AdminMessage): number; // DEPRECATED
16191619
getReadStatus(includeAllMembers?: boolean): Object;
16201620
getUnreadMembers(message: UserMessage | FileMessage, includeAllMembers?: boolean): Array<Member>;
16211621
getReadMembers(message: UserMessage | FileMessage, includeAllMembers?: boolean): Array<Member>;
1622+
getUnreadMemberCount(message: UserMessage | FileMessage | AdminMessage): number;
16221623

16231624
markAsDelivered(): void;
1624-
getDeliveryReceipt(message: UserMessage | FileMessage | AdminMessage): number;
1625+
getDeliveryReceipt(message: UserMessage | FileMessage | AdminMessage): number; // DEPRECATED
1626+
getUndeliveredMemberCount(message: UserMessage | FileMessage | AdminMessage): number;
16251627

16261628
startTyping(): void;
16271629
endTyping(): void;

SendBird.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sendbird",
3-
"version": "3.0.126",
3+
"version": "3.0.127",
44
"authors": ["SendBird <support@sendbird.com>"],
55
"homepage": "https://github.com/sendbird/SendBird-SDK-JavaScript",
66
"description": "SendBird JavaScript SDK",

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
{
22
"name": "sendbird",
3-
"version": "3.0.126",
3+
"version": "3.0.127",
44
"description": "SendBird JavaScript SDK",
55
"main": "SendBird.min.js",
66
"dependencies": {
77
"ws": "6.0.0",
88
"xhr2": "0.1.4",
9-
"agentkeepalive": "2.2.0"
9+
"agentkeepalive": "2.2.0",
10+
"axios": "^0.19.2",
11+
"form-data": "^3.0.0"
1012
},
1113
"scripts": {
1214
"test": "echo \"Error: no test specified\" && exit 1"

0 commit comments

Comments
 (0)