Skip to content

Commit

Permalink
Merge pull request #107 from wangxiao/master
Browse files Browse the repository at this point in the history
[feature] 发布 2.1.0 相关。
  • Loading branch information
wangxiao committed May 19, 2015
2 parents b32176a + 18be3c9 commit 3dcbad6
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* 修改代码中版本号及修改日期
* 修改 bower.json 中的版本号
* 修改 changelog.md
* 提交代码合并到 master
* Github 生成 release 包
* 发布到 bower

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "leancloud-realtime.js",
"version": "2.0.7",
"version": "2.1.0",
"homepage": "http://github.com/leancloud/js-realtime-sdk/",
"authors": [
"WangXiao <[email protected]>"
Expand Down
7 changes: 7 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# 2.1.0
* 创建 Room 更简单,支持只传入 CallBack,参数变为可选
* 修改初始化 Room 属性为 attr(原来是 data 字段)
* 初始化属性在服务端 Conversation 表中结构修改,与之前版本不兼容,存储在 attr 字段内
* 增加创建 Room 的名称,提供一个默认字段 name
* 防止同一个 realtime 实例可能产生两个 websocket 实例

# 2.0.7
* 修正创建暂态聊天室失败的问题
* 兼容 IE9
Expand Down
2 changes: 1 addition & 1 deletion src/AV.realtime.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
void function(win) {

// 当前版本
var VERSION = '2.0.7';
var VERSION = '2.1.0';

// 获取命名空间
var AV = win.AV || {};
Expand Down

0 comments on commit 3dcbad6

Please sign in to comment.