Skip to content

3.1.0

Choose a tag to compare

@github-actions github-actions released this 09 Jul 18:51
6d28b81

What's Changed

  • Add always_include_developer_search_paths to mixed_language_library by @jschear in #1539
  • Add clang_deps attr to mixed_language_library by @jschear in #1540
  • Use ctx.coverage_instrumented to detect if a target should be instrumented by @brentleyjones in #1547
  • Fix rules_cc for 7.x WORKSPACE/non-bzlmod users by @aaronsky in #1549
  • Fix .swiftsourceinfo readonly bugs in version 3+ by @luispadron in #1550

Full Changelog: 3.0.2...3.1.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.1.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 = "a7753fc930005bd1fffde96a63b562db873d58d5ad07752c1f7e16581feb4bb6",
    url = "https://github.com/bazelbuild/rules_swift/releases/download/3.1.0/rules_swift.3.1.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()