-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apollo Server 2.0 #1125
Merged
Apollo Server 2.0 #1125
Changes from 1 commit
Commits
Show all changes
649 commits
Select commit
Hold shift + click to select a range
63b8b22
docs: correct headers on 2.0 migration guide
evans f9cd6ce
docs: fix comments about gql-tag
evans a04bea3
cloudflare: set as private while permissions are worked out
evans 4c6352a
v2.0.0-beta.5
evans 5f30792
Add BadUserInputError as extension of ApolloError (#1143)
clarencenpy 32968bf
Update to apollo-tracing which works with new handler ordering
glasser b5eab35
Remove duplicate common dependencies to avoid Lerna warnings
martijnwalraven 1e1b49e
Update devDependencies, including typescript
martijnwalraven 5a1598c
Remove deprecated supertest-as-promised
martijnwalraven 0aff6c8
Update compilation target to ES2017 and fix issus
martijnwalraven 4a068cf
Add engines field with node >= 8 in package.json
martijnwalraven 301e144
Test on Node 8 and 10 on Circle CI
martijnwalraven df30e42
Fix Circle CI config
martijnwalraven c5892f6
Disable failing file upload test
martijnwalraven 2f44a42
Remove Object.setPrototypeOf workaround for error subclasses on ES5
martijnwalraven e4164c8
Enable esModuleInterop and fix imports
martijnwalraven 1af0577
Install npm@6 in CI
martijnwalraven ff90e5c
upgrade apollo-engine-reporting (better error handling)
glasser a7cd3a4
Apollo Server 2:Automatic Persisted Queries (#1149)
evans 3e93524
v2.0.0-beta.6
glasser dbfa57c
dep on express (there is an import), other tweaks
glasser df8e487
v2.0.0-beta.7
glasser ba31cf7
Integrations export their own ApolloServer (#1161)
evans db8eba8
v2.0.0-beta.8
evans afcd170
core, integrations: break apart coupling of introspection and gui enable
evans 83c866e
core: add graphql-tag as export
evans 0178840
express, hapi: export ApolloServer
evans 519b6fd
v2.0.0-beta.9
glasser 1fd3b21
Remove engineProxy support
glasser 40f9a49
Remove packages for frameworks that don't yet support 2.0
glasser e4a6e87
Remove graphiql support
glasser 5e59605
docs: remove GraphiQL and old migration guides
evans 2ff159d
Don't export middleware from packages
glasser e66f6db
fix: support Node 6 (#1171)
evans e420094
docs: remove old hapi migration and move images into same folder
evans eb0ae81
Update integration test suite to test ApolloServer
glasser e32fad6
Allow configuration of graphql-playground
glasser ddc589d
v2.0.0-beta.10
glasser 559b21d
Restore comment from Revert "Test on Node 8 and 10 on Circle CI"
abernix 01c7c37
start to refactor subscriptions
glasser 54ced71
initial implementation of createSubscriptionServer
evans 304debf
errors insubscription server creation and non-async regsiterServer fo…
evans 9d853f4
move ApolloServer tests into integration tests from core
evans 3279991
move registerServer into class as applyMiddleware function
evans 7ded129
docs: replace registerServer with applyMiddleware
evans 95fe31d
docs: server.listen to app.listen for express examples
evans afda134
improve listen API with callbacks
glasser 1707967
Specify full path in tsconfig imports
glasser 3fccd43
simplify upload enhanceSchema, rename to installSubscriptionHandlers
glasser 46bb367
cloudflare package does not need to be private
glasser d006d4d
v2.0.0-beta.11
glasser 1f9f307
docs: initial engine migration guide
evans 439ec44
core: add Scalar Upload with schema is made execuable
evans 685d339
Apollo Server 2.0 - Caching + RESTDataSource (#1163)
martijnwalraven 9588468
v2.0.0-rc.0
evans 1592c54
docs: change beta to release candidate
evans d4a38b8
AS2: Docs for subscriptions (#1165)
daniele-zurico ff91ba9
docs: add subscriptions by @daniele-zurico into the index
evans fdfb532
docs: Correct typos in Features/Subscriptions. (#1178)
daniele-zurico d28982b
docs: Add version "2" back, which was lost in a merge.
abernix 0eed623
docs: add install for rest data source
evans cba05d9
remove operation store module because of apq's
evans b6f88d5
express: remove console logs from data source test
evans f4d1ac5
docs: Change links away from contentless deployment index page.
abernix 7c1f7a6
Change to in new pattern of using apollo server 2
unicodeveloper 491997a
Merge pull request #1185 from apollographql/fix-errors
3cb2e41
remove extra '/' from docs
amitport f07afc1
added missing 'new' keyword
9070a96
Merge pull request #1186 from amitport/patch-1
2913465
Merge pull request #1187 from danferreira/fix-docs
da2c95c
Remove workaround for TS unused locals
martijnwalraven 7496eb0
Run test in apollo-datasource-rest as part of monorepo tests
martijnwalraven 43627ec
Add support for Redis and Memcached with ttls (#1191)
clarencenpy 86fd88e
Add type parameter for responses and add PATCH method (#1190)
fabien0102 cde5434
Extract URLSearchParamsInit type and use it in RESTDataSource
martijnwalraven 74d7f53
Add any as default type parameter for TResponse in RESTDataSource
martijnwalraven 073655a
Remove willReceiveCache and willReceiveContext from RESTDataSource
martijnwalraven b76c100
Only attempt to parse responses with the right Content-Type as JSON
martijnwalraven 7f7f70e
docs: Update middleware migration instructions in 2.0 migration guide.
abernix 60c0f58
Update data sources docs
martijnwalraven 387f250
rename BadUserInputError to UserInputError (#1197)
clarencenpy 958fa65
Update data source docs and add instructions for Memcached and Redis …
clarencenpy 3f3b0eb
Rename Memcached and Redis cache classes
martijnwalraven 0928d79
Move in memory cache to apollo-server-caching
martijnwalraven d38e289
Log RESTDataSource requests in development
martijnwalraven 655ead3
Move shared mocks to top-level and enforce noImplicitAny
martijnwalraven aa0650c
Remove unnecessary workaround for ES5
martijnwalraven 17582a7
chore(deps): update dependency meteor-theme-hexo to v1.0.14
abernix f4bba1d
docs: Add `version` to _config.yml for "Edit on GitHub" on version br…
abernix 406b4fd
update link to point to the package on npmjs
clarencenpy 0d863f7
Add file uploads feature section to Apollo Server docs
unicodeveloper 9af856c
Typescript Improvements and esModuleInterop fix (#1210)
evans 70a0fad
export UserInputError from express and hapi integrations (#1206) (#1208)
clarencenpy 7c622aa
hapi: tests, add types, and fix #1195 (#1211)
evans 8914b13
Add error handling to RESTDataSource and extract apollo-server-errors
martijnwalraven 22ee1d5
chore(deps): update dependency meteor-theme-hexo to v1.0.15
abernix 1424727
Remove logFunction
martijnwalraven 71a403d
Set cached response TTL based on max-age
martijnwalraven d187870
Move Uploads to constructor and remove enhanceSchema (#1204)
evans 2d624c9
Remove direct dependency on node-fetch and add @types/ws
martijnwalraven 35ac867
Avoid direct imports of node-fetch
martijnwalraven 36c595b
Upgrade apollo-engine-reporting to beta.13
glasser 65d7b10
CDN cache-control headers (#1138)
evans bb4f1c3
Apollo Server 2.0: AWS Lambda Integration (#1188)
alessiodionisi 8bd5045
lambda: fix typings
evans 3bc09de
v2.0.0-rc.1
evans 742fb41
Amortize encoding over each trace
glasser 944a641
Add missing apollo-upload-server dependency (#1221)
olistic 4770f38
v2.0.0-rc.2
evans ebacd8f
Add type dependencies to apollo-server-express
martijnwalraven 4b0a8f4
Add file upload page
unicodeveloper d25aa20
Add Lambda docs
unicodeveloper 1bf2313
Initial documentation
unicodeveloper 5a8043b
Add meat to the file upload page
unicodeveloper 5dfe2b5
Add file upload section on sidebar
unicodeveloper ae14665
include test for tracing and add server creation helper method
evans 98fd7ae
test cache-control set to false after bug from #1217
evans c8d747b
Document Reporting to Engine and Add to migration guide (#1223)
evans 6918508
Export UserInputError from lambda integration (#1230)
olistic 7dc280d
Fix Typo resovers -> resolvers (#1233)
76da232
Add graphql peer dependency to server integrations (#1232)
olistic e62dc4e
AS2: Support APQ for Batches (#1234)
evans 049a61a
Send APQ info to traces
glasser 846579d
update README's and remove docs for registerServer (fixes #1216)
evans acedc26
v2.0.0-rc.3
martijnwalraven 73ec5e0
docs: fix typo in whats new documentation
briandennis 96ff4b6
Merge pull request #1239 from briandennis/patch-1
85aefb7
Fix
unicodeveloper 7f1b59d
Add feedback
unicodeveloper daaa522
Merge pull request #1228 from apollographql/add-lambda-docs
ef5e1e1
Resolve comflicts
unicodeveloper 4d7a34f
Add trailing slash to baseURL of data source if needed
martijnwalraven f3fd52d
Add lambda to sidebar (#1240)
b6e2096
Allow passing a body to POST, PATCH and PUT in data source
martijnwalraven 325f114
apollo-engine-reporting: more aggressive signataure
glasser 2ca26ab
v2.0.0-rc.4
glasser c58665a
Add feedbacl
unicodeveloper 2097643
Merge pull request #1207 from apollographql/add-file-uploadspage
c886303
Hapi: reenable cors test
evans d85ef48
Ensures formatError receives a value that passes instanceof Error (#1…
evans 2b925c4
add graphql dependency to docs (#1244)
alessiodionisi 3ad0519
v2.0.0-rc.5
evans 84f13ba
docs: add graphql install next to integrations npm install's
evans 7e35305
Always clone the context if it's not a function
martijnwalraven 6bf286d
Fix async context test and add test for cloning
martijnwalraven 4a05521
Add performance monitoring to what's new
unicodeveloper caee155
Fix the path
unicodeveloper 61af12d
Merge pull request #1249 from apollographql/add-metrics-to-whatsnew
b54402f
Update unions-interfaces.md (#1196)
benwaffle 6ccb790
added constructors
JakeDawkins 6f99c45
added slash to end of example base urls
JakeDawkins a4f0336
Fix Circle CI badge in README
martijnwalraven e0c169d
Update GraphQL Playground to fix tracing
martijnwalraven 8c9eaf0
Added other HTTP methods to DataSource Docs (#1254)
JakeDawkins 62ff5c6
Improve Subscriptions Dev/Docs Experience (#1255)
evans 28cec7e
docs: Engine Reporting API and pass Engine API key in constructor (#1…
evans ea25edc
docs: Use sentence case for title names. (#1258)
abernix 8ef1818
Fix graphql-tools/subscriptions dependencies and exports (#1257)
olistic c2e4dfb
Import graphql-extensions+apollo-engine-reporting/no global apollo-se…
martijnwalraven beb1c23
Add Zeit deployment guide
unicodeveloper 01efbf0
link to now in the sidebar
unicodeveloper a823bd8
Fix grammar
unicodeveloper 290b9f0
Remove apollo-engine. Apollo Server's got it covered :fire:
unicodeveloper 06db214
Add feedback
unicodeveloper 7718cd2
Remove unecessary code highlighting
unicodeveloper a796420
Last unecessary code highlighting removed.
unicodeveloper 49015f9
Merge pull request #1269 from apollographql/add-zeit-deploy
43c36c4
Don't expect request.url to be a well-formed URL
martijnwalraven 49a802d
Don't attempt to parse request.url at all
martijnwalraven 53d7a75
Re-export Request from apollo-datasource-rest
martijnwalraven c525818
export Request from graphql-extensions
evans 738a933
docs: add persited query cache configuration
evans 9b67773
docs: add callout to install apollo-server-express
evans 67c4812
docs: update engine option to ApolloServer constructor
evans 84233d2
Centralize playgroundVersion in ApolloServerBase and remove pass-thro…
martijnwalraven 8ea36d8
Use scoped graphql-playground-html
martijnwalraven e0f7052
Errors Lifecycle: user extensions > engine reporting > formatError (#…
evans 80174d2
Further improves subscriptions docs (#1263)
evans 59ca96c
docs(migration-engine): fix typo in code example (#1273)
emmenko cbb5bf3
[2.0] Switch apollo-engine-reporting to use fetch instead of the Node…
martijnwalraven 63f6b47
Publish
evans 3ad0c43
Fix test typings
martijnwalraven 660c034
Remove APQ, CDN integration and file uplaods from side bar
unicodeveloper 9d326ff
Delete the files
unicodeveloper 6c583d6
Set up redirects
unicodeveloper d75a4d8
Merge pull request #1283 from apollographql/remove-uploads
35776c9
remove .DS_Store (#1280)
chentsulin b812eec
added related guides (#1286)
JakeDawkins 11f0383
Add npm start script to now setup (#1276)
vpicone dae5349
Clarify docs for hybrid connections with middleware (#1285)
M-Zuber 1947892
Removes flattening of Errors inside of formatApolloErrors (#1288)
evans 0351751
lambda: add existance check for result
evans 16a336d
Remove unused core-js and source-map-support dependencies from graphq…
martijnwalraven 928ef7d
Allow dynamic configuration of data sources (#1277)
martijnwalraven 23965de
Add example of intercepting fetches and resolving URLs to data source…
martijnwalraven 0b5c7f3
Export RequestOptions from apollo-datasource-rest
martijnwalraven 8c8729f
fix README badge links and test imports (#1281)
chentsulin 8496387
Import apollo-tracing-js (#1292)
evans 19c8adf
Import apollo-cache-control-js (#1294)
evans 73a5da1
Replaced RESTDataSource with generic DataSource typing (#1293)
danilobuerger 4114bc5
Enable strict typing for apollo-server-core and fix issues
martijnwalraven 4793c5a
Rename apollo-cache-control-js and apollo-tracing-js and unify configs
martijnwalraven 94d4d49
Use for-of loops instead of standard for loops
martijnwalraven c356bcf
Apollo Server 2 Micro integration (#1279)
hwillson 02d3155
Add GraphQL Playground Documentation (#1270)
evans dbaa465
Apollo Server 2 Koa integration (#1282)
chentsulin 8ad3137
Follow-up editorial for GraphQL Playground doc. (#1270).
abernix 075c052
Also rename playground to graphql-playground in _config.yml.
abernix 314f0ec
Hint about Upload scalar when setting schema manually (#1318)
danilobuerger d01b18a
Update GraphQL Playground version
martijnwalraven f8feca8
Move lru-cache dependency to apollo-server-caching
martijnwalraven 9e60f42
Use main cache for persisted queries by default
martijnwalraven f551e2b
Use apq prefix for persisted query caching
martijnwalraven e29f804
Enable engine reporting in Lambda (#1313)
evans 13b796f
Publish
evans 61b4939
Enable GraphQLUpload for Apollo Server 2.0 (#1322)
e83dcbc
Round the ttl to an integer so that redis doesn't b0rk (#1323)
raduachim 2d7af8b
Add CDN and APQ to What's new (#1320)
evans f9373bf
add graphql types referenced in creating-directives
evans 9034ac9
Add redirect for file-uploads (#1328)
890e10b
chore(deps): update dependency apollo-hexo-config to v1.0.8 (#1329)
renovate[bot] ecc5669
RESTDataSource: add didReceiveResponse method (#1325)
de4760b
Expose Cors option from vanilla ApolloServer constructor (#1335)
evans c200df0
RESTDataSource: Add data to errors thrown for error responses
martijnwalraven 1022ae1
RESTDataSource: Do not serialize body values that aren't objects (#1316)
heralden 54a8fac
RESTDataSource: Serialize request bodies that have a toJSON method as…
martijnwalraven 299018f
[apollo-server-koa] use exported bodyParser.Options type instead of i…
chentsulin f055d28
Extract abstract DataSource superclass into apollo-datasource package
martijnwalraven 11b8671
Move `gui` option into constructor and use `playground` (#1297)
zionts 7f157da
Fixed a couple typos (#1309)
sasadjolic 78dcf4f
remove calculate headers as a function (#1337)
evans 990d915
Apollo Server 2: Remove formatParams (#1331)
evans a31501f
DeleteD
unicodeveloper 2775eeb
Merge branch 'abernix/follow-up-1270' into version-2
unicodeveloper fbf6c6b
update playground to include #1319
evans d4a8e1a
Throw error in applyMiddleware for vanilla apollo-server (#1345)
evans 7f11c60
Fix broken link to CDN guide, which is now on /docs/.
abernix 170f072
bring version-2 up to date
evans c3cee59
Merge branch 'master' into version-2
evans c00918b
remove apollo-server-fastify
evans b7c5cea
fix export of hapi middleware
evans 31e93d0
remove setup
evans 467b224
fix hapi readme
evans c18c7a3
remove unused tests
evans 17ed370
Update meteor-theme-hexo to the latest version.
abernix 7d7fef6
Merge pull request #1348 from apollographql/merge-master
evans 9862b5c
Merge branch 'master' into version-2
evans 281760b
docs: Update blog URLs to reference blog.apollographql.com.
abernix 2c23600
Merge branch 'master' into version-2
evans c800071
update changelog for RC's and betas
evans File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really an issue and probably not worth fixing now, but unless we keep the versions between
apollo-server
andapollo-server-express
in sync this does lead to a Lerna warning: