Skip to content

Releases: BackendStack21/restana

properly exposing service options through getConfigOptions

05 Apr 15:52
337ea5e

Choose a tag to compare

// accessing service configuration
service.getConfigOptions()

Details: #30

Support method chaining on routes registration

04 Apr 19:09

Choose a tag to compare

Restana now supports:

  service
    .get('/', ...)
    .post('/', ...)
    .get('/chain', ...)

Properly support Buffer instances on `send`

04 Apr 15:21
6995411

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

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

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

Choose a tag to compare

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

Supporting express like route middlewares

03 Feb 22:15
aa7aec6

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

Choose a tag to compare

Merge pull request #13 from jkyberneees/allow-router-override

Allow router override (v2.7.0)