{"push_id":2678718496,"size":1,"distinct_size":1,"ref":"refs/heads/version-2","head":"c2e4dfb26557e2ef5e9a7ad823e2c4edc7336c72","before":"8ef18187ae06353da5451879c0844d249f7898a8","commits":[{"sha":"c2e4dfb26557e2ef5e9a7ad823e2c4edc7336c72","author":{"name":"Martijn Walraven","email":"10ae63b69ae5ab71b07f9e64004a0207f53fea34@martijnwalraven.com"},"message":"Import graphql-extensions+apollo-engine-reporting/no global apollo-server-env (#1259)\n\n* Export polyfills and types separately\r\n\r\n* More imports from apollo-server-env\r\n\r\n* Initial commit\r\n\r\n* Add .npmignore to avoid ignoring lib when publishing\r\n\r\n* 0.0.2\r\n\r\n* Reorganize code and clean up GraphQLExtension interface\r\n\r\n* 0.0.3\r\n\r\n* Add support for timing callbacks and add GraphQLExtensionStack\r\n\r\n* 0.0.4\r\n\r\n* Downgrade target in tsconfig.json from es2015 to es5\r\n\r\n* 0.0.5\r\n\r\n* Bump `graphql` peerDependency. (#3)\r\n\r\n* 0.0.6\r\n\r\n* Update dependencies\r\n\r\n* 0.0.7\r\n\r\n* whenResultIsFinished fix for array results (#4)\r\n\r\n* 0.0.8\r\n\r\n* [apollo-bot] Update the Issue/PR Templates with auto label (#6)\r\n\r\n* Bump `graphql` peerDependency. (#7)\r\n\r\n* Update `graphql` peer dependency range to allow 0.13.x. (#8)\r\n\r\n* Update `devDependencies` to latest versions. (#9)\r\n\r\n* dev: Update TypeScript to latest version, v2.7.2.\r\n\r\n* dev: Update `graphql` to latest version, v0.13.2.\r\n\r\n* dev: Update jest & dependencies to latest versions.\r\n\r\n* dev: Update type definitions for `graphql`, `node` and `jest`.\r\n\r\n* Allow `undefined` return values to `GraphQLExtension`'s `format()`. (#10)\r\n\r\nIn some cases, it's conceivable that the `format()` method may need to abort\r\nits decision to provide extension information at runtime, in the event that\r\nit doesn't have the proper information to return a full-result.\r\n\r\nThe `format` method already removed false-y results, so this simply changes\r\nthe types to allow the same.\r\n\r\n* 0.0.9\r\n\r\n* Fix lifecycle method invocations on extensions\r\n\r\n* 0.0.10\r\n\r\n* Add changelog\r\n\r\n* Upgrade to TypeScript 2.8\r\n\r\nMakes my editor integration happier (a bugfix in tsserver I think)\r\n\r\n* Add tslint and prettier\r\n\r\nSame configuration as apollo-engine-js\r\n\r\n* Remove magic from GraphQLExtensionStack constructor\r\n\r\nIt's not hard to consistently pass in an actual extension object to this\r\nlow-level API.\r\n\r\n* New extension API: didStart handlers return didEnd handlers\r\n\r\nThis is a backwards-incompatible change: GraphQLExtension implementations and\r\nusers of GraphQLExtensionStack (ie apollo-server-core) must change their\r\nimplementations, if they implement any of the xDidStart/xDidEnd APIs.\r\n\r\nThis allows \"didEnd\" handlers to refer to closure variables from the \"didStart\"\r\nhandler rather than needing to store state on the extension.\r\n\r\nThe new \"didEnd\" handlers run in the opposite order of the \"didStart\" handlers,\r\nso that they properly nest.\r\n\r\n* 0.1.0-beta.0\r\n\r\n* Changelog\r\n\r\n* Add magic back into GraphQLExtensionStack constructor\r\n\r\nBut now it actually gets more context (the execution arguments) and doesn't have\r\nto be a constructor.\r\n\r\n* 0.1.0-beta.1\r\n\r\n* Export more types\r\n\r\n* 0.1.0-beta.2\r\n\r\n* Fix lifecycle handlers to pass proper \"this\"\r\n\r\n* 0.1.0-beta.3\r\n\r\n* Pass options directly to start handlers; eliminate factory again\r\n\r\n* 0.1.0-beta.4\r\n\r\n* error handling in didEnd\r\n\r\n* 0.1.0-beta.5\r\n\r\n* pass multiple errors to EndHandler\r\n\r\n* 0.1.0-beta.6\r\n\r\n* add willSendResponse\r\n\r\n* 0.1.0-beta.7\r\n\r\n* prettier\r\n\r\n* setFieldResolver for custom fieldResolver\r\n\r\n* reverse\r\n\r\n* get more initial options into requestDidStart\r\n\r\n* 0.1.0-beta.8\r\n\r\n* 0.1.0-beta.9\r\n\r\n* Actually, we already get the fieldResolver!\r\n\r\n* 0.1.0-beta.10\r\n\r\n* work without extensionStack\r\n\r\n* 0.1.0-beta.11\r\n\r\n* 0.1.0-beta.12\r\n\r\n* Send errors to willResolveField callback\r\n\r\n* 0.1.0-beta.13\r\n\r\n* willSendResponse can return a result\r\n\r\n* 0.1.0-beta.14\r\n\r\n* Revert 1063be8..56912fc\r\n\r\nThis reverts commit 1063be8..56912fc.\r\n\r\n* add PQ options to requestDidStart\r\n\r\n* 0.1.0-beta.14\r\n\r\n* 0.1.0-beta.15\r\n\r\n* Initialize an empty TypeScript/Jest package\r\n\r\nTemplate based on apollo-engine-js\r\n\r\n* Basic trace node structure building\r\n\r\n* basic timing\r\n\r\n* Checkpoint towards signature implementation\r\n\r\nThe new signature implementation does not try to compress whitespace.\r\n\r\n* Basic signature implementation\r\n\r\n* progress towards actual reporting\r\n\r\n* basic checkpoint for reporting\r\n\r\n* 0.0.0-beta.1\r\n\r\n* pull in @types/long, since it is in the external api\r\n\r\n* 0.0.0-beta.2\r\n\r\n* get rid of Long\r\n\r\n* 0.0.0-beta.3\r\n\r\n* debug log request what happened\r\n\r\n* 0.0.0-beta.4\r\n\r\n* 0.0.0-beta.5\r\n\r\n* correct url\r\n\r\n* 0.0.0-beta.6\r\n\r\n* request headers\r\n\r\n* 0.0.0-beta.7\r\n\r\n* leave out a few headers\r\n\r\n* 0.0.0-beta.8\r\n\r\n* prettier\r\n\r\n* move stuff into multiple files, and stop exporting the extension\r\n\r\n* lots of doc comments\r\n\r\n* address agent.ts XXX comments\r\n\r\n* implement privateVariables\r\n\r\nsimplify API by removing flush() and allowing flush-ers to just call sendReport\r\ndirectly\r\n\r\n* privateHeaders and error tracking\r\n\r\n* gzip, signals\r\n\r\n* fix test\r\n\r\n* 0.0.0-beta.9\r\n\r\n* Error handling for reports\r\n\r\n* 0.0.0-beta.10\r\n\r\n* no need to include boring stacktrace\r\n\r\n* 0.0.0-beta.11\r\n\r\n* tweak error reporting\r\n\r\n* 0.0.0-beta.12\r\n\r\n* package-lock update (npm@6?)\r\n\r\n* Reduce target report size to 512KB from 4MB.\r\n\r\nLoad testing revealed that protobuf encoding for large FullTraceReports could\r\ntie up CPU and reduce p99 request latency (eg, to 200ms from 10ms). Reducing the\r\ndefault target report size spreads out the encoding time and mitigates the\r\nimpact on latency.  If this is not acceptable for all users, we may have to\r\ninvestigate reintroducing agent-side stats aggregation to keep report sizes\r\nsmall.\r\n\r\n* 0.0.0-beta.13\r\n\r\n* Encode Traces as they come in\r\n\r\nThis improves p99 times with little effect on p50 times. It also lets us get rid\r\nof the heuristic average trace size estimation.\r\n\r\n* 0.0.0-beta.14\r\n\r\n* support PQ fields\r\n\r\n* npm audit fix\r\n\r\n* 0.0.0-beta.15\r\n\r\n* ignore coverage\r\n\r\n* Make the default signature more aggressive\r\n\r\nWe'd rather tell people confused by literal removal to tweak the signature than\r\ntell people causing outages to do so.\r\n\r\n* 0.0.0-beta.16\r\n\r\n* Remove obsolete files from graphql-extensions and apollo-engine-reporting\r\n\r\n* Fix dependencies and configs\r\n\r\n* Fix apollo-server-cloudflare to import from apollo-server-env\r\n\r\n* Fix compilation and test configs\r\n\r\n* Get all tests passing again\r\n\r\n* Switch to Lerna independent versioning\r\n\r\n* Polyfill promisify for Node < 8 and load polyfills in tests\r\n\r\n* ES2016 exponentiation operator is only supported in Node > 6\r\n\r\n* add dependency cache for circle\r\n\r\n* add missing env dependencies in REST datasource","distinct":true,"url":"https://api.github.com/repos/apollographql/apollo-server/commits/c2e4dfb26557e2ef5e9a7ad823e2c4edc7336c72"}]}
{"actor":{"display_login":"evans"}}