Skip to content

Releases: BackendStack21/restana

Properly support Buffer instances on `send`

04 Apr 15:21
6995411
Compare
Choose a tag to compare

Added:

  • Instances from Buffer class are not being parsed as application/json anymore. Issue details: #26
res.send(Buffer.from('Hello World!')) // will parse response as default text/plain MIME type

Supporting `disableResponseEvent` configuration option

10 Mar 09:17
93386f9
Compare
Choose a tag to compare

The new disableResponseEvent config option allows to disable the response event if unused, ultimately resulting in a smaller performance improvement.

Supporting .all routes registration

24 Feb 10:33
ef533a4
Compare
Choose a tag to compare

You can also register a route handler for all supported HTTP methods:

service.all('/allmethodsroute', function (req, res) {
    res.send(200)
});

Dependencies update

19 Feb 14:03
Compare
Choose a tag to compare

"find-my-way": "^1.18.1"

Supporting express like route middlewares

03 Feb 22:15
aa7aec6
Compare
Choose a tag to compare
Merge pull request #20 from jkyberneees/express-like-route-middlewares

Express like route middlewares

Supporting router override.

03 Jan 10:43
377999a
Compare
Choose a tag to compare
Merge pull request #13 from jkyberneees/allow-router-override

Allow router override (v2.7.0)