Kornel Dubieniecki
e2580a31de
Fix type for a mutation example ( #1635 )
2018-09-17 16:44:35 -07:00
Kornel Dubieniecki
47e10fc3cf
Add Non-Nullable type example ( #1636 )
2018-09-17 16:44:22 -07:00
Kornel Dubieniecki
e2ccc9c6ca
Add express import in middleware apollo-server-express example ( #1637 )
2018-09-17 16:43:44 -07:00
ellord
39260da493
Small grammatical fix ("a" as opposed to "an") ( #1655 )
2018-09-17 16:43:04 -07:00
Rafael Almeida
83178c3915
Add exception on note regarding the removal of Upload scalar ( #1658 )
...
* Add exception on note regarding the removal of Upload scalar
* Update whats-new.md
2018-09-17 16:42:34 -07:00
Kornel Dubieniecki
047e848841
Add subscription type example ( #1648 )
2018-09-17 16:37:04 -07:00
Tim Roberts
d9590eeb5f
Fix example link ( #1682 )
...
This PR adds a link to the `this example` link that was missing a URL.
2018-09-17 14:40:38 -07:00
Renovate Bot
8446ce412a
chore(deps): update dependency apollo-link-http to v1.5.5
2018-09-17 13:09:38 +00:00
Renovate Bot
9489a222d7
chore(deps): update dependency @types/node to v10.10.0
2018-09-17 10:02:57 +00:00
Renovate Bot
99d735664e
chore(deps): update dependency apollo-link to v1.2.3
2018-09-17 09:02:30 +00:00
Renovate Bot
717e7bc791
chore(deps): update dependency lerna to v3.4.0
2018-09-15 06:23:45 +00:00
Evans Hauser
5adae649e3
Publish
...
- apollo-cache-control@0.2.4
- apollo-engine-reporting@0.0.5
- apollo-server-cloud-functions@2.0.4
- apollo-server-cloudflare@2.0.5
- apollo-server-core@2.0.7
- apollo-server-express@2.0.7
- apollo-server-hapi@2.0.7
- apollo-server-integration-testsuite@2.0.7
- apollo-server-koa@2.0.7
- apollo-server-lambda@2.0.7
- apollo-server-micro@2.0.7
- apollo-server@2.0.8
- apollo-tracing@0.2.4
- graphql-extensions@0.2.0
2018-09-14 10:35:33 -07:00
Evans Hauser
8acedb7e2e
update changelog for release
2018-09-14 10:34:21 -07:00
Evans Hauser
91afcc7aac
Merge pull request #1668 from nmchaves/fix-reporting-circ-reference
...
Catch Error if JSON.Stringify Fails for Engine Trace
2018-09-14 10:25:55 -07:00
Nico Chaves
c37f1911c5
Merge branch 'master' into fix-reporting-circ-reference
2018-09-14 09:14:24 -07:00
Michael Watson
4166098e24
update @depracated to use "reason" ( #1665 )
...
See original spec: http://facebook.github.io/graphql/draft/#sec--deprecated
2018-09-14 09:43:22 +03:00
Renovate Bot
b42980da40
chore(deps): update dependency @types/aws-lambda to v8.10.13
2018-09-14 06:00:52 +00:00
nmchaves
e7823e8fc4
catch error if JSON.stringify fails for trace variables
2018-09-13 21:47:35 -07:00
nmchaves
7ac5a17e03
fix tslint errors (shadowed variable names)
2018-09-13 21:29:19 -07:00
Renovate Bot
520f910672
chore(deps): update dependency lerna to v3.3.2
2018-09-13 03:34:41 +00:00
Renovate Bot
e49e17295f
chore(deps): update dependency lerna to v3.3.1
2018-09-12 09:08:49 +00:00
Renovate Bot
953bc452c9
chore(deps): update dependency yup to v0.26.5
2018-09-12 06:22:09 +00:00
Renovate Bot
3d3f155006
chore(deps): update dependency koa to v2.5.3
2018-09-12 04:07:48 +00:00
Renovate Bot
5687b33d66
chore(deps): update dependency jest-matcher-utils to v23.6.0
2018-09-10 17:10:31 +00:00
Renovate Bot
a44610c801
chore(deps): update dependency jest to v23.6.0
2018-09-10 15:32:22 +00:00
Renovate Bot
0d438a746f
chore(deps): update dependency @types/jest to v23.3.2
2018-09-08 04:16:36 +00:00
C.J. Winslow
408198e5ac
Pass the context request and response extension methods ( #1547 )
...
* Pass the context along to all the extension methods
Addresses #1343
With this change you should now be able to implement an extension like so:
```javascript
class MyErrorTrackingExtension extends GraphQLExtension {
willSendResponse(o) {
const { context, graphqlResponse } = o
context.trackErrors(graphqlResponse.errors)
return o
}
}
```
Edit by @evans :
fixes #1343
fixes #614 as the request object can be taken from context or from requestDidStart
fixes #631 ""
* Remove context from extra extension functions
The context shouldn't be necessary for format, parse, validation, and
execute. Format generally outputs the state of the extension. Parse and
validate don't depend on the context. Execution includes the context
argument as contextValue
* Move change entry under vNext
2018-09-07 18:10:30 -07:00
Renovate Bot
8875022a4c
chore(deps): update dependency supertest to v3.3.0
2018-09-07 05:28:18 +00:00
Renovate Bot
6e930d21a8
chore(deps): update dependency graphql to v14.0.2
2018-09-07 03:18:37 +00:00
renovate[bot]
db945a4ef0
chore(deps): update dependency lerna to v3.3.0 ( #1621 )
2018-09-06 14:09:32 +02:00
renovate[bot]
c52438315f
chore(deps): update dependency @types/graphql to v14 ( #1620 )
2018-09-06 13:52:24 +02:00
Martijn Walraven
996c73063a
Publish
...
- apollo-engine-reporting@0.0.4
- apollo-server-cloud-functions@2.0.3
- apollo-server-cloudflare@2.0.4
- apollo-server-core@2.0.6
- apollo-server-express@2.0.6
- apollo-server-hapi@2.0.6
- apollo-server-integration-testsuite@2.0.6
- apollo-server-koa@2.0.6
- apollo-server-lambda@2.0.6
- apollo-server-micro@2.0.6
- apollo-server@2.0.7
2018-09-05 17:33:16 +02:00
Martijn Walraven
c31d2e5747
Update CHANGELOG.md
2018-09-05 17:26:49 +02:00
renovate[bot]
6bc97b0b01
chore(deps): update dependency supertest to v3.2.0 ( #1618 )
2018-09-05 17:25:00 +02:00
Martijn Walraven
3e98fefc49
Fix return statement required by TypeScript in apollo-server-micro
2018-09-05 17:13:03 +02:00
Dries Vandermeulen
4ab7bb3f1a
Fix apolo-server-micro top level error response ( #1619 )
...
Fixes #1581 .
2018-09-05 16:03:04 +02:00
Vincenzo Russo
88417b7398
Switch ApolloServerBase.schema from private access to protected access ( #1610 )
2018-09-05 16:02:06 +02:00
Evans Hauser
4a409766a5
Add toggle for including error messages in reports ( #1615 )
...
Fixes #1613 .
We always send traces that includes an error node if the trace has an
error. In the case that sending errors is disabled, we replace the
message and remove the location.
Note that the Engine proxy strips all error information from the traces
with noErrorTraces set. To get errors to show up in the ui, the proxy
sends error counts inside of the aggregated stats reports. To get
similar behavior inside of the apollo server metrics reporting, we
always send a trace and mask out the PII.
2018-09-05 16:01:14 +02:00
Ryan Maxwell
b349b43a2f
Fix typo in performance scaling paragraph ( #1605 )
2018-09-05 15:57:09 +02:00
Marcel Miranda Ackerman
1348933d33
Fix Google Cloud Functions tests ( #1616 )
...
Closes #1601 .
2018-09-05 15:54:42 +02:00
Martijn Walraven
b80a8f050c
Publish
...
- apollo-cache-control@0.2.3
- apollo-datasource-rest@0.1.5
- apollo-datasource@0.1.3
- apollo-engine-reporting@0.0.3
- apollo-server-cache-memcached@0.1.3
- apollo-server-cache-redis@0.1.3
- apollo-server-cloud-functions@2.0.2
- apollo-server-cloudflare@2.0.3
- apollo-server-core@2.0.5
- apollo-server-env@2.0.3
- apollo-server-express@2.0.5
- apollo-server-hapi@2.0.5
- apollo-server-integration-testsuite@2.0.5
- apollo-server-koa@2.0.5
- apollo-server-lambda@2.0.5
- apollo-server-micro@2.0.5
- apollo-server@2.0.6
- apollo-tracing@0.2.3
- graphql-extensions@0.1.3
2018-09-03 15:06:00 +02:00
Martijn Walraven
bf56d51e19
Update package-lock.json
2018-09-03 14:59:27 +02:00
Martijn Walraven
94ff82c636
Add apollo-server-integration-testsuite as devDependency to integration packages
...
This fixes ordering of tasks invoked through `lerna run`.
2018-09-03 14:47:25 +02:00
Renovate Bot
415d70738d
chore(deps): update dependency redis-mock to v0.32.0
2018-09-03 10:37:06 +00:00
Martijn Walraven
7a472a3041
Make node-fetch extension properties optional
2018-09-02 12:01:13 +02:00
Shinya Ohira
6c44631657
Add node-fetch extensions typing ( #1602 )
2018-09-02 11:53:53 +02:00
Martijn Walraven
49d4ffb682
Augment typeDefs with cacheControl
directive so SDL validation doesn't fail
2018-09-02 11:50:09 +02:00
Martijn Walraven
884d44e771
Use consistent range for graphql peer dependency
2018-09-02 11:50:09 +02:00
Renovate Bot
8b2adc49ad
chore(deps): update dependency graphql to v14
2018-09-02 11:50:09 +02:00
Martijn Walraven
665820ec3c
Add .prettierignore
2018-09-02 09:58:49 +02:00