Skip to content

Commit bd89a4d

Browse files
Merge branch 'master' into fix/fragment-struct-namespace
2 parents e510713 + 6a5f6c2 commit bd89a4d

File tree

36 files changed

+2509
-1448
lines changed

36 files changed

+2509
-1448
lines changed

.circleci/config.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ version: 2.1
55
orbs:
66
# `oss` is a local reference to the package. The source for Apollo Orbs can
77
# be found at http://github.com/apollographql/CircleCI-Orbs.
8-
oss: apollo/[email protected].19
8+
oss: apollo/[email protected].20
99
# win is a windows orb provided by circleci
10-
win: circleci/[email protected].0
10+
win: circleci/[email protected].1
1111

1212
commands:
1313
# These are the steps used for each version of Node which we're testing
@@ -30,7 +30,7 @@ jobs:
3030
# Platform tests, each with the same tests but different platform or version.
3131
NodeJS 12:
3232
docker:
33-
- image: cimg/node:12.22.3
33+
- image: cimg/node:12.22.7
3434
steps:
3535
- common_test_steps
3636

@@ -41,7 +41,7 @@ jobs:
4141
# Note: This is a no-op at the second, but bear with me on this. If this
4242
# comment is not removed by 2021-06-30 remove it along with the next line.
4343
# renovate: datasource=github-tags depName=nodejs/node versioning=node
44-
NODE_VERSION: 14.16.1
44+
NODE_VERSION: 14.17.5
4545
NPM_VERSION: 7.10.0
4646
steps:
4747
- run: git config --global core.autocrlf false
@@ -81,7 +81,7 @@ jobs:
8181

8282
NodeJS 14:
8383
docker:
84-
- image: cimg/node:14.17.3
84+
- image: cimg/node:14.18.1
8585
steps:
8686
- common_test_steps
8787
# We will save the results of this one particular invocation to use in
@@ -96,13 +96,13 @@ jobs:
9696

9797
NodeJS 16:
9898
docker:
99-
- image: cimg/node:16.0.0
99+
- image: cimg/node:16.13.0
100100
steps:
101101
- common_test_steps
102102

103103
Publish GitHub Release:
104104
docker:
105-
- image: cimg/go:1.16.6
105+
- image: cimg/go:1.17.3
106106
steps:
107107
- attach_workspace:
108108
# Must be absolute path or relative path from working_directory
@@ -121,7 +121,7 @@ jobs:
121121
# Other tests, unrelated to typical code tests.
122122
Linting:
123123
docker:
124-
- image: cimg/node:12.22.3
124+
- image: cimg/node:12.22.7
125125
steps:
126126
- oss/install_specific_npm_version:
127127
version: '7'
@@ -132,7 +132,7 @@ jobs:
132132

133133
Query Check:
134134
docker:
135-
- image: cimg/node:12.22.3
135+
- image: cimg/node:12.22.7
136136
steps:
137137
- oss/install_specific_npm_version:
138138
version: '7'
@@ -149,7 +149,7 @@ jobs:
149149
150150
Generated Types Check:
151151
docker:
152-
- image: cimg/node:12.22.3
152+
- image: cimg/node:12.22.7
153153
steps:
154154
- oss/install_specific_npm_version:
155155
version: '7'

CHANGELOG.md

Lines changed: 57 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,73 @@
1-
# Changelog
1+
# CHANGELOG
22

33
> **Note:** Apollo's GraphQL VSCode extension is no longer housed in this repository. It is now maintained separately in [this repo](https://github.com/apollographql/vscode-graphql).
44
5-
## Upcoming
6-
7-
- `apollo`
8-
- <First `apollo` related entry goes here>
9-
- `apollo-codegen-flow`
10-
- <First `apollo-codegen-flow` related entry goes here>
11-
- `apollo-codegen-scala`
12-
- <First `apollo-codegen-scala` related entry goes here>
5+
## vNEXT
136
- `apollo-codegen-swift`
147
- Add namespace when a fragment struct is referenced (Fixes #2396) [PR #2397](https://github.com/apollographql/apollo-tooling/pull/2397)
15-
- `apollo-codegen-typescript`
16-
- <First `apollo-codegen-typescript` related entry goes here>
17-
- `apollo-codegen-core`
18-
- <First `apollo-codegen-core` related entry goes here>
19-
- `apollo-env`
20-
- <First `apollo-env` related entry goes here>
21-
- `apollo-graphql`
22-
- <First `apollo-graphql` related entry goes here>
23-
- `apollo-language-server`
24-
- <First `apollo-language-server` related entry goes here>
25-
- `apollo-tools`
26-
- <First `apollo-tools` related entry goes here>
278

28-
29-
- Remove dependency on `apollo-env`, so using this package no longer installs polyfills.
9+
3010

31-
32-
- Complex directive arguments don't break `transformSchema` (Fixes #2162) [PR #2335](https://github.com/apollographql/apollo-tooling/pull/2335)
11+
12+
- Adjust `apollo-codegen-core` to use the same `withTypenameFieldAddedWhereNeeded` utility as `apollo-language-server`, to make sure modified operations align between codegen and anything leveraging the language server utility functions (like the `client:push` command). <br/>
13+
[@hwillson](https://github.com/hwillson) in [#2473](https://github.com/apollographql/apollo-tooling/pull/2473)
3314

34-
15+
3516

36-
- Add a deprecation message to all `apollo service:*` commands, pointing people towards the [Apollo Rover CLI migration guide](https://go.apollo.dev/t/migration). <br/>
37-
[@hwillson](https://github.com/hwillson) in [#2308](https://github.com/apollographql/apollo-tooling/pull/2308)
17+
18+
- Export useful operation sanitization transforms [PR #2057](https://github.com/apollographql/apollo-tooling/pull/2057)
19+
- Preserve directive usages on SchemaDefinition nodes in `buildSchemaFromSDL` [PR #2457](https://github.com/apollographql/apollo-tooling/pull/2457)
20+
21+
22+
23+
24+
- Add support for interface on interfaces to transformSchema. [PR #2456](https://github.com/apollographql/apollo-tooling/pull/2456)
25+
26+
3827

39-
28+
29+
- Removed the use of the `tty` npm package which has been removed from npm. [PR #2406](https://github.com/apollographql/apollo-tooling/pull/2406) [Issue #2407](https://github.com/apollographql/apollo-tooling/issues/2407)
4030

41-
- deps: Updated `node-fetch` to v2.6.1
31+
4232

43-
33+
34+
- Adds support for àpollo.config.cjs`files allowing `package.json` files with `type: "module"` [Issue #2342](https://github.com/apollographql/apollo-tooling/issues/2342) [PR #2381](https://github.com/apollographql/apollo-tooling/pull/2381)
4435

45-
- Add missing `sha.js` dependency [PR #2283](https://github.com/apollographql/apollo-tooling/pull/2283)
36+
37+
- Remove dependency on `apollo-env`, so using this package no longer installs polyfills.
4638

47-
39+
40+
- Complex directive arguments don't break `transformSchema` (Fixes #2162) [PR #2335](https://github.com/apollographql/apollo-tooling/pull/2335)
4841

49-
- The following utility functions are no longer exported from `apollo-env` and can now be found in the `apollo-graphql` library:
42+
43+
44+
45+
- Add a deprecation message to all `apollo service:*` commands, pointing people towards the [Apollo Rover CLI migration guide](https://go.apollo.dev/t/migration). <br/>
46+
[@hwillson](https://github.com/hwillson) in [#2308](https://github.com/apollographql/apollo-tooling/pull/2308)
47+
48+
49+
- deps: Updated `node-fetch` to v2.6.1
50+
51+
52+
- Add missing `sha.js` dependency [PR #2283](https://github.com/apollographql/apollo-tooling/pull/2283)
53+
54+
55+
- The following utility functions are no longer exported from `apollo-env` and can now be found in the `apollo-graphql` library:
5056
- `createHash`
5157
- `isNodeLike`
5258
- `mapValues`
5359
- `isNotNullOrDefined`
5460

55-
56-
57-
- This package no longer depends on `apollo-env` to avoid the side-effects of its polyfills.
61+
62+
- This package no longer depends on `apollo-env` to avoid the side-effects of its polyfills.
5863

5964
6065

6166
67+
6268
- Bump version of `env-ci` [#1754](https://github.com/apollographql/apollo-tooling/pull/1754) [Issue #2219](https://github.com/apollographql/apollo-tooling/issues/2219)
6369

64-
Due to human error during the release process, the following packages also had their versions bumped, despite having no known significant changes. (Apologies, from that human.)
70+
Due to human error during the release process, the following packages also had their versions bumped, despite having no known significant changes. (Apologies, from that human.)
6571

6672
6773
@@ -76,14 +82,18 @@
7682

7783
7884

79-
- This version should not be used as it was published without depended-on packages. Please use `[email protected]` instead.
85+
- This version should not be used as it was published without depended-on packages. Please use `[email protected]` instead.
86+
8087
8188

8289
- This version was not actually published.
90+
8391
8492

8593
- This version was not actually published.
94+
8695
96+
8797
- `apollo-codegen-swift`
8898
- Fix issue where a query referencing many fragments caused type checking for `queryDocument` to time out [#2198](https://github.com/apollographql/apollo-tooling/pull/2198)
8999

@@ -95,19 +105,19 @@
95105
96106

97107
- `apollo-codegen-swift`
98-
- Fix bug in generated compound type names that lead to structName being inconsistent throughout codegen [#2170](https://github.com/apollographql/apollo-tooling/pull/2170)
108+
- Fix bug in generated compound type names that lead to structName being inconsistent throughout codegen [#2170](https://github.com/apollographql/apollo-tooling/pull/2170)
99109

100110
101111

102-
- Update CLI default API domain from `engine-graphql.apollographql.com` to `graphql.api.apollographql.com`.
103-
Users that have set up support for corporate proxies or firewalls may need to update configurations.
104-
- Accept GitLab remote URLs when fetching git info for service:check and service:push [#2104](https://github.com/apollographql/apollo-tooling/pull/2104)
105-
- `--commitId` in `service:check` and `service:push` overrides the current commit ID otherwise read through [env-ci](https://www.npmjs.com/package/env-ci).
106-
- `service:push` now takes `--author` and `--branch` matching `service:check`.
112+
- Update CLI default API domain from `engine-graphql.apollographql.com` to `graphql.api.apollographql.com`.
113+
Users that have set up support for corporate proxies or firewalls may need to update configurations.
114+
- Accept GitLab remote URLs when fetching git info for service:check and service:push [#2104](https://github.com/apollographql/apollo-tooling/pull/2104)
115+
- `--commitId` in `service:check` and `service:push` overrides the current commit ID otherwise read through [env-ci](https://www.npmjs.com/package/env-ci).
116+
- `service:push` now takes `--author` and `--branch` matching `service:check`.
107117

108118
109119

110-
- Rename `defaultEngineReportingSignature` to `defaultUsageReportingSignature`; the old name continues to be exported as well.
120+
- Rename `defaultEngineReportingSignature` to `defaultUsageReportingSignature`; the old name continues to be exported as well.
111121

112122
113123

@@ -117,7 +127,7 @@
117127
118128

119129
120-
- Generate JSON file including fragments when --operationIds option is provided [#2017](https://github.com/apollographql/apollo-tooling/pull/2017)
130+
- Generate JSON file including fragments when --operationIds option is provided [#2017](https://github.com/apollographql/apollo-tooling/pull/2017)
121131

122132
123133

0 commit comments

Comments
 (0)