Skip to content

Releases: tofishes/route-coc

v1.2.10

11 Aug 08:14

Choose a tag to compare

Fixed

  • windows系统node v6.3版本无法获取箭头函数赋值给一个变量时的函数名

v1.2.9 功能增强

10 Aug 03:35

Choose a tag to compare

Changed

  • 路由无 :param 的优先匹配,可同时配置 /news/publih 和 /news/:id,而不会产生冲突
  • res.forward 能够转到任何外域名网址(http://或https://开头的完整地址)
  • 其他一些内部逻辑调整

Added

  • 增加response stage做最后响应阶段,原来的 requestProxy 和 render 不做最终响应
  • res.html 保存渲染模板后的html
  • requestProxy 增加apiInfo数据记录

v1.2.8

07 Jul 02:47

Choose a tag to compare

changes

  • 更新升级依赖库
  • 增强稳定性
  • 响应缓存头优化

v1.2.6

02 Jun 13:47

Choose a tag to compare

Changed

  • modify stages order, fix interceptor can't get router param.

v1.2.4

24 May 07:14

Choose a tag to compare

Changed

  • when interceptor's series is true, interceptor apiData can be geted in router functional config option with res.apiData .

Added

  • add res.locals.apiDataKeys to help get data keys in template file.