This CHANGELOG pertains only to Apollo Federation packages in the 2.x range. The Federation v0.x equivalent for this package can be found here on the version-0.x
branch of this repo.
- Update peer dependency
graphql
to^16.5.0
to useGraphQLErrorOptions
PR #2060 - Remove dependency on apollo-server-types PR #2037
- Expand support for Node.js v18 PR #1884
- Fix output of
printSubgraphSchema
method, ensuring it can be read back by composition andbuildSubgraphSchema
PR #1831. - Fix definition of
@key
to be repeatable PR #1826.
- Add __resolveType to _Entity union PR #1773
- Released in sync with other federation packages but no changes to this package.
- Previous preview release promoted to general availability! Please see previous changelog entries for full info.
- Implement
buildSubgraphSchema
using federation internals PR #1697
- Revert previous
@apollo/core-schema
update due to incopatibilities with some existing schemas PR #1704
- Generate a core schema in
buildSubgraphSchema
, incorporating the latest changes from@apollo/core-schema
PR #1554
- Adds Support for
@tag/v0.2
, which allows the@tag
directive to be additionally placed on arguments, scalars, enums, enum values, input objects, and input object fields. PR #1652. - Adds support for the
@override
directive on fields to indicate that a field should be moved from one subgraph to another. PR #1484
- Automatically add the
@tag
directive definition inbuildSubgraphSchema
(but still support it if the definition is present in the input document) PR #1600.
- Re-publishing release which published to npm with stale build artifacts from
version-0.x
release.
- No-op publish to account for publishing difficulties.
- Initial "preview" release.
- No direct changes. Just bumping to maintain version alignment with other v2.0.0 alpha packages.
- No direct changes. Just bumping to maintain version alignment with other v2.0.0 alpha packages.
- Print description text for the
schema
definition node, as allowed per the October 2021 edition of the GraphQL specification PR #1464. - Make sure scalars don't print a
specifiedBy
directive unless specified in the subgraph. PR #1463 - Remove
graphql@15
from peer dependencies PR #1472.
- BREAKING: Bump graphql peer dependency to
^15.7.0
PR #1200
- 🎉 Initial alpha release of Federation 2.0. For more information, see our [documentation](https://www.apollographql.com/d ocs/federation/v2/). We look forward to your feedback!
Note! While packages like
@apollo/gateway
and@apollo/query-planner
do have substantial changes in Federation 2, currently, there are no substantial changes to this package. We anticipate that could change by the end of the v2 series.
- Updates to transitive dependencies. No other substantial changes.
- Expose
printSubgraphSchema()
as a top-level export of the@apollo/subgraph
package to maintain backwards compatibility with theprintSchema()
export from@apollo/federation
#1078
- Correctly print
@tag
definitions and usages in subgraph SDL query #1071
- Initial release of new
@apollo/subgraph
package. This package is the subgraph-related slice of the@apollo/federation
package which was previously responsible for both subgraph and composition bits.@apollo/federation
users will experience no change in behavior for now, but our docs will suggest the usage of the@apollo/subgraph
package going forward. For past iterations and CHANGELOG information of related work, see the@apollo/federation
CHANGELOG.mdPR #1058