Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2.22.2 #5073

Merged
merged 4 commits into from Mar 29, 2021
Merged

Release 2.22.2 #5073

merged 4 commits into from Mar 29, 2021

Commits on Mar 29, 2021

  1. apollo-server-core: Fix compatibility with older integrations

    The implementation of the backwards-compatibility method `willStart()` in
    v2.22.0 and v2.22.1 calls `_start`, which is illegal if the server is already
    started. But the server could have already been started for various reasons;
    specifically, for serverless frameworks the constructor would have called
    it (because that code is in `apollo-server-core` itself which is running the
    newer code).
    
    There are various ways to fix this, but the simplest way is just to make
    `willStart` into an unnecessarily async alias for `ensureStarting`. While the
    semantics aren't exactly identical, the overall effect is the same (because we
    now check that the server has started when operations actually run via
    `ensureStarted`, whereas before it was important for the integration itself to
    await the `willStart` promise).
    glasser committed Mar 29, 2021
    Copy the full SHA
    49a71e4 View commit details
    Browse the repository at this point in the history
  2. Reference PR in changelog

    glasser committed Mar 29, 2021
    Copy the full SHA
    47c494e View commit details
    Browse the repository at this point in the history
  3. Release

     - apollo-server-azure-functions@2.22.2-alpha.0
     - apollo-server-cloud-functions@2.22.2-alpha.0
     - apollo-server-cloudflare@2.22.2-alpha.0
     - apollo-server-core@2.22.2-alpha.0
     - apollo-server-express@2.22.2-alpha.0
     - apollo-server-fastify@2.22.2-alpha.0
     - apollo-server-hapi@2.22.2-alpha.0
     - apollo-server-integration-testsuite@2.22.2-alpha.0
     - apollo-server-koa@2.22.2-alpha.0
     - apollo-server-lambda@2.22.2-alpha.0
     - apollo-server-micro@2.22.2-alpha.0
     - apollo-server-testing@2.22.2-alpha.0
     - apollo-server@2.22.2-alpha.0
    glasser committed Mar 29, 2021
    Copy the full SHA
    f4f14d3 View commit details
    Browse the repository at this point in the history
  4. Release

     - apollo-server-azure-functions@2.22.2
     - apollo-server-cloud-functions@2.22.2
     - apollo-server-cloudflare@2.22.2
     - apollo-server-core@2.22.2
     - apollo-server-express@2.22.2
     - apollo-server-fastify@2.22.2
     - apollo-server-hapi@2.22.2
     - apollo-server-integration-testsuite@2.22.2
     - apollo-server-koa@2.22.2
     - apollo-server-lambda@2.22.2
     - apollo-server-micro@2.22.2
     - apollo-server-testing@2.22.2
     - apollo-server@2.22.2
    glasser committed Mar 29, 2021
    Copy the full SHA
    9562af4 View commit details
    Browse the repository at this point in the history