Skip to content

Releases: Okanjo/okanjo-app-server

v3.0.1

21 Mar 06:19

Choose a tag to compare

  • Node v16 compatible
  • Updated to Hapi v20
  • Updated Socket.io to v4.4
  • Updated Okanjo-App to v3
  • Upgraded dependencies to latest
  • Changed the way inert registers static paths

v2.0.2

25 Apr 17:03

Choose a tag to compare

Fixed a possible shutdown race error / unhandled promise rejection

v2.0.1

12 Mar 03:11

Choose a tag to compare

  • Fixed await server.stop() throwing if not initialized or started.
  • Decreased npm package bloat

v2.0.0

10 Mar 16:07

Choose a tag to compare

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 call init if not already done so.
  • server.start and server.stop are now async functions, which no longer accept callbacks
  • config.hapiConnectionOptions and config.port has been removed. use config.hapiServerOptions instead.
  • Theoptions.extensions modules support async functions and promises. Callback methods are deprecated but may still work internally via util.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

20 Feb 19:38

Choose a tag to compare

  • Fixed an exception on SIGTERM/SIGINT when stopping the server instance

v1.0.0

14 Nov 22:16
daad8d2

Choose a tag to compare

First public release, after 20 internal releases