Skip to content

June 16, 2026

Choose a tag to compare

@theguild-bot theguild-bot released this 16 Jun 12:59
aefcaec

@graphql-hive/gateway@2.9.0

Minor Changes

  • #2425 43bc433 Thanks @enisdenjo! - Graceful HTTP shutdown with configurable drain timeout

    Add gracefulShutdownTimeout to the config and default it to 0 (immediate/forceful shutdown). On SIGTERM/SIGINT the server stops accepting new connections and idles out keep-alive connections, letting active requests finish naturally. After the timeout expires, all remaining connections are force-closed.

    Set to 0 to restore the previous behaviour of immediately closing all connections.

    // gateway.config.ts
    
    import { defineConfig } from '@graphql-hive/gateway';
    
    export const gatewayConfig = defineConfig({
      gracefulShutdownTimeout: 10_000, // 10 seconds, default is 0 (immediate shutdown)
    });

@graphql-hive/nestjs@2.0.79

Patch Changes

  • Updated dependencies [43bc433]:
    • @graphql-hive/gateway@2.9.0