本次更新主要是移除了一些内核中可插件化的代码,并新增了2个插件 fpm-plugin-qiniu-upload,fpm-plugin-socketio 。2.2.3版本将是一个lts版本。

依赖变更

  • remove qiniu

最新的依赖

1
2
3
4
5
6
7
8
9
"koa": "^2.0.0",
"koa-bodyparser": "^3.2.0",
"koa-multer": "^1.0.1",
"koa-router": "^7.1.0",
"koa2-cors": "^2.0.3",
"lodash": "^4.16.1",
"md5": "^2.1.0",
"moment": "^2.13.0",
"pubsub-js": "^1.5.5"

移除的特性

  • remove upload 的路由
    1
    this.app.use(upload.routes()).use(upload.allowedMethods())

插件

  • 上传文件到七牛的插件 fpm-plugin-qiniu-upload

  • 集成socketio服务插件 fpm-plugin-socketio

  • 已实现的可用插件列表

    1
    2
    3
    4
    5
    6
    "fpm-plugin-baidu": "^0.0.1",
    "fpm-plugin-emailer": "^1.0.3",
    "fpm-plugin-mysql": "^1.0.1",
    "fpm-plugin-qiniu-upload": "^1.0.0",
    "fpm-plugin-schedule": "^1.0.0",
    "fpm-plugin-socketio": "^0.0.2",

Comments

2017-04-19

⬆︎TOP