Skip to content

chore(deps): update dependency build_bazel_rules_apple to v4.5.0#16041

Open
renovate-bot wants to merge 1 commit intogoogleapis:mainfrom
renovate-bot:renovate/build_bazel_rules_apple-4.x
Open

chore(deps): update dependency build_bazel_rules_apple to v4.5.0#16041
renovate-bot wants to merge 1 commit intogoogleapis:mainfrom
renovate-bot:renovate/build_bazel_rules_apple-4.x

Conversation

@renovate-bot
Copy link
Contributor

This PR contains the following updates:

Package Type Update Change
build_bazel_rules_apple http_archive minor 4.3.34.5.0

Release Notes

bazelbuild/rules_apple (build_bazel_rules_apple)

v4.5.0

Compare Source

What's Changed

New Contributors

Full Changelog: bazelbuild/rules_apple@4.4.0...4.5.0

This release is compatible with Bazel 7.x LTS, 8.x LTS, and 9.x LTS releases.

MODULE.bazel Snippet

bazel_dep(name = "rules_apple", version = "4.5.0", repo_name = "build_bazel_rules_apple")

Workspace Snippet

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "build_bazel_rules_apple",
    sha256 = "34953c6c5666f2bd864a4a2a27599eb6630a42fde18ba57292fa0a7fcb3d851c",
    url = "https://github.com/bazelbuild/rules_apple/releases/download/4.5.0/rules_apple.4.5.0.tar.gz",
)

load(
    "@​build_bazel_rules_apple//apple:repositories.bzl",
    "apple_rules_dependencies",
)

apple_rules_dependencies()

load(
    "@​build_bazel_rules_swift//swift:repositories.bzl",
    "swift_rules_dependencies",
)

swift_rules_dependencies()

load(
    "@​build_bazel_rules_swift//swift:extras.bzl",
    "swift_rules_extra_dependencies",
)

swift_rules_extra_dependencies()

load(
    "@​build_bazel_apple_support//lib:repositories.bzl",
    "apple_support_dependencies",
)

apple_support_dependencies()

v4.4.0

Compare Source

What's Changed

New Contributors

Full Changelog: bazelbuild/rules_apple@4.3.3...4.4.0

This release is compatible with Bazel 7.x LTS, 8.x LTS, and 9.x LTS releases.

MODULE.bazel Snippet

bazel_dep(name = "rules_apple", version = "4.4.0", repo_name = "build_bazel_rules_apple")

Workspace Snippet

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "build_bazel_rules_apple",
    sha256 = "c6d8d0361cd7e48067a2cb3bb6bb295182f8e44ee66905f3d578d5a96bcac18c",
    url = "https://github.com/bazelbuild/rules_apple/releases/download/4.4.0/rules_apple.4.4.0.tar.gz",
)

load(
    "@​build_bazel_rules_apple//apple:repositories.bzl",
    "apple_rules_dependencies",
)

apple_rules_dependencies()

load(
    "@​build_bazel_rules_swift//swift:repositories.bzl",
    "swift_rules_dependencies",
)

swift_rules_dependencies()

load(
    "@​build_bazel_rules_swift//swift:extras.bzl",
    "swift_rules_extra_dependencies",
)

swift_rules_extra_dependencies()

load(
    "@​build_bazel_apple_support//lib:repositories.bzl",
    "apple_support_dependencies",
)

apple_support_dependencies()

Configuration

📅 Schedule: Branch creation - Monday through Friday ( * * * * 1-5 ) (UTC), 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.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


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

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

@renovate-bot renovate-bot requested a review from a team as a code owner March 13, 2026 14:34
@dpebot
Copy link
Collaborator

dpebot commented Mar 13, 2026

/gcbrun

@gemini-code-assist
Copy link

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 a routine update of the build_bazel_rules_apple dependency to version 4.5.0. This update brings a range of improvements, including enhanced compatibility with Bazel 9, migrations to modern platform constraint handling, and various bug fixes and new features that streamline Apple development workflows within Bazel.

Highlights

  • Dependency Update: The build_bazel_rules_apple dependency has been updated from version 4.3.3 to 4.5.0.
  • Bazel 9 Compatibility: The update includes changes specifically required to support Bazel 9, ensuring continued compatibility with newer Bazel versions.
  • Platform Constraint Migrations: Several internal migrations were performed to use platform constraints instead of legacy ctx.fragments.apple methods, improving platform handling.
  • Bug Fixes and Enhancements: Numerous bug fixes and minor enhancements are included, such as improved binary stripping, fixes for apple_static_xcframework_import, support for multiple modules on app_intents, and deterministic outputs for AppIntentsMetadataProcessor.
  • New Features: New features include adding @loader_path/Frameworks rpath for frameworks, support for visionOS & tvOS platform attributes in apple_xcframework rules, and an apple_order_file rule for linker order files.
Changelog
  • build_bazel_rules_apple
    • Removed references to @bazel_tools//tools/cpp.
    • Disabled strict timestamps for output ZIP archive in clangrttool.py.
    • Disabled PREFIX substitution in entitlements.
    • Fixed includes attribute resolution in apple_static_xcframework_import.
    • Supported multiple modules on app_intents for applications.
    • Fixed binary stripping on Bazel <9.
    • Migrated uses of ctx.fragments.apple.{single/multi}_arch_platform(...) to platform constraints.
    • Moved methods to report platform constraints as strings to apple_support.
    • Created persistent non-test simulators with the correct runtime.
    • Added @loader_path/Frameworks rpath when building frameworks.
    • Inferred tvOS/watchOS archs from CPU parameters, similar to iOS.
    • Added @loader_path/Frameworks rpath when building dynamic xcframeworks.
    • Added visionOS & tvOS platform attrs to apple_xcframework rules.
    • Removed unsupported includes parameter for apple_metal_library.
    • Made AppIntentsMetadataProcessor outputs deterministic.
    • Implemented rule for linker order files apple_order_file.
    • Added a build setting to disable Swift stdlib binary thinning.
    • Removed usage of legacy apple_common.get_split_build_configs(...).
    • Ran subshells in bundletool_experimental using subprocess API.
    • Logged when BAZEL_APPLE_LAUNCH_INFO_PATH finishes writing.
    • Fixed mixed_language_library propagation after data removal.
    • Included App Clip dSYMS when include_symbols_in_bundle is True.
    • Exposed simulator_creator as public API for improved extensibility.
    • Avoided conflicting actions for xcframework bundles with custom bundle names.
    • Implemented changes required to support Bazel 9.
Activity
  • This pull request was automatically generated by Renovate bot to update a dependency.
  • Automerge is currently disabled, requiring a manual merge after review.
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.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

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.

Copy link

@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 is a dependency update for build_bazel_rules_apple from version 4.3.3 to 4.5.0. The change in bazel/workspace0.bzl correctly updates the download URL and the SHA256 hash. I have reviewed the changes and the release notes provided in the pull request description and I see no issues with this update.

@codecov
Copy link

codecov bot commented Mar 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.65%. Comparing base (ea38f4d) to head (0989ac1).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #16041      +/-   ##
==========================================
- Coverage   92.65%   92.65%   -0.01%     
==========================================
  Files        2339     2339              
  Lines      215286   215286              
==========================================
- Hits       199479   199472       -7     
- Misses      15807    15814       +7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants