Skip to content

Releases: PunGy/rest-library

v1.2.0

04 Jul 16:49
57d14fb
Compare
Choose a tag to compare
  • Switch from commonjs to esmodules
  • Now we can pass parameters into the server. For example, ssl certificate
  • Add support for https servers. Just pass key and cert into the server parameter
  • Upgrade build process. Exclude helpers from the final build
  • Handler for sending files (ctx.response.sendFile('image.jpg'))
  • Add library for detecting MIME types
  • Fix some bugs with parsing json body

v1.1.0

29 May 07:37
Compare
Choose a tag to compare
  • Fix some bugs
  • Add support for OPTIONS and HEAD http methods. In case of request with such methods - all "use" middleware would be called

First release

20 May 14:49
Compare
Choose a tag to compare

First working release of Rest Library. Usage examples and documentation in README.md