Commit graph

1031 commits

Author SHA1 Message Date
Renovate Bot
38be32b4fc chore(deps): update dependency @types/connect to v3.4.32 2018-04-17 07:21:05 +00:00
Renovate Bot
e1cfd83124 chore(deps): update dependency @types/node to v9.6.5 2018-04-14 07:02:46 +00:00
Renovate Bot
5b7fb673ff chore(deps): update hexo-related packages 2018-04-13 13:02:59 +00:00
Renovate Bot
6306f82d2f chore(deps): update dependency prettier to v1.12.0 2018-04-12 06:47:07 +00:00
Renovate Bot
85f0bf8fff chore(deps): update dependency lerna to v2.10.1 2018-04-11 11:03:02 +00:00
Jesse Rosenberger
b8ab085aff
Add comment in code about reasoning behind #921.
It's probably helpful for posterity to leave some additional color in
the code to avoid the possibilit of someone inadvertently changing it
without considering the indirect possibilities.

cc @daffl (thanks!)

Ref: https://github.com/apollographql/apollo-server/pull/921
Ref: https://github.com/expressjs/express/issues/3473
2018-04-11 12:18:12 +03:00
David Luecke
ff154828e7 Import Restify dynamically in tests (#921) 2018-04-11 12:11:28 +03:00
Jonathan Jalouzot
afe5df4b4b FIX: Incorrect Content-Type for apollo-server-adonis (#910)
* FIX: Incorrect Content-Type for apollo-server-adonis

* feat: use response.type rather response.header

* Update CHANGELOG.md
2018-04-11 11:46:07 +03:00
renovate[bot]
a06796ed5c chore(deps): update hexo-related packages (#958) 2018-04-11 11:45:30 +03:00
Jesse Rosenberger
c2bba6b867
Convert Buffer.byteLength to string before assigning to Content-Length. (#956)
This change seems necessary in order to meet the new type definitions for
`res.setHeader` which mandate that the argument be a string, or an array of
strings.  Those type definitions were introduced via the `@types/node@9`
series of typing updates provided in [0], [1], [2].

With any luck, this will fix the failures being exhibited in CircleCI
tests[3] after we landed those typing updates.

[0]: https://github.com/apollographql/apollo-server/pull/907
[1]: https://github.com/apollographql/apollo-server/pull/927
[2]: https://github.com/apollographql/apollo-server/pull/939
[3]: https://circleci.com/gh/apollographql/apollo-server/1587
2018-04-11 11:17:55 +03:00
Renovate Bot
a8c2af0aa1 chore(deps): update dependency @types/node to v9.6.4 2018-04-11 08:08:44 +00:00
Jesse Rosenberger
db174a9b02
Switch Renovate to "pinOnlyDevDependencies".
As discussed in: https://github.com/apollographql/apollo-server/pull/955#discussion_r180413510
2018-04-11 10:51:56 +03:00
Rhys Arkins
441cd9b838 chore(renovate): disable pinning for peerDependencies (#955)
Renovate v12 introduces a default of `pinVersions=false` and removes the hardcoded `peerDependencies.pinVersions=false` setting. This repository's root level `pinVersions=true` therefore then trickles down to `peerDependencies` as well. This PR updates Renovate config to use a preset that pins everything except `peerDependencies`.
2018-04-10 15:51:07 +03:00
Renovate Bot
4db35ab966 chore(deps): update dependency lerna to v2.10.0 2018-04-09 05:01:50 +00:00
Renovate Bot
a546cde881 chore(deps): update dependency @types/koa to v2.0.45 2018-04-08 05:01:33 +00:00
Renovate Bot
cb8d763c1d chore(deps): update dependency @types/aws-lambda to v0.0.35 2018-04-07 06:37:48 +00:00
renovate[bot]
80f6f1c56d chore(deps): pin dependency hexo-prism-plus to v1.0.0 (#949) 2018-04-06 22:39:51 +03:00
Jesse Rosenberger
9dc25a7895
docs: Update apollo-hexo-config to 1.0.7.
To enable Prism syntax highlighting, along with the new `meteor-theme-hexo`.

Ref: https://github.com/apollographql/apollo-hexo-config/commit/547107b0
Ref: https://github.com/meteor/meteor-theme-hexo/pull/61
2018-04-06 21:27:55 +03:00
Jesse Rosenberger
7ca7796fab
docs: Update meteor-theme-hexo to 1.0.4.
To enable Prism syntax highlighting.

[0] https://github.com/meteor/meteor-theme-hexo/pull/61
2018-04-06 21:22:07 +03:00
Jesse Rosenberger
0fd2df2fe1 docs: Add hexo-prism-plus to enable Prism syntax highlighting.
The default syntax highlighting provided by Hexo uses highlight.js.  While
there are a number of great syntax highlights provided by highlight.js, some of
the more important ones to the Apollo project: `graphql`, `typescript`, and
`jsx` are notably missing.

This uses the `hexo-prism-plus` plugin for Hexo, along with some upstream
configuration to `apollo-hexo-config`[0] and `meteor-theme-hexo` (previously
named `hexo-theme-meteor`)[1].  See refs for more information!

[0] https://github.com/apollographql/apollo-hexo-config/commit/547107b0
[1] https://github.com/meteor/meteor-theme-hexo/pull/61
2018-04-06 21:06:26 +03:00
Renovate Bot
b2eb1066c0 chore(deps): update dependency apollo-hexo-config to v1.0.6 2018-04-06 13:01:51 +00:00
Renovate Bot
fb0e4332fd chore(deps): update dependency @adonisjs/fold to v4.0.8 2018-04-05 06:36:37 +00:00
Renovate Bot
aa3bca919a chore(deps): update dependency @types/node to v9.6.2 2018-04-04 06:40:18 +00:00
Renovate Bot
84f93b201f chore(deps): update dependency hapi to v17.3.1 2018-04-03 06:52:51 +00:00
Renovate Bot
7492aebeb0 chore(deps): update dependency sinon to v4.5.0 2018-03-31 08:04:19 +00:00
Renovate Bot
06451b198d chore(deps): update dependency hapi to v17.3.0 2018-03-31 07:01:32 +00:00
Renovate Bot
ed7d504591 chore(deps): update dependency lerna to v2.9.1 2018-03-30 06:04:44 +00:00
Jesse Rosenberger
9ab276576b
Move Docs Renovate configuration into top-level renovate.json.
As determined in
https://github.com/renovateapp/config-help/issues/23#issuecomment-377202632,
it seems that it's not possible to have this sort of inherited
configuration.  It's possible that when I first introduced this behavior
that this behavior was on its way out (and the breaking change in Renovate
v11 on its way in).

Luckily, Renovate's shared configuration option still allows this to be
relatively painless and our `apollo-docs` shared configuration[0] does most
of the heavy lifting here so there won't be too much Renovate toe-stepping.

If this works well in the `apollo-server` repository, I'll transplant this
change to the other docs repositories[1].

[0] https://github.com/apollographql/renovate-config-apollo-docs
[1] https://github.com/meteor/hexo-theme-meteor
2018-03-29 14:33:35 +03:00
Renovate Bot
2c4af9cfd7 chore(deps): update dependency hexo to v3.7.0 2018-03-29 08:01:52 +00:00
Renovate Bot
adea7faa45 chore(deps): update dependency @types/node to v9.6.1 2018-03-29 07:14:41 +00:00
David Glasser
d4751e2f04 Update status badges for Circle correctly 2018-03-28 14:03:32 -07:00
David Glasser
80bce88b5b Update status badges for Circle 2018-03-28 14:01:46 -07:00
David Glasser
bd2504e04b v1.3.4 2018-03-28 13:57:11 -07:00
David Glasser
7d1165f1e0
All: allow cacheControl: {defaultMaxAge: 5}. (#922) 2018-03-28 13:56:22 -07:00
Renovate Bot
f59accf425 chore(deps): update dependency sinon to v4.4.10 2018-03-28 11:23:54 +00:00
Renovate Bot
ebf892f8cc chore(deps): update dependency typescript to v2.8.1 2018-03-28 09:01:57 +00:00
Renovate Bot
273d5349b4 chore(deps): update dependency @types/graphql to v0.12.7 2018-03-28 07:03:40 +00:00
David Glasser
0f7c1c53b4
Update CHANGELOG for all releases back to v1.1.3 (#915)
There were many missing releases and bullet points as well as inaccurate
ones. For example, it was impossible to figure out that users of Hapi 16 who
want to use Apollo Cache Control needed to use precisely version 1.2.0 of
apollo-server-hapi (which wasn't even mentioned).

Link to CHANGELOG from all READMEs. Add READMEs for the graphql-server-*
packages. Add an explanation of our versioning system to the top of
CHANGELOG.md.
2018-03-27 09:22:13 -07:00
Renovate Bot
d8b09fbba0 chore(deps): update dependency sinon to v4.4.9 2018-03-27 08:02:28 +00:00
Jesse Rosenberger
19d04ff7f7
v1.3.3 2018-03-26 17:20:44 +03:00
Jesse Rosenberger
ba45c990fd
Be more specific as to which files are run with lint-staged.
Ignoring the fact that the `.js*` was already _inclusive_ of `*.json`, we no
longer want `*.json` files linted (see [0] for more information), and I'm
not even sure why we would want to cover `*.md` rather than just `*.md`
(planning for a future markdown format?).

[0]: d4becdf6be
2018-03-26 17:16:17 +03:00
Jesse Rosenberger
b7ce84185d
Update CHANGELOG.md for v1.3.3 prior to publishing. 2018-03-26 16:50:56 +03:00
Jesse Rosenberger
0ba31fd965 Re-word CHANGELOG.md message for #733. 2018-03-26 15:40:09 +03:00
Dan Dean
8954062eec Update CHANGELOG.md 2018-03-26 15:40:09 +03:00
Dan Dean
279054cd99 GRAPHIQL_VERSION 0.11.2 → 0.11.11
This just bumps the version of of GraphiQL to the latest bugfix release.
2018-03-26 15:40:09 +03:00
Jesse Rosenberger
c9537d30e3 docs: Further standardize format of _config.yml files.
Many of these comments are unhelpful anyway and deserve to be maintained in the
"doc docs" (yes, docs for the docs), which live at https://github.com/apollographql/docs-docs/.
2018-03-23 20:08:31 +02:00
Jesse Rosenberger
7e58334839 docs: Remove api keys which are now set globally by apollo-hexo-config.
These are now defined by https://github.com/apollographql/apollo-hexo-config
and no longer necessary to be individually defined in each deployment.
2018-03-23 20:08:31 +02:00
Jesse Rosenberger
06fc7ee5d4 docs: Remove unnecessary handlebars dependency.
This the reason for this unneeded dependency traces back to the `api-box` on
https://github.com/meteor/docs, though its dependency hasn't been necessary on
any other docs deployment, including this one, since then.
2018-03-23 20:08:31 +02:00
Jesse Rosenberger
7d83875306 docs: Remove lodash, which doesn't seem to have ever been used.
I can't find any evidence in any docs deployment that `lodash` ever needed to
be a direct dependency.  It's possible that this is an artifact that once lived
in an early stage of the docs and just propagated out as a result of making new
docs from old docs repositories.  The `theme-example` application should help
set better precedence for this in the future.
2018-03-23 20:08:31 +02:00
Jesse Rosenberger
9500205e59 docs: Remove develop-theme script, now managed elsewhere.
Rather than developing the theme on individual docs deployments, that work
should now be done on the theme repository[0] and the example doc
deployment[1] since those repositories contain the infrastructure for testing
and deploying changes across all docs properties.  More information on
developing the theme can be found on those repository's `README.md`s.

[0] https://github.com/meteor/hexo-theme-meteor
[1] https://github.com/meteor/theme-example
2018-03-23 20:08:31 +02:00