What's Changed
Breaking Changes
- "Make" variables are now expanded inside of values in the
env
dictionary on test rules: #2476- If you previously used
env
like this:env = ["$SOME_OTHER_VAR"]
you will now need to useenv = ["$$SOME_OTHER_VAR"]
- If you previously used
Other Changes
- Added support for the
--hosting-base-path
argument todocc_archive
: #2455 - Added support for bundling dylib deps from
CcInfo
: #2473 - Added support for both pre-2.0 and post-2.0 rules_swift when using Blzmod: #2480
- Changed
.xctestrun
keyBAZEL_TEST_PRODUCT_MODULE_NAME
: #2454 - Updated
docc_archive
to supportdeps
anddata
: #2450 - You can now nest
.app
bundles when using tree artifacts: #2449 - Fixed broken URL for platforms repo version 0.0.9: #2452
- Fixed provider type checking for
AppleDynamicFrameworkProvider
migration: #2453
This release is compatible with Bazel 6.x LTS, 7.x LTS, and 8.x rolling releases.
MODULE.bazel Snippet
bazel_dep(name = "rules_apple", version = "3.6.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 = "d0f566ad408a6e4d179f0ac4d50a93494a70fcff8fab4c4af0a25b2c241c9b8d",
url = "https://github.com/bazelbuild/rules_apple/releases/download/3.6.0/rules_apple.3.6.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()