Skip to content

Commit 8927e31

Browse files
authoredFeb 13, 2025··
federation 2.10.0 (#3215)
1 parent bc18709 commit 8927e31

32 files changed

+837
-1583
lines changed
 

‎.changeset/five-ways-accept.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
"apollo-federation-integration-testsuite": minor
3+
"@apollo/query-planner": minor
4+
"@apollo/query-graphs": minor
5+
"@apollo/composition": minor
6+
"@apollo/federation-internals": minor
7+
"@apollo/subgraph": minor
8+
"@apollo/gateway": minor
9+
---
10+
11+
Adds the ability to compose and serialize directives for [Apollo Connectors](https://go.apollo.dev/connectors). To use Apollo Connectors, compose your supergraphs using [GraphOS](https://www.apollographql.com/docs/graphos/platform/schema-management) or [rover](https://www.apollographql.com/docs/rover/commands/dev), and run your supergraph in [Apollo Router](https://www.apollographql.com/docs/graphos/routing) 2.0.0 or higher.

‎.changeset/pre.json

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"mode": "exit",
3+
"tag": "alpha",
4+
"initialVersions": {
5+
"@apollo/composition": "2.9.0",
6+
"apollo-federation-integration-testsuite": "2.9.0",
7+
"@apollo/gateway": "2.9.0",
8+
"@apollo/federation-internals": "2.9.0",
9+
"@apollo/query-graphs": "2.9.0",
10+
"@apollo/query-planner": "2.9.0",
11+
"@apollo/subgraph": "2.9.0"
12+
},
13+
"changesets": [
14+
"twenty-parents-wait",
15+
"warm-moles-jog",
16+
"young-pigs-crash"
17+
]
18+
}

‎.changeset/twenty-parents-wait.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@apollo/federation-internals": patch
3+
---
4+
5+
Incorporate changes from v2.9.3

‎.changeset/young-pigs-crash.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@apollo/subgraph": patch
3+
---
4+
5+
When resolving references, skip type resolution if the reference resolves to null.

‎.circleci/config.yml

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
type: string
1414
docker:
1515
- image: cimg/base:stable
16+
resource_class: large
1617
steps:
1718
- checkout
1819
- node/install:

‎.github/workflows/release.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ 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

32-
- name: Create Release Pull Request
32+
- name: Create Release Pull Request or Publish to npm
3333
id: changesets
3434
uses: changesets/action@v1
3535
with:
@@ -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
})
6565
- name: Write token to the NPM rc file (login)
6666
if: steps.changesets.outputs.published == 'true'
6767
# write token to the NPM rc file (npm login)
6868
run: echo //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }} > ~/.npmrc
69-
69+
7070
- name: Update next tags if appropriate
7171
if: steps.changesets.outputs.published == 'true'
7272
run: node scripts/update-next-tags.mjs

‎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.9.3",
3+
"version": "2.10.0-alpha.4",
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.9.3",
31-
"@apollo/query-graphs": "2.9.3"
30+
"@apollo/federation-internals": "2.10.0-alpha.4",
31+
"@apollo/query-graphs": "2.10.0-alpha.4"
3232
},
3333
"peerDependencies": {
3434
"graphql": "^16.5.0"

0 commit comments

Comments
 (0)
Please sign in to comment.