Skip to content

Releases: bazelbuild/rules_swift

0.26.0

02 Feb 03:34
Compare
Choose a tag to compare
  • Fix worker with universal binaries
  • Workaround bazelbuild/bazel#14291
  • Fix protoc with universal binaries
  • Workaround github's rules_proto zip issues
  • Fix swift_binary depending on apple_static_framework_import
  • Thanks to @brentleyjones and @thii for many contributions
  • This release was tested with Bazel 5.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: 3e52a508cdc47a7adbad36a3d2b712e282cc39cc211b0d63efcaf608961eb36b

0.25.0

22 Jan 01:59
2f9d3ac
Compare
Choose a tag to compare
  • Fix CC not being set on Linux, thanks @dflems!
  • Add swiftsourceinfo to incremental outputs, thanks @BalestraPatrick!
  • Improve cross module incremental import support
  • Add swift.use_pch_output_dir feature, see #701 for more info, thanks @jerrymarino!
  • Add swift.use_old_driver to temporarily revert to the deprecated Swift driver
  • Fix worker exit code when swiftc crashes
  • Remove use of ObjcProvider.headers, which has been removed from bazel HEAD
  • Add --@build_bazel_rules_swift//swift:universal_tools to compile tools as fat binaries to share caches on M1 + intel
  • Thanks to @brentleyjones and @thii for many contributions
  • This release was tested with Bazel 5.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: 8a49da750560b185804a4bc95c82d3f9cc4c2caf788960b0e21945759155fdd9

0.24.0

04 Oct 21:15
9a1073d
Compare
Choose a tag to compare
  • Add ability to dump the Swift AST to a file
  • Fix .swiftinterface propagation through swift_module_alias
  • Add support for generating LLVM Bitcode files instead of Object files, thanks @omarzl!
  • Remove swiftinterface file output group
  • Fix relative rpaths with swift_test
  • Fix -embed-bitcode with Xcode 13
  • Produce .swiftsourceinfo when building, thanks @rsahara!

Please use the release asset from your Bazel WORKSPACE instead of
GitHub's asset to reduce download size and improve reproducibility.

SHA-256 digest: 4f167e5dbb49b082c5b7f49ee688630d69fb96f15c84c448faa2e97a5780dbbc

0.23.0

11 Jun 18:58
Compare
Choose a tag to compare
  • 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

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