-
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.25.3
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.4
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 6 commits
- 70 files changed
- 4 contributors
Commits on Mar 9, 2022
-
docs: fix error on custom directives page (#6183)
In `Example: Uppercasing strings` section, the top defines directive to `uppercase`, but in ApolloServer define to: `upper`. so I change bottom one for work right
Configuration menu - View commit details
-
Copy full SHA for 41671ec - Browse repository at this point
Copy the full SHA 41671ecView commit details
Commits on Mar 15, 2022
-
Updates for new docs infra (v2) (#6210)
* Prepare v2 server docs for new infra * Update code fences * Use a relative link * Add algolia filters
Configuration menu - View commit details
-
Copy full SHA for 628fbb7 - Browse repository at this point
Copy the full SHA 628fbb7View commit details -
Remove files from old Gatsby docs theme (v2) (#6216)
* Remove files from old Gatsby docs theme * Remove v2 docs static/_redirects * Remove netlify.toml * Update README.md
Configuration menu - View commit details
-
Copy full SHA for c98507e - Browse repository at this point
Copy the full SHA c98507eView commit details
Commits on May 25, 2022
-
Disable graphql-upload integration when it is not used (#6476)
By default, we run the graphql-upload middleware on all requests. This middleware is vulnerable to mutation CSRF attacks because it parses POST requests with `content-type: multipart/form-data`, which can happen in a non-preflighted browser request. (Without graphql-upload, Apollo Server won't process any mutations in non-preflighted requests, because mutations must be in POST requests and normally that requires `content-type: application/json` which must be preflighted.) In order to safely use graphql-upload, you should upgrade to Apollo Server v3.7 and use its new CSRF prevention feature. Because Apollo Server 2 is not under active development we do not intend to backport the full CSRF prevention feature to AS2. However, we at least want to protect the users of Apollo Server 2 who *don't* actually need graphql-upload to be enabled (which is probably most of them). This PR changes the default behavior of Apollo Server 2 when no `uploads` parameter is passed. Instead of always executing the graphql-upload middleware in this case, we only execute it if the `Upload` scalar (which may be added automatically to the schema by AS itself or may be provided by the user) is referenced somewhere in the schema other than its own definition. This should be roughly backwards-compatible; it only breaks the ability to use a `graphql-upload`-based client with Apollo Servers that don't accept uploads. We also print a warning when uploads are enabled encouraging upgrades. Part of GHSA-2p3c-p3qw-69r4
Configuration menu - View commit details
-
Copy full SHA for 82d4498 - Browse repository at this point
Copy the full SHA 82d4498View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54879d0 - Browse repository at this point
Copy the full SHA 54879d0View commit details -
- apollo-server-azure-functions@2.25.4 - apollo-server-cloud-functions@2.25.4 - apollo-server-cloudflare@2.25.4 - apollo-server-core@2.25.4 - apollo-server-express@2.25.4 - apollo-server-fastify@2.25.4 - apollo-server-hapi@2.25.4 - apollo-server-integration-testsuite@2.25.4 - apollo-server-koa@2.25.4 - apollo-server-lambda@2.25.4 - apollo-server-micro@2.25.4 - apollo-server-testing@2.25.4 - apollo-server@2.25.4
Configuration menu - View commit details
-
Copy full SHA for ae444b2 - Browse repository at this point
Copy the full SHA ae444b2View commit details
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.