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:
- unwanted classes documentation for an overview of deps exclusions
- deps_filter documentation for docs on how to exclude dependencies (formerly named deps_filter_transitive)
- deps_filter_disable_transitives documentation for the new filter that disable transitives but not the dep itself
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",
],
)