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+