@theguild/federation-composition
0.27.2 · 19 Nov 2026MIT2M / weekRepositoryHomepagenpmAtom feed
Upgrading @theguild/federation-composition From 0.8.2 to 0.27.2
52 releases in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- Fixed
Fix a crash when a directive shares its name with a type. Directives and types live in separate namespaces in GraphQL, but subgraph state kept both in a single map, so
directive @TaskStatusnext toenum TaskStatusthrewExpected TaskStatus to be an enum typeinstead of composing. - Fixed
Keep untagged arguments of included fields in schema contracts.
- Fixed
- Fixed
Preserve
@external,@requires, and@providesmetadata when composing fields contributed by@interfaceObjectsubgraphs.
- Fixed
- New
Add satisfiability checking for
@fromContextarguments
- New
- Fixed
Report composition errors instead of throwing when
@requires,@key,@provides, or@fromContextselections cannot be resolved against the merged supergraph.
- Fixed
- Fixed
Fix scalar
ContextFieldValuebeing annotated with@inaccessiblewithin the supergraph when composing a contract schema.
- Fixed
- Fixed
Preserve types referenced by directive arguments when removing unreachable types from schema contracts.
- Fixed
Prevent
federation__ContextFieldValuedeclared in a subgraph's_service.sdlfrom leaking into the supergraph.
- Fixed
- New
Support for
@contextand@fromContext
- New
- New
Support GraphQL.js 17 as a peer dependency alongside GraphQL.js 16.
- New
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.