Skip to content

1.17.0

Compare
Choose a tag to compare
@github-actions github-actions released this 22 Mar 15:49
· 112 commits to master since this release
a20c388

What's Changed

  • Replace instances of to_json() method with json.encode(...) (Thanks, @c-mita!)
  • Add swift.emit_swiftdoc and swift.emit_swiftsourceinfo features to control Bazel tracking the .swiftdoc and .swiftsourceinfo files (Thanks, @chiragramani!)
  • Add swift.emit_private_swiftinterface feature to control emitting .private.swiftinterface files (Thanks, @luispadron!)
  • Add the swift_proto_library rules (Thanks, @AttilaTheFun!)

This release is compatible with 6.x LTS, 7.x LTS, and bazel 8.x rolling releases

MODULE.bazel Snippet

bazel_dep(name = "rules_swift", version = "1.17.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 = "9bc9dc949062405412404c0f07f7323ba310f3f91f42af414ac27e338ba7bb8c",
    url = "https://github.com/bazelbuild/rules_swift/releases/download/1.17.0/rules_swift.1.17.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()