Skip to content

chore(deps): update bazel modules - #78

Merged
Sam Gammon (sgammon) merged 1 commit into
mainfrom
renovate/bazel-modules
Aug 3, 2026
Merged

chore(deps): update bazel modules#78
Sam Gammon (sgammon) merged 1 commit into
mainfrom
renovate/bazel-modules

Conversation

@renovate

@renovate renovate Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
bazel_features bazel_dep minor 1.50.01.51.0
bazel_skylib bazel_dep patch 1.9.01.9.2
rules_java bazel_dep minor 9.6.19.7.0
rules_jvm_external bazel_dep minor 7.07.1

Release Notes

bazel-contrib/bazel_features (bazel_features)

v1.51.0

Using Bzlmod with Bazel 6

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "bazel_features", version = "1.51.0")

Using WORKSPACE

Paste this snippet into your file:

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "bazel_features",
    sha256 = "5450bfb2c8b4bc961c75368838f86156f563cc9adef1be7d504fc5619d54daab",
    strip_prefix = "bazel_features-1.51.0",
    url = "https://github.com/bazel-contrib/bazel_features/releases/download/v1.51.0/bazel_features-v1.51.0.tar.gz",
)
load("@​bazel_features//:deps.bzl", "bazel_features_deps")
bazel_features_deps()

What's Changed

New Contributors

Full Changelog: bazel-contrib/bazel_features@v1.50.0...v1.51.0

bazelbuild/bazel-skylib (bazel_skylib)

v1.9.2

Compare Source

What's Changed

  • Revert allow_symlink = True by default for non-executables
  • Change from stamp to some other boolean flag
  • Update Bazel versions in CI: drop Bazel 6, add Bazel 9
  • Change Starlark flag default propagation from "universal" to "target"

Contributors:
@​gzm0, @​kotlaja, @​susinmotion, @​justinhorvitz

bazelbuild/rules_java (rules_java)

v9.7.0

Compare Source

Changes since 9.6.1
899c551 Upgrade default JDK to 25.
e06bb23 Return repo_metadata from repository_rules (#​367)
35e8391 Do not percent-encode '+' in classpath-jar manifest Class-Path entries (#​358)
2f57464 Simplify toolchain config for linux (#​357)
c54e911 Create a java_common.compile_header API that just does the header compilation part of java_common.compile
e1c82d4 Internal Change
7b13ead Support disable_lint_checks in java_library
2399899 Internal change
8c82b7f No public description
0508ac3 Support embedding stamping info from bazel in java_single_jar
421776c Attempt to fix missing class error by not using tree artifacts for bootclasspath (#​340)
ec317b1 Remove java_common.add_constraints

MODULE.bazel setup

bazel_dep(name = "rules_java", version = "9.7.0")

WORKSPACE setup

With Bazel 8.0.0 and before 8.3.0, add the following to your file:


##### https://github.com/bazelbuild/bazel/pull/26119
common --repositories_without_autoloads=bazel_features_version,bazel_features_globals

In all cases, add the following to your file:

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_java",
    urls = [
        "https://github.com/bazelbuild/rules_java/releases/download/9.7.0/rules_java-9.7.0.tar.gz",
    ],
    sha256 = "68794ca344c1caf13dca65f90c06660823013fa080931266e2625103904a664e",
)

http_archive(
    name = "bazel_features",
    sha256 = "a660027f5a87f13224ab54b8dc6e191693c554f2692fcca46e8e29ee7dabc43b",
    strip_prefix = "bazel_features-1.30.0",
    url = "https://github.com/bazel-contrib/bazel_features/releases/download/v1.30.0/bazel_features-v1.30.0.tar.gz",
)

load("@​bazel_features//:deps.bzl", "bazel_features_deps")
bazel_features_deps()

load("@​rules_java//java:rules_java_deps.bzl", "rules_java_dependencies")
rules_java_dependencies()

##### note that the following line is what is minimally required from protobuf for the java rules
##### consider using the protobuf_deps() public API from @​com_google_protobuf//:protobuf_deps.bzl
load("@​com_google_protobuf//bazel/private:proto_bazel_features.bzl", "proto_bazel_features")  # buildifier: disable=bzl-visibility
proto_bazel_features(name = "proto_bazel_features")

##### register toolchains
load("@​rules_java//java:repositories.bzl", "rules_java_toolchains")
rules_java_toolchains()

Using the rules
See the source.

Full Changelog: bazelbuild/rules_java@9.6.1...9.7.0

bazelbuild/rules_jvm_external (rules_jvm_external)

v7.1

Compare Source

Please note The lock file format was changed in rules_jvm_external 5.1 and in 6.10. If you update and repin your dependencies, your lock file will use the new format.

Usage

This version of rules_jvm_external requires Bazel 7.7.1 or Bazel 8.7.0 or Bazel 9.

This release requires Java 11 or above to run, both as the host JDK and the build and tool JDK.

Bzlmod

In your MODULE.bazel file:

bazel_dep(name = "rules_jvm_external", version = "7.1")

To add dependencies, later in your MODULE.bazel file:

maven = use_extension("@​rules_jvm_external//:extensions.bzl", "maven")

maven.install(
    artifacts = [
        "org.seleniumhq.selenium:selenium-java:4.46.0",
    ],
    lock_file = "//:maven_install.json",
)

use_repo(maven, "maven")
Using dependencies

In your BUILD.bazel file, reference the targets directly:

java_library(
    name = "example",
    exports = [
        "@​maven//:org_seleniumhq_selenium_selenium_java",
    ],
)
What's Changed
New Contributors

Full Changelog: bazel-contrib/rules_jvm_external@7.0...7.1


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, only on Monday (* 0-3 * * 1)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Related to dependency updates or issues label Aug 3, 2026
@renovate
renovate Bot requested review from a team, Copilot and Dario Valdespino (darvld) August 3, 2026 01:01
@renovate renovate Bot added the dependencies Related to dependency updates or issues label Aug 3, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot could not run the full agentic suite for this review because it was automatically requested on a bot-authored pull request. Request a review from Copilot under Reviewers to retry with the full agentic suite. Improved support for bot-authored pull requests is coming soon.

Updates Bazel module dependencies across the root module and multiple e2e/benchmark modules to keep the workspace aligned on newer rule and utility versions.

Changes:

  • Bump rules_java from 9.6.1 to 9.7.0 in affected modules.
  • Bump rules_jvm_external from 7.0 to 7.1 where used.
  • Bump bazel_skylib from 1.9.0 to 1.9.2 and bazel_features from 1.50.0 to 1.51.0 in the root module.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
e2e/vanilla/MODULE.bazel Updates rules_java and rules_jvm_external versions for vanilla e2e environment.
e2e/smoke/MODULE.bazel Updates bazel_skylib version for smoke e2e module.
e2e/rbe/MODULE.bazel Updates rules_jvm_external version for RBE e2e module.
e2e/kotlin_builder/MODULE.bazel Updates rules_java version for kotlin_builder e2e module.
e2e/integration/MODULE.bazel Updates rules_jvm_external version for integration e2e module.
benchmarks/MODULE.bazel Updates rules_java version for benchmarks module.
MODULE.bazel Updates core dependency versions (bazel_skylib, rules_java, rules_jvm_external, bazel_features).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codspeed-hq

codspeed-hq Bot commented Aug 3, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

✅ 9 untouched benchmarks


Comparing renovate/bazel-modules (babb283) with main (9961682)

Open in CodSpeed

@sgammon
Sam Gammon (sgammon) merged commit 3143801 into main Aug 3, 2026
17 checks passed
@sgammon
Sam Gammon (sgammon) deleted the renovate/bazel-modules branch August 3, 2026 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Related to dependency updates or issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants