Skip to content

Commit 1b0e759

Browse files
committed
🔖 Prepare 3.8.0
1 parent 33af60c commit 1b0e759

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# 更新日志
22

3+
## 3.8.0
4+
5+
- 添加对新的 Hook(`onAuthData`)的支持,这个 Hook 会在云存储处理第三方登录的 authData 时触发,开发者可以在这个 Hook 中进行对 authData 的校验。
6+
- 正式支持 JS SDK (leancloud-storage) 4.x,对于新的项目会自动安装 4.x 版本的 JS SDK(不影响既有项目)。
7+
38
## 3.7.0
49

510
- `req.meta.remoteAddress` 优先从 `Forwarded` 头获取客户端 IP,在线上的 Hook 中可以获取到触发 Hook 的客户端 IP。

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "leanengine",
3-
"version": "3.7.0",
3+
"version": "3.8.0",
44
"description": "LeanCloud LeanEngine Node.js SDK.",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)