Skip to content

Node SDK 4.0 计划 #125

@jysperm

Description

@jysperm
  • 云函数只支持 Promise 风格
  • 考虑把目前提供的中间件作为 AV.express/AV.koa 的参数,这样可以避免用户对中间件放置的位置有疑问
  • AV.koa 默认提供 koa2(async 风格)的中间件,新增 AV.koa1 来提供 co 风格的中间件
  • 删除 Cloud.logInByIdAndSessionToken(功能不明确,不宜作为公开 API)
  • 简化 cookieSession 的实现
  • 不在 ctx.request/response 上提供(而是只有 ctx 上有) currentUser/sessionToken/saveCurrentUser/clearCurrentUser
  • 考虑将 ignoreInvalidSessionToken 作为默认值
  • 在 RPC 请求中,没有正确地序列化数组中的非 Object 值 在 RPC 请求中,没有正确地序列化数组中的非 Object 值 #134
  • 发布 v4 的在线编辑,添加 ioredis 依赖
  • 修改 UA
  • 升级 mocha
  • 默认不验证 sessionToken(request.currentUser 改成 request.fetchUser()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions