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.
vNEXT
The changes noted within this vNEXT section have not been released yet. New PRs and commits which introduce changes should include an entry in this vNEXT section as part of their development. When a release is being prepared, a new header will be (manually) created below and the appropriate changes within that release will be moved into the new section.
Nothing yet. Stay tuned!
v2.0.0-preview.2
Re-publishing release which published to npm with stale build artifacts from version-0.x release.
v2.0.0-preview.1
No-op publish to account for publishing difficulties.
Identifies federation 2 schema using new @link directive to link to the federation 2 spec. Schema not linking to federation 2 are interpreted as federation 0.x schema and automatically converted before composition [PR #1510](apollographql/federation#1510).
Adds @shareable directive to control when fields are allowed to be resolved by multiple subgraphs [PR #1510](apollographql/federation#1510).
v2.0.0-alpha.6
Use specific error classes when throwing errors due Apollo Uplink being unreacheable or returning an invalid response [PR #1473](apollographql/federation#1473)
Avoid incomplete subgraphs when extracting them from the supergraph. [PR #1511](apollographql/federation#1511) (via fix to @apollo/query-planner and @apollo/federation-internals)
v2.0.0-alpha.5
Reject mismatching types for interface field implementation if some of those implementations are @external, since this can lead to invalid subgraph queries at runtime [PR #1318](apollographql/federation#1318). This limitation should be lifted in the future once the root cause (the invalid runtime queries) is fixed by issue #1257.
BREAKING: This change improves the supergraphSdl configuration option to provide a clean and flexible interface for updating gateway schema on load and at runtime. This PR brings a number of updates and deprecations to the gateway. Previous options for loading the gateway's supergraph (serviceList, localServiceList, experimental_updateServiceDefinitions, experimental_supergraphSdl) are all deprecated going forward. The migration paths all point to the updated supergraphSdl configuration option.
The most notable change here is the introduction of the concept of a SupergraphManager (one new possible type of supergraphSdl). This interface (when implemented) provides a means for userland code to update the gateway supergraph dynamically, perform subgraph healthchecks, and access subgraph datasources. All of the mentioned deprecated configurations now either use an implementation of a SupergraphManager internally or export one to be configured by the user (IntrospectAndCompose and LocalCompose).
For now: all of the mentioned deprecated configurations will still continue to work as expected. Their usage will come with deprecation warnings advising a switch to supergraphSdl.
serviceList users should switch to the now-exported IntrospectAndCompose class.
localServiceList users should switch to the similar LocalCompose class.
experimental_{updateServiceDefinitions|supergraphSdl} users should migrate their implementation to a custom SupergraphSdlHook or SupergraphManager.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps @apollo/gateway from 0.37.0 to 0.48.3.
Changelog
Sourced from
@apollo/gateway
's changelog.... (truncated)
Commits
5a5f30f
Release366c3ef
Update CHANGELOG.md, again, prior to publishing.5f49d51
Update codegend types5f0aadd
Release41bc746
Update CHANGELOG.md prior to publishing62209ef
Update Apollo Gateway readme usage with Introspect and Compose (#1531) (#1536)f1ab334
chore(deps): update dependency@types/node-fetch
to v2.6.1 (#1522)aa9be0c
chore(deps): update dependency@types/node-fetch
to v2.6.0 (#1520)50e54e6
Releasedea4f47
fix(gateway): Resolve gateway retry issues (`UplinkFetcher failed to update.....Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)