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.
- Fix composition of repeatable custom directives PR #2136
- Allow fields with arguments in
@requiresPR #2120.
- Don't apply @shareable when upgrading fed1 supergraphs if it's already @shareable PR #2043
- Update peer dependency
graphqlto^16.5.0to useGraphQLErrorOptionsPR #2060 - Don't require
@linkwhen using@composeDirectivePR #2046 - Add
@composeDirectivedirective to specify directives that should be merged to the supergraph during composition PR #1996. - Warn on merging inconsistent non-repeatable directive applications instead of failing composition PR #1840.
- Expand support for Node.js v18 PR #1884
- Use
for: SECURITYin the core/link directive application in the supergraph for@inaccessiblePR #1715
- Previous preview release promoted to general availability! Please see previous changelog entries for full info.
- Add a level to hints, uppercase their code and related fixes PR #1683.
- Add support for
@inaccessiblev0.2 PR #1678
- Fix merging of Input objects and enum types PR #1672.
- Fix regression in composition validation introduced by #1653 PR #1673.
- Add nodes when displaying hints for
@overridePR #1684
- Fix handling of core/link when definitions are provided or partially so PR #1662.
- Optimize composition validation when many entities spans many subgraphs PR #1653.
- Support for Node 17 PR #1541.
- Adds Support for
@tag/v0.2, which allows the@tagdirective to be additionally placed on arguments, scalars, enums, enum values, input objects, and input object fields. PR #1652. - Adds support for the
@overridedirective on fields to indicate that a field should be moved from one subgraph to another. PR #1484
NOTE: Be sure to upgrade the gateway before re-composing/deploying with this version. See below and the changelog for @apollo/gateway.
- Adds support for
@inaccessiblein subgraphs PR #1638. - Fix merging of
@tagdirective when it is renamed in subgraphs PR #1637. - Generates supergraphs with
@linkinstead of@core. As a result, prior federation 2 pre-release gateway will not read supergraphs generated by this version correctly, so you should upgrade the gateway to this version before re-composing/deploying with this version. PR #1628.
- Fix propagation of
@tagto the supergraph and allows @tag to be repeated. Additionally, merged directives (only@tagand@deprecatedcurrently) are not allowed on external fields anymore PR #1592.
- Released in sync with other federation packages but no changes to this package.
- Released in sync with other federation packages but no changes to this package.
- Re-publishing release which published to npm with stale build artifacts from
version-0.xrelease.
- No-op publish to account for publishing difficulties.
- Initial "preview" release.
- No direct changes, only transitive updates to
@apollo/query-graphsand@apollo/federation-internals.
- Remove
graphql@15from peer dependencies PR #1472.
- Assign and document error codes for all errors PR #1274.
- BREAKING: Bump graphql peer dependency to
^15.7.0PR #1200 - Add missing dependency to
@apollo/query-graphs
- 🎉 Initial alpha release of Federation 2.0. For more information, see our documentation. We look forward to your feedback!