3.2.0
What's Changed
- [meta] Add @aaronsky to BCR maintainers list by @aaronsky in #1556
- Get triple from the make variable CC_TARGET_TRIPLE by @ma-oli in #1558
- Use apple constraints over config_setting_group in select by @ma-oli in #1563
- feat(toolchain): add copts and objc_copts attributes to toolchains by @ma-oli in #1564
- Remove space-in-path replacement by @brentleyjones in #896
- Fixes warnings in SwiftTestingRunner.swift by @csmulhern in #1565
- Make sure that symbol graph extraction and interface synthesis honor
-Xccflags that are derived from Bazel's--objccoptflags and from--compilation_mode. by @luispadron in #1566 - Lock
last_greenuntil a BEP bug is fixed by @brentleyjones in #1569 - Remove Patrick from contributors by @brentleyjones in #1573
- Fix
swift.split_derived_files_generationby @brentleyjones in #1574 - Use
all_compile_action_names()in more locations by @brentleyjones in #1579 - Remove Thi from maintainers by @brentleyjones in #1578
- Add
coptsandlinkoptstoswift_proto_libraryby @karim-alweheshy in #1497 - Add
$(location)support to proto rules by @brentleyjones in #1580 - Add
additional_objc_compiler_inputstomixed_langauge_libraryby @brentleyjones in #1581 - Pass
swiftc_inputstoswift_common.compileincompile_swift_protos_for_targetby @brentleyjones in #1582 - Ensure that PCMs are hermetic on Xcode 16 and higher. by @luispadron in #1575
- Unconditionally pass -file-prefix-map to the compiler to remove nondeterministic paths. by @luispadron in #1576
- Make sure that .swiftinterface compile actions also use
-file-prefix-map, so that indexstores emitted by those actions are also deterministic. by @luispadron in #1577 - Use Xcode 16.4 in CI and fix non-bzlmod dependency issues by @luispadron in #1591
- Add
@adincebicas a maintainer by @adincebic in #1592 - Force everyone to use checked continuations Obj-C async bridging, regardless of Swift language mode by @adincebic in #1593
- Add adincebic as BCR maintainer by @adincebic in #1594
New Contributors
- @ma-oli made their first contribution in #1558
- @csmulhern made their first contribution in #1565
- @karim-alweheshy made their first contribution in #1497
Full Changelog: 3.1.2...3.2.0
This release is compatible with Bazel 7.x LTS, 8.x LTS, and 9.x rolling releases.
MODULE.bazel Snippet
bazel_dep(name = "rules_swift", version = "3.2.0", repo_name = "build_bazel_rules_swift")Workspace Snippet
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "build_bazel_rules_swift",
sha256 = "e07a9870c2b2023a1212cb8ea7f436f26d68acddae99c868abb0fab710a247d9",
url = "https://github.com/bazelbuild/rules_swift/releases/download/3.2.0/rules_swift.3.2.0.tar.gz",
)
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()