## CHANGELOG

#### 0.6.0/ 2015年12月17日

- deps: yog-view@0.4.0
- deps: yog-bigpipe@0.3.0
- deps: yog-swig@0.3.0
- 支持 SpiderMode ，此模式下，所有 BigPipe 和 Quickling 数据均会同步渲染供爬虫使用
- 支持 Action 返回 async function，并会统一处理 async function 的异常
- res.bigpipe.bind 兼容 cb 模式和返回一个 Promise Factory的模式
- bigpipe.bind 内的数据源如果发送异常，会将数据设置为 `{BigPipeFailed: true, err: err}` 返回至模板，用于异常处理
- conf/plugins/promise.js 中默认添加 overridePromise: true 配置项，全局的 Promise 会被替换为 bluebird
- conf/plugins/view.js 中添加bigpipeOpt.isSpiderMode 配置项，默认匹配 UA 中包含 bot 或 spider 的请求

#### 0.5.0/ 2015年12月3日

- deps: node-ral@0.4.0, 支持mock, degrade配置
- deps: yog-view@0.3.3
- deps: yog-bigpipe@0.2.3
- won't handle compression filter, 支持bigpipe的gzip

#### 0.4.1/ 2015年11月30日

- 改进根据环境变量管理配置的功能

#### 0.4.0/ 2015年10月19日

- 升级 yog-bigpipe@~0.2.0
- 升级 yog-view@~0.3.0
- 升级 yog-swig@~0.2.4
- 支持嵌套 Pagalet 调用，如 PageletA 中声明了 PageletB，则可以通过 BigPipe.load('B@A') 获取 PageletB
- 支持嵌套 Pagelet 合并加载，如 PageletA 中声明了 PageletB，则请求 PageletA 时会一并返回 PageletB
- 添加 widget 的 lazy 属性，声明了 `lazy="true"` 后，嵌套的Pagelet不会合并加载，而需要手动执行 BigPipe.load
- 添加客户端 Pagelet 缓存功能，具体功能参见 [文档](https://github.com/fex-team/yog2-app-template/tree/master/client/static/js)，需要手动更新 bigpipe.js 文件以支持此功能

#### 0.3.6 / 2015年09月16日

- 升级代码支持lodash3.x
- deps: lodash@3.10.1
- deps: async@1.4.2
- deps: bluebird@2.10.0
- deps: express@4.13.3
- deps: node-ral@~0.1.2
- deps: yog-bigpipe@~0.1.0
- deps: yog-log@~0.0.20
- deps: yog-swig@~0.2.3
- deps: yog-view@~0.2.1

#### 0.3.5 / 2015年09月14日

- 升级 yog-bigpie 至 0.1.0
    - 修复BigPipe.load的cb在并发时会出现的错乱问题
    - 默认不再分析返回内容并提取script等html标签，一律推荐使用后端模板标记

#### 0.3.4 / 2015年08月16日

- 升级 node-ral
    - 支持HTTP_PROXY
    - HTTP协议错误会将错误码返回

#### 0.3.3 / 2015年07月09日

- 添加 promise 接口支持。yog.Promise 提供 bluebird 库，yog.ralPromise 与 yog.ralP 提供 promise 风格的 ral 封装
- 升级 yog-log 支持自动 APP 定位用于区分LOG

#### 0.3.2 / 2015年06月23日

修复使用 `yog.require` 加载的模块无法热加载的问题

#### 0.3.1 / 2015年06月23日

**重要** 升级 swig 依赖，解决模板异常导致 crash 的问题

#### 0.3.0 / 2015年06月12日

当调用 `yog.dispatcher.router`, `yog.dispatcher.action`  获取不存在的 router 与 action 时，不会返回 null 或提示异常，而是将相应的请求返回404

#### 0.2.7 / 2015年06月12日

修复[yog2-plugin-recv-reload](https://github.com/hefangshi/yog2-plugin-recv-reload) 在全局 `npm link` 时的启动问题

#### 0.2.6 / 2015年05月29日

默认加入[yog2-plugin-recv-reload](https://github.com/hefangshi/yog2-plugin-recv-reload) 插件，无需手动安装即可使用 APP 热更新功能

#### 0.2.5 / 2015年05月28日

修复自动路由 method 转发时，如果请求的 method 并未在 action 中找到时，会返回500错误而非404错误的问题

#### 0.2.4 / 2015年05月15日

提供404请求与500请求的自定义配置 [配置说明](https://github.com/fex-team/yog2-framework-template/blob/master/conf/plugins/http.js#L38-L84)

#### 0.2.3 / 2015年05月08日

修复在设置rootRouter后，app中的`router.js` 会过早引入，可能导致一些全局变量没有赋值就被引用 [8fcd141](https://github.com/fex-team/yog2-kernel/commit/8fcd141c997a7d0a771cdaf271da8289b5380532)
