Skip to content

Releases: apollographql/federation

@apollo/subgraph@2.9.0

27 Aug 18:14
351f80c
Compare
Choose a tag to compare

@apollo/query-planner@2.9.0

27 Aug 18:14
351f80c
Compare
Choose a tag to compare

Patch Changes

@apollo/query-graphs@2.9.0

27 Aug 18:14
351f80c
Compare
Choose a tag to compare

Patch Changes

@apollo/gateway@2.9.0

27 Aug 18:14
351f80c
Compare
Choose a tag to compare

Patch Changes

@apollo/federation-internals@2.9.0

27 Aug 18:14
351f80c
Compare
Choose a tag to compare

Minor Changes

  • Implements two new directives for defining custom costs for demand control. The @cost directive allows setting a custom weight to a particular field in the graph, overriding the default cost calculation. The @listSize directive gives the cost calculator information about how to estimate the size of lists returned by subgraphs. This can either be a static size or a value derived from input arguments, such as paging parameters. (#3074)

Patch Changes

  • Reduce memory overhead during satisfiability checking when there are many options. (#3109)

  • Fix issue where variable was not passed into subgraph when embedded in a fragment (#3119)

@apollo/composition@2.9.0

27 Aug 18:14
351f80c
Compare
Choose a tag to compare

Minor Changes

  • Implements two new directives for defining custom costs for demand control. The @cost directive allows setting a custom weight to a particular field in the graph, overriding the default cost calculation. The @listSize directive gives the cost calculator information about how to estimate the size of lists returned by subgraphs. This can either be a static size or a value derived from input arguments, such as paging parameters. (#3074)

Patch Changes

@apollo/subgraph@2.8.5

26 Aug 23:46
f9b5f65
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies []:
    • @apollo/federation-internals@2.8.5

@apollo/query-planner@2.8.5

26 Aug 23:46
f9b5f65
Compare
Choose a tag to compare

🔒 Security

CVE-2024-43414: Prevent uncontrolled recursion for complex queries

Correct a bug where complex queries can cause uncontrolled recursion due to failure to reduce the number of possible query plans (classified as CWE-674). (#3128)

This weakness impacts all v2 versions of @apollo/query-planner prior to this release. See the associated Github Advisory, GHSA-fmj9-77q8-g6c4, for more information.

  • Updated dependencies []:
    • @apollo/federation-internals@2.8.5
    • @apollo/query-graphs@2.8.5

@apollo/query-graphs@2.8.5

26 Aug 23:45
f9b5f65
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies []:
    • @apollo/federation-internals@2.8.5

@apollo/gateway@2.8.5

26 Aug 23:45
f9b5f65
Compare
Choose a tag to compare

🔒 Security

CVE-2024-43414: Prevent uncontrolled recursion for complex queries

Correct a bug where complex queries can cause uncontrolled recursion due to failure to reduce the number of possible query plans (classified as CWE-674). (#3128)

This weakness impacts all v2 versions of @apollo/gateway prior to this release. See the associated Github Advisory, GHSA-fmj9-77q8-g6c4, for more information.