Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@apollo/composition@2.4.9
Patch Changes
7ac83456
,d60349b3
,1bb7c512
,02eab3ac
,fd4545c2
]:@apollo/gateway@2.4.9
Patch Changes
Try reusing named fragments in subgraph fetches even if those fragment only apply partially to the subgraph. Before this change, only named fragments that were applying entirely to a subgraph were tried, leading to less reuse that expected. Concretely, this change can sometimes allow the generation of smaller subgraph fetches. (#2639)
Updated dependencies [
7ac83456
,d60349b3
,1bb7c512
,02eab3ac
,fd4545c2
]:@apollo/federation-internals@2.4.9
Patch Changes
Improves query planning time in some situations where entities use multiple keys. (#2610)
Try reusing named fragments in subgraph fetches even if those fragment only apply partially to the subgraph. Before this change, only named fragments that were applying entirely to a subgraph were tried, leading to less reuse that expected. Concretely, this change can sometimes allow the generation of smaller subgraph fetches. (#2639)
Fix issue in the code to reuse fragments that, in some rare circumstances, could led to invalid queries where a named (#2659)
spread was use in an invalid position. If triggered, this resulted in an subgraph fetch whereby a named spread was
used inside a sub-selection even though the spread condition did not intersect the parent type (the exact error message
would depend on the client library used to handle subgraph fetches, but with GraphQL-js, the error message had the
form "Fragment cannot be spread here as objects of type can never be of type ").
Fix regression in named fragment reuse introduced by 2.4.8 that caused fragments that were only used by other fragments (#2648)
to not be reused, even if they are making the overall query smaller and thus should be reused.
Fix unnecessary busy work in the code extracting subgraphs from supergraphs. This code is executing when a new (#2654)
supergraph is deployed, and can impact gateway clients when it runs. This is often not a problem, but for
large supergraphs with lots of subgraphs, an obvious inefficiency could make the code take much longer than
it should have.
@apollo/query-graphs@2.4.9
Patch Changes
Improves query planning time in some situations where entities use multiple keys. (#2610)
Updated dependencies [
7ac83456
,d60349b3
,1bb7c512
,02eab3ac
,fd4545c2
]:@apollo/query-planner@2.4.9
Patch Changes
Improves query planning time in some situations where entities use multiple keys. (#2610)
Try reusing named fragments in subgraph fetches even if those fragment only apply partially to the subgraph. Before this change, only named fragments that were applying entirely to a subgraph were tried, leading to less reuse that expected. Concretely, this change can sometimes allow the generation of smaller subgraph fetches. (#2639)
Updated dependencies [
7ac83456
,d60349b3
,1bb7c512
,02eab3ac
,fd4545c2
]:@apollo/subgraph@2.4.9
Patch Changes
7ac83456
,d60349b3
,1bb7c512
,02eab3ac
,fd4545c2
]:apollo-federation-integration-testsuite@2.4.9