Skip to content
Snippets Groups Projects
To find the state of this project's repository at the time of any of these versions, check out the tags.
HISTORY.md 10.37 KiB

v 1.11.0

  • Fix request.ip and add request.ips Issue #244.
  • Add response.attachment() from express Issue #246.
  • Add request.getHeader() alias for request.header() Issue #241.

v 1.10.1

v 1.10.0

v 1.9.0

  • Implement response.getHeaderNames() and response.hasHeader() Issue #222.
  • Remove calls to deprecated Buffer constructors Issue #221.
  • Run tests for Node 10, 12 and 14. Drop support for Node 6 and 8 Issue #218.
  • Implement response.getHeaders() Issue #217.
  • Add req.subdomains Issue #213.
  • Add socket option to mockRequest Issue #209.
  • Fix index.d.ts Issue #205.
  • Added support for response.writableEnded and response.writableFinished Issue #205.

v 1.8.1

  • Enable res.render() callback argument Issue #197.

v 1.8.0

v 1.7.6

v 1.7.5

  • Updated the dependency tree with newer versions of eslint.

v 1.7.4

  • Added _getJSONData function with data sent to the user as JSON. #181

v 1.7.3

  • Added .range() on a mocked request mimicking the same function on Express' request. #175