Skip to content

Commit 79ed117

Browse files
committed
chore(release): v5.0.0-alpha.1
1 parent 25e210e commit 79ed117

File tree

3 files changed

+22
-2
lines changed

3 files changed

+22
-2
lines changed

changelog.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
<a name="5.0.0-alpha.1"></a>
2+
3+
# [5.0.0-alpha.1](https://github.com/leancloud/js-realtime-sdk/compare/v5.0.0-alpha.0...v5.0.0-alpha.1) (2019-05-13)
4+
5+
### Features
6+
7+
- 增加了手动启用、停用调试模式的开关:
8+
9+
```js
10+
const { debug } = require('leancloud-realtime');
11+
debug.enable();
12+
debug.disable();
13+
```
14+
15+
原有在浏览器中使用 localStorage,在 Node.js 中使用环境变量启用调试模式的方式仍然可用。
16+
17+
### Bug Fixes
18+
19+
- 修复了 CocosCreator 真机上 WebSocket 连接抛异常的问题。
20+
121
<a name="5.0.0-alpha.0"></a>
222

323
# [5.0.0-alpha.0](https://github.com/leancloud/js-realtime-sdk/compare/v4.3.0...v5.0.0-alpha.0) (2019-05-10)

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "leancloud-realtime",
3-
"version": "5.0.0-alpha.0",
3+
"version": "5.0.0-alpha.1",
44
"description": "LeanCloud Realtime Message JavaScript SDK",
55
"main": "./dist/realtime.js",
66
"jsnext:main": "./src/index.js",

0 commit comments

Comments
 (0)