Commit graph

121 commits

Author SHA1 Message Date
Tejas Kumar
7dc280df32 Fix Typo resovers -> resolvers (#1233)
* Fix Typo resovers -> resolvers

* Fix typo migh -> might

* Fix typo resover -> resolver again
2018-06-22 15:53:02 -07:00
Seth Madison
8072312b99
bump version of subscriptions-transport-ws for graphiql
The newer subscription client has a more forgiving default ka timeout
2018-05-11 15:54:24 -07:00
Evans Hauser
e58db229df
changelogs: added to root and apollo-server-core 2018-05-11 15:54:20 -07:00
David Glasser
8bd1ad0a6d CHANGELOG update 2018-04-24 11:32:30 -07:00
Jesse Rosenberger
6cddeaf463
Update CHANGELOG.md prior to v1.3.5 release. 2018-04-18 16:06:29 +03:00
Steve Rice
083a1ee60e Avoid TypeError when querystring is present, but query missing (#964)
The express-graphql reference implementation [provides a check]
(2e27a73358/src/index.js (L201-L208))
to protect against cases where a GET request is made that does not
have a `query` parameter where the GraphQL query would be present.

Without this guard, graphql-js's `parse` will return `undefined`
for the `DocumentNode` since it has no document to read. Subsequently
passing this to `isQueryOperation` results in a `TypeError`, because
we are providing `undefined` where `getOperationAst` [expects to get
a DocumentNode](5fe39262a3/src/utilities/getOperationAST.js (L19)).

A new test file is added for `runHttpQuery`, as one previously did
not seem to exist.
2018-04-18 15:38:57 +03:00
Jelle Breuer
0261870eb7 adonis: Set Content-type to application/json on response (#842)
* Set Content_Type to application/json on response

* Added changelog entry

* fixed styling
2018-04-17 21:49:26 +03:00
Michael Golfi
3dc9719268 Azure Functions now returns correct response body (#753)
* Added fixes to apolloAzureFunctions.js and sample functions for the GraphQL API and GraphiQL

* Added issue and pr details to changelog

* Maintain use of `context.done()`, but use `isRaw` instead.

Per the Azure documentation regarding the response object available at:

https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node#response-object

* Switch Azure example to use CommonJS rather than native ESM exports.
2018-04-17 21:39:06 +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
David Glasser
7d1165f1e0
All: allow cacheControl: {defaultMaxAge: 5}. (#922) 2018-03-28 13:56:22 -07: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
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
Lukwago Allan
c9a372839d Re-export out GraphQLOptions in apollo-server-express (#871)
* Export `GraphQLOptions` type directly from `apollo-server-express`.

Directly export `GraphQLOptions` from the `apollo-server-express` (and
synonymously, `graphql-server-express`) main module, rather than exporting
it only from `./expressApollo`.
2018-03-16 12:48:40 +02:00
Sashko Stubailo
281392c3f0 Update to graphql@0.12 (#726)
* Update peer deps and tests for 0.12
* v1.3.2
2018-03-13 17:10:37 +02:00
Marvin Hagemeister
9e8984c2ee Inline all possible functions that are used only once (#821)
* Inline isFunction type-guard

* Don't redefine functions on doRunQuery

* Update CHANGELOG
2018-03-12 21:25:12 +02:00
Laurin Quast
df51fd90da Setup prettier (#724)
* Setup prettier and precommit hooks

* Format code with prettier

* Use husky because it works...

* Move prettier config to .prettierrc file

* Implement fixing markdown file formatting when running lint-fix script

* Format markdown files

* Add .json file formatting

* Fixes json file formatting

* Add pretteir linting step

* Remove tslint

* Use gitignore for prettier

* Fix linting errors

* Ignore submodule folder
2018-01-08 15:08:01 -08:00
Dom Armstrong
a8ae9042f5 Fix apollo-server-core runQuery breaks async_hook tracking (#733)
By creating a promise out of the execution flow the ability to trace the
async call stack is lost.
2017-12-22 05:46:02 +01:00
Martijn Walraven
0d875043a8
Update CHANGELOG.md 2017-12-13 07:11:24 +01:00
Benedict Hobart
62c397eecc Fix shallow cloning of context when executing a batch request (#679)
This fixes the default behavior for class-based contexts by also cloning the prototype, and it allows you to customize per-operation behavior by passing in a function as context.
2017-12-12 08:09:01 +01:00
Nimish Gupta
3471a69542 Correct hapi example (#690) 2017-12-09 14:00:57 +01:00
Tung Vu
4264114e20 chore: update peerDependencies version for micro (#671) 2017-12-04 14:42:31 +01:00
Nick Nance
e8493167c9 update changelog 2017-10-23 15:13:31 -07:00
Robin van der Vleuten
d06a19a34f Added PR to changelog 2017-10-16 16:48:04 +02:00
Martijn Walraven
6661b55719 Update CHANGELOG.md 2017-10-09 21:14:32 +02:00
Peter Schramm
187494337c Add support for subscription connectionParams in GraphiQL (#548) 2017-10-09 20:19:39 +02:00
Ricardo Portugal
bd6e55a4c0 Update README: Rename graphql-server-lambda -> apollo-server-lambda (#533)
* rename graphql-server-lambda -> apollo-server-lambda

* update changelog
2017-09-06 15:36:27 -07:00
Dale Inverarity
6db0815063 Move from credentials: 'include' to 'same-origin' (#523)
* Move from credentials: 'include' to 'same-origin'

See Discussion: https://github.com/apollographql/apollo-server/issues/514

* Update CHANGELOG.md

* Update CHANGELOG.md
2017-08-24 19:36:30 -07:00
Sashko Stubailo
2dddbc52b6 1.1.2 (#515)
* 1.1.2

* Add package lock to gitignore

* v1.1.2

* vundefined
2017-08-23 21:34:26 -07:00
Martijn Walraven
02c28f5e66 Update CHANGELOG 2017-08-15 10:18:43 +02:00
Martijn Walraven
a747206733 Update CHANGELOG 2017-08-15 10:17:31 +02:00
Martijn Walraven
19e365f044 Add tracing support (#490) 2017-08-09 16:57:17 +02:00
Yucun
d102a88067 Update restify lib (#475) 2017-08-09 13:26:26 +02:00
sbr464
4c7839729c updated CHANGELOG 2017-08-02 12:44:58 -06:00
Mikhail Novikov
c51fc65da8 Add ability to provide default field resolvers (#482) 2017-08-02 12:20:10 +02:00
Hagai Cohen
8aed17c266 chore(package): update CHANGELOG.md 2017-07-31 18:47:47 +03:00
Martijn Walraven
5a3142b17f Add apollo-server rename to the CHANGELOG 2017-07-31 14:19:19 +02:00
Fabian Schneider
d3380483f6 Add support for GraphiQL editor themes 2017-07-25 08:31:24 +02:00
Mikhail Novikov
6016b8527f Revert calling next in middleware (#481) 2017-07-24 10:21:02 +02:00
Andrew Pratt
a74d8c533d updating the changelog and version 2017-07-16 22:52:43 -07:00
Jonas Helfer
c794fe5657 Update CHANGELOG.md 2017-06-29 00:05:56 -07:00
Jonas Helfer
afa37d2804 Update CHANGELOG.md 2017-06-29 00:05:56 -07:00
Jonas Helfer
3cca6b64d3 Update CHANGELOG.md 2017-06-22 13:36:12 -07:00
Daniel Rinehart
20763ba076 Merge remote-tracking branch 'upstream/master' into graphiql-function 2017-06-16 11:00:42 -04:00
Jonas Helfer
3f2e679d4d Update CHANGELOG.md 2017-06-15 22:07:36 -07:00
Jonas Helfer
38bb67bf6f Merge branch 'master' into graphiql-function 2017-06-13 23:19:14 -07:00
Jonas Helfer
73ba4fec22 Update CHANGELOG.md 2017-06-13 23:17:52 -07:00
Jonas Helfer
3b9291038c Update CHANGELOG.md 2017-06-13 23:17:52 -07:00
Jonas Helfer
08150706cb Update CHANGELOG.md 2017-06-13 23:17:52 -07:00