npm fastify-micro 3.1.0
v3.1.0

latest releases: 3.1.1, 3.1.1-beta.1
2 years ago

3.1.0 (2021-12-20)

Features

Load plugins & routes from filesystem (813efd9)

Use fastify-autoload for plugins and routes rather than using configure and routesDir options (now deprecated). This allows passing full autoload configurations.

Add cleanupOnExit to automate closing connections to external services when the server is closing.

Reorder plugins to be able to use loaded plugins decorators in health check.

Detect plugin loading errors and crash early (rethrow).

Other Features

  • Internalise graceful shutdown handling (9cf468d)
  • Add timing information in graceful shutdown logs (972cc6e)
  • Print routes with hooks and flatten tree (5feb0b8)

Don't miss a new fastify-micro release

NewReleases is sending notifications on new releases.