Releases: bazelbuild/rules_swift
0.23.0
- Update skylib to 1.0.3
- Update bazel worker proto
- Add support for ubsan
- Various changes around specific modules
- Update worker to support cross module incremental compilation in Swift 5.5
- Implement global index store cache, see #567 for details
- This release is tested with Bazel 4.1.0
Please use the release asset from your Bazel WORKSPACE instead of
GitHub's asset to reduce download size and improve reproducibility.
SHA-256 digest: f872c0388808c3f8de67e0c6d39b0beac4a65d7e07eff3ced123d0b102046fb6
0.22.0
- Add
swift.global_module_cache_uses_tmpdir
feature (more details in #581) - Stop passing
uses_swift
tonew_objc_provider
to fix support with bazel HEAD - This release is tested with Bazel 4.0.0
Please use the release asset from your Bazel WORKSPACE instead of
GitHub's asset to reduce download size and improve reproducibility.
SHA-256 digest: 653e8756001616500b110fd156694de7899278bb7480aba22b2f156438a1d810
0.21.0
- Breaking: Rename
swift.strict_modules
toswift.layering_check
to match C++ terminology - Add
swift_common.create_swift_interop_info
to more easily interop with Objective-C / C and Swift in custom rules - Add support for upstream bazel dSYM API changes
- Add hook for rewriting Swift's generated headers. NOTE: This is temporarily disabled until Bazel 4.1.0 is released, if you'd like to enable it sooner let us know
- Add a user settable build setting to specify additional swiftcopts for a swift_libray target. NOTE: This feature is limited to a single copt until Bazel 4.1.0 is released
- This release is tested with Bazel 4.0.0
Please use the release asset from your Bazel WORKSPACE instead of
GitHub's asset to reduce download size and improve reproducibility.
SHA-256 digest: 8407fa0fd04a7ce1d6bb95e90b216404466f809eda459c23cb57b5fa1ef9d639
0.20.0
- Breaking: Removed
swift.no_generated_header
in favor ofgenerates_header
onswift_library
that defaults toFalse
. If you need to depend on yourswift_library
targets from Objective-C, you'll have to setgenerates_header = True
on each target. - Support variable expansion in
copts
andlinkopts
, thanks @omarzl! - Delete support for compiler performance stats collection
- This release is tested with Bazel 4.0.0
Please use the release asset from your Bazel WORKSPACE instead of
GitHub's asset to reduce download size and improve reproducibility.
SHA-256 digest: a525d254b0323380b7abe7cbbe03534167f0fcb45f44f7d16cdd4d7d057b8f8d
0.19.0
- Internal changes related to future explicit module support
- Simplify the paths to generated Swift module maps
- Use released protoc binaries where possible
- Add disable system index feature
swift.disable_system_index
- Pass
-no-clang-module-breadcrumbs
to frontend jobs - This release was tested with Bazel 4.0.0
Please use the release asset from your Bazel WORKSPACE instead of GitHub's asset to reduce download size and improve reproducibility.
SHA-256 digest: be80375680b2553a8b318ffd02ce916a7e1d9060ccad3e7c50f543caafb86fed
0.18.0
- Remove deprecated
module_name
field fromSwiftInfo
, usedirect_modules
instead - Uniquify
-fmodule-map-file=
flags passed toswiftc
- Add the SDK's
Developer/Library/Frameworks
directory to the compiler and linker search paths on platforms that have it. - This release was tested with Bazel 3.7.0
Please use the rules_swift.0.18.0.tar.gz release asset from your Bazel WORKSPACE.
SHA-256 digest: d0e5f888b2ccce42c92e6d4686b5507b4230462627f965f9d39862e11ae9fb35
0.17.0
- Deduplicate module map flags in Swift compilation
- Remove the
swift.implicit_modules
feature - Remove some deprecated transitive fields from
SwiftInfo
- This release was tested with Bazel 3.7.0
Please use the rules_swift.0.17.0.tar.gz release asset from your Bazel WORKSPACE.
SHA-256 digest: c07abf4d94fef598c45e539e9adc0ed25795260c618e167b714cc285b20525e2
0.16.1
0.16.0
-
Add
swift.remap_xcode_path
feature which remaps absolute paths to Xcode in debug info toDEVELOPER_DIR
to improve hermeticity -
Add
swift.coverage_prefix_map
feature which remaps absolute paths in code coverage info -
Add
swift.split_derived_files_generation
feature which splits swiftmodule compilation from archiving which can increase build performance in highly parallel scenarios -
This release is tested with 3.7.0
Please use the rules_swift.0.16.0.tar.gz release asset from your Bazel WORKSPACE.
SHA-256 digest: bfbd03624a1e2addecc1078227ea421e5321a30f9f3a5e8b53ac85efb3107f92