- general dependency upgrades inc.
restify@11
- Node.js v18 is supported
- updated a few examples to adapt the
async/await
syntax for route handler declaration
- support for older (end-of-life / near end-of-life) Node.js versions (e.g. v16 and below)
tslint.json
config (in favour ofeslint
); the removed config is quoted below for historic reasons:{ "defaultSeverity": "error", "extends": [ "tslint:recommended" ], "jsRules": {}, "rules": { "quotemark": [true, "single"], "ordered-imports": [false], "object-literal-sort-keys": [false], "only-arrow-functions": [false], "forin": false }, "rulesDirectory": [] }
- Travis-CI integration (in favour of GitHub Actions)
- truly decoupled
unit-http
fromsomnus
in user-land (see #33) - upgraded a few dependencies
- the command
npm run local-pack
which prepares a somnus tarball for local installation (wrapsnpm pack
)
- GitHub Action config now supports both registries: npm (stable usage) and GitHub Packages (experimental usage)
- upgraded several devDependencies, clearing out security issues reported by
npm audit
- upgraded
restify
to v8.6.1 - upgraded
bunyan
to 1.8.15
- GitHub Action config files in the release tarball (which are irrelevant for the users)
- merged dependabledot security-fix PRs
- upgraded
webpack
library version to a stable one - synced
package-lock.json
content
- updated README
- added webpack config
output.globalObject
- updated webpack config
output.library
- switched CI to travis-ci.com
- support for NGINX Unit
unit-http
filed as an optional dependency
- the file
tslint.json
from the npm distribution package
- examples are no longer run directly from 'npm scripts' but via
scripts/run-example.js
- examples are run in such a manner that the main process is not killed before the child process fully exits
- the exported
somnus
object is now created viaObject.create(null)
- env var
UNIX_SOCKET
(please see README for details) - example code for starting
somnus
on a unix socket - unix socket -related test cases
- upgraded multiple dependencies, most notably restify@8
- updated webpack build command to support existing
import
andrequire
APIs
- issue #2: using
delete
as HTTP method name inrouteConfig
crashes the process
- more unit tests
- renamed the ENV var
TEST_BUILD
intoTARGET_DIST_BUILD
- refactored test suite for easy future expansions
- framework startup info log message now announces log level by name, not number
- a few typo updates in the README and the
helloworld-ts
example
ENV variables
documentation in the README- a pure JavaScript example (
examples/helloworld-js
) - (updated) npm run scripts to conveniently invoke currently available examples
- more verbose comments for the example applications
- complete rewrite over
somnus@2
- new APIs on old philosophies: make REST API fun, simple, and productive
- breaking change:
somnus@3
can only be installed afresh, and cannot be 'upgraded' from any of the previous versions - new repo address (
somnusjs/somnus
)