Skip to content

Releases: BackendStack21/restana

Increase compatibility with Node.js http.Server.listen method

27 Mar 11:37
Compare
Choose a tag to compare

Added:

  • Fully support all http.Server.listen method arguments on restana.start method.
  • AWS SAM serverless example application is now referenced in readme.

Update TypeScript definitions

10 Mar 14:47
Compare
Choose a tag to compare

Adding req.body types definitions.

Enable strict mode

26 Feb 16:07
Compare
Choose a tag to compare

Adding 'use strict' to all .js files.

Update dependencies

20 Feb 16:30
Compare
Choose a tag to compare
  • Updates dependencies.
  • Removes package-lock.json from module level.

Improve TypeScript support

11 Jan 18:01
Compare
Choose a tag to compare

Adding typings for nested routers registration API.
Thanks to @kelvinfloresta for his contribution here.

Update dependencies

08 Jan 15:15
11e86fd
Compare
Choose a tag to compare

Update 0http to v2.2.2

Improve documentation

04 Jan 16:07
Compare
Choose a tag to compare

Adding the following topics to readme:

  • Nested Routers
  • Cloud Functions for Firebase integration (thanks to @adrianjost)

Bump 0http to latest version

03 Jan 10:14
Compare
Choose a tag to compare

Update dependencies.

Fixes method chaining

02 Jan 21:26
8dc9e4b
Compare
Choose a tag to compare

Fixes method chaining for .use and routes registration shortcuts like .get, .post, ...

app
  .use(...)
  .use(...)
  .get(...)
  .start(3000)

v4

30 Dec 23:08
5df16fb
Compare
Choose a tag to compare
v4

Added

  • Node.js v10.x+ is required.
  • 0http sequential router is now the default and only HTTP router.
  • Overall middlewares support was improved.
  • Nested routers are now supported.
  • Improved error handler through async middlewares.
  • New getRouter and newRouter methods are added for accesing default and nested routers.

Removed

  • The response event was removed.
  • find-my-way router is replaced by 0http sequential router.
  • Returning result inside async handler is not allowed anymore. Use res.send...