Skip to content

Releases: bazelbuild/rules_swift

0.22.0

27 May 21:46
9f42d75
Compare
Choose a tag to compare
  • Add swift.global_module_cache_uses_tmpdir feature (more details in #581)
  • Stop passing uses_swift to new_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

04 May 02:04
Compare
Choose a tag to compare
  • Breaking: Rename swift.strict_modules to swift.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

07 Apr 00:27
Compare
Choose a tag to compare
  • Breaking: Removed swift.no_generated_header in favor of generates_header on swift_library that defaults to False. If you need to depend on your swift_library targets from Objective-C, you'll have to set generates_header = True on each target.
  • Support variable expansion in copts and linkopts, 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

12 Mar 18:16
6ebb0f0
Compare
Choose a tag to compare
  • 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

07 Jan 00:33
Compare
Choose a tag to compare
  • Remove deprecated module_name field from SwiftInfo, use direct_modules instead
  • Uniquify -fmodule-map-file= flags passed to swiftc
  • 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

02 Dec 01:03
Compare
Choose a tag to compare
  • 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

10 Nov 00:53
aff1754
Compare
Choose a tag to compare
  • Add support for --incompatible_require_linker_input_cc_api
  • This release is tested with 3.7.0

Please use the rules_swift.0.16.1.tar.gz release asset from your Bazel WORKSPACE.

SHA-256 digest: a228a8e41fdc165a2c55924b728c466e0086f3e638a05d6da98aa6222cbb19c1

0.16.0

04 Nov 20:46
17126a9
Compare
Choose a tag to compare
  • Add swift.remap_xcode_path feature which remaps absolute paths to Xcode in debug info to DEVELOPER_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

0.15.0

21 Sep 21:31
Compare
Choose a tag to compare

This release is tested with 3.5.0

Please use the rules_swift.0.15.0.tar.gz release asset from your Bazel WORKSPACE.

SHA-256 digest: d2f38c33dc82cf3160c59342203d31a030e53ebe8f4c7365add7a549223f9c62

0.14.0

10 Aug 21:14
bde6d31
Compare
Choose a tag to compare
  • This release is tested with Bazel 3.1.0.

Please use the rules_swift.0.14.0.tar.gz release asset from your Bazel WORKSPACE.

SHA-256 digest: cea22c0616d797e494d7844a9b604520c87f53c81de49613a7e679ec5b821620