renovate[bot]
aee49dfd98
chore(deps): update dependency ts-jest to v23.10.5 ( #2016 )
2018-11-23 08:07:32 +00:00
renovate[bot]
a922a56160
chore(deps): update dependency hapi to v17.8.1 ( #2017 )
2018-11-23 07:10:30 +00:00
renovate[bot]
27753575a9
chore(deps): update dependency redis-mock to v0.40.0 ( #2015 )
2018-11-23 06:03:42 +00:00
renovate[bot]
6563e50188
chore(deps): update dependency apollo-link-http to v1.5.7 ( #2014 )
2018-11-23 04:22:48 +00:00
Jesse Rosenberger
492fcf94e6
Update README.md
2018-11-22 16:18:03 +02:00
Jesse Rosenberger
58cb6511d7
docs: Update migration guide to playground
, not gui
.
...
Fixes #1717
2018-11-22 16:15:18 +02:00
renovate[bot]
6f6f1d020f
chore(deps): update dependency lru-cache to v5 ( #2004 )
...
This PR contains the following updates:
| Package | Type | Update | Change | References |
|---|---|---|---|---|
| lru-cache | dependencies | major | `^4.1.3` -> `^5.0.0` | [source](https://renovatebot.com/gh/isaacs/node-lru-cache ) |
---
### Release Notes
<details>
<summary>isaacs/node-lru-cache</summary>
### [`v5.1.1`](https://renovatebot.com/gh/isaacs/node-lru-cache/compare/v5.1.0...v5.1.1 )
[Compare Source](https://renovatebot.com/gh/isaacs/node-lru-cache/compare/v5.1.0...v5.1.1 )
### [`v5.1.0`](https://renovatebot.com/gh/isaacs/node-lru-cache/compare/v5.0.1...v5.1.0 )
[Compare Source](https://renovatebot.com/gh/isaacs/node-lru-cache/compare/v5.0.1...v5.1.0 )
### [`v5.0.1`](https://renovatebot.com/gh/isaacs/node-lru-cache/compare/v5.0.0...v5.0.1 )
[Compare Source](https://renovatebot.com/gh/isaacs/node-lru-cache/compare/v5.0.0...v5.0.1 )
### [`v5.0.0`](https://renovatebot.com/gh/isaacs/node-lru-cache/compare/v4.1.4...v5.0.0 )
[Compare Source](https://renovatebot.com/gh/isaacs/node-lru-cache/compare/v4.1.4...v5.0.0 )
</details>
---
### Renovate configuration
📅 **Schedule**: "after 6pm every weekday,before 5am every weekday" in timezone America/Los_Angeles.
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻️ **Rebasing**: Whenever PR is stale, or if you modify the PR title to begin with "`rebase!`".
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
This PR has been generated by [Renovate Bot](https://renovatebot.com/gh/marketplace/renovate ). View repository job log [here](https://renovatebot.com/dashboard#apollographql/apollo-server ).
2018-11-22 15:34:59 +02:00
renovate[bot]
c1ac869135
chore(deps): update dependency @types/node to v10.12.10 ( #2012 )
2018-11-22 11:13:37 +00:00
renovate[bot]
0b58911df3
chore(deps): update dependency lint-staged to v8 ( #1986 )
...
This PR contains the following updates:
| Package | Type | Update | Change | References |
|---|---|---|---|---|
| lint-staged | devDependencies | major | `7.3.0` -> `8.1.0` | [source](https://renovatebot.com/gh/okonet/lint-staged ) |
---
### Release Notes
<details>
<summary>okonet/lint-staged</summary>
### [`v8.1.0`](https://renovatebot.com/gh/okonet/lint-staged/releases/v8.1.0 )
[Compare Source](https://renovatebot.com/gh/okonet/lint-staged/compare/v8.0.5...v8.1.0 )
### [8.1.0](http://git+https/github.com/okonet/lint-staged/compare/v8.0.5...v8.1.0 ) (2018-11-21)
##### Features
- Add `relative` option to allow passing relative paths to linters ([#​534](http://git+https/github.com/okonet/lint-staged/issues/534 )) ([fcb774b](http://git+https/github.com/okonet/lint-staged/commit/fcb774b ))
### [`v8.0.5`](https://renovatebot.com/gh/okonet/lint-staged/releases/v8.0.5 )
[Compare Source](https://renovatebot.com/gh/okonet/lint-staged/compare/v8.0.4...v8.0.5 )
#### [8.0.5](http://git+https/github.com/okonet/lint-staged/compare/v8.0.4...v8.0.5 ) (2018-11-17)
##### Bug Fixes
- Use listr-update-renderer from npm ([#​542](http://git+https/github.com/okonet/lint-staged/issues/542 )) ([503110d](http://git+https/github.com/okonet/lint-staged/commit/503110d )), closes [#​533](http://git+https/github.com/okonet/lint-staged/issues/533 )
### [`v8.0.4`](https://renovatebot.com/gh/okonet/lint-staged/releases/v8.0.4 )
[Compare Source](https://renovatebot.com/gh/okonet/lint-staged/compare/v8.0.3...v8.0.4 )
#### [8.0.4](http://git+https/github.com/okonet/lint-staged/compare/v8.0.3...v8.0.4 ) (2018-10-31)
##### Bug Fixes
- **package:** update staged-git-files to version 1.1.2 ([ce434d3](http://git+https/github.com/okonet/lint-staged/commit/ce434d3 ))
### [`v8.0.3`](https://renovatebot.com/gh/okonet/lint-staged/releases/v8.0.3 )
[Compare Source](https://renovatebot.com/gh/okonet/lint-staged/compare/v8.0.2...v8.0.3 )
#### [8.0.3](http://git+https/github.com/okonet/lint-staged/compare/v8.0.2...v8.0.3 ) (2018-10-30)
##### Bug Fixes
- Allow to use lint-staged on CI ([#​523](http://git+https/github.com/okonet/lint-staged/issues/523 )) ([225a904](http://git+https/github.com/okonet/lint-staged/commit/225a904 ))
### [`v8.0.2`](https://renovatebot.com/gh/okonet/lint-staged/releases/v8.0.2 )
[Compare Source](https://renovatebot.com/gh/okonet/lint-staged/compare/v8.0.1...v8.0.2 )
#### [8.0.2](http://git+https/github.com/okonet/lint-staged/compare/v8.0.1...v8.0.2 ) (2018-10-29)
##### Bug Fixes
- **git:** Use resolveGitDir in hasPartiallyStagedFiles ([#​520](http://git+https/github.com/okonet/lint-staged/issues/520 )) ([af99172](http://git+https/github.com/okonet/lint-staged/commit/af99172 )), closes [#​514](http://git+https/github.com/okonet/lint-staged/issues/514 )
### [`v8.0.1`](https://renovatebot.com/gh/okonet/lint-staged/releases/v8.0.1 )
[Compare Source](https://renovatebot.com/gh/okonet/lint-staged/compare/v8.0.0...v8.0.1 )
#### [8.0.1](http://git+https/github.com/okonet/lint-staged/compare/v8.0.0...v8.0.1 ) (2018-10-29)
##### Bug Fixes
- **git:** Use resolveGitDir to resolve to .git for git commands ([#​518](http://git+https/github.com/okonet/lint-staged/issues/518 )) ([da42f8a](http://git+https/github.com/okonet/lint-staged/commit/da42f8a )), closes [#​514](http://git+https/github.com/okonet/lint-staged/issues/514 )
### [`v8.0.0`](https://renovatebot.com/gh/okonet/lint-staged/releases/v8.0.0 )
[Compare Source](https://renovatebot.com/gh/okonet/lint-staged/compare/v7.3.0...v8.0.0 )
### [8.0.0](http://git+https/github.com/okonet/lint-staged/compare/v7.3.0...v8.0.0 ) (2018-10-29)
##### Features
- Add support for partially staged files ([#​75](http://git+https/github.com/okonet/lint-staged/issues/75 )) ([f82443c](http://git+https/github.com/okonet/lint-staged/commit/f82443c )), closes [#​62](http://git+https/github.com/okonet/lint-staged/issues/62 )
##### BREAKING CHANGES
- Node >= 8.6 is required
</details>
---
### Renovate configuration
📅 **Schedule**: "after 6pm every weekday,before 5am every weekday" in timezone America/Los_Angeles.
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻️ **Rebasing**: Whenever PR is stale, or if you modify the PR title to begin with "`rebase!`".
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
This PR has been generated by [Renovate Bot](https://renovatebot.com/gh/marketplace/renovate ). View repository job log [here](https://renovatebot.com/dashboard#apollographql/apollo-server ).
2018-11-22 13:07:10 +02:00
Jesse Rosenberger
93489b7941
fix: Mandate assertion count in test which could otherwise false-positive. ( #1983 )
...
This was something I just happened to spot, though further investigation is
likely necessary to determine if other similar cases can be discovered.
This fixes this test to `expect` the number of additional `expectations we
have expressed for it: 2.
Testing errors in `catch`es of `Promise` chains necessitates the use of
`expect.assertions(n)` where `n` is the number of assertions declared in
that particular test.
Without this `expect`ation clearly defined, a resolved `Promise` will not
result in the assertion being tested. For example, if the `query` passed to
this test was a query against a type in the schema (i.e. `query: 'foo'` was
replaced with `query: { query: '{ testString }' }`) the desired error would
not be produced, but the test would still pass. I'm not saying that's
likely, but there's certainly the possibility that (given fault code)
something else in the plumbing could cause that Promise to resolve.
Ref: https://jestjs.io/docs/en/tutorial-async#error-handling
2018-11-22 13:02:51 +02:00
Jesse Rosenberger
87ff25b2df
Instantiate lru-cache
class using new
in InMemoryLRUCache
. ( #2007 )
...
This is mandated by `lru-cache` v5 and surfaced the CircleCI failures on #2004 :
https://circleci.com/gh/apollographql/apollo-server/22537
Luckily, this is a private implementation detail of Apollo Server's
`InMemoryLRUCache` so no additional changes should be necessary and we should
be able to update to `lru-cache` 5.0.0 in a semver minor respectful way.
2018-11-22 12:58:19 +02:00
renovate[bot]
9beef0c43b
chore(deps): update dependency @types/hapi to v17.6.4 ( #2011 )
2018-11-22 09:10:58 +00:00
renovate[bot]
b25b602d14
chore(deps): update dependency husky to v1.2.0 ( #2003 )
2018-11-22 03:11:41 +00:00
renovate[bot]
199ba1e5ac
chore(deps): update dependency fibers to v3.1.1 ( #1999 )
2018-11-21 23:36:51 +00:00
renovate[bot]
a6f02dd721
chore(deps): update dependency apollo-link-http to v1.5.6 ( #2002 )
2018-11-21 22:10:47 +00:00
renovate[bot]
f69503507a
chore(deps): update dependency apollo-link to v1.2.4 ( #2001 )
2018-11-21 18:23:08 +00:00
renovate[bot]
16553f8535
chore(deps): update dependency @types/redis to v2.8.8 ( #2000 )
2018-11-21 18:04:30 +00:00
renovate[bot]
10e02510a6
chore(deps): update dependency @types/node-fetch to v2.1.4 ( #1991 )
2018-11-21 16:45:44 +00:00
renovate[bot]
301863885b
chore(deps): update dependency @types/koa-router to v7.0.35 ( #1990 )
2018-11-21 14:34:39 +00:00
Jesse Rosenberger
15d000bf14
Switch from TypeScript nightlies to v3.2.0-rc. ( #2005 )
...
We'd been using the TypeScript nightly builds (npm dist-tagged as `next`) in
order to avoid the TypeScript bug identified in c46640f40
.
Now that https://github.com/Microsoft/TypeScript/pull/27688 has been closed,
we should be able to switch back to a more stable release.
On a related bug-note, the need for this pinning has arisen due to a bug
which has surfaced in the new TypeScript nightlies which was causing
incorrect errors to appear in our CircleCI builds, thus blocking all PRs.
Specifically, this is seen in the CircleCI run here:
https://circleci.com/gh/apollographql/apollo-server/22397
is showing that there's an unused type definition which is certainly not
true as its usage is seen here:
https://github.com/apollographql/apollo-server/blob/bde56a6/packages/apollo-server-core/src/types.ts#L64
2018-11-21 14:47:23 +02:00
Jesse Rosenberger
344fde96d0
Revert "chore(deps): update dependency ws to v6.1.1 ( #1987 )" ( #2006 )
...
This reverts commit bde56a6c76
.
2018-11-21 14:17:07 +02:00
renovate[bot]
bde56a6c76
chore(deps): update dependency ws to v6.1.1 ( #1987 )
2018-11-17 13:34:58 +00:00
Hugh Willson
63969a296c
Remove labels from GH templates since we're disabling Apollo Bot ( #1988 )
...
Removing all mentions of labelling from this repos custom issue/PR templates (since we're no longer using Apollo Bot).
2018-11-17 15:29:16 +02:00
renovate[bot]
059db8e00f
chore(deps): update dependency lint-staged to v7.3.0 ( #1985 )
2018-11-17 07:16:06 +00:00
Peggy Rayzis
22e2f9b5b9
Merge pull request #1984 from apollographql/abernix/maintain-parent-argument
...
Consistently use `parent`, rather than `root`, as first resolver argument.
2018-11-16 14:16:18 -05:00
Jesse Rosenberger
034383f491
Consistently use parent
, rather than root
, as first resolver argument.
...
In an effort to maintain consistency and semantically correct meaning,
this changes (only in documentation and internal Apollo Server tests) the
name of the first argument in resolver signatures to use `parent` rather
than `root`.
While `root` certainly makes sense when the resolver is belonging to the
root `Query` or `Mutation` type, once nested field resolvers begin getting
called, the more semantically correct term would seem to be `parent`.
Since `parent` still makes sense at the root level, and since resolvers
frequently get copied and pasted into more deeply-nested positions, putting
this pattern in place for apps which are just beginning might just help
someone more clearly understand the relationship in the future — without
incorrectly thinking that a nested resolver is accessing the root of the
graph, rather than the parent.
2018-11-16 20:37:26 +02:00
Monday Chen
10dfda2092
Fix connect integration sample code ( #1973 )
2018-11-16 13:35:42 +02:00
renovate[bot]
9d17ae3e1b
chore(deps): update dependency apollo-link-persisted-queries to v0.2.2 ( #1979 )
...
This PR contains the following updates:
| Package | Type | Update | Change | References |
|---|---|---|---|---|
| apollo-link-persisted-queries | devDependencies | patch | `0.2.1` -> `0.2.2` | [source](https://renovatebot.com/gh/apollographql/apollo-link-persisted-queries ) |
---
### Release Notes
<details>
<summary>apollographql/apollo-link-persisted-queries</summary>
### [`v0.2.2`](659e361551
...v0.2.2)
[Compare Source](659e361551
...v0.2.2)
</details>
---
### Renovate configuration
📅 **Schedule**: "after 6pm every weekday,before 5am every weekday" in timezone America/Los_Angeles.
🚦 **Automerge**: Enabled.
♻️ **Rebasing**: Whenever PR is stale, or if you modify the PR title to begin with "`rebase!`".
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
This PR has been generated by [Renovate Bot](https://renovatebot.com/gh/marketplace/renovate ). View repository job log [here](https://renovatebot.com/dashboard#apollographql/apollo-server ).
2018-11-16 13:34:48 +02:00
Steve Suh
5abb65f186
Example code snippet does not work ( #1735 )
...
* Example code snippet does not work
for the context it needs to return a connection.context and not a {}.
* Include not about what connection contains
2018-11-16 13:33:02 +02:00
limerick
94f10eb68f
fix: Avoid GraphQL Playground default assignment. ( #1578 )
...
Due to a number of other assignments within `createPlaygroundOptions`, the default is still maintained and the `playground` configuration parameter should be entirely optional.
2018-11-16 12:22:57 +02:00
Jesse Rosenberger
a8189556fd
Update Renovate Configuration: Use shared base configuration. ( #1981 )
...
This updates `renovate.json` to use a shared, base configuration rather than repeating the same defaults across multiple repositories.
That base configuration lives at https://github.com/apollographql/renovate-config-apollo-open-source and is published to npm as `renovate-config-apollo-open-source` (https://npm.im/renovate-config-apollo-open-source ). It is referenced here by its short name `apollo-open-source`.
For more information on sharable Renovate config presets, see https://renovatebot.com/docs/config-presets/ .
2018-11-16 11:02:05 +02:00
Jesse Rosenberger
1439ab13d4
Update Renovate Configuration: Remove ineffective limitation. ( #1980 )
...
This updates the `renovate.json` to remove a version pinning of `lint-staged` which clearly didn't work since the current version of `lint-staged` is newer than `v7`.
2018-11-16 09:56:01 +02:00
renovate[bot]
a5f8e3dbb9
chore(deps): update dependency @types/node to v10.12.9 ( #1978 )
2018-11-16 07:35:07 +00:00
renovate[bot]
546ddb649a
chore(deps): update dependency @types/node-fetch to v2.1.3 ( #1972 )
2018-11-15 20:05:26 +00:00
Peggy Rayzis
50a559ebf1
Merge pull request #1967 from apollographql/platform-cleanup
...
Move relevant best practices guides into server docs
2018-11-15 10:22:44 -05:00
Peggy Rayzis
8e2b999e2c
Merge branch 'master' into platform-cleanup
2018-11-15 10:21:52 -05:00
Jesse Rosenberger
c9ed4d9d2e
Apply suggestions from code review
...
Co-Authored-By: peggyrayzis <peggyrayzis@gmail.com>
2018-11-15 10:17:59 -05:00
Jesse Rosenberger
89c20bcc16
Add Netlify _redirects
file specifically for test-utils → testing.
2018-11-15 13:12:32 +02:00
Jesse Rosenberger
3cf2d55e07
Bump generated hexo version (not hexo itself).
2018-11-15 13:12:20 +02:00
Jesse Rosenberger
05331d9a94
Update hexo-versioned-netlify-redirects
to latest version.
...
To support having a source `_redirects` file on disk, in addition to
supporting the generated version redirects.
2018-11-15 13:11:30 +02:00
renovate[bot]
793a44077e
chore(deps): update dependency @types/koa-router to v7.0.34 ( #1970 )
2018-11-15 07:38:54 +00:00
renovate[bot]
57b53b93a1
chore(deps): update dependency @types/node to v10.12.8 ( #1968 )
2018-11-15 07:35:01 +00:00
Peggy Rayzis
6f75a473ec
Add schema design guide content to unions and interfaces
2018-11-14 20:27:13 -05:00
Peggy Rayzis
7b5fa198c9
Add schema design guide content to schema essentials
2018-11-14 20:26:51 -05:00
Peggy Rayzis
d19ec3ec65
Remove related guides and outdated redirects
2018-11-14 20:26:10 -05:00
Peggy Rayzis
0ec58323e0
Add auth guide, rename testing guide
2018-11-14 20:25:38 -05:00
Peggy Rayzis
1b3e75dcbe
Delete old best practices articles
2018-11-14 20:22:19 -05:00
renovate[bot]
08d9af4cce
chore(deps): update dependency @types/node to v10.12.7 ( #1961 )
...
This PR contains the following updates:
| Package | Type | Update | Change | References |
|---|---|---|---|---|
| @​types/node | devDependencies | patch | `10.12.6` -> `10.12.7` | [source](https://renovatebot.com/gh/DefinitelyTyped/DefinitelyTyped ) |
---
### Renovate configuration
📅 **Schedule**: "after 6pm every weekday,before 8am every weekday" in timezone America/Los_Angeles.
🚦 **Automerge**: Enabled.
♻️ **Rebasing**: Whenever PR is stale, or if you modify the PR title to begin with "`rebase!`".
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
This PR has been generated by [Renovate Bot](https://renovatebot.com/gh/marketplace/renovate ). View repository job log [here](https://renovatebot.com/dashboard#apollographql/apollo-server ).
2018-11-14 16:52:37 +02:00
renovate[bot]
9b86ef4a93
chore(deps): update dependency hexo-prism-plus to v1.1.0 ( #1962 )
2018-11-14 16:52:05 +02:00
Jesse Rosenberger
5c40bc39fb
Update CHANGELOG.md
2018-11-14 16:42:24 +02:00