Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: apollographql/apollo-server
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: apollo-server@2.21.0
Choose a base ref
...
head repository: apollographql/apollo-server
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: apollo-server@2.21.1
Choose a head ref
Loading
Showing with 34,940 additions and 15,040 deletions.
  1. +6 −0 CHANGELOG.md
  2. +1 −1 docs/.nvmrc
  3. +33,767 −13,111 docs/package-lock.json
  4. +2 −2 docs/package.json
  5. +1 −1 docs/source/api/graphql-tools.md
  6. +1 −0 docs/source/data/data-sources.md
  7. +0 −273 docs/source/data/errors.md
  8. +483 −0 docs/source/data/errors.mdx
  9. +2 −2 docs/source/data/subscriptions.mdx
  10. +174 −61 docs/source/performance/caching.md
  11. +4 −0 docs/source/schema/creating-directives.md
  12. +6 −4 docs/source/schema/custom-scalars.md
  13. +1 −4 docs/static/_redirects
  14. +1 −1 jest.config.base.js
  15. +259 −1,493 package-lock.json
  16. +6 −7 package.json
  17. +2 −2 packages/apollo-server-azure-functions/package.json
  18. +2 −2 packages/apollo-server-cloud-functions/package.json
  19. +1 −1 packages/apollo-server-cloudflare/package.json
  20. +2 −2 packages/apollo-server-core/package.json
  21. +1 −0 packages/apollo-server-core/src/ApolloServer.ts
  22. +34 −0 packages/apollo-server-core/src/__tests__/ApolloServerBase.test.ts
  23. +11 −4 packages/apollo-server-core/src/playground.ts
  24. +1 −1 packages/apollo-server-express/README.md
  25. +2 −2 packages/apollo-server-express/package.json
  26. +2 −2 packages/apollo-server-fastify/package.json
  27. +2 −2 packages/apollo-server-hapi/package.json
  28. +1 −1 packages/apollo-server-integration-testsuite/package.json
  29. +2 −2 packages/apollo-server-koa/package.json
  30. +2 −2 packages/apollo-server-lambda/package.json
  31. +2 −1 packages/apollo-server-lambda/src/ApolloServer.ts
  32. +87 −0 packages/apollo-server-lambda/src/__tests__/ApolloServer.test.ts
  33. +3 −50 packages/apollo-server-lambda/src/__tests__/lambdaApollo.test.ts
  34. +62 −0 packages/apollo-server-lambda/src/__tests__/mockServer.ts
  35. +2 −2 packages/apollo-server-micro/package.json
  36. +2 −2 packages/apollo-server-plugin-operation-registry/package.json
  37. +1 −1 packages/apollo-server-testing/package.json
  38. +1 −1 packages/apollo-server/package.json
  39. +1 −0 renovate.json5
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -11,6 +11,12 @@ The version headers in this history reflect the versions of Apollo Server itself

> The changes noted within this `vNEXT` section have not been released yet. New PRs and commits which introduce changes should include an entry in this `vNEXT` section as part of their development. With few exceptions, the format of the entry should follow convention (i.e., prefix with package name, use markdown `backtick formatting` for package names and code, suffix with a link to the change-set à la `[PR #YYY](https://link/pull/YYY)`, etc.). When a release is being prepared, a new header will be (manually) created below and the appropriate changes within that release will be moved into the new section.
## v2.21.1

- `apollo-server-lambda`: The `onHealthCheck` option did not previously work. Additionally, health checks (with `onHealthCheck` or without) didn't work in all Lambda contexts, such as behind Custom Domains; the path check is now more flexible. [Issue #3999](https://github.com/apollographql/apollo-server/issues/3999) [PR #4969](https://github.com/apollographql/apollo-server/pull/4969) [Issue #4891](https://github.com/apollographql/apollo-server/issues/4891) [PR #4892](https://github.com/apollographql/apollo-server/pull/4892)
- The `debug` option to `new ApolloServer` (which adds stack traces to errors) now affects errors that come from requests executed with `server.executeOperation` (and its wrapper `apollo-server-testing`), instead of just errors that come from requests executed over HTTP. [Issue #4107](https://github.com/apollographql/apollo-server/issues/4107) [PR #4948](https://github.com/apollographql/apollo-server/pull/4948)
- Bump version of `@apollographql/graphql-playground-html` to v1.6.27 and `@apollographql/graphql-playground-react` to v1.7.39 to resolve incorrectly rendered CDN URL when Playground `version` was `false`-y. [PR #4932](https://github.com/apollographql/apollo-server/pull/4932) [PR #4955](https://github.com/apollographql/apollo-server/pull/4955) [Issue #4937](https://github.com/apollographql/apollo-server/issues/4937)

## v2.21.0

- Apollo Server can now be installed with `graphql@15` without causing peer dependency errors or warnings. (Apollo Server has a [file upload](https://www.apollographql.com/docs/apollo-server/data/file-uploads/) feature which was implemented as a wrapper around the `graphql-upload` package. We have been unable to upgrade our dependency on that package due to backwards-incompatible changes in later versions, and the version we were stuck on did not allow `graphql@15` as a peer dependency. We have now switched to a fork of that old version called `@apollographql/graphql-upload-8-fork` that allows `graphql@15`.) Also bump the `graphql-tools` dependency from 4.0.0 to 4.0.8 for `graphql@15` support. [Issue #4865](https://github.com/apollographql/apollo-server/issues/4865)
2 changes: 1 addition & 1 deletion docs/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
12
14
Loading