Skip to content

Release v3.1.1

Choose a tag to compare

@github-actions github-actions released this 18 Sep 13:53
· 20 commits to main since this release
  • (@GermanBluefox) The result type of init() now includes http2.Http2SecureServer unless http2: false is set, matching the default of the http2 option since 3.1.0. It claimed http.Server | https.Server before, so members that an HTTP/2 server does not have - like closeAllConnections() - compiled and failed at runtime
  • (@GermanBluefox) Added the http2 option: a secure server speaks HTTP/2 with HTTP/1.1 fallback. Express apps, body parsers, WebSocket upgrades and close() keep working unchanged