github-actions
released this
03 Feb 00:03
·
106 commits
to main
since this release
Patch Changes
-
9300c22: feat: allow http2/https servers
previously using
fastify({ http2: true })
orfastify({ https: {...} })
resulted in type errors for the handler when passing the request
this has been fixed by passing the server type to all uses of the request and reply internally
this PR allows any server that extends
http.Server | https.Server | http2.Http2Server | http2.Http2SecureServer;