-
Notifications
You must be signed in to change notification settings - Fork 2k
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
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.24.1
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: apollographql/apollo-server
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: apollo-server@2.25.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 13 commits
- 56 files changed
- 4 contributors
Commits on May 18, 2021
-
Fix bug in schemaReporter.ts where stop() called while sendOneReportA…
…ndScheduleNext() is suspended would still result in setTimeout() being called. (#5222)
Configuration menu - View commit details
-
Copy full SHA for a43c411 - Browse repository at this point
Copy the full SHA a43c411View commit details -
Configuration menu - View commit details
-
Copy full SHA for 087862f - Browse repository at this point
Copy the full SHA 087862fView commit details
Commits on May 19, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d6b1bd4 - Browse repository at this point
Copy the full SHA d6b1bd4View commit details
Commits on May 20, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 892f359 - Browse repository at this point
Copy the full SHA 892f359View commit details
Commits on May 21, 2021
-
Configuration menu - View commit details
-
Copy full SHA for df92f39 - Browse repository at this point
Copy the full SHA df92f39View commit details
Commits on May 25, 2021
-
Deprecate apollo-server-testing; allow ASTs for executeOperation (#5238)
The `apollo-server-testing` package exports one small function which is just a tiny wrapper around `server.executeOperation`. The one main advantage it provides is that you can pass in operations as ASTs rather than only as strings. This extra layer doesn't add much value but does require us to update things in two places (which cross a package barrier and thus can be installed at skewed versions). So for example when adding the second argument to `executeOperation` in #4166 I did not bother to add it to `apollo-server-testing` too. We've also found that users have been confused by the `createTestClient` API (eg #5111) and that some linters get confused by the unbound methods it returns (#4724). So the simplest thing is to just teach people how to use the real `ApolloServer` method instead of an unrelated API. This PR allows you to pass an AST to `server.executeOperation` (just like with the `apollo-server-testing` API), and changes the docs to recommend `executeOperation` instead of `apollo-server-testing`. It also makes some other suggestions about how to test Apollo Server code in a more end-to-end fashion, and adds some basic tests for `executeOperation`. Fixes #4952.
Configuration menu - View commit details
-
Copy full SHA for cd779db - Browse repository at this point
Copy the full SHA cd779dbView commit details -
Add direnv/nvm config files (#5240)
If you use direnv and/or nvm, this helps synchronize the version of Node you're running in the repo. (Especially helpful right now when flipping back and forth between main and release-3.0.) If this causes problems (eg, you do like using direnv but you don't like this particular way of setting it up) we can make it more configurable.
Configuration menu - View commit details
-
Copy full SHA for 9267a79 - Browse repository at this point
Copy the full SHA 9267a79View commit details
Commits on May 26, 2021
-
Allow specifying graph refs instead of ID/variant (#5241)
Apollo Server shouldn't need to have deep knowledge of Apollo Studio's data model. "ID and variant" are overly precise. This PR moves us towards a world where Apollo Server only needs to be aware of the "graph ref", a string like `id@variant` (but which might end up with other spellings later). We intend to remove the API key parser in Apollo Server 3 and stop providing `graphId`/`graphVariant` to plugins and the gateway, but these remain for now. This PR: - Allows you to specify the graph ref via `APOLLO_GRAPH_REF` or `apollo: {graphRef}`. It is an error to also specify ID or variant if you specify the ref. - Makes `graphRef` available to plugins and the gateway alongside `graphId` and `graphRef`. - If you specify an API key but it does not start with `service:` and you do not specify graph ref or graph ID, it throws an error. This fixes #4640. Note that while there are other legal Apollo key formats, Apollo Server only currently works with `service:*` keys. - If you specify an API key but don't specify a graph ref or ID, prints a deprecation warning telling you to set a graph ref. - Switches usage reporting and schema reporting to use new protocols that specify the graph ref instead of the variant, and to print Studio URLs that use the graph ref instead of the ID and variant separately. (The old protocols didn't specify the ID because it was implied by the API key.) - The schema reporter previously used Apollo Codegen without any documentation of how it worked. Set up graphql-code-generator instead and add an npm script to regenerate the types. Part of #5157.
Configuration menu - View commit details
-
Copy full SHA for 909bb3f - Browse repository at this point
Copy the full SHA 909bb3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 300fabb - Browse repository at this point
Copy the full SHA 300fabbView commit details -
- apollo-cache-control@0.14.0-alpha.0 - apollo-datasource-rest@0.14.0-alpha.0 - apollo-reporting-protobuf@0.8.0-alpha.0 - apollo-server-azure-functions@2.25.0-alpha.0 - apollo-server-cloud-functions@2.25.0-alpha.0 - apollo-server-cloudflare@2.25.0-alpha.0 - apollo-server-core@2.25.0-alpha.0 - apollo-server-express@2.25.0-alpha.0 - apollo-server-fastify@2.25.0-alpha.0 - apollo-server-hapi@2.25.0-alpha.0 - apollo-server-integration-testsuite@2.25.0-alpha.0 - apollo-server-koa@2.25.0-alpha.0 - apollo-server-lambda@2.25.0-alpha.0 - apollo-server-micro@2.25.0-alpha.0 - apollo-server-plugin-base@0.13.0-alpha.0 - apollo-server-plugin-operation-registry@0.11.0-alpha.0 - apollo-server-plugin-response-cache@0.9.0-alpha.0 - apollo-server-testing@2.25.0-alpha.0 - apollo-server-types@0.9.0-alpha.0 - apollo-server@2.25.0-alpha.0 - apollo-tracing@0.15.0-alpha.0 - graphql-extensions@0.15.0-alpha.0
Configuration menu - View commit details
-
Copy full SHA for c8c0748 - Browse repository at this point
Copy the full SHA c8c0748View commit details
Commits on May 27, 2021
-
It's a bit overkill. New plan is not to make "key but no ref" an error in AS3 but just have it log a line noting that usage reporting is not automatically installed.
Configuration menu - View commit details
-
Copy full SHA for 6396938 - Browse repository at this point
Copy the full SHA 6396938View commit details -
- apollo-server-azure-functions@2.25.0-alpha.1 - apollo-server-cloud-functions@2.25.0-alpha.1 - apollo-server-cloudflare@2.25.0-alpha.1 - apollo-server-core@2.25.0-alpha.1 - apollo-server-express@2.25.0-alpha.1 - apollo-server-fastify@2.25.0-alpha.1 - apollo-server-hapi@2.25.0-alpha.1 - apollo-server-integration-testsuite@2.25.0-alpha.1 - apollo-server-koa@2.25.0-alpha.1 - apollo-server-lambda@2.25.0-alpha.1 - apollo-server-micro@2.25.0-alpha.1 - apollo-server-testing@2.25.0-alpha.1 - apollo-server@2.25.0-alpha.1
Configuration menu - View commit details
-
Copy full SHA for 19572d7 - Browse repository at this point
Copy the full SHA 19572d7View commit details -
- apollo-cache-control@0.14.0 - apollo-datasource-rest@0.14.0 - apollo-reporting-protobuf@0.8.0 - apollo-server-azure-functions@2.25.0 - apollo-server-cloud-functions@2.25.0 - apollo-server-cloudflare@2.25.0 - apollo-server-core@2.25.0 - apollo-server-express@2.25.0 - apollo-server-fastify@2.25.0 - apollo-server-hapi@2.25.0 - apollo-server-integration-testsuite@2.25.0 - apollo-server-koa@2.25.0 - apollo-server-lambda@2.25.0 - apollo-server-micro@2.25.0 - apollo-server-plugin-base@0.13.0 - apollo-server-plugin-operation-registry@0.11.0 - apollo-server-plugin-response-cache@0.9.0 - apollo-server-testing@2.25.0 - apollo-server-types@0.9.0 - apollo-server@2.25.0 - apollo-tracing@0.15.0 - graphql-extensions@0.15.0
Configuration menu - View commit details
-
Copy full SHA for 42983b0 - Browse repository at this point
Copy the full SHA 42983b0View commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff apollo-server@2.24.1...apollo-server@2.25.0