Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Nov 14, 2025

Bumps @apollo/composition to 2.12.1 and updates ancestor dependency @apollo/gateway. These dependencies need to be updated together.

Updates @apollo/composition from 2.12.0 to 2.12.1

Release notes

Sourced from @​apollo/composition's releases.

@​apollo/composition@​2.12.1

Patch Changes

  • Fixed access control verification of transitive requirements (through @requires and/or @fromContext) to ensure it works with chains of transitive dependencies. (#3343)

  • Allow interface object fields to specify access control (#3343)

    Update composition logic to allow specifying access control directives (@authenticated, @requiresScopes and @policy) on @interfaceObject fields. While we disallow access control on interface types and fields, we decided to support it on @interfaceObject as it is a useful pattern to define a single resolver (that may need access controls) for common interface fields. Alternative would require our users to explicitly define resolvers for all implementations which defeats the purpose of @interfaceObject.

    This PR refactors in how we propagate access control by providing additional merge sources when merging directives on interfaces, interface fields and object fields.

  • Updated dependencies [09e596e6a0c753071ca822e84f525d73ada395cf, ac1ed2946c48e0fef4b413b192d8c5fbdb2370ae]:

    • @​apollo/federation-internals@​2.12.1
    • @​apollo/query-graphs@​2.12.1
Changelog

Sourced from @​apollo/composition's changelog.

2.12.1

Patch Changes

  • Fixed access control verification of transitive requirements (through @requires and/or @fromContext) to ensure it works with chains of transitive dependencies. (#3343)

  • Allow interface object fields to specify access control (#3343)

    Update composition logic to allow specifying access control directives (@authenticated, @requiresScopes and @policy) on @interfaceObject fields. While we disallow access control on interface types and fields, we decided to support it on @interfaceObject as it is a useful pattern to define a single resolver (that may need access controls) for common interface fields. Alternative would require our users to explicitly define resolvers for all implementations which defeats the purpose of @interfaceObject.

    This PR refactors in how we propagate access control by providing additional merge sources when merging directives on interfaces, interface fields and object fields.

  • Updated dependencies [09e596e6a0c753071ca822e84f525d73ada395cf, ac1ed2946c48e0fef4b413b192d8c5fbdb2370ae]:

    • @​apollo/federation-internals@​2.12.1
    • @​apollo/query-graphs@​2.12.1
Commits
  • fd436fa release: on branch main (#3345)
  • 61c3838 fix: addressing feedback on updated access control logic (#3337)
  • 09e596e fix: allow interface object fields to specify access control
  • b19431e fix: handle @requires chains when verifying access control
  • See full diff in compare view

Updates @apollo/gateway from 2.12.0 to 2.12.1

Release notes

Sourced from @​apollo/gateway's releases.

@​apollo/gateway@​2.12.1

Patch Changes

Changelog

Sourced from @​apollo/gateway's changelog.

2.12.1

Patch Changes

Commits

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [@apollo/composition](https://github.com/apollographql/federation/tree/HEAD/composition-js) to 2.12.1 and updates ancestor dependency [@apollo/gateway](https://github.com/apollographql/federation/tree/HEAD/gateway-js). These dependencies need to be updated together.


Updates `@apollo/composition` from 2.12.0 to 2.12.1
- [Release notes](https://github.com/apollographql/federation/releases)
- [Changelog](https://github.com/apollographql/federation/blob/main/composition-js/CHANGELOG.md)
- [Commits](https://github.com/apollographql/federation/commits/@apollo/[email protected]/composition-js)

Updates `@apollo/gateway` from 2.12.0 to 2.12.1
- [Release notes](https://github.com/apollographql/federation/releases)
- [Changelog](https://github.com/apollographql/federation/blob/main/gateway-js/CHANGELOG.md)
- [Commits](https://github.com/apollographql/federation/commits/@apollo/[email protected]/gateway-js)

---
updated-dependencies:
- dependency-name: "@apollo/composition"
  dependency-version: 2.12.1
  dependency-type: indirect
- dependency-name: "@apollo/gateway"
  dependency-version: 2.12.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant