Skip to content

Commit

Permalink
Merge branch 'main' into release-3.5.
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamn committed Sep 17, 2021
2 parents 4bb0349 + 6aabfc7 commit d9e59a5
Show file tree
Hide file tree
Showing 24 changed files with 189 additions and 108 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2
jobs:
Filesize:
docker:
- image: circleci/node:16
- image: cimg/node:16.8
steps:
- checkout
- restore_cache:
Expand All @@ -26,7 +26,7 @@ jobs:

Tests:
docker:
- image: circleci/node:16
- image: cimg/node:16.8
steps:
- checkout
- restore_cache:
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,16 @@
- Update `zen-observable-ts` to eliminate transitive dependency on `@types/zen-observable`. <br/>
[@benjamn](https://github.com/benjamn) in [#8695](https://github.com/apollographql/apollo-client/pull/8695)

## Apollo Client 3.4.12 (not yet released)

### Bug Fixes

- Improve handling of falsy `existing` and/or `incoming` parameters in `relayStylePagination` field policy helper function. <br/>
[@bubba](https://github.com/bubba) and [@benjamn](https://github.com/benjamn) in [#8733](https://github.com/apollographql/apollo-client/pull/8733)

- Associate Apollo context with `React.createContext` (instead of using a local `WeakMap`) again, so multiple copies of `@apollo/client` (uncommon) can share the same context. <br/>
[@benjamn](https://github.com/benjamn) in [#8798](https://github.com/apollographql/apollo-client/pull/8798)

## Apollo Client 3.4.11

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion config/resolveModuleIds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ eachFile(distDir, (file, relPath) => new Promise((resolve, reject) => {
if (
/\b__DEV__\b/.test(source) &&
// Ignore modules that reside within @apollo/client/utilities/globals.
!relPath.startsWith("utilities/globals/")
relPath.split(path.sep, 2).join("/") !== "utilities/globals"
) {
let importsUtilitiesGlobals = false;

Expand Down
48 changes: 24 additions & 24 deletions docs/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 docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"dependencies": {
"gatsby": "2.32.13",
"gatsby-theme-apollo-docs": "5.0.0",
"gatsby-theme-apollo-docs": "5.0.1",
"react": "17.0.2",
"react-dom": "17.0.1",
"webpack-virtual-modules": "0.4.3"
Expand Down
2 changes: 1 addition & 1 deletion docs/source/api/link/apollo-link-error.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { onError } from "@apollo/client/link/error";
// Log any GraphQL errors or network error that occurred
const errorLink = onError(({ graphQLErrors, networkError }) => {
if (graphQLErrors)
graphQLErrors.map(({ message, locations, path }) =>
graphQLErrors.forEach(({ message, locations, path }) =>
console.log(
`[GraphQL error]: Message: ${message}, Location: ${locations}, Path: ${path}`
)
Expand Down
20 changes: 10 additions & 10 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 @@ -47,6 +47,6 @@
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-replace": "2.2.0",
"rollup-plugin-terser": "7.0.2",
"serve": "12.0.0"
"serve": "12.0.1"
}
}

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

Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-replace": "2.2.0",
"rollup-plugin-terser": "7.0.2",
"serve": "12.0.0",
"serve": "12.0.1",
"source-map-explorer": "2.5.2"
}
}
2 changes: 1 addition & 1 deletion examples/bundling/no-tree-shaking/rollup-ac3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-replace": "2.2.0",
"rollup-plugin-terser": "7.0.2",
"serve": "12.0.0"
"serve": "12.0.1"
}
}
20 changes: 10 additions & 10 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 @@ -48,7 +48,7 @@
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-replace": "2.2.0",
"rollup-plugin-terser": "7.0.2",
"serve": "12.0.0",
"serve": "12.0.1",
"source-map-explorer": "2.5.2"
}
}

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

Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-replace": "2.2.0",
"rollup-plugin-terser": "7.0.2",
"serve": "12.0.0",
"serve": "12.0.1",
"source-map-explorer": "2.5.2"
}
}
Loading

0 comments on commit d9e59a5

Please sign in to comment.