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.
- Don't apply @shareable when upgrading fed1 supergraphs if it's already @shareable PR #2043
- Update peer dependency
graphql
to^16.5.0
to useGraphQLErrorOptions
PR #2060
- Don't require
@link
when using@composeDirective
PR #2046
- Add
@composeDirective
directive 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: SECURITY
in the core/link directive application in the supergraph for@inaccessible
PR #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
@inaccessible
v0.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
@override
PR #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@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
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
@inaccessible
in subgraphs PR #1638. - Fix merging of
@tag
directive when it is renamed in subgraphs PR #1637. - Generates supergraphs with
@link
instead 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
@tag
to the supergraph and allows @tag to be repeated. Additionally, merged directives (only@tag
and@deprecated
currently) 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.x
release.
- No-op publish to account for publishing difficulties.
- Initial "preview" release.
- No direct changes, only transitive updates to
@apollo/query-graphs
and@apollo/federation-internals
.
- Remove
graphql@15
from peer dependencies PR #1472.
- Assign and document error codes for all errors PR #1274.
- BREAKING: Bump graphql peer dependency to
^15.7.0
PR #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!