Releases: BackendStack21/restana
Releases · BackendStack21/restana
Documentation update
Changes:
- Updating benchmarks results in README.md
- Refactor badges in README.md
Supporting http.createServer hook
Added:
- Support for
http.createServer
hook:
const http = require('http')
const service = require('restana')()
service.get('/hi', (req, res) => {
res.send({
msg: 'Hello World!'
})
})
http.createServer(service).listen(3000, '0.0.0.0', function () {
console.log('running')
})
Big Thanks to @schamberg97 for this contribution.
Updating dependencies
Dependencies were updated to latest versions.
Travis CI build now includes multiple Node.js versions:
- 10
- 12
- 14
Updating docs
Changes:
- Updating documentation
- Rename repository to from
ana
torestana
for more consistency. Closes #103 - Updating dev dependencies
Improving documentation
Updating TypeScript definitions
Changes:
- Updates TypeScript definitions to consider multiple paths on routes registration shortcuts
v4.7.0
v4.7.0
Improving error handling docs
Changes:
- Error handling documentation was improved. More details: #81 (comment)
Improving documentation
Changes:
- Improving documentation.
Add unit tests, perf tests, and functionality for send(<Promise>)
Changes:
- Add unit tests, perf tests, and functionality for send()
PR: #93
Thanks @edreesjalili for pushing this released ❤️