当前位置

网站首页> 程序设计 > 程序资讯 > 软件更新资讯 > 浏览文章

Express.js 4.9.5 发布,Node.js 的高性能封装

作者:小梦 来源: 网络 时间: 2024-05-06 阅读:

第29期OSC源创会#南京#开始报名,AngularJS、Netty 等

Express.js 4.9.5 发布,主要是 bug 修复,包括:

  • #155 – Doc error (req.route.params)

  • #157 – Typo error: req.pipe() instead of res.pipe()

  • #158 – Document app.route / app.mountpath

  • #159 – Explain that .param doesn’t get inherited in mounted routers

  • #162 – `req.accepted` still in documentation

  • #169 – Update router docs to include new mergeParams option

  • #173 – 404 link in FAQ

  • #167 – Describe options that can be passed to the depends used by express

  • #178 – document req.baseUrl

  • #179 – document “query parser” settings

  • #180 – document “trust proxy” settings

  • #182 – update app.use documention for multi args

  • #183 – add all the non-string things that app.use takes as a path now

  • #184  document headers option for res.sendfile

  • #185  document req.hostname

  • #186 – document that req.param cb is only called once

  • #187 – document how to use DEBUG to check routing issues

  • #188 – document all the new options express.static accepts

  • #189 – document “etag” settings

  • #190 – document all the new options res.sendfile accepts (like dotfiles)

  • #191 – address how render works

  • #193 – document res.sendFile

下载地址:https://github.com/strongloop/express/archive/4.9.5.zip

同时 3.x 分支最新版本是 3.17.6