From 4c92cbd778cc8cb42f9b57f7b8a0e5104df03e3a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 28 Aug 2026 16:50:15 +0000 Subject: [PATCH] Version Packages (alpha) --- .changeset/{ => pre}/tame-planes-jog.md | 0 CHANGELOG.md | 23 +++++++++++++++++++---- package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 22 insertions(+), 7 deletions(-) rename .changeset/{ => pre}/tame-planes-jog.md (100%) diff --git a/.changeset/tame-planes-jog.md b/.changeset/pre/tame-planes-jog.md similarity index 100% rename from .changeset/tame-planes-jog.md rename to .changeset/pre/tame-planes-jog.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 61676e1..5842499 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,18 +1,33 @@ # Changelog +## 15.0.0-alpha.1 + +### Minor Changes + +- [#3](https://github.com/apollographql/subgraph-js/pull/3) [`ce5c255`](https://github.com/apollographql/subgraph-js/commit/ce5c2550a051d7a40adadf1f3cc8d22614f7cf53) Thanks [@dariuszkuc](https://github.com/dariuszkuc)! - Reimplement `@apollo/subgraph` directly using `graphql-js` instead of `@apollo/federation-internals`, making it usable with any `graphql-js` compatible subgraph. Unless otherwise noted, behavior is intended to stay compatible with the previous implementation. + + - **Use `graphql-js` functionality over custom logic.** All logic is now re-implemented using `graphql-js` functionality. `@apollo/federation-internals` is no longer a dependency. + - **`printSubgraphSchema` now prints the complete schema**, federation directives, types, and root fields included. NOTE: It is just a thin wrapper around `@graphql-tools/utils`'s `printSchemaWithDirectives`. + - **BREAKING: `LegacySchemaModule` input shape removed.** `buildSubgraphSchema` no longer accepts Apollo Server's old `{ typeDefs, resolvers }` object shape. Pass an array of `{ typeDefs, resolvers }` modules (or a bare `DocumentNode`) instead: + + ```diff + - buildSubgraphSchema({ typeDefs, resolvers }) + + buildSubgraphSchema([{ typeDefs, resolvers }]) + ``` + All notable changes to this project are documented in this file. ## 2.15.0 -This release is a generic reimplementation of `@apollo/subgraph` -that can be used with any `graphql-js` compatible subgraphs. Unless -otherwise noted, behavior is intended to stay compatible with the +This release is a generic reimplementation of `@apollo/subgraph` +that can be used with any `graphql-js` compatible subgraphs. Unless +otherwise noted, behavior is intended to stay compatible with the previous implementation. ### Changed - **Use `graphql-js` functionality over custom logic.** All logic is now - re-implemented using `graphql-js` functionality. `@apollo/federation-internals` is no + re-implemented using `graphql-js` functionality. `@apollo/federation-internals` is no longer a dependency. - **`printSubgraphSchema` now prints the complete schema**, federation directives, types, and root fields included. NOTE: It is just a thin wrapper around diff --git a/package-lock.json b/package-lock.json index df934a9..4bb84a6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@apollo/subgraph", - "version": "15.0.0-alpha.0", + "version": "15.0.0-alpha.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@apollo/subgraph", - "version": "15.0.0-alpha.0", + "version": "15.0.0-alpha.1", "license": "MIT", "workspaces": [ ".", diff --git a/package.json b/package.json index 385943a..64ba2cf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/subgraph", - "version": "15.0.0-alpha.0", + "version": "15.0.0-alpha.1", "description": "Apollo Federation subgraph utilities built on graphql-js", "main": "dist/index.js", "types": "dist/index.d.ts",