-
Notifications
You must be signed in to change notification settings - Fork 2k
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release 2.4.0 #2215
Release 2.4.0 #2215
Commits on Dec 18, 2018
-
Configuration menu - View commit details
-
Copy full SHA for b30e933 - Browse repository at this point
Copy the full SHA b30e933View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88a294b - Browse repository at this point
Copy the full SHA 88a294bView commit details -
- apollo-cache-control@0.5.0-alpha.0 - apollo-datasource-rest@0.3.0-alpha.0 - apollo-datasource@0.3.0-alpha.0 - apollo-engine-reporting@0.3.0-alpha.0 - apollo-server-azure-functions@2.4.0-alpha.0 - apollo-server-cache-memcached@0.3.0-alpha.0 - apollo-server-cache-redis@0.3.0-alpha.0 - apollo-server-caching@0.3.0-alpha.0 - apollo-server-cloud-functions@2.4.0-alpha.0 - apollo-server-cloudflare@2.4.0-alpha.0 - apollo-server-core@2.4.0-alpha.0 - apollo-server-express@2.4.0-alpha.0 - apollo-server-hapi@2.4.0-alpha.0 - apollo-server-integration-testsuite@2.4.0-alpha.0 - apollo-server-koa@2.4.0-alpha.0 - apollo-server-lambda@2.4.0-alpha.0 - apollo-server-micro@2.4.0-alpha.0 - apollo-server-plugin-base@0.3.0-alpha.0 - apollo-server-testing@2.4.0-alpha.0 - apollo-server@2.4.0-alpha.0 - apollo-tracing@0.5.0-alpha.0 - graphql-extensions@0.5.0-alpha.0
Configuration menu - View commit details
-
Copy full SHA for 7697623 - Browse repository at this point
Copy the full SHA 7697623View commit details
Commits on Jan 14, 2019
-
Configuration menu - View commit details
-
Copy full SHA for ea7da3a - Browse repository at this point
Copy the full SHA ea7da3aView commit details
Commits on Jan 15, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 45f14a2 - Browse repository at this point
Copy the full SHA 45f14a2View commit details -
Ensure
requestContext.document
set, irregardless ofdocumentStore
…… use. Without this change, the `document` property was not set on the `requestContext` for consumption by request pipeline plugins. To further guard against this oversight, I've removed the extra `document` variable which was being used as scoped state for the document and switched to directly using (and assigning to) the `requestContext.document`. Nice catch, @glasser! Ref: https://github.com/apollographql/apollo-server/pull/2111/files#r247617469
Configuration menu - View commit details
-
Copy full SHA for f33ae19 - Browse repository at this point
Copy the full SHA f33ae19View commit details -
Clarify comments surrounding
documentStore
, which led to confusion.The parsed/validated cache store is on by default. While it could be disabled, in theory, it cannot be disabled since its an internal property of the request pipeline processor class. See confusion here: withspectrum/spectrum#4533 (comment)
Configuration menu - View commit details
-
Copy full SHA for 2652057 - Browse repository at this point
Copy the full SHA 2652057View commit details -
Configuration menu - View commit details
-
Copy full SHA for f546086 - Browse repository at this point
Copy the full SHA f546086View commit details -
Guard against (currently impossible) failure to read from `documentSt…
…ore`. While the implementation of the `documentStore` is currently simple enough to never throw (it is in-memory), it makes some sense to guard against future extended functionality where an exception might be raised. Since storing this object in a distributed memory store isn't currently feasible, I'm not sure what such an exception would be right now, but I don't mind being proactive! Ref: https://github.com/apollographql/apollo-server/pull/2111/files#r247618501
Configuration menu - View commit details
-
Copy full SHA for 1a9d65d - Browse repository at this point
Copy the full SHA 1a9d65dView commit details -
Be considerate of variable length utf-8 encodings in
InMemoryLRUCache
.Previously, this used the `JSON.stringify` length, but this is slightly more aware.
Configuration menu - View commit details
-
Copy full SHA for 0879a12 - Browse repository at this point
Copy the full SHA 0879a12View commit details
Commits on Jan 16, 2019
-
Shift the burden of object approximation into the
ApolloServerBase
……class. The implementation of object-size approximation which is used for cache eviction purposes in the `InMemoryLRUCache` implementation (via `lru-cache`) was a short-term location for extensible logic which is better located within `ApolloServerBase`. This is particularly important since future logic may necessitate knowing or understanding the current size (roughly, memory usage) of the in-memory storage. Effective immediately, this adds support for providing a `dispose` function which is called when an object is purged from the cache to make room for another.
Configuration menu - View commit details
-
Copy full SHA for be71620 - Browse repository at this point
Copy the full SHA be71620View commit details -
[debug] Print out documentStore stats every 60 seconds.
In an effort to see how effective this cache is in production during this alpha phase, we'll print out the stats on the document store every 60 seconds.
Configuration menu - View commit details
-
Copy full SHA for 7a0d0e6 - Browse repository at this point
Copy the full SHA 7a0d0e6View commit details -
- apollo-cache-control@0.5.0-alpha.1 - apollo-datasource-rest@0.3.0-alpha.1 - apollo-datasource@0.3.0-alpha.1 - apollo-engine-reporting@0.3.0-alpha.1 - apollo-server-azure-functions@2.4.0-alpha.1 - apollo-server-cache-memcached@0.3.0-alpha.1 - apollo-server-cache-redis@0.3.0-alpha.1 - apollo-server-caching@0.3.0-alpha.1 - apollo-server-cloud-functions@2.4.0-alpha.1 - apollo-server-cloudflare@2.4.0-alpha.1 - apollo-server-core@2.4.0-alpha.1 - apollo-server-express@2.4.0-alpha.1 - apollo-server-hapi@2.4.0-alpha.1 - apollo-server-integration-testsuite@2.4.0-alpha.1 - apollo-server-koa@2.4.0-alpha.1 - apollo-server-lambda@2.4.0-alpha.1 - apollo-server-micro@2.4.0-alpha.1 - apollo-server-plugin-base@0.3.0-alpha.1 - apollo-server-testing@2.4.0-alpha.1 - apollo-server@2.4.0-alpha.1 - apollo-tracing@0.5.0-alpha.1 - graphql-extensions@0.5.0-alpha.1
Configuration menu - View commit details
-
Copy full SHA for 33d1f82 - Browse repository at this point
Copy the full SHA 33d1f82View commit details
Commits on Jan 23, 2019
-
Revert (as intended!) "[debug] Print out documentStore stats every 60…
… seconds." This reverts commit 7a0d0e6, as I intended when I originally introduced it. Ref: #2111 (comment)
Configuration menu - View commit details
-
Copy full SHA for 2ed1c0e - Browse repository at this point
Copy the full SHA 2ed1c0eView commit details -
- apollo-server-azure-functions@2.4.0-alpha.2 - apollo-server-cloud-functions@2.4.0-alpha.2 - apollo-server-cloudflare@2.4.0-alpha.2 - apollo-server-core@2.4.0-alpha.2 - apollo-server-express@2.4.0-alpha.2 - apollo-server-hapi@2.4.0-alpha.2 - apollo-server-integration-testsuite@2.4.0-alpha.2 - apollo-server-koa@2.4.0-alpha.2 - apollo-server-lambda@2.4.0-alpha.2 - apollo-server-micro@2.4.0-alpha.2 - apollo-server-plugin-base@0.3.0-alpha.2 - apollo-server-testing@2.4.0-alpha.2 - apollo-server@2.4.0-alpha.2 - graphql-extensions@0.5.0-alpha.2
Configuration menu - View commit details
-
Copy full SHA for 1d00219 - Browse repository at this point
Copy the full SHA 1d00219View commit details -
Merge pull request #2111 from apollographql/abernix/cache-parsed-vali…
…dated Cache successfully parsed and validated documents for future requests.
Configuration menu - View commit details
-
Copy full SHA for 7d54688 - Browse repository at this point
Copy the full SHA 7d54688View commit details -
feat(Fastify) Apollo server Fastify integration #626 (#1971)
* feat(fastify) Apollo Fastify server integration resolve #626 * feat(fastify) Use createHandler instead of applyMiddleware #626 * feat(fastify) Fix integration test for node 10 #626 * feat(fastify) Update README's with fastify createHandler interface #626 * feat(fastify) Implement the fastify createHandler as a synchronous method #626 * (fastify) Tweaks to re-align with the parallel work in #2054. * (fastify): Use port 9999 rather than 8888 for tests. Because Gatsby. This specific port per integration is pretty brittle to begin with, but it does work. Currently, the fact that it works is facilitated by the fact that most people don't use 5555 (Hapi) and 6666 (Express) for anything. That said, the ever-popular Gatsby uses 8888 by default, so let's use 9999! * (fastify) Remove duplicative assertion in upload initialization. * (fastify) Implement fastify upload middleware * (fastify) Fix linting issues * (fastify) Update package-lock
Configuration menu - View commit details
-
Copy full SHA for 069110b - Browse repository at this point
Copy the full SHA 069110bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e82bccf - Browse repository at this point
Copy the full SHA e82bccfView commit details -
Bump
apollo-server-fastify
to match last 2.4.0-alpha.x release.This will cause the first release of `apollo-server-fastify` to land at `2.4.0-alpha.3`. (Hopefully.)
Configuration menu - View commit details
-
Copy full SHA for a550dfc - Browse repository at this point
Copy the full SHA a550dfcView commit details -
- apollo-cache-control@0.5.0-alpha.2 - apollo-datasource-rest@0.3.0-alpha.2 - apollo-datasource@0.3.0-alpha.2 - apollo-engine-reporting@0.3.0-alpha.2 - apollo-server-azure-functions@2.4.0-alpha.3 - apollo-server-cache-memcached@0.3.0-alpha.2 - apollo-server-cache-redis@0.3.0-alpha.2 - apollo-server-caching@0.3.0-alpha.2 - apollo-server-cloud-functions@2.4.0-alpha.3 - apollo-server-cloudflare@2.4.0-alpha.3 - apollo-server-core@2.4.0-alpha.3 - apollo-server-express@2.4.0-alpha.3 - apollo-server-fastify@2.4.0-alpha.3 - apollo-server-hapi@2.4.0-alpha.3 - apollo-server-integration-testsuite@2.4.0-alpha.3 - apollo-server-koa@2.4.0-alpha.3 - apollo-server-lambda@2.4.0-alpha.3 - apollo-server-micro@2.4.0-alpha.3 - apollo-server-plugin-base@0.3.0-alpha.3 - apollo-server-testing@2.4.0-alpha.3 - apollo-server@2.4.0-alpha.3 - apollo-tracing@0.5.0-alpha.2 - graphql-extensions@0.5.0-alpha.3
Configuration menu - View commit details
-
Copy full SHA for f045a4d - Browse repository at this point
Copy the full SHA f045a4dView commit details
Commits on Jan 29, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 03283f9 - Browse repository at this point
Copy the full SHA 03283f9View commit details
Commits on Feb 1, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 21c4c11 - Browse repository at this point
Copy the full SHA 21c4c11View commit details
Commits on Feb 4, 2019
-
Configuration menu - View commit details
-
Copy full SHA for d0998e7 - Browse repository at this point
Copy the full SHA d0998e7View commit details -
chore(deps): update dependency @types/koa-bodyparser to a valid 4.2.1… (
#2217) … version This PR should hopefully correct some typing issues we are currently facing. The problem: - this package references v5.0.1 for @types/koa-bodyparser - when we start our server that also uses koa-bodyparser for non-graphql routes, the type for koa.Request sets the "body" field to: ``` declare module "koa" { interface Request { body: {} | null | undefined; rawBody: {} | null | undefined; } } ``` Which breaks our type defs for koa-bodyparser as we actually want "body" to be set to "any." The v5.0.1 that was originally placed here is no longer "latest" and they have published a new v4 version that has the correct typing for koa-bodyparser (setting body to any). - https://www.npmjs.com/package/@types/koa-bodyparser <!-- Thanks for filing a pull request on GraphQL Server! Please look at the following checklist to ensure that your PR can be accepted quickly: --> TODO: * [ ] Update CHANGELOG.md with your change (include reference to issue & this PR) * [x] Make sure all of the significant new logic is covered by tests * [x] Rebase your changes on master so that they can be merged easily * [x] Make sure all tests and linter rules pass
Configuration menu - View commit details
-
Copy full SHA for 9594997 - Browse repository at this point
Copy the full SHA 9594997View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b8dc7c - Browse repository at this point
Copy the full SHA 4b8dc7cView commit details
Commits on Feb 6, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 5666235 - Browse repository at this point
Copy the full SHA 5666235View commit details
Commits on Feb 7, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 60b8bca - Browse repository at this point
Copy the full SHA 60b8bcaView commit details -
Configuration menu - View commit details
-
Copy full SHA for f4dc913 - Browse repository at this point
Copy the full SHA f4dc913View commit details -
TEMP: Revert "feat(Fastify) Apollo server Fastify integration #626 (#…
…1971)" This TEMPORARILY reverts commit 069110b, which was the result of the work done in #1971 by @rkorrelboom. Unfortunately, we need to put this on ice while we wait for movement on a package naming conflict. The dialog surrounding this is under way, as I've explained in the PR: #1971 (comment) I'm excited to re-land this in an upcoming version, but there's no reason to block the 2.4.0 release for it right now. I will open a new PR with the work from #1971 in due time.
Configuration menu - View commit details
-
Copy full SHA for e971bdf - Browse repository at this point
Copy the full SHA e971bdfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 44358ef - Browse repository at this point
Copy the full SHA 44358efView commit details -
- apollo-cache-control@0.5.0-alpha.3 - apollo-datasource-rest@0.3.0-alpha.3 - apollo-engine-reporting@1.0.0-alpha.3 - apollo-graphql@0.0.1-alpha.1 - apollo-server-azure-functions@2.4.0-alpha.4 - apollo-server-cloud-functions@2.4.0-alpha.4 - apollo-server-cloudflare@2.4.0-alpha.4 - apollo-server-core@2.4.0-alpha.4 - apollo-server-express@2.4.0-alpha.4 - apollo-server-hapi@2.4.0-alpha.4 - apollo-server-integration-testsuite@2.4.0-alpha.4 - apollo-server-koa@2.4.0-alpha.4 - apollo-server-lambda@2.4.0-alpha.4 - apollo-server-micro@2.4.0-alpha.4 - apollo-server-plugin-base@0.3.0-alpha.4 - apollo-server-testing@2.4.0-alpha.4 - apollo-server@2.4.0-alpha.4 - apollo-tracing@0.5.0-alpha.3 - graphql-extensions@0.5.0-alpha.4
Configuration menu - View commit details
-
Copy full SHA for f74610b - Browse repository at this point
Copy the full SHA f74610bView commit details