Skip to content

Commit

Permalink
Merge pull request #5515 from apollographql/glasser/fewer-polyfills
Browse files Browse the repository at this point in the history
apollo-server-env: do less
  • Loading branch information
glasser committed Jul 20, 2021
2 parents 0e79e13 + 85a115a commit 33c6e13
Show file tree
Hide file tree
Showing 13 changed files with 75 additions and 113 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ The version headers in this history reflect the versions of Apollo Server itself

- `apollo-server-types`: TypeScript typings for `info.cacheControl` are now added to `GraphQLResolveInfo` as part of `apollo-server-types` rather than a nested file in `apollo-server-core`, and the field now has a named type, `ResolveInfoCacheControl`. [PR #5512](https://github.com/apollographql/apollo-server/pull/5512)
- `apollo-server-micro`: Like the other framework integrations, only serve landing pages from the GraphQL path (`/graphql` by default, configurable via the `path` option to `createHandler`). [PR #5516](https://github.com/apollographql/apollo-server/pull/5516)
- `apollo-server-env`: Remove polyfills of `Object.values`, `Object.entries`, and `util.promisify` which were only required for Node 6 support. Remove `ValueOrPromise` and `WithRequired` TypeScript types that are also provided by `apollo-server-types`. [PR #5515](https://github.com/apollographql/apollo-server/pull/5515)

## v3.0.1

Expand Down
1 change: 0 additions & 1 deletion jest.config.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ const { defaults } = require('jest-config');

module.exports = {
testEnvironment: 'node',
setupFiles: ['<rootDir>/../apollo-server-env/dist/index.js'],
setupFilesAfterEnv: ['<rootDir>/../../jest.setup.js'],
preset: 'ts-jest',
testMatch: null,
Expand Down

0 comments on commit 33c6e13

Please sign in to comment.