Commit graph

290 commits

Author SHA1 Message Date
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
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
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
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 |
|---|---|---|---|---|
| @&#8203;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]
34cb3ea03c
chore(deps): update dependency husky to v1.1.4 (#1958) 2018-11-13 19:34:26 +00:00
Martijn Walraven
26d6c73950 Update @apollographql/apollo-tools dependency to 0.2.6
Fixes #1951, apollographql/apollo-tooling#687.
2018-11-13 10:02:09 +01:00
Renovate Bot
ab73e7f119 chore(deps): update dependency node-fetch to v2.3.0 2018-11-13 08:51:55 +00:00
Renovate Bot
1fc11b5807 chore(deps): update dependency @types/node to v10.12.6 2018-11-13 08:31:35 +00:00
renovate[bot]
3ed9e4ced7 chore(deps): update dependency prettier to v1.15.2 (#1949)
* chore(deps): update dependency prettier to v1.15.2

* (lint) Fix desires of new `prettier` patch version, v1.15.2.

Ref: https://github.com/apollographql/apollo-server/pull/1949
2018-11-12 06:01:52 -08:00
Renovate Bot
48002098bc chore(deps): update dependency redis-mock to v0.39.0 2018-11-12 14:00:08 +00:00
Jesse Rosenberger
b61dee310b
Add correct project references for apollo-server-cloud-functions. (#1948)
* Add correct project references for `apollo-server-cloud-functions`.

The `apollo-server-cloud-functions` has been been mis-referenced (or
referenced inconsistently) since its original inception in #1446 when its
package directory was `apollo-server-cloud-function` (singular!) and the
`package.json` referenced the plural form (`apollo-server-cloud-functions`):

https://github.com/apollographql/apollo-server/commit/724d9ff0#diff-e1d725fd66f7e9ef5251abf0437a09ca

These references have been mostly fixed in the READMEs and supporting
documentation, but the underlying monorepo directory structure has still not
been fixed, which I'm sure contributed to this module being overlooked and
unreferenced in the move to TypeScript project references in #1772.

Additionally, the lack of referencing in the monorepo's TS config has
resulted in it being broken in the most recent 2.2.0 release, as reported by
@pyros2097 and @thetre97 in: https://github.com/apollographql/apollo-server/pull/1896#issuecomment-436994955

This should fix that by properly adding the TypeScript project references.

* Sorting.
2018-11-12 05:13:04 -08:00
Renovate Bot
87b4833926 chore(deps): update dependency koa to v2.6.2 2018-11-10 09:54:48 +00:00
Renovate Bot
1e384a1eaa chore(deps): update dependency @types/node to v10.12.5 2018-11-10 08:55:46 +00:00
Renovate Bot
8ddfd5197c chore(deps): update dependency prettier to v1.15.1 2018-11-09 17:47:50 +00:00
Martijn Walraven
e6dc87242a Update graphql-tools dependency 2018-11-09 09:41:01 -08:00