Releases: BackendStack21/restana
Releases · BackendStack21/restana
Properly support Buffer instances on `send`
Added:
- Instances from
Buffer
class are not being parsed asapplication/json
anymore. Issue details: #26
res.send(Buffer.from('Hello World!')) // will parse response as default text/plain MIME type
Supporting `disableResponseEvent` configuration option
The new disableResponseEvent
config option allows to disable the response
event if unused, ultimately resulting in a smaller performance improvement.
Supporting .all routes registration
You can also register a route handler for all
supported HTTP methods:
service.all('/allmethodsroute', function (req, res) {
res.send(200)
});
Dependencies update
"find-my-way": "^1.18.1"
Supporting express like route middlewares
Merge pull request #20 from jkyberneees/express-like-route-middlewares Express like route middlewares
Supporting router override.
Merge pull request #13 from jkyberneees/allow-router-override Allow router override (v2.7.0)