Note: This PR body was truncated due to platform limits.
This PR contains the following updates:
Release Notes
actions/cache (actions/cache)
Compare Source
actions/checkout (actions/checkout)
Compare Source
actions/download-artifact (actions/download-artifact)
Compare Source
actions/upload-artifact (actions/upload-artifact)
Compare Source
bazelbuild/apple_support (apple_support)
Compare Source
Breaking changes
As of this release,we've removed WORKSPACE support from the rules. Projects that still depend onWORKSPACE should not update beyond1.24.5, or can look at#487 to see what the dependencies are at any given time.WORKSPACE support is removed completely from Bazel starting in Bazel 9.
What's Changed
Full Changelog:bazelbuild/apple_support@1.24.5...2.0.0
This release is compatible with 7.x LTS, 8.x LTS, and rolling releases.
MODULE.bazel Snippet
bazel_dep(name="apple_support",version="2.0.0",repo_name="build_bazel_apple_support")
bazelbuild/bazel (bazel)
Compare Source
bazelbuild/bazel-skylib (bazel_skylib)
Compare Source
What's Changed
- Optimize
copy_file and setallow_symlink by default toTrue ifis_executable isFalse (#565) - Give
rules/private:is_windows an emptyapplicable_license (#600) - Bump
rules_go dependency for compatibility with Bazel 9 (#601)
Contributors:
@fdinoff,@fmeum,@fweikert,@susinmotion
Full Changelog:bazelbuild/bazel-skylib@1.8.2...1.9.0
keith/buildifier-prebuilt (buildifier_prebuilt)
Compare Source
What's Changed
New Contributors
Full Changelog:keith/buildifier-prebuilt@8.2.1...8.2.1.1
Bazel Module Snippet
bazel_dep(name="buildifier_prebuilt",version="8.2.1.1",dev_dependency=True,)
Workspace Snippet
load("@​bazel_tools//tools/build_defs/repo:http.bzl","http_archive")http_archive(name="buildifier_prebuilt",sha256="0a9ea71b0fee1f85c0f7971a036521938aeb68b2e41bf2b5c079e8549fd91cb1",strip_prefix="buildifier-prebuilt-8.2.1.1",urls= ["http://github.com/keith/buildifier-prebuilt/archive/8.2.1.1.tar.gz", ],)load("@​buildifier_prebuilt//:deps.bzl","buildifier_prebuilt_deps")buildifier_prebuilt_deps()load("@​bazel_skylib//:workspace.bzl","bazel_skylib_workspace")bazel_skylib_workspace()load("@​buildifier_prebuilt//:defs.bzl","buildifier_prebuilt_register_toolchains")buildifier_prebuilt_register_toolchains()bazel-contrib/rules_jvm (contrib_rules_jvm)
contrib_rules_jvm only supportsbzlmod-enabled builds
Module setup
In yourMODULE.bazel:
bazel_dep(name="contrib_rules_jvm",version="0.31.1")
What's Changed
- Fix attribute merging issues on java_library and java_test_suite when using mapped kinds by@jeffmace in#386
- chore: update aspect_bazel_lib to latest bazel_lib by@sitaktif in#388
New Contributors
Full Changelog:bazel-contrib/rules_jvm@v0.31.0...v0.31.1
contrib_rules_jvm only supportsbzlmod-enabled builds
Module Setup
In yourMODULE.bazel:
bazel_dep(name="contrib_rules_jvm",version="0.30.0")
Important Changes
- This release changes how the JUnit5 runner reports test names to better support parameterised and other custom tests.
- The java gazelle plugin will now respect
java_export targets. Targets will depend on these rather than individual constituentjava_library targets to ensure that eachjava_library target is only included in onejava_export
What's Changed
New Contributors
Full Changelog:bazel-contrib/rules_jvm@v0.29.0...v0.30.0
WORKSPACE snippet:
load("@​bazel_tools//tools/build_defs/repo:http.bzl","http_archive")http_archive(name="contrib_rules_jvm",sha256="44c4946567adb9f7218b1eea7ad512e0af7189f66673c3ebe94b484ac5c246a7",strip_prefix="rules_jvm-0.29.0",url="https://github.com/bazel-contrib/rules_jvm/releases/download/v0.29.0/rules_jvm-v0.29.0.tar.gz",)# Fetches the contrib_rules_jvm dependencies.# If you want to have a different version of some dependency,# you should fetch it *before* calling this.load("@​contrib_rules_jvm//:repositories.bzl","contrib_rules_jvm_deps")contrib_rules_jvm_deps()# Now ensure that the downloaded deps are properly configuredload("@​contrib_rules_jvm//:setup.bzl","contrib_rules_jvm_setup")contrib_rules_jvm_setup()What's Changed
New Contributors
Full Changelog:bazel-contrib/rules_jvm@v0.28.0...v0.29.0
contrib_rules_jvm only supportsbzlmod-enabled builds
Module setup
In yourMODULE.bazel
bazel_dep(name="contrib_rules_jvm",version="0.28.0")
What's Changed
- Drop support for workspace-based builds (#321)
- Bump lowest supported Java version to 8 in our build files (#307)
- Allow passing empty 'package' to 'java_test_suite' (#312)
- Add support for@AfterAll in XML report (#300)
- Bump pmd to 7.7.0 (#309)
- Add support for transforming Checkstyle XML output to JUnit XML (#283)
- Optimize junit dependencies for each test target (#303)
- Gazelle: detect any directory with /test in path as test package (#297)
- Add timestamp and hostname to testsuite xml (#294)
- Escape invalid XML chars in testCase and testSuite names (#284)
Full Changelog:bazel-contrib/rules_jvm@v0.27.0...v0.28.0
protocolbuffers/protobuf (protobuf)
v33.2: Protocol Buffers v33.2
Announcements
- Protobuf News may include additional announcements or pre-announcements for upcoming changes.
Compiler
- Add EDITION_UNSTABLE for new edition development (
9247790) - Fix a bug with custom features outside of the
pb package. (483173d) - Reserving a declaration for the Impress proto plugin. (
8a0b438)
C++
- Remove unnecessary uses of future changes to descriptor.proto (
50c9e62) - Fix a bug with custom features outside of the
pb package. (483173d)
Java
- Fix a bug with custom features outside of the
pb package. (483173d)
Csharp
PHP
- Add EDITION_UNSTABLE for new edition development (
9247790)
PHP C-Extension
- Regenerate staleness tests (
e9f62c6) - Add EDITION_UNSTABLE for new edition development (
9247790) - Regenerate stale files (
058bffa) - See also UPB changes below, which may affect PHP C-Extension.
Ruby
Ruby C-Extension
- Regenerate staleness tests (
e9f62c6) - Regenerate stale files (
058bffa) - See also UPB changes below, which may affect Ruby C-Extension.
UPB (Python/PHP/Ruby C-Extension)
- Regenerate staleness tests (
e9f62c6) - Add BTI to branch targets when branch protection is enabled. This resolves (
72a48f9) - Extract arm64 asm check (
13ee2ce)
bazelbuild/rules_cc (rules_cc)
Compare Source
Using bzlmod with Bazel 6 or later:
[Bazel 6] Addcommon --enable_bzlmod to.bazelrc.
Add to yourMODULE.bazel file:
bazel_dep(name="rules_cc",version="0.2.15")
Using WORKSPACE:
load("@​bazel_tools//tools/build_defs/repo:http.bzl","http_archive")http_archive(name="rules_cc",sha256="5e0077e2a5287e18873ae494a4d881d2e6df5f18d5edd3703c2724f9a36a0004",strip_prefix="rules_cc-0.2.15",url="https://github.com/bazelbuild/rules_cc/releases/download/0.2.15/rules_cc-0.2.15.tar.gz",)load("@​rules_cc//cc:extensions.bzl","compatibility_proxy_repo")compatibility_proxy_repo()Full Changelog:bazelbuild/rules_cc@0.2.14...0.2.15
bazelbuild/rules_java (rules_java)
Compare Source
Changes since 9.2.0
9d6184b Releaserules_java9.3.0
92f1486 Update tojava_tools18.1
14562f0 Support --library boolean flag for Android Lint in Java rules
2095190 Refer to the SingleJar "executable" instead of "deploy jar."
MODULE.bazel setup
bazel_dep(name = "rules_java", version = "9.3.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/26119common --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.3.0/rules_java-9.3.0.tar.gz", ], sha256 = "6ef26d4f978e8b4cf5ce1d47532d70cb62cd18431227a1c8007c8f7843243c06",)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.bzlload("@​com_google_protobuf//bazel/private:proto_bazel_features.bzl", "proto_bazel_features") # buildifier: disable=bzl-visibilityproto_bazel_features(name = "proto_bazel_features")### register toolchainsload("@​rules_java//java:repositories.bzl", "rules_java_toolchains")rules_java_toolchains()
Using the rules
Seethe source.
Compare Source
Changes since 9.1.0
dbd8cb4 Releaserules_javav9.2.0
686ed85 Update tojava_toolsv18.0
8bf8bca Extract utility methods used in the loading phase fromimpl/java_helper.bzl into a separate bzl file
MODULE.bazel setup
bazel_dep(name = "rules_java", version = "9.2.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/26119common --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.2.0/rules_java-9.2.0.tar.gz", ], sha256 = "2f822fbc33b99de5bbeaceada4be2bd3bb5c8da80e2f7462a9d300c8fc312f11",)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.bzlload("@​com_google_protobuf//bazel/private:proto_bazel_features.bzl", "proto_bazel_features") # buildifier: disable=bzl-visibilityproto_bazel_features(name = "proto_bazel_features")### register toolchainsload("@​rules_java//java:repositories.bzl", "rules_java_toolchains")rules_java_toolchains()
Using the rules
Seethe source.
bazelbuild/rules_kotlin (rules_kotlin)
Release notes for v2.2.1
Using Bzlmod with Bazel 7
- Enable with
common --enable_bzlmod in.bazelrc. - Add to your
MODULE.bazel file:
bazel_dep(name="rules_kotlin",version="2.2.1")
Using WORKSPACE
Paste this snippet into yourWORKSPACE.bazel file:
load("@​bazel_tools//tools/build_defs/repo:http.bzl","http_archive")http_archive(name="rules_kotlin",sha256="50c9b7294b73a1f50fcb3b349ca0edfd852ee1016e284b9d569ef0bffe0eb105",url="https://github.com/bazelbuild/rules_kotlin/releases/download/v2.2.1/rules_kotlin-v2.2.1.tar.gz",)load("@​rules_kotlin//kotlin:repositories.bzl","kotlin_repositories")kotlin_repositories()# if you want the default. Otherwise see custom kotlinc distribution belowload("@​rules_kotlin//kotlin:core.bzl","kt_register_toolchains")kt_register_toolchains()# to use the default toolchain, otherwise see toolchains belowWhat's Changed
- Include all abi jars from the associates array by@fredm-spotify in#1409
- Remove dependency on @bazel_tools (required for Bazel 9) by@LeFrosch in#1412
- Bump version of protoc to
4.33.1 for backward compatibility with code generated with java protoc v3 by@nico-semko in#1413 - Update rules_android to fix --incompatible_disable_native_repo_rules failure by@restingbull in#1358
New Contributors
Full Changelog:bazelbuild/rules_kotlin@v2.2.0...v2.2.1
softprops/action-gh-release (softprops/action-gh-release)
Compare Source
What's Changed
Exciting New Features 🎉
- feat: mark release as draft until all artifacts are uploaded by@dumbmoron in#692
Other Changes 🔄
- chore(deps): bump the npm group across 1 directory with 5 updates by@dependabot[bot] in#697
- chore(deps): bump actions/checkout from 5.0.0 to 5.0.1 in the github-actions group by@dependabot[bot] in#689
New Contributors
Full Changelog:softprops/action-gh-release@v2.4.2...v2.5.0
Compare Source
What's Changed
Exciting New Features 🎉
- feat: Ensure generated release notes cannot be over 125000 characters by@BeryJu in#684
Other Changes 🔄
New Contributors
Full Changelog:softprops/action-gh-release@v2.4.1...v2.4.2
bazel-contrib/toolchains_llvm (toolchains_llvm)
Minimum bazel version:7.0.0
If you're usingbzlmod, add the following toMODULE.bazel:
bazel_dep(name="toolchains_llvm",version="1.6.0")# Configure and register the toolchain.llvm=use_extension("@​toolchains_llvm//toolchain/extensions:llvm.bzl","llvm")llvm.toolchain(llvm_version="16.0.0",)use_repo(llvm,"llvm_toolchain")# use_repo(llvm, "llvm_toolchain_llvm") # if you depend on specific tools in scriptsregister_toolchains("@​llvm_toolchain//:all")To directly use a commit from GitHub, add this block and replace commit with the commit you want.
git_override(module_name="toolchains_llvm",commit="ace6215bbfe8a76884646b2458b42380e2201607",remote="https://github.com/bazel-contrib/toolchains_llvm",)
If not usingbzlmod, include this section in yourWORKSPACE:
load("@​bazel_tools//tools/build_defs/repo:http.bzl","http_archive")http_archive(name="toolchains_llvm",sha256="2b298a1d7ea99679f5edf8af09367363e64cb9fbc46e0b7c1b1ba2b1b1b51058",strip_prefix="toolchains_llvm-v1.6.0",canonical_id="v1.6.0",url="https://github.com/bazel-contrib/toolchains_llvm/releases/download/v1.6.0/toolchains_llvm-v1.6.0.tar.gz",)load("@​toolchains_llvm//toolchain:deps.bzl","bazel_toolchain_dependencies")bazel_toolchain_dependencies()load("@​bazel_features//:deps.bzl","bazel_features_deps")bazel_features_deps()load("@​rules_cc//cc:extensions.bzl","compatibility_proxy_repo")# If you see an error:# ERROR: Cycle caused by autoloads, failed to load .bzl file '@​@​cc_compatibility_proxy//:symbols.bzl'.# then you might need to add the following to your .bzelrc:# common --repositories_without_autoloads=cc_compatibility_proxycompatibility_proxy_repo()load("@​toolchains_llvm//toolchain:rules.bzl","llvm_toolchain")llvm_toolchain(name="llvm_toolchain",llvm_version="16.0.0",)load("@​llvm_toolchain//:toolchains.bzl","llvm_register_toolchains")llvm_register_toolchains()What's Changed
New Contributors
Full Changelog:bazel-contrib/toolchains_llvm@v1.5.0...v1.6.0
jacoco/jacoco (org.jacoco:jacoco-maven-plugin)
Compare Source
New Features
- JaCoCo now officially supports Java 25
Configuration
📅Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule defined).
🚦Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻Immortal: This PR will be recreated if closed unmerged. Getconfig help if that's undesired.
This PR was generated byMend Renovate. View therepository job log.
Uh oh!
There was an error while loading.Please reload this page.
This PR contains the following updates:
v4->v5v5->v6v6->v7v5->v61.24.5->2.0.08.4.2->8.5.00.1.11->0.1.11.bcr.11.8.2->1.9.08.2.1->8.2.1.10.27.0->0.31.133.1->33.20.2.14->0.2.159.1.0->9.3.02.2.0->2.2.1v2.4.1->v2.5.01.5.0->1.6.022.04->24.040.8.11->0.8.141.7.0->1.15.03.25.5->4.33.21.4.0->1.4.51.10.2->6.0.11.10.2->6.0.15.10.2->6.0.15.10.2->6.0.15.10.2->6.0.1Release Notes
actions/cache (actions/cache)
v5Compare Source
actions/checkout (actions/checkout)
v6Compare Source
actions/download-artifact (actions/download-artifact)
v7Compare Source
actions/upload-artifact (actions/upload-artifact)
v6Compare Source
bazelbuild/apple_support (apple_support)
v2.0.0Compare Source
Breaking changes
As of this release,we've removed WORKSPACE support from the rules. Projects that still depend on
WORKSPACEshould not update beyond1.24.5, or can look at#487 to see what the dependencies are at any given time.WORKSPACEsupport is removed completely from Bazel starting in Bazel 9.What's Changed
Full Changelog:bazelbuild/apple_support@1.24.5...2.0.0
This release is compatible with 7.x LTS, 8.x LTS, and rolling releases.
MODULE.bazel Snippet
bazelbuild/bazel (bazel)
v8.5.0Compare Source
bazelbuild/bazel-skylib (bazel_skylib)
v1.9.0Compare Source
What's Changed
copy_fileand setallow_symlinkby default toTrueifis_executableisFalse(#565)rules/private:is_windowsan emptyapplicable_license(#600)rules_godependency for compatibility with Bazel 9 (#601)Contributors:
@fdinoff,@fmeum,@fweikert,@susinmotion
Full Changelog:bazelbuild/bazel-skylib@1.8.2...1.9.0
keith/buildifier-prebuilt (buildifier_prebuilt)
v8.2.1.1Compare Source
What's Changed
New Contributors
Full Changelog:keith/buildifier-prebuilt@8.2.1...8.2.1.1
Bazel Module Snippet
Workspace Snippet
bazel-contrib/rules_jvm (contrib_rules_jvm)
v0.31.1contrib_rules_jvmonly supportsbzlmod-enabled buildsModule setup
In your
MODULE.bazel:What's Changed
New Contributors
Full Changelog:bazel-contrib/rules_jvm@v0.31.0...v0.31.1
v0.30.0contrib_rules_jvmonly supportsbzlmod-enabled buildsModule Setup
In your
MODULE.bazel:Important Changes
java_exporttargets. Targets will depend on these rather than individual constituentjava_librarytargets to ensure that eachjava_librarytarget is only included in onejava_exportWhat's Changed
java_importfrom@rules_javaby@RomanVlasenko in#345System.exitis called during a test by@shs96c in#349New Contributors
Full Changelog:bazel-contrib/rules_jvm@v0.29.0...v0.30.0
v0.29.0WORKSPACE snippet:
What's Changed
New Contributors
Full Changelog:bazel-contrib/rules_jvm@v0.28.0...v0.29.0
v0.28.0contrib_rules_jvmonly supportsbzlmod-enabled buildsModule setup
In your
MODULE.bazelWhat's Changed
Full Changelog:bazel-contrib/rules_jvm@v0.27.0...v0.28.0
protocolbuffers/protobuf (protobuf)
v33.2: Protocol Buffers v33.2Announcements
Compiler
9247790)pbpackage. (483173d)8a0b438)C++
50c9e62)pbpackage. (483173d)Java
pbpackage. (483173d)Csharp
9247790)9f263cd)058bffa)PHP
9247790)PHP C-Extension
e9f62c6)9247790)058bffa)Ruby
Ruby C-Extension
e9f62c6)058bffa)UPB (Python/PHP/Ruby C-Extension)
e9f62c6)72a48f9)13ee2ce)bazelbuild/rules_cc (rules_cc)
v0.2.15Compare Source
Using bzlmod with Bazel 6 or later:
[Bazel 6] Add
common --enable_bzlmodto.bazelrc.Add to your
MODULE.bazelfile:Using WORKSPACE:
Full Changelog:bazelbuild/rules_cc@0.2.14...0.2.15
bazelbuild/rules_java (rules_java)
v9.3.0Compare Source
Changes since 9.2.0
9d6184bReleaserules_java9.3.092f1486Update tojava_tools18.114562f0Support --library boolean flag for Android Lint in Java rules2095190Refer to the SingleJar "executable" instead of "deploy jar."MODULE.bazel setup
WORKSPACE setup
With Bazel 8.0.0 and before 8.3.0, add the following to your file:
In all cases, add the following to your file:
Using the rules
Seethe source.
v9.2.0Compare Source
Changes since 9.1.0
dbd8cb4Releaserules_javav9.2.0686ed85Update tojava_toolsv18.08bf8bcaExtract utility methods used in the loading phase fromimpl/java_helper.bzlinto a separate bzl fileMODULE.bazel setup
WORKSPACE setup
With Bazel 8.0.0 and before 8.3.0, add the following to your file:
In all cases, add the following to your file:
Using the rules
Seethe source.
bazelbuild/rules_kotlin (rules_kotlin)
v2.2.1Release notes for v2.2.1
Using Bzlmod with Bazel 7
common --enable_bzlmodin.bazelrc.MODULE.bazelfile:Using WORKSPACE
Paste this snippet into your
WORKSPACE.bazelfile:What's Changed
4.33.1for backward compatibility with code generated with java protoc v3 by@nico-semko in#1413New Contributors
Full Changelog:bazelbuild/rules_kotlin@v2.2.0...v2.2.1
softprops/action-gh-release (softprops/action-gh-release)
v2.5.0Compare Source
What's Changed
Exciting New Features 🎉
Other Changes 🔄
New Contributors
Full Changelog:softprops/action-gh-release@v2.4.2...v2.5.0
v2.4.2Compare Source
What's Changed
Exciting New Features 🎉
Other Changes 🔄
New Contributors
Full Changelog:softprops/action-gh-release@v2.4.1...v2.4.2
bazel-contrib/toolchains_llvm (toolchains_llvm)
v1.6.0Minimum bazel version:7.0.0
If you're using
bzlmod, add the following toMODULE.bazel:To directly use a commit from GitHub, add this block and replace commit with the commit you want.
If not using
bzlmod, include this section in yourWORKSPACE:What's Changed
../segments in paths in compiler wrapper by@fmeum in#5652025081.1 by@helly25 in#595link_libsrather thanlink_flagsby@phlax in#624New Contributors
Full Changelog:bazel-contrib/toolchains_llvm@v1.5.0...v1.6.0
jacoco/jacoco (org.jacoco:jacoco-maven-plugin)
v0.8.14: 0.8.14Compare Source
New Features
Configuration
📅Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule defined).
🚦Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻Immortal: This PR will be recreated if closed unmerged. Getconfig help if that's undesired.
This PR was generated byMend Renovate. View therepository job log.