Skip to content

2.6.3 Feb 2025 Improved deps_filter

Latest

Choose a tag to compare

@plaird plaird released this 19 Feb 20:15
· 23 commits to main since this release
e67ca4b

This release is a solidification of the deps_filter mechanism of excluding unwanted transitive dependencies. The filter was introduced as deps_filter_transitive in release 2.4.1 and renamed and expanded in this release. This release also adds a new filter deps_filter_disable_transitives that only excludes the transitives of a dependency, not the dependency itself. #261

Notable Release Documentation:

Note that deps_filter_transitive still exists in the rule, but is deprecated. Please switch to the renamed filter as deps_filter. Note that the attribute deps_exclude has been renamed to deps_exclude_labels on the new filter.

Bzlmod:

bazel_dep(name = "rules_spring", version = "2.6.3")

WORKSPACE:

http_archive(
    name = "rules_spring",
    sha256 = "2d0805b4096db89b8e407ed0c243ce81c3d20f346e4c259885041d5eabc59436",
    urls = [
        "https://github.com/salesforce/rules_spring/releases/download/2.6.3/rules-spring-2.6.3.zip",
    ],
)