github apollographql/apollo-server @apollo/server@4.7.3

latest releases: @apollo/server@4.10.4, @apollo/server-integration-testsuite@4.10.4, @apollo/server@4.10.3...
13 months ago

Patch Changes

  • #7601 75b668d9e Thanks @trevor-scheer! - Provide a new configuration option for landing page plugins precomputedNonce which allows users to provide a nonce and avoid calling into uuid functions on startup. This is useful for Cloudflare Workers where random number generation is not available on startup (only during requests). Unless you are using Cloudflare Workers, you can ignore this change.

    The example below assumes you've provided a PRECOMPUTED_NONCE variable in your wrangler.toml file.

    Example usage:

    const server = new ApolloServer({
      // ...
      plugins: [
        ApolloServerPluginLandingPageLocalDefault({
          precomputedNonce: PRECOMPUTED_NONCE,
        }),
      ],
    });

Don't miss a new apollo-server release

NewReleases is sending notifications on new releases.