Commit graph

206 commits

Author SHA1 Message Date
renovate[bot]
9b8c8b05a0
chore(deps): update dependency apollo-link-http to v1.5.9 (#2102) 2018-12-15 05:31:08 +00:00
renovate[bot]
5ca283def9
chore(deps): update dependency apollo-link to v1.2.6 (#2101) 2018-12-15 04:33:47 +00:00
renovate[bot]
3ed765f455
chore(deps): update dependency husky to v1.2.1 (#2098) 2018-12-14 08:27:58 +00:00
renovate[bot]
1a32362307
chore(deps): update dependency apollo-link-http to v1.5.8 (#2097) 2018-12-14 07:18:25 +00:00
renovate[bot]
e179d8a1c0
chore(deps): update dependency apollo-link to v1.2.5 (#2096) 2018-12-14 06:27:22 +00:00
renovate[bot]
9fe5b853a6
chore(deps): update dependency @types/node to v10.12.15 (#2095) 2018-12-14 05:34:03 +00:00
renovate[bot]
e948c6f8ef
chore(deps): update dependency @types/hapi to v17.8.1 (#2094) 2018-12-14 04:30:06 +00:00
Jesse Rosenberger
71dff3e336
Revert "Revert "chore(deps): update dependency ws to v6.1.2 (#1992)""
This reverts commit 5e09e8a97a.
2018-12-13 16:35:28 +02:00
Jesse Rosenberger
ad42402954
Merge branch 'release-vNEXT' 2018-12-13 15:26:32 +02:00
Jesse Rosenberger
5e09e8a97a
Revert "chore(deps): update dependency ws to v6.1.2 (#1992)"
This reverts commit 36ac4e4b79.
2018-12-13 15:23:06 +02:00
renovate[bot]
36ac4e4b79
chore(deps): update dependency ws to v6.1.2 (#1992) 2018-12-13 13:10:49 +00:00
renovate[bot]
44aebe49d9
chore(deps): update dependency @types/node to v10.12.14 (#2091) 2018-12-13 04:27:54 +00:00
renovate[bot]
2b67ae882e
chore(deps): update dependency lerna to v3.6.0 (#2076) 2018-12-08 05:45:12 +00:00
renovate[bot]
1a796c30e1
chore(deps): update dependency typescript to v3.2.2 (#2073) 2018-12-07 08:40:34 +00:00
renovate[bot]
cfd531c3bc
chore(deps): update dependency redis-mock to v0.41.0 (#2072) 2018-12-07 07:24:47 +00:00
renovate[bot]
3e64994d61
chore(deps): update dependency meteor-promise to v0.8.7 (#2071) 2018-12-07 06:56:52 +00:00
renovate[bot]
d6fcaed545
chore(deps): update dependency @types/lodash to v4.14.119 (#2066) 2018-12-05 06:41:00 +00:00
Jesse Rosenberger
abb8dc58de
Merge branch 'release-vNEXT' into abernix/throw-when-uploads-on-pre-node-8.5 2018-12-04 14:07:57 +02:00
renovate[bot]
7d06263380
chore(deps): update dependency @types/node to v10.12.12 (#2061) 2018-12-04 07:26:19 +00:00
renovate[bot]
ae69675aaa
chore(deps): update dependency @types/node to v10.12.11 (#2057) 2018-12-01 05:53:13 +00:00
Jesse Rosenberger
7e6d6cf13b
Update to graphql-upload@8.0.2. 2018-11-30 18:07:42 +02:00
Jesse Rosenberger
9c563fae50
Throw error at startup when file uploads are enabled on Node.js < 8.5.0.
Due to changes in the third-party `graphql-upload` package which Apollo
Server utilizes to implement out-of-the-box file upload functionality, we
must drop support for file uploads in versions of the Node.js engine prior
to v8.5.0.  Since file uploads are supported by default in Apollo Server 2.x,
and there is an explicit dependency on `graphql-upload`, we must
prevent users who are affected by this mid-major-release deprecation by
being surprised by the sudden lack of upload support.

By `throw`-ing an error at server startup for affected users, we certainly
are breaking a semantic versioning agreement for these users, however with a
relatively simple ergonomic (setting `uploads: false`) we allow those users
who are NOT utilizing file uploads (as we believe is the case with a
majority) to continue using their version of Node.js until it reaches the
end of its supported lifetime (as dictated by its Long Term Support
agreement with the Node.js Foundation).  If we did not `throw` the error at
server start-up, those affected may not notice since they may update and start
their updated server without noticing the impending chance of failure when
someone tries updating!

Apollo Server 2.x has attempted to maintain full compatibility with versions
of Node.js which are still under Long Term Support agreements with the
Node.js Foundation.  While this continues to mostly be true, file uploads
are an exception which we've now had to make.

Third-party open-source projects must absolutely do what's best for their
project.  From an architecture standpoint, I suspect that we (the designers
behind Apollo Server) are mostly to blame for this.  Namely, it's unfortunate
that we had made such an incredibly coupled integration with a third-party
package that we restricted our users from incrementally adopting the
changes (and new/improved functionality) of, in this particular case,
the `graphql-upload` package.  I hope we can take better care with decisions
like this in the future!

Lastly, this commit also adds documentation to help those affected.
2018-11-30 15:59:57 +02:00
Leonardo Gatica
0c2fbc3dec
feat(uploads): replace apollo-upload-server v5 with graphql-upload v8 2018-11-30 15:45:01 +02:00
renovate[bot]
ddabd659d9
chore(deps): update dependency typescript to v3.2.1 (#2050) 2018-11-30 08:00:07 +00:00
renovate[bot]
c269fc2d48
chore(deps): update dependency lerna to v3.5.1 (#2048) 2018-11-30 07:56:03 +00:00
renovate[bot]
402e2bae61
chore(deps): update dependency prettier to v1.15.3 (#2049) 2018-11-30 07:52:25 +00:00
renovate[bot]
e7cc89f503 chore(deps): update dependency @types/hapi to v17.8.0 (#2047)
This PR contains the following updates:

| Package | Type | Update | Change | References |
|---|---|---|---|---|
| @&#8203;types/hapi | devDependencies | minor | `17.6.4` -> `17.8.0` | [source](https://renovatebot.com/gh/DefinitelyTyped/DefinitelyTyped) |

---

### 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-30 09:46:54 +02:00
renovate[bot]
811e44eee7
chore(deps): update dependency @types/jest to v23.3.10 (#2041) 2018-11-29 10:51:01 +00:00
Jesse Rosenberger
fedc96d239
Update @apollographql/graphql-playground-html to latest version. (#2037)
With any luck, we will no longer necessitate our fork which removed the
`graphql-config` dependency thanks to the work done in:

https://github.com/prisma/graphql-playground/pull/874

🎉

Most notably though, this fixes a documentation scrolling problem with
Safari.
2018-11-28 15:15:53 +02:00
renovate[bot]
74326bf01d
chore(deps): update dependency lerna to v3.5.0 (#2036) 2018-11-28 12:54:06 +00:00
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
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 ([#&#8203;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 ([#&#8203;542](http://git+https/github.com/okonet/lint-staged/issues/542)) ([503110d](http://git+https/github.com/okonet/lint-staged/commit/503110d)), closes [#&#8203;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 ([#&#8203;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 ([#&#8203;520](http://git+https/github.com/okonet/lint-staged/issues/520)) ([af99172](http://git+https/github.com/okonet/lint-staged/commit/af99172)), closes [#&#8203;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 ([#&#8203;518](http://git+https/github.com/okonet/lint-staged/issues/518)) ([da42f8a](http://git+https/github.com/okonet/lint-staged/commit/da42f8a)), closes [#&#8203;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 ([#&#8203;75](http://git+https/github.com/okonet/lint-staged/issues/75)) ([f82443c](http://git+https/github.com/okonet/lint-staged/commit/f82443c)), closes [#&#8203;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
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
renovate[bot]
059db8e00f
chore(deps): update dependency lint-staged to v7.3.0 (#1985) 2018-11-17 07:16:06 +00: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