Skip to content

Update apollo-router to 2.12.1#7903

Open
theguild-bot wants to merge 1 commit intomainfrom
apollo-router-update-2.12.1
Open

Update apollo-router to 2.12.1#7903
theguild-bot wants to merge 1 commit intomainfrom
apollo-router-update-2.12.1

Conversation

@theguild-bot
Copy link
Collaborator

Automatic update of apollo-router to version 2.12.1.

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request performs routine dependency updates for the project's Rust ecosystem. The core apollo-router and apollo-federation crates have been bumped to their latest patch versions, alongside updates to several other underlying dependencies like windows-sys and socket2. These changes ensure the project remains current with its dependencies, benefiting from stability improvements and bug fixes without introducing breaking changes.

Highlights

  • Apollo Router and Federation Updates: Updated apollo-router and apollo-federation from version 2.12.0 to 2.12.1, along with their respective checksums.
  • Hive Apollo Router Plugin Update: Updated hive-apollo-router-plugin from version 3.0.2 to 3.0.3.
  • Windows-sys Dependency Updates: Multiple instances of the windows-sys dependency were updated, primarily from 0.52.0 to 0.61.2, one instance from 0.48.0 to 0.61.2, and another from 0.52.0 to 0.60.2.
  • Socket2 Dependency Update: The socket2 dependency was updated from 0.5.10 to 0.6.1.
  • Itertools Dependency Adjustment: The itertools dependency was adjusted from 0.14.0 to 0.11.0 in two different package entries.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 24, 2026

🐋 This PR was built and pushed to the following Docker images:

Targets: apollo-router-hive-build

Platforms: linux/amd64

Image Tag: fa9e7e05d9328b917cae2b4b353e9181cd740e88

@github-actions
Copy link
Contributor

🐋 This PR was built and pushed to the following Docker images:

Targets: apollo-router-hive-build

Platforms: linux/arm64

Image Tag: 1c7f61b83dc5e9f8d8913980222ec0fd3cf5de8b

@github-actions
Copy link
Contributor

github-actions bot commented Mar 24, 2026

🐋 This PR was built and pushed to the following Docker images:

Targets: build

Platforms: linux/amd64

Image Tag: 34e701dbbd5795c5b16c91c33c729d5fdc8a960f

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates various Rust dependencies in Cargo.lock, including minor version bumps for apollo-federation, apollo-router, hive-apollo-router-plugin, and socket2. The windows-sys dependency is primarily updated to 0.61.2. Feedback highlights two points: the itertools dependency was downgraded from 0.14.0 to 0.11.0, which warrants verification for intentionality and potential regressions. Also, windows-sys appears in two versions (0.60.2 and 0.61.2); unifying this to 0.61.2 is suggested for consistency.

dependencies = [
"heck 0.5.0",
"itertools 0.14.0",
"itertools 0.11.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The itertools dependency has been downgraded from 0.14.0 to 0.11.0. While Cargo.lock updates are often automatic, a downgrade of a utility crate like this can sometimes introduce regressions or remove features that other parts of the codebase might rely on. Please verify if this downgrade was intentional or if it indicates a compatibility issue with other updated dependencies, and ensure it does not negatively impact the application's functionality.

"socket2 0.6.1",
"tracing",
"windows-sys 0.52.0",
"windows-sys 0.60.2",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

It appears that the windows-sys dependency is being updated to two different versions (0.60.2 and 0.61.2) across various dependency entries in Cargo.lock. While Cargo can resolve multiple versions of a transitive dependency, it is generally preferable to unify to a single, latest compatible version (e.g., 0.61.2) to ensure consistency, potentially reduce binary size, and avoid any subtle linking issues. Please investigate if the windows-sys 0.60.2 entry can also be updated to 0.61.2.

@theguild-bot theguild-bot force-pushed the apollo-router-update-2.12.1 branch from 3ad2e5c to 36f2091 Compare March 25, 2026 08:15
@github-actions
Copy link
Contributor

github-actions bot commented Mar 25, 2026

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
hive 11.0.1-alpha-20260326002610-19494ddd72a32f6117f52a5082dbb981635e680e npm ↗︎ unpkg ↗︎

@theguild-bot theguild-bot force-pushed the apollo-router-update-2.12.1 branch 5 times, most recently from 19494dd to be2566b Compare March 26, 2026 10:20
@theguild-bot theguild-bot force-pushed the apollo-router-update-2.12.1 branch from be2566b to 34e701d Compare March 26, 2026 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants