Releases: Okanjo/okanjo-app-server
Releases · Okanjo/okanjo-app-server
v3.0.1
v2.0.2
Fixed a possible shutdown race error / unhandled promise rejection
v2.0.1
- Fixed
await server.stop()throwing if not initialized or started. - Decreased npm package bloat
v2.0.0
HAPI v17+ support!
##Breaking changes
- Constructor no longer accepts a callback for initialization. Instead, use
await server.init()to manually call this.server.start()will callinitif not already done so. server.startandserver.stopare now async functions, which no longer accept callbacksconfig.hapiConnectionOptionsandconfig.porthas been removed. useconfig.hapiServerOptionsinstead.- The
options.extensionsmodules support async functions and promises. Callback methods are deprecated but may still work internally viautil.promisify. - If you use older plugins and routes with hapi, you'll have to update your route handlers and plugins to support hapi 17+
v1.0.1
- Fixed an exception on SIGTERM/SIGINT when stopping the server instance
v1.0.0
First public release, after 20 internal releases