-
Notifications
You must be signed in to change notification settings - Fork 2k
Comparing changes
Open a pull request
base repository: apollographql/apollo-server
base: apollo-server@2.23.0
head repository: apollographql/apollo-server
compare: apollo-server@2.24.0
Commits on Apr 10, 2021
-
chore(deps): update dependency ioredis to v4.26.0 (#5103)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Configuration menu - View commit details
-
Copy full SHA for 9d0188e - Browse repository at this point
Copy the full SHA 9d0188eView commit details
Commits on Apr 14, 2021
-
Configuration menu - View commit details
-
Copy full SHA for fe9d760 - Browse repository at this point
Copy the full SHA fe9d760View commit details -
Configuration menu - View commit details
-
Copy full SHA for 46bd10f - Browse repository at this point
Copy the full SHA 46bd10fView commit details -
Resolve duplicate variable name
Stephen Barlow committedApr 14, 2021 Configuration menu - View commit details
-
Copy full SHA for 4f9f962 - Browse repository at this point
Copy the full SHA 4f9f962View commit details -
Merge pull request #5094 from apollographql/release-2.23.0
Release 2.23.0
Configuration menu - View commit details
-
Copy full SHA for 1de9af0 - Browse repository at this point
Copy the full SHA 1de9af0View commit details
Commits on Apr 15, 2021
-
Merge pull request #5112 from apollographql/sb/ssl-edits
Resolve duplicate variable name in Terminating SSL article
Stephen Barlow authoredApr 15, 2021 Configuration menu - View commit details
-
Copy full SHA for 3fc4f16 - Browse repository at this point
Copy the full SHA 3fc4f16View commit details
Commits on Apr 16, 2021
-
apollo-reporting-protobuf: script to update proto file (#5113)
The usage reporting server now serves a copy of reports.proto that can be fetched by an npm script. This file has some preprocessing done to it including removing the `package` directive that we formerly had special scripts to remove. Now we can just run pbjs directly on the checked-in file. Running it once brings in some changes: - Changing tabs to spaces (so, please review ignoring whitespace) - Adding js_use_toArray option to some fields (to be used by #4142) - Removing some deprecated fields that were never set by the TypeScript reporting implementation - Change the encoding of some repeated number fields that aren't used yet in apollo-server (they will be used by #4142)
Configuration menu - View commit details
-
Copy full SHA for ec065f4 - Browse repository at this point
Copy the full SHA ec065f4View commit details
Commits on Apr 17, 2021
-
chore(deps): update dependency @types/koa-router to v7.4.2 (#5114)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Configuration menu - View commit details
-
Copy full SHA for 5d3b4bc - Browse repository at this point
Copy the full SHA 5d3b4bcView commit details -
chore(deps): update dependency ts-jest to v26.5.5 (#5115)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Configuration menu - View commit details
-
Copy full SHA for 1118c47 - Browse repository at this point
Copy the full SHA 1118c47View commit details -
chore(deps): update oss orb to v0.0.17 (#5116)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Configuration menu - View commit details
-
Copy full SHA for 4678898 - Browse repository at this point
Copy the full SHA 4678898View commit details
Commits on Apr 19, 2021
-
chore(deps): update dependency gatsby to v2.32.12 (#5102)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Configuration menu - View commit details
-
Copy full SHA for ad7f807 - Browse repository at this point
Copy the full SHA ad7f807View commit details -
chore(deps): update dependency react to v17.0.2 (#5067)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Configuration menu - View commit details
-
Copy full SHA for b48de2e - Browse repository at this point
Copy the full SHA b48de2eView commit details -
chore(deps): update dependency form-data to v4 (#4941)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Configuration menu - View commit details
-
Copy full SHA for f80ec88 - Browse repository at this point
Copy the full SHA f80ec88View commit details -
chore(deps): update dependency react-dom to v17.0.2 (#5068)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Configuration menu - View commit details
-
Copy full SHA for 9a46598 - Browse repository at this point
Copy the full SHA 9a46598View commit details -
CI: new job which fails if a file contains FIXME (#5121)
When working on a big PR, sometimes you have something you know you need to fix before merging. With this CI job, just add a FIXME comment and you'll be forced to address it before all CI can pass. We intentionally allow CI to make tarballs for a commit and publish npm packages even with FIXME, because you may want to test out a build of an incomplete PR. Change existing TODO comments to FIXME. Document this requirement in CONTRIBUTING.md and make the text about PRs with failing tests a bit gentler.
Configuration menu - View commit details
-
Copy full SHA for 0aa0e4b - Browse repository at this point
Copy the full SHA 0aa0e4bView commit details
Commits on Apr 21, 2021
-
Configuration menu - View commit details
-
Copy full SHA for da1ed9f - Browse repository at this point
Copy the full SHA da1ed9fView commit details -
chore(deps): update dependency @apollographql/apollo-tools to v0.4.12 (…
…#5123) Co-authored-by: Renovate Bot <bot@renovateapp.com>
Configuration menu - View commit details
-
Copy full SHA for 746d772 - Browse repository at this point
Copy the full SHA 746d772View commit details -
chore(deps): update dependency apollo-graphql to v0.9.0 (#5124)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Configuration menu - View commit details
-
Copy full SHA for f53ab5a - Browse repository at this point
Copy the full SHA f53ab5aView commit details
Commits on Apr 24, 2021
-
chore(deps): update dependency ioredis to v4.27.1 (#5127)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Configuration menu - View commit details
-
Copy full SHA for 855dfec - Browse repository at this point
Copy the full SHA 855dfecView commit details
Commits on Apr 26, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 1a14f87 - Browse repository at this point
Copy the full SHA 1a14f87View commit details -
chore(deps): update dependency @apollographql/apollo-tools to v0.4.14 (…
…#5131) Co-authored-by: Renovate Bot <bot@renovateapp.com>
Configuration menu - View commit details
-
Copy full SHA for a23513e - Browse repository at this point
Copy the full SHA a23513eView commit details -
chore(deps): update dependency apollo-graphql to v0.9.2 (#5132)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Configuration menu - View commit details
-
Copy full SHA for 78304ec - Browse repository at this point
Copy the full SHA 78304ecView commit details
Commits on Apr 28, 2021
-
apollo-server-core: unified Studio reporting (#4142)
The usage reporting plugin in `apollo-server-core` is not the first tool Apollo built to report usage to Studio. Previous iterations such as `optics-agent` and `engineproxy` reported a combination of detailed per-field single-operation performance *traces* and summarized *stats* of operations to Apollo's servers. When we built this TypeScript usage reporting plugin in 2018, for the sakes of expediency we did something different: it only sent traces to Apollo's servers. This meant that the performance of every single single user operation was described in detail to Apollo's servers. Studio is not an exhaustive trace warehouse: we have always *sampled* the traces received, making only some of them available via Studio's Traces UI. The other traces were converted to stats inside Studio's servers. While this meant that the reporting agent was simpler than the previous implementations (no need to be able to describe performance statistics), it also meant that the protocol used to talk to Studio consumed a lot more bandwidth (as well as CPU time for encoding traces). This PR returns us to the world where Studio usage is reported as a combination of stats and traces. It takes a slightly different approach than the previous implementations: instead of reporting stats and traces in parallel, usage reports contain both stats and traces. Each GraphQL operation is described either as a trace or as stats, not both. We expect this to significantly reduce the network and CPU requirements of sending usage reports to Studio. It should not significantly affect the experience of using Studio: we have always heavily sampled traces in Studio before saving them to the trace warehouse, and the default heuristic for which operations to send as traces works similarly to the heuristic used in Studio's servers. This PR introduces an option `experimental_sendOperationAsTrace` to allow you to control whether a given operation is sent as trace or stats. This is truly an experimental option that may change at any time. For example, you should not rely on the fact that this will be called on all operations after the operation is done with a full, or on its signature, or even that it exists. It is likely that future improvements to the usage reporting plugin will change how operations are observed so that we don't have to collect a full trace before deciding how to represent the operation. Some other notes: - Upgrade our fork `@apollo/protobufjs` with a few improvements: - New `js_use_toArray` option which lets you encode repeated fields from objects that aren't stored in memory as arrays but expose `toArray` methods. We use this so that we can build up `DurationHistogram`s and map-like objects in a non-array fashion and only convert to array at encoding time. - New `js_preEncoded` option which allows you to encode messages in repeated fields as buffers (Uint8Arrays). This helps amortize encoding cost of a large message over time instead of freezing the event loop to encode the whole message at once. This replaces an old hack we used for one field with something built in to the protobuf compiler (including correct TypeScript typings). - New `--no-from-object` flag which we use to reduce the size of generated code (as we don't use the fromObject protobuf.js API). - In order to help us validate that the trace->stats code in this PR matches similar code in Studio's servers, the flag `internal_includeTracesContributingToStats` sends the traces that contribute to stats in a special field. This is something we only use as part of our own validation in our servers; for your graphs it will have no effect other than increasing message size. - Viewing traces in Studio is only available on paid plans. The usage-reporting endpoint now tells the plugin whether traces are supported on your graph's plan; if not supported, the plugin will switch to sending all operations as stats (regardless of the value of `experimental_sendOperationAsTrace`) after the first report. - We try to estimate the message size compared to maxUncompressedReportSize via a rough estimate about how big the leaf nodes of the stats messages will be rather than carefully counting how much space is used by each number and histogram. We do take the lengths of all strings into account. - By mistake, this plugin never sent the cache policy on traces, meaning that visualizing cache-specific stats in Studio did not work. This is now fixed. This project was begun by @jsegaran and completed by @glasser.
Configuration menu - View commit details
-
Copy full SHA for 8ce26dd - Browse repository at this point
Copy the full SHA 8ce26ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for ddbfae2 - Browse repository at this point
Copy the full SHA ddbfae2View commit details -
- apollo-cache-control@0.13.0-alpha.0 - apollo-datasource-rest@0.13.0-alpha.0 - apollo-datasource@0.9.0-alpha.0 - apollo-reporting-protobuf@0.7.0-alpha.0 - apollo-server-azure-functions@2.24.0-alpha.0 - apollo-server-cache-memcached@0.8.0-alpha.0 - apollo-server-cache-redis@1.5.0-alpha.0 - apollo-server-caching@0.7.0-alpha.0 - apollo-server-cloud-functions@2.24.0-alpha.0 - apollo-server-cloudflare@2.24.0-alpha.0 - apollo-server-core@2.24.0-alpha.0 - apollo-server-env@3.1.0-alpha.0 - apollo-server-express@2.24.0-alpha.0 - apollo-server-fastify@2.24.0-alpha.0 - apollo-server-hapi@2.24.0-alpha.0 - apollo-server-integration-testsuite@2.24.0-alpha.0 - apollo-server-koa@2.24.0-alpha.0 - apollo-server-lambda@2.24.0-alpha.0 - apollo-server-micro@2.24.0-alpha.0 - apollo-server-plugin-base@0.12.0-alpha.0 - apollo-server-plugin-operation-registry@0.10.0-alpha.0 - apollo-server-plugin-response-cache@0.8.0-alpha.0 - apollo-server-testing@2.24.0-alpha.0 - apollo-server-types@0.8.0-alpha.0 - apollo-server@2.24.0-alpha.0 - apollo-tracing@0.14.0-alpha.0 - graphql-extensions@0.14.0-alpha.0
Configuration menu - View commit details
-
Copy full SHA for 3415b07 - Browse repository at this point
Copy the full SHA 3415b07View commit details
Commits on Apr 29, 2021
-
protobufjs that doesn't generate Long import in .t.ds
See apollographql/protobuf.js#7 A future version could fully remove Long support from our fork but we aren't quite there yet.
Configuration menu - View commit details
-
Copy full SHA for 6d3be40 - Browse repository at this point
Copy the full SHA 6d3be40View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68c30e1 - Browse repository at this point
Copy the full SHA 68c30e1View commit details -
- apollo-cache-control@0.13.0-alpha.1 - apollo-datasource-rest@0.13.0-alpha.1 - apollo-reporting-protobuf@0.7.0-alpha.1 - apollo-server-azure-functions@2.24.0-alpha.1 - apollo-server-cloud-functions@2.24.0-alpha.1 - apollo-server-cloudflare@2.24.0-alpha.1 - apollo-server-core@2.24.0-alpha.1 - apollo-server-express@2.24.0-alpha.1 - apollo-server-fastify@2.24.0-alpha.1 - apollo-server-hapi@2.24.0-alpha.1 - apollo-server-integration-testsuite@2.24.0-alpha.1 - apollo-server-koa@2.24.0-alpha.1 - apollo-server-lambda@2.24.0-alpha.1 - apollo-server-micro@2.24.0-alpha.1 - apollo-server-plugin-base@0.12.0-alpha.1 - apollo-server-plugin-operation-registry@0.10.0-alpha.1 - apollo-server-plugin-response-cache@0.8.0-alpha.1 - apollo-server-testing@2.24.0-alpha.1 - apollo-server-types@0.8.0-alpha.1 - apollo-server@2.24.0-alpha.1 - apollo-tracing@0.14.0-alpha.1 - graphql-extensions@0.14.0-alpha.1
Configuration menu - View commit details
-
Copy full SHA for 2727556 - Browse repository at this point
Copy the full SHA 2727556View commit details
Commits on Apr 30, 2021
-
chore(deps): update dependency node-fetch to v2.6.1 (#4995)
* chore(deps): update dependency node-fetch to v2.6.1 * tests: Use `toString()` method to test Buffer contents As of `node-fetch@2.4.0`, its internal representation of `body` is now normalized to a `Buffer` during `Request` construction, and will always be returned as a `Buffer`, rather than having the `body` being either a String _or_ a Buffer. This defeated the way we were testing the `body` but shouldn't affect the actual `Response`'s `body`. Ref: node-fetch/node-fetch@7d3293200a91a Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Jesse Rosenberger <git@jro.cc>
Configuration menu - View commit details
-
Copy full SHA for 56f17b9 - Browse repository at this point
Copy the full SHA 56f17b9View commit details -
chore(deps): update dependency @apollographql/apollo-tools to v0.5.0 (#…
…5144) Co-authored-by: Renovate Bot <bot@renovateapp.com>
Configuration menu - View commit details
-
Copy full SHA for 90553fb - Browse repository at this point
Copy the full SHA 90553fbView commit details -
- apollo-cache-control@0.13.0-alpha.2 - apollo-datasource-rest@0.13.0-alpha.2 - apollo-reporting-protobuf@0.7.0-alpha.2 - apollo-server-azure-functions@2.24.0-alpha.2 - apollo-server-cloud-functions@2.24.0-alpha.2 - apollo-server-cloudflare@2.24.0-alpha.2 - apollo-server-core@2.24.0-alpha.2 - apollo-server-express@2.24.0-alpha.2 - apollo-server-fastify@2.24.0-alpha.2 - apollo-server-hapi@2.24.0-alpha.2 - apollo-server-integration-testsuite@2.24.0-alpha.2 - apollo-server-koa@2.24.0-alpha.2 - apollo-server-lambda@2.24.0-alpha.2 - apollo-server-micro@2.24.0-alpha.2 - apollo-server-plugin-base@0.12.0-alpha.2 - apollo-server-plugin-operation-registry@0.10.0-alpha.2 - apollo-server-plugin-response-cache@0.8.0-alpha.2 - apollo-server-testing@2.24.0-alpha.2 - apollo-server-types@0.8.0-alpha.2 - apollo-server@2.24.0-alpha.2 - apollo-tracing@0.14.0-alpha.2 - graphql-extensions@0.14.0-alpha.2
Configuration menu - View commit details
-
Copy full SHA for 4e5f03e - Browse repository at this point
Copy the full SHA 4e5f03eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 984d7e3 - Browse repository at this point
Copy the full SHA 984d7e3View commit details -
- apollo-cache-control@0.13.0 - apollo-datasource-rest@0.13.0 - apollo-datasource@0.9.0 - apollo-reporting-protobuf@0.7.0 - apollo-server-azure-functions@2.24.0 - apollo-server-cache-memcached@0.8.0 - apollo-server-cache-redis@1.5.0 - apollo-server-caching@0.7.0 - apollo-server-cloud-functions@2.24.0 - apollo-server-cloudflare@2.24.0 - apollo-server-core@2.24.0 - apollo-server-env@3.1.0 - apollo-server-express@2.24.0 - apollo-server-fastify@2.24.0 - apollo-server-hapi@2.24.0 - apollo-server-integration-testsuite@2.24.0 - apollo-server-koa@2.24.0 - apollo-server-lambda@2.24.0 - apollo-server-micro@2.24.0 - apollo-server-plugin-base@0.12.0 - apollo-server-plugin-operation-registry@0.10.0 - apollo-server-plugin-response-cache@0.8.0 - apollo-server-testing@2.24.0 - apollo-server-types@0.8.0 - apollo-server@2.24.0 - apollo-tracing@0.14.0 - graphql-extensions@0.14.0
Configuration menu - View commit details
-
Copy full SHA for f2349d0 - Browse repository at this point
Copy the full SHA f2349d0View commit details
There are no files selected for viewing