Skip to content

Commit

Permalink
Update graphql-tag to v2.12.0 for TypeScript and ESM support (#7651)
Browse files Browse the repository at this point in the history
  • Loading branch information
abdonrd authored Feb 8, 2021
1 parent b2ed76d commit d81e039
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 12 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
- Prevent reactive variables from retaining otherwise unreachable `InMemoryCache` objects. <br/>
[@benjamn](https://github.com/benjamn) in [#7661](https://github.com/apollographql/apollo-client/pull/7661)

### Improvements

- The [`graphql-tag`](https://www.npmjs.com/package/graphql-tag) dependency has been updated to version 2.12.0, after converting its repository to use TypeScript and ECMAScript module syntax. There should be no visible changes in behavior, though the internal changes seemed significant enough to mention here. <br/>
[@abdonrd](https://github.com/abdonrd) in [graphql-tag#273](https://github.com/apollographql/graphql-tag/pull/273) and
[@PowerKiKi](https://github.com/PowerKiKi) in [graphql-tag#325](https://github.com/apollographql/graphql-tag/pull/325)

## Apollo Client 3.3.8

### Bug Fixes
Expand Down
16 changes: 13 additions & 3 deletions examples/bundling/no-tree-shaking/rollup-ac2/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/bundling/no-tree-shaking/rollup-ac2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"apollo-link": "^1.2.13",
"apollo-link-http": "^1.5.16",
"graphql": "^15.0.0",
"graphql-tag": "^2.10.1",
"graphql-tag": "^2.12.0",
"react": "^17.0.0",
"react-dom": "^17.0.0"
},
Expand Down
16 changes: 13 additions & 3 deletions examples/bundling/tree-shaking/rollup-ac2/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/bundling/tree-shaking/rollup-ac2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"apollo-link": "^1.2.13",
"apollo-link-http": "^1.5.16",
"graphql": "^15.0.0",
"graphql-tag": "^2.10.1",
"graphql-tag": "^2.12.0",
"react": "^17.0.0",
"react-dom": "^17.0.0"
},
Expand Down
16 changes: 13 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"@wry/context": "^0.5.2",
"@wry/equality": "^0.3.0",
"fast-json-stable-stringify": "^2.0.0",
"graphql-tag": "^2.11.0",
"graphql-tag": "^2.12.0",
"hoist-non-react-statics": "^3.3.2",
"optimism": "^0.14.0",
"prop-types": "^15.7.2",
Expand Down

0 comments on commit d81e039

Please sign in to comment.