Jesse Rosenberger
a3222ece11
Publish
...
- apollo-cache-control@0.5.0
- apollo-datasource-rest@0.3.0
- apollo-datasource@0.3.0
- apollo-engine-reporting@1.0.0
- apollo-graphql@0.1.0
- apollo-server-azure-functions@2.4.0
- apollo-server-cache-memcached@0.3.0
- apollo-server-cache-redis@0.3.0
- apollo-server-caching@0.3.0
- apollo-server-cloud-functions@2.4.0
- apollo-server-cloudflare@2.4.0
- apollo-server-core@2.4.0
- apollo-server-express@2.4.0
- apollo-server-hapi@2.4.0
- apollo-server-integration-testsuite@2.4.0
- apollo-server-koa@2.4.0
- apollo-server-lambda@2.4.0
- apollo-server-micro@2.4.0
- apollo-server-plugin-base@0.3.0
- apollo-server-testing@2.4.0
- apollo-server@2.4.0
- apollo-tracing@0.5.0
- graphql-extensions@0.5.0
2019-02-07 14:08:23 +02:00
Jesse Rosenberger
f74610b290
Publish
...
- apollo-cache-control@0.5.0-alpha.3
- apollo-datasource-rest@0.3.0-alpha.3
- apollo-engine-reporting@1.0.0-alpha.3
- apollo-graphql@0.0.1-alpha.1
- apollo-server-azure-functions@2.4.0-alpha.4
- apollo-server-cloud-functions@2.4.0-alpha.4
- apollo-server-cloudflare@2.4.0-alpha.4
- apollo-server-core@2.4.0-alpha.4
- apollo-server-express@2.4.0-alpha.4
- apollo-server-hapi@2.4.0-alpha.4
- apollo-server-integration-testsuite@2.4.0-alpha.4
- apollo-server-koa@2.4.0-alpha.4
- apollo-server-lambda@2.4.0-alpha.4
- apollo-server-micro@2.4.0-alpha.4
- apollo-server-plugin-base@0.3.0-alpha.4
- apollo-server-testing@2.4.0-alpha.4
- apollo-server@2.4.0-alpha.4
- apollo-tracing@0.5.0-alpha.3
- graphql-extensions@0.5.0-alpha.4
2019-02-07 13:01:14 +02:00
Jesse Rosenberger
60b8bca6da
Merge branch 'master' into release-2.4.0
2019-02-07 12:40:37 +02:00
Jesse Rosenberger
5ee9845537
Compare Engine reporting's privateHeaders
case-insensitively, as documented.
...
The documentation for `privateHeaders`[[0]] suggests that it is
case-insensitive. While that statement is true, and the incoming header is
lower-cased before checking it against the `privateHeaders` configuration,
it assumed that the headers in the `privateHeaders` object were specified in
lower-case.
This changes the comparison to lower-case both sides prior to determining
equality.
[0]: https://github.com/apollographql/apollo-server/blob/abb8dc58/packages/apollo-engine-reporting/src/agent.ts#L67-L70
Fixes: https://github.com/apollographql/apollo-server/issues/2273
2019-02-06 12:50:10 +02:00
Jesse Rosenberger
3dfbfcc0d8
Use Array.isArray
rather than typeof
... === 'object'
to check Arrayness.
2019-02-06 12:24:01 +02:00
Jesse Rosenberger
d0998e7e28
Merge remote-tracking branch 'origin/master' into release-2.4.0
2019-02-04 17:22:15 +02:00
Jesse Rosenberger
59d5a5088a
Add apollo-graphql
as a project reference to apollo-engine-reporting
.
2019-02-01 20:40:28 +02:00
Jesse Rosenberger
b3758d8e47
Update apollo-engine-reporting
's CHANGELOG.md
for a major breaking change.
2019-02-01 20:40:27 +02:00
Jesse Rosenberger
9eca821345
Bump the major version of apollo-engine-reporting
.
2019-02-01 20:40:27 +02:00
Jesse Rosenberger
e565226370
Move apollo-engine-reporting
signature calculations to new apollo-graphql
.
...
Many of these signature calculation functions are now utilized in tools or
helpers which are not directly related to `apollo-server` functionality,
including various aspects of the `apollo` CLI which live within
`apollo-tooling`.
Currently, because of `apollo`'s dependency on `apollo-engine-reporting` for
this signature, this requires bringing in the entire dependency tree which
`apollo-server-core` relies on since `apollo-engine-reporting` depends on
`apollo-server-core`.
By moving this into this new `apollo-graphql` utility library, we're able to
trim that rather hefty dependency tree and drastically reduce the download
for running, say, `npx apollo`.
2019-02-01 19:03:59 +02:00
Jesse Rosenberger
1a3ac9b4a0
Move Apollo Engine signatures into apollo-graphql
.
2019-02-01 18:43:04 +02:00
Jesse Rosenberger
21c4c11a18
Merge remote-tracking branch 'public/master' into release-2.4.0
2019-02-01 14:00:59 +02:00
Jesse Rosenberger
8d9d7fea12
Publish
...
- apollo-engine-reporting@0.2.2
- apollo-server-core@2.3.4
2019-01-31 19:03:17 +02:00
Trevor Scheer
b64895ddec
Add apollo-server-core to deps in apollo-engine-reporting ( #2248 )
...
* Add apollo-server-core to deps in apollo-engine-reporting
* Add reference to requestPipelineAPI
2019-01-31 08:59:36 -08:00
Jesse Rosenberger
d48d0972c5
Publish
...
- apollo-cache-control@0.4.1
- apollo-datasource-rest@0.2.2
- apollo-datasource@0.2.2
- apollo-engine-reporting@0.2.1
- apollo-server-azure-functions@2.3.2
- apollo-server-cache-memcached@0.2.2
- apollo-server-cache-redis@0.2.2
- apollo-server-caching@0.2.2
- apollo-server-cloud-functions@2.3.2
- apollo-server-cloudflare@2.3.2
- apollo-server-core@2.3.2
- apollo-server-express@2.3.2
- apollo-server-hapi@2.3.2
- apollo-server-integration-testsuite@2.3.2
- apollo-server-koa@2.3.2
- apollo-server-lambda@2.3.2
- apollo-server-micro@2.3.2
- apollo-server-plugin-base@0.2.2
- apollo-server-testing@2.3.2
- apollo-server@2.3.2
- apollo-tracing@0.4.1
- graphql-extensions@0.4.2
2019-01-25 18:48:18 +02:00
Jesse Rosenberger
f045a4d0c9
Publish
...
- apollo-cache-control@0.5.0-alpha.2
- apollo-datasource-rest@0.3.0-alpha.2
- apollo-datasource@0.3.0-alpha.2
- apollo-engine-reporting@0.3.0-alpha.2
- apollo-server-azure-functions@2.4.0-alpha.3
- apollo-server-cache-memcached@0.3.0-alpha.2
- apollo-server-cache-redis@0.3.0-alpha.2
- apollo-server-caching@0.3.0-alpha.2
- apollo-server-cloud-functions@2.4.0-alpha.3
- apollo-server-cloudflare@2.4.0-alpha.3
- apollo-server-core@2.4.0-alpha.3
- apollo-server-express@2.4.0-alpha.3
- apollo-server-fastify@2.4.0-alpha.3
- apollo-server-hapi@2.4.0-alpha.3
- apollo-server-integration-testsuite@2.4.0-alpha.3
- apollo-server-koa@2.4.0-alpha.3
- apollo-server-lambda@2.4.0-alpha.3
- apollo-server-micro@2.4.0-alpha.3
- apollo-server-plugin-base@0.3.0-alpha.3
- apollo-server-testing@2.4.0-alpha.3
- apollo-server@2.4.0-alpha.3
- apollo-tracing@0.5.0-alpha.2
- graphql-extensions@0.5.0-alpha.3
2019-01-23 15:58:50 +02:00
Jesse Rosenberger
33d1f82814
Publish
...
- apollo-cache-control@0.5.0-alpha.1
- apollo-datasource-rest@0.3.0-alpha.1
- apollo-datasource@0.3.0-alpha.1
- apollo-engine-reporting@0.3.0-alpha.1
- apollo-server-azure-functions@2.4.0-alpha.1
- apollo-server-cache-memcached@0.3.0-alpha.1
- apollo-server-cache-redis@0.3.0-alpha.1
- apollo-server-caching@0.3.0-alpha.1
- apollo-server-cloud-functions@2.4.0-alpha.1
- apollo-server-cloudflare@2.4.0-alpha.1
- apollo-server-core@2.4.0-alpha.1
- apollo-server-express@2.4.0-alpha.1
- apollo-server-hapi@2.4.0-alpha.1
- apollo-server-integration-testsuite@2.4.0-alpha.1
- apollo-server-koa@2.4.0-alpha.1
- apollo-server-lambda@2.4.0-alpha.1
- apollo-server-micro@2.4.0-alpha.1
- apollo-server-plugin-base@0.3.0-alpha.1
- apollo-server-testing@2.4.0-alpha.1
- apollo-server@2.4.0-alpha.1
- apollo-tracing@0.5.0-alpha.1
- graphql-extensions@0.5.0-alpha.1
2019-01-16 13:11:21 +02:00
Jesse Rosenberger
7697623789
Publish
...
- apollo-cache-control@0.5.0-alpha.0
- apollo-datasource-rest@0.3.0-alpha.0
- apollo-datasource@0.3.0-alpha.0
- apollo-engine-reporting@0.3.0-alpha.0
- apollo-server-azure-functions@2.4.0-alpha.0
- apollo-server-cache-memcached@0.3.0-alpha.0
- apollo-server-cache-redis@0.3.0-alpha.0
- apollo-server-caching@0.3.0-alpha.0
- apollo-server-cloud-functions@2.4.0-alpha.0
- apollo-server-cloudflare@2.4.0-alpha.0
- apollo-server-core@2.4.0-alpha.0
- apollo-server-express@2.4.0-alpha.0
- apollo-server-hapi@2.4.0-alpha.0
- apollo-server-integration-testsuite@2.4.0-alpha.0
- apollo-server-koa@2.4.0-alpha.0
- apollo-server-lambda@2.4.0-alpha.0
- apollo-server-micro@2.4.0-alpha.0
- apollo-server-plugin-base@0.3.0-alpha.0
- apollo-server-testing@2.4.0-alpha.0
- apollo-server@2.4.0-alpha.0
- apollo-tracing@0.5.0-alpha.0
- graphql-extensions@0.5.0-alpha.0
2018-12-18 17:14:02 +02:00
Jesse Rosenberger
3545c32e2a
Publish
...
- apollo-cache-control@0.4.0
- apollo-engine-reporting-protobuf@0.2.0
- apollo-engine-reporting@0.2.0
- apollo-server-azure-functions@2.3.0
- apollo-server-cloud-functions@2.3.0
- apollo-server-cloudflare@2.3.0
- apollo-server-core@2.3.0
- apollo-server-express@2.3.0
- apollo-server-hapi@2.3.0
- apollo-server-integration-testsuite@2.3.0
- apollo-server-koa@2.3.0
- apollo-server-lambda@2.3.0
- apollo-server-micro@2.3.0
- apollo-server-plugin-base@0.2.0
- apollo-server-testing@2.3.0
- apollo-server@2.3.0
- apollo-tracing@0.4.0
- graphql-extensions@0.4.0
2018-12-13 15:29:53 +02:00
Jesse Rosenberger
ef31818629
Publish
...
- apollo-cache-control@0.4.0-alpha.0
- apollo-engine-reporting-protobuf@0.2.0-alpha.0
- apollo-engine-reporting@0.2.0-alpha.0
- apollo-server-azure-functions@2.3.0-alpha.0
- apollo-server-cloud-functions@2.3.0-alpha.0
- apollo-server-cloudflare@2.3.0-alpha.0
- apollo-server-core@2.3.0-alpha.0
- apollo-server-express@2.3.0-alpha.0
- apollo-server-hapi@2.3.0-alpha.0
- apollo-server-integration-testsuite@2.3.0-alpha.0
- apollo-server-koa@2.3.0-alpha.0
- apollo-server-lambda@2.3.0-alpha.0
- apollo-server-micro@2.3.0-alpha.0
- apollo-server-plugin-base@0.2.0-alpha.0
- apollo-server-testing@2.3.0-alpha.0
- apollo-server@2.3.0-alpha.0
- apollo-tracing@0.4.0-alpha.0
- graphql-extensions@0.4.0-alpha.0
2018-12-04 21:12:30 +02:00
Jesse Rosenberger
ccf0aa5476
Publish
...
- apollo-cache-control@0.3.4-alpha.0
- apollo-engine-reporting-protobuf@0.1.1-alpha.0
- apollo-engine-reporting@0.1.4-alpha.0
- apollo-server-azure-functions@2.2.7-alpha.0
- apollo-server-cloud-functions@2.2.7-alpha.0
- apollo-server-cloudflare@2.2.7-alpha.0
- apollo-server-core@2.2.7-alpha.0
- apollo-server-express@2.2.7-alpha.0
- apollo-server-hapi@2.2.7-alpha.0
- apollo-server-integration-testsuite@2.2.7-alpha.0
- apollo-server-koa@2.2.7-alpha.0
- apollo-server-lambda@2.2.7-alpha.0
- apollo-server-micro@2.2.7-alpha.0
- apollo-server-plugin-base@0.1.7-alpha.0
- apollo-server-testing@2.2.7-alpha.0
- apollo-server@2.2.7-alpha.0
- apollo-tracing@0.3.4-alpha.0
- graphql-extensions@0.3.7-alpha.0
2018-12-04 13:44:00 +02:00
Evans Hauser
38bf09b316
(engine-reporting) Include encodedTraces
only once. ( #2040 )
...
* AER: Remove encodedTraces to prevent duplicates
When there are multiple instances of apollo-engine-reporting, the
`Trace.encode` method gets wrapped each time to add the
`encodedTraces`. In order to prevent them from being added to the
protobuf multiple times, we remove the encodedTraces after adding them
once
* Add changelog
* Move incremental Trace encoding to a-e-r-protobuf
To enable incrmental compilation of traces, we add a patch to the
Trace.encode method generated by protobujs to accept and store encoded
traces. Occassionally with multiple instances of apollo-engine-reporting
that share the same version of the protobuf, the wrapper method gets
applied more than once. In order to ensure that the wrapper only gets
applied once, we patch the Trace.encode method inside of
apollo-engine-protobuf.
tsc hangs on the processing the generated protobuf.js files, so the
tsconfig.json ignores the generated protobuf file. In order for the
typescript index.ts file to compile the generated protobuf.js file is
output to the src folder. To ensure the protobuf files are available to
the production build, `npm run compile` copies the protobuf file
manually from src to dist.
* Reexport protobuf import after modification
`export * from './protobuf'` exports the unmodified reference
* Update comment on Trace.encode to point at a-e-r-p
The override now occurs inside of apollo-engine-reporting-protobuf due
to the case of having multiple reporting challenges, so we need to
update the comments to help indicate that
* Remove typescript build step
In order to simplify the generation of this library, we move the change
the index.ts file into index.js and remove the typescript build step.
Since the type safety is created by the protobufjs generation, this
seems acceptable. In general this portion of the code should remain
relatively stable, so generating and copying the code with `prepare`
remains reasonable.
2018-12-04 12:06:08 +02:00
Jesse Rosenberger
1f3801c949
Publish
...
- apollo-cache-control@0.3.3
- apollo-datasource-rest@0.2.1
- apollo-datasource@0.2.1
- apollo-engine-reporting@0.1.3
- apollo-server-azure-functions@2.2.3
- apollo-server-cache-memcached@0.2.1
- apollo-server-cache-redis@0.2.1
- apollo-server-caching@0.2.1
- apollo-server-cloud-functions@2.2.3
- apollo-server-cloudflare@2.2.3
- apollo-server-core@2.2.3
- apollo-server-express@2.2.3
- apollo-server-hapi@2.2.3
- apollo-server-integration-testsuite@2.2.3
- apollo-server-koa@2.2.3
- apollo-server-lambda@2.2.3
- apollo-server-micro@2.2.3
- apollo-server-plugin-base@0.1.3
- apollo-server-testing@2.2.3
- apollo-server@2.2.3
- apollo-tracing@0.3.3
- graphql-extensions@0.3.3
2018-11-26 20:43:29 +02:00
Adam Zionts
81d9f4719e
aer/Default to headers for client identity in
...
lolwut
Revert "lolwut"
This reverts commit 03a2e101f6c25b46f0bdaf0e7578ab03a5ed7dad.
2018-11-13 17:36:38 -08:00
Jesse Rosenberger
47676e0cd9
Publish
...
- apollo-cache-control@0.3.2
- apollo-engine-reporting@0.1.2
- apollo-server-azure-functions@2.2.2
- apollo-server-cloud-functions@2.2.2
- apollo-server-cloudflare@2.2.2
- apollo-server-core@2.2.2
- apollo-server-express@2.2.2
- apollo-server-hapi@2.2.2
- apollo-server-integration-testsuite@2.2.2
- apollo-server-koa@2.2.2
- apollo-server-lambda@2.2.2
- apollo-server-micro@2.2.2
- apollo-server-plugin-base@0.1.2
- apollo-server-testing@2.2.2
- apollo-server@2.2.2
- apollo-tracing@0.3.2
- graphql-extensions@0.3.2
2018-11-13 15:58:57 +02:00
Martijn Walraven
20eb2e9e03
Publish
...
- apollo-cache-control@0.3.1
- apollo-engine-reporting@0.1.1
- apollo-server-azure-functions@2.2.1
- apollo-server-cloud-functions@2.2.1
- apollo-server-cloudflare@2.2.1
- apollo-server-core@2.2.1
- apollo-server-express@2.2.1
- apollo-server-hapi@2.2.1
- apollo-server-integration-testsuite@2.2.1
- apollo-server-koa@2.2.1
- apollo-server-lambda@2.2.1
- apollo-server-micro@2.2.1
- apollo-server-plugin-base@0.1.1
- apollo-server-testing@2.2.1
- apollo-server@2.2.1
- apollo-tracing@0.3.1
- graphql-extensions@0.3.1
2018-11-12 14:26:26 +01:00
Martijn Walraven
6bd73b175f
Publish
...
- apollo-cache-control@0.3.0
- apollo-datasource-rest@0.2.0
- apollo-datasource@0.2.0
- apollo-engine-reporting-protobuf@0.1.0
- apollo-engine-reporting@0.1.0
- apollo-server-azure-functions@2.2.0
- apollo-server-cache-memcached@0.2.0
- apollo-server-cache-redis@0.2.0
- apollo-server-caching@0.2.0
- apollo-server-cloud-functions@2.2.0
- apollo-server-cloudflare@2.2.0
- apollo-server-core@2.2.0
- apollo-server-env@2.2.0
- apollo-server-errors@2.2.0
- apollo-server-express@2.2.0
- apollo-server-hapi@2.2.0
- apollo-server-integration-testsuite@2.2.0
- apollo-server-koa@2.2.0
- apollo-server-lambda@2.2.0
- apollo-server-micro@2.2.0
- apollo-server-plugin-base@0.1.0
- apollo-server-testing@2.2.0
- apollo-server@2.2.0
- apollo-tracing@0.3.0
- graphql-extensions@0.3.0
2018-11-07 08:17:21 -08:00
Jesse Rosenberger
5ca4c07bd5
Publish
...
- apollo-cache-control@0.3.0-alpha.3
- apollo-engine-reporting-protobuf@0.1.0-alpha.3
- apollo-engine-reporting@0.1.0-alpha.3
- apollo-server-cloud-functions@2.2.0-alpha.3
- apollo-server-cloudflare@2.2.0-alpha.3
- apollo-server-core@2.2.0-alpha.3
- apollo-server-express@2.2.0-alpha.3
- apollo-server-hapi@2.2.0-alpha.3
- apollo-server-integration-testsuite@2.2.0-alpha.3
- apollo-server-koa@2.2.0-alpha.3
- apollo-server-lambda@2.2.0-alpha.3
- apollo-server-micro@2.2.0-alpha.3
- apollo-server-plugin-base@0.1.0-alpha.3
- apollo-server-testing@2.2.0-alpha.3
- apollo-server@2.2.0-alpha.3
- apollo-tracing@0.3.0-alpha.3
- graphql-extensions@0.3.0-alpha.3
2018-11-05 21:36:39 -08:00
James Baxley
3d69124340
change clientId => clientReportingId and schemaBranch => schemaTag ( #1921 )
...
@abernix this should be a lot more clear 👍
2018-11-05 21:18:25 -08:00
Jesse Rosenberger
a6872c2f6c
Publish
...
- apollo-cache-control@0.3.0-alpha.2
- apollo-datasource-rest@0.2.0-alpha.2
- apollo-datasource@0.2.0-alpha.2
- apollo-engine-reporting@0.1.0-alpha.2
- apollo-server-cache-memcached@0.2.0-alpha.2
- apollo-server-cache-redis@0.2.0-alpha.2
- apollo-server-caching@0.2.0-alpha.2
- apollo-server-cloud-functions@2.2.0-alpha.2
- apollo-server-cloudflare@2.2.0-alpha.2
- apollo-server-core@2.2.0-alpha.2
- apollo-server-express@2.2.0-alpha.2
- apollo-server-hapi@2.2.0-alpha.2
- apollo-server-integration-testsuite@2.2.0-alpha.2
- apollo-server-koa@2.2.0-alpha.2
- apollo-server-lambda@2.2.0-alpha.2
- apollo-server-micro@2.2.0-alpha.2
- apollo-server-plugin-base@0.1.0-alpha.2
- apollo-server-testing@2.2.0-alpha.2
- apollo-server@2.2.0-alpha.2
- apollo-tracing@0.3.0-alpha.2
- graphql-extensions@0.3.0-alpha.2
2018-11-05 11:45:46 -08:00
Jesse Rosenberger
5b83883233
Publish
...
- apollo-cache-control@0.3.0-alpha.1
- apollo-datasource-rest@0.2.0-alpha.1
- apollo-datasource@0.2.0-alpha.1
- apollo-engine-reporting-protobuf@0.1.0-alpha.1
- apollo-engine-reporting@0.1.0-alpha.1
- apollo-server-cache-memcached@0.2.0-alpha.1
- apollo-server-cache-redis@0.2.0-alpha.1
- apollo-server-caching@0.2.0-alpha.1
- apollo-server-cloud-functions@2.2.0-alpha.1
- apollo-server-cloudflare@2.2.0-alpha.1
- apollo-server-core@2.2.0-alpha.1
- apollo-server-env@2.1.0-alpha.1
- apollo-server-express@2.2.0-alpha.1
- apollo-server-hapi@2.2.0-alpha.1
- apollo-server-integration-testsuite@2.2.0-alpha.1
- apollo-server-koa@2.2.0-alpha.1
- apollo-server-lambda@2.2.0-alpha.1
- apollo-server-micro@2.2.0-alpha.1
- apollo-server-plugin-base@0.1.0-alpha.1
- apollo-server@2.2.0-alpha.1
- apollo-tracing@0.3.0-alpha.1
- graphql-extensions@0.3.0-alpha.1
2018-10-26 21:28:15 +03:00
James Baxley
3eb0c3e79a
update protobuf and remove default branch
2018-10-26 20:19:30 +03:00
James Baxley
a729831d03
Support new protobuf fields in reporting
...
This commit supports two new concepts for reporting:
1. Client identity
2. Schema awareness
Client identity allows the GraphQLRequestContext to be mapped into
`clientId`, `clientName`, and `clientVersion` which can be used to
filter and view requests and metrics by client information.
Schema awareness introduces schema branches which allow arbitrary
strings to generate new "branches" (or variants) of a schema.
2018-10-26 20:19:30 +03:00
Andre Eberhardt
b640be4fe6
feature(apollo-engine-reporting): Add custom http agent support ( #1879 )
...
This PR fixes #1836 .
This PR enables developers to inject the http agent to be used on the network requests to apollo engine endpoint.
<!--
Thanks for filing a pull request on GraphQL Server!
Please look at the following checklist to ensure that your PR
can be accepted quickly:
-->
TODO:
* [x] Update CHANGELOG.md with your change (include reference to issue & this PR)
* [x] Make sure all of the significant new logic is covered by tests
* [x] Rebase your changes on master so that they can be merged easily
* [x] Make sure all tests and linter rules pass
<!--**Pull Request Labels**
While not necessary, you can help organize our pull requests by labeling this issue when you open it. To add a label automatically, simply [x] mark the appropriate box below:
- [ ] feature
- [ ] blocking
- [ ] docs
To add a label not listed above, simply place `/label another-label-name` on a line by itself.
-->
2018-10-26 20:14:18 +03:00
Jesse Rosenberger
9a69ad3f3a
Merge branch 'master' into testing-improvements
2018-10-12 14:58:04 +03:00
Martijn Walraven
4fac07b8f1
Consistently leave out explicit tsconfig.json
when referring to TypeScript project
2018-10-12 13:34:07 +02:00
Martijn Walraven
ad3562a335
Replace {}
with Object.create(null)
in jest.config.js
2018-10-12 13:00:13 +02:00
Martijn Walraven
68b2c691f8
Move test tsconfig.json
files under __tests__
to support editors
...
The TypeScript language server looks for `tsconfig.json` and doesn't take project references into account when resolving the config for a file.
See https://github.com/Microsoft/TypeScript/issues/27372 .
2018-10-11 23:10:45 +02:00
Martijn Walraven
0491af858d
Avoid use of object spread in Jest config files to support Node 6
2018-10-11 23:10:09 +02:00
Martijn Walraven
f5d5981ffc
Add TypeScript and Jest projects for tests in individual packages
2018-10-11 04:33:23 +02:00
Jesse Rosenberger
dec2b94a0e
Publish
...
- apollo-cache-control@0.3.0-alpha.0
- apollo-datasource-rest@0.2.0-alpha.0
- apollo-datasource@0.2.0-alpha.0
- apollo-engine-reporting-protobuf@0.1.0-alpha.0
- apollo-engine-reporting@0.1.0-alpha.0
- apollo-server-cache-memcached@0.2.0-alpha.0
- apollo-server-cache-redis@0.2.0-alpha.0
- apollo-server-caching@0.2.0-alpha.0
- apollo-server-cloud-functions@2.2.0-alpha.0
- apollo-server-cloudflare@2.2.0-alpha.0
- apollo-server-core@2.2.0-alpha.0
- apollo-server-env@2.1.0-alpha.0
- apollo-server-errors@2.1.0-alpha.0
- apollo-server-express@2.2.0-alpha.0
- apollo-server-hapi@2.2.0-alpha.0
- apollo-server-integration-testsuite@2.2.0-alpha.0
- apollo-server-koa@2.2.0-alpha.0
- apollo-server-lambda@2.2.0-alpha.0
- apollo-server-micro@2.2.0-alpha.0
- apollo-server-plugin-base@0.1.0-alpha.0
- apollo-server@2.2.0-alpha.0
- apollo-tracing@0.3.0-alpha.0
- graphql-extensions@0.3.0-alpha.0
2018-10-10 22:30:54 +03:00
Martijn Walraven
11a13cd3dd
Remove apollo-server-env as a project reference
...
We can't use `apollo-server-env` as a project reference because that requires `composite: true`, and that implies `declaration: true`, which doesn't work for `apollo-server-env` because we need to write our own declaration files for re-exported imports.
This commit also removes `apollo-engine-reporting-protobuf` as a reference, which errored out because it doesn't actually contain any TypeScript code.
2018-10-05 23:05:49 +02:00
Martijn Walraven
8932091e67
Add root level tsconfig.json as entry point
2018-10-05 21:48:49 +02:00
Martijn Walraven
1aee215e68
Switch to tsc --build and remove run scripts from packages
2018-10-05 17:48:34 +02:00
Martijn Walraven
fcaa6ad79d
Enable TypeScript project references
2018-10-05 17:47:29 +02:00
Hugh Willson
dd86fa8a29
Re-enable Typescript esModuleInterop
( #1699 )
...
`esModuleInterop` was enabled in
e4164c8892
to help with importing from packages that use default exports.
Those changes were reverted in
https://github.com/apollographql/apollo-server/pull/1210
to work around a few reported issues. Those issues are no longer
relevant, so this commit re-enables `esModuleInterop`, and
updates all default imports to use the more common (standard)
import syntax.
2018-09-21 16:43:33 +03:00
Jesse Rosenberger
6d6c9ff268
Make it more clear that generateClientInfo
is an experimental API.
...
The `generateClientInfo` API, used to set client identification attributes
within traces, is an experimental API and is subject to removal or change in
a future (major) Apollo Server release.
Ref: #1631
2018-09-20 12:11:56 +03:00
Evans Hauser
86dd95e223
Publish
...
- apollo-cache-control@0.2.5
- apollo-engine-reporting@0.0.6
- apollo-server-cloud-functions@2.1.0
- apollo-server-cloudflare@2.1.0
- apollo-server-core@2.1.0
- apollo-server-express@2.1.0
- apollo-server-hapi@2.1.0
- apollo-server-integration-testsuite@2.1.0
- apollo-server-koa@2.1.0
- apollo-server-lambda@2.1.0
- apollo-server-micro@2.1.0
- apollo-server@2.1.0
- apollo-tracing@0.2.5
- graphql-extensions@0.2.1
2018-09-18 15:26:48 -07:00
Jake Dawkins
f3df370b0a
Fix header misreporting to engine ( #1689 )
...
* fix header reporting being cut short
* added changelog entry & fix npm version
2018-09-18 13:29:54 -07:00
Evans Hauser
96af44e41a
Provide ability to specify client info in traces ( #1631 )
...
* Provide ability to specify client info in traces
Adds the createClientInfo to apollo-engine-reporting, which enables the
differentiation of clients based on the request, operation, and
variables. This could be extended to include the response. However for
the first release. It doesn't quite make sense.
* Use extensions and context in createClientInfo
* Remove support for clientAddress
The frontend will not support it in the near future
* create -> generate and make default generator
createClientInfo -> generateClientInfo
* Clarify default values
2018-09-17 22:45:34 -07:00