gajus / lightship

Abstracts readiness, liveness and startup checks and graceful shutdown of Node.js services running in Kubernetes.
Other
518 stars 32 forks source link

Use correct listen() function from Fastify #50

Closed bsmilling closed 1 year ago

bsmilling commented 1 year ago

When starting a Lightship instance, the following error gets logged from Fastify:

[FSTDEP011] FastifyDeprecation: Variadic listen method is deprecated. Please use ".listen(optionsObject)" instead. The variadic signature will be removed in `fastify@5`.

Lightship should use the object version of listen as mentioned in the log message. It is also mentioned in their migrate to v4 guide, and the old variants will be removed completely in v5.

RareBodhi commented 1 year ago

Bump

github-actions[bot] commented 1 year ago

:tada: This issue has been resolved in version 7.1.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: