Update Bazel dependencies to latest stable versions #266
Merged
dmehala merged 1 commit intoDataDog:mainfrom Dec 23, 2025
Merged
Update Bazel dependencies to latest stable versions #266dmehala merged 1 commit intoDataDog:mainfrom
dmehala merged 1 commit intoDataDog:mainfrom
Conversation
…ompatibility Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
dmehala
approved these changes
Dec 23, 2025
Collaborator
dmehala
left a comment
There was a problem hiding this comment.
LGTM. Thank you @mmorel-35
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Updated all Bazel dependencies to current stable releases from Bazel Central Registry:
Changes applied to both MODULE.bazel (bzlmod) and WORKSPACE to maintain compatibility across build modes. Added Bazel ecosystem support to Dependabot for automated monthly updates.
Bazel 9 Compatibility Fixes:
.bazelrc(WORKSPACE is deprecated in Bazel 9)load("@rules_cc//cc:defs.bzl", "cc_library")in BUILD.bazel (native C++ rules removed from built-ins in Bazel 9)Code Quality Improvements:
bazel_depentries alphabetically in MODULE.bazelMotivation
Dependencies were significantly outdated. Abseil-cpp was 2+ years behind, missing critical bug fixes and API improvements. Modern Bazel tooling requires current dependency versions for optimal performance and security.
With Bazel 9 on the horizon, full compatibility is essential. In Bazel 9, native C++ rules (cc_library, cc_binary, etc.) have been removed from built-ins and must be explicitly loaded from @rules_cc. These changes ensure the codebase works with both current and future Bazel versions.