Skip to content

Commit 2a405fb

Browse files
committed
attempting a prerelease without tagging as next
1 parent 22defef commit 2a405fb

File tree

16 files changed

+99
-27
lines changed

16 files changed

+99
-27
lines changed

.changeset/pre.json

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"mode": "pre",
3+
"tag": "testing",
4+
"initialVersions": {
5+
"@apollo/composition": "2.7.2",
6+
"apollo-federation-integration-testsuite": "2.7.2",
7+
"@apollo/gateway": "2.7.2",
8+
"@apollo/federation-internals": "2.7.2",
9+
"@apollo/query-graphs": "2.7.2",
10+
"@apollo/query-planner": "2.7.2",
11+
"@apollo/subgraph": "2.7.2"
12+
},
13+
"changesets": [
14+
"invalid-reused-fragment",
15+
"six-shoes-fly"
16+
]
17+
}

.github/workflows/release.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
- name: Install Dependencies
2727
run: npm i
28-
28+
2929
- name: Set env
3030
run: echo "FEDERATION_VERSION=$(npm --prefix ./internals-js version --json |jq -r '.["@apollo/federation-internals"]')" >> $GITHUB_ENV
3131

@@ -41,7 +41,7 @@ jobs:
4141
env:
4242
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4343
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
44-
44+
4545
- name: Sleep for 20 seconds (arbitrary, give NPM time to populate new `latest` versions)
4646
if: steps.changesets.outputs.published == 'true'
4747
run: sleep 20
@@ -58,15 +58,15 @@ jobs:
5858
repo: 'federation-rs',
5959
workflow_id: '.github/workflows/release.yml',
6060
ref: 'main',
61-
inputs: {
61+
inputs: {
6262
version: "${{ env.FEDERATION_VERSION }}"
6363
}
6464
})
65-
- name: Write token to the NPM rc file (login)
66-
if: steps.changesets.outputs.published == 'true'
67-
# write token to the NPM rc file (npm login)
68-
run: echo //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }} > ~/.npmrc
69-
70-
- name: Update next tags if appropriate
71-
if: steps.changesets.outputs.published == 'true'
72-
run: node scripts/update-next-tags.mjs
65+
# - name: Write token to the NPM rc file (login)
66+
# if: steps.changesets.outputs.published == 'true'
67+
# # write token to the NPM rc file (npm login)
68+
# run: echo //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }} > ~/.npmrc
69+
70+
# - name: Update next tags if appropriate
71+
# if: steps.changesets.outputs.published == 'true'
72+
# run: node scripts/update-next-tags.mjs

composition-js/CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# CHANGELOG for `@apollo/composition`
22

3+
## 2.7.3-testing.0
4+
5+
### Patch Changes
6+
7+
- Fix a query planning bug where invalid subgraph queries are generated with `reuseQueryFragments` set true. ([#2952](https://github.com/apollographql/federation/issues/2952)) ([#2963](https://github.com/apollographql/federation/pull/2963))
8+
9+
- Updated dependencies [[`ec04c50b4fb832bfd281ecf9c0c2dd7656431b96`](https://github.com/apollographql/federation/commit/ec04c50b4fb832bfd281ecf9c0c2dd7656431b96), [`a494631918156f0431ceace74281c076cf1d5d51`](https://github.com/apollographql/federation/commit/a494631918156f0431ceace74281c076cf1d5d51)]:
10+
- @apollo/federation-internals@2.7.3-testing.0
11+
- @apollo/query-graphs@2.7.3-testing.0
12+
313
## 2.7.2
414

515
### Patch Changes

composition-js/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@apollo/composition",
3-
"version": "2.7.2",
3+
"version": "2.7.3-testing.0",
44
"description": "Apollo Federation composition utilities",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
@@ -27,8 +27,8 @@
2727
"access": "public"
2828
},
2929
"dependencies": {
30-
"@apollo/federation-internals": "2.7.2",
31-
"@apollo/query-graphs": "2.7.2"
30+
"@apollo/federation-internals": "2.7.3-testing.0",
31+
"@apollo/query-graphs": "2.7.3-testing.0"
3232
},
3333
"peerDependencies": {
3434
"graphql": "^16.5.0"

federation-integration-testsuite-js/CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# CHANGELOG for `federation-integration-testsuite-js`
22

3+
## 2.7.3-testing.0
4+
35
## 2.7.2
46

57
### Patch Changes

federation-integration-testsuite-js/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "apollo-federation-integration-testsuite",
33
"private": true,
4-
"version": "2.7.2",
4+
"version": "2.7.3-testing.0",
55
"description": "Apollo Federation Integrations / Test Fixtures",
66
"main": "dist/index.js",
77
"types": "dist/index.d.ts",

gateway-js/CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# CHANGELOG for `@apollo/gateway`
22

3+
## 2.7.3-testing.0
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`ec04c50b4fb832bfd281ecf9c0c2dd7656431b96`](https://github.com/apollographql/federation/commit/ec04c50b4fb832bfd281ecf9c0c2dd7656431b96), [`a494631918156f0431ceace74281c076cf1d5d51`](https://github.com/apollographql/federation/commit/a494631918156f0431ceace74281c076cf1d5d51)]:
8+
- @apollo/query-planner@2.7.3-testing.0
9+
- @apollo/composition@2.7.3-testing.0
10+
- @apollo/federation-internals@2.7.3-testing.0
11+
312
## 2.7.2
413

514
### Patch Changes

gateway-js/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@apollo/gateway",
3-
"version": "2.7.2",
3+
"version": "2.7.3-testing.0",
44
"description": "Apollo Gateway",
55
"author": "Apollo <[email protected]>",
66
"main": "dist/index.js",
@@ -25,9 +25,9 @@
2525
"access": "public"
2626
},
2727
"dependencies": {
28-
"@apollo/composition": "2.7.2",
29-
"@apollo/federation-internals": "2.7.2",
30-
"@apollo/query-planner": "2.7.2",
28+
"@apollo/composition": "2.7.3-testing.0",
29+
"@apollo/federation-internals": "2.7.3-testing.0",
30+
"@apollo/query-planner": "2.7.3-testing.0",
3131
"@apollo/server-gateway-interface": "^1.1.0",
3232
"@apollo/usage-reporting-protobuf": "^4.1.0",
3333
"@apollo/utils.createhash": "^2.0.0",

internals-js/CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# CHANGELOG for `@apollo/federation-internals`
22

3+
## 2.7.3-testing.0
4+
5+
### Patch Changes
6+
7+
- Fix a query planning bug where invalid subgraph queries are generated with `reuseQueryFragments` set true. ([#2952](https://github.com/apollographql/federation/issues/2952)) ([#2963](https://github.com/apollographql/federation/pull/2963))
8+
9+
- Fixed query planner to pass the directives from original query to subgraph operations (#2961) ([#2967](https://github.com/apollographql/federation/pull/2967))
10+
311
## 2.7.2
412

513
### Patch Changes

internals-js/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@apollo/federation-internals",
3-
"version": "2.7.2",
3+
"version": "2.7.3-testing.0",
44
"description": "Apollo Federation internal utilities",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

query-graphs-js/CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# CHANGELOG for `@apollo/query-graphs`
22

3+
## 2.7.3-testing.0
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`ec04c50b4fb832bfd281ecf9c0c2dd7656431b96`](https://github.com/apollographql/federation/commit/ec04c50b4fb832bfd281ecf9c0c2dd7656431b96), [`a494631918156f0431ceace74281c076cf1d5d51`](https://github.com/apollographql/federation/commit/a494631918156f0431ceace74281c076cf1d5d51)]:
8+
- @apollo/federation-internals@2.7.3-testing.0
9+
310
## 2.7.2
411

512
### Patch Changes

query-graphs-js/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@apollo/query-graphs",
3-
"version": "2.7.2",
3+
"version": "2.7.3-testing.0",
44
"description": "Apollo Federation library to work with 'query graphs'",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
@@ -23,7 +23,7 @@
2323
"node": ">=14.15.0"
2424
},
2525
"dependencies": {
26-
"@apollo/federation-internals": "2.7.2",
26+
"@apollo/federation-internals": "2.7.3-testing.0",
2727
"deep-equal": "^2.0.5",
2828
"ts-graphviz": "^1.5.4",
2929
"uuid": "^9.0.0"

query-planner-js/CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# CHANGELOG for `@apollo/query-planner`
22

3+
## 2.7.3-testing.0
4+
5+
### Patch Changes
6+
7+
- Fix a query planning bug where invalid subgraph queries are generated with `reuseQueryFragments` set true. ([#2952](https://github.com/apollographql/federation/issues/2952)) ([#2963](https://github.com/apollographql/federation/pull/2963))
8+
9+
- Fixed query planner to pass the directives from original query to subgraph operations (#2961) ([#2967](https://github.com/apollographql/federation/pull/2967))
10+
11+
- Updated dependencies [[`ec04c50b4fb832bfd281ecf9c0c2dd7656431b96`](https://github.com/apollographql/federation/commit/ec04c50b4fb832bfd281ecf9c0c2dd7656431b96), [`a494631918156f0431ceace74281c076cf1d5d51`](https://github.com/apollographql/federation/commit/a494631918156f0431ceace74281c076cf1d5d51)]:
12+
- @apollo/federation-internals@2.7.3-testing.0
13+
- @apollo/query-graphs@2.7.3-testing.0
14+
315
## 2.7.2
416

517
### Patch Changes

query-planner-js/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@apollo/query-planner",
3-
"version": "2.7.2",
3+
"version": "2.7.3-testing.0",
44
"description": "Apollo Query Planner",
55
"author": "Apollo <[email protected]>",
66
"main": "dist/index.js",
@@ -25,8 +25,8 @@
2525
"access": "public"
2626
},
2727
"dependencies": {
28-
"@apollo/federation-internals": "2.7.2",
29-
"@apollo/query-graphs": "2.7.2",
28+
"@apollo/federation-internals": "2.7.3-testing.0",
29+
"@apollo/query-graphs": "2.7.3-testing.0",
3030
"@apollo/utils.keyvaluecache": "^2.1.0",
3131
"chalk": "^4.1.0",
3232
"deep-equal": "^2.0.5",

subgraph-js/CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# CHANGELOG for `@apollo/subgraph`
22

3+
## 2.7.3-testing.0
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`ec04c50b4fb832bfd281ecf9c0c2dd7656431b96`](https://github.com/apollographql/federation/commit/ec04c50b4fb832bfd281ecf9c0c2dd7656431b96), [`a494631918156f0431ceace74281c076cf1d5d51`](https://github.com/apollographql/federation/commit/a494631918156f0431ceace74281c076cf1d5d51)]:
8+
- @apollo/federation-internals@2.7.3-testing.0
9+
310
## 2.7.2
411

512
### Patch Changes

subgraph-js/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@apollo/subgraph",
3-
"version": "2.7.2",
3+
"version": "2.7.3-testing.0",
44
"description": "Apollo Subgraph Utilities",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
@@ -25,7 +25,7 @@
2525
},
2626
"dependencies": {
2727
"@apollo/cache-control-types": "^1.0.2",
28-
"@apollo/federation-internals": "2.7.2"
28+
"@apollo/federation-internals": "2.7.3-testing.0"
2929
},
3030
"peerDependencies": {
3131
"graphql": "^16.5.0"

0 commit comments

Comments
 (0)