Releases: bazelbuild/buildtools
Releases · bazelbuild/buildtools
Release 7.1.0 (2024-03-26)
- Load statements are forced to be on the top of a file (except WORKSPACE files) and be sorted and compressed. Former warnings
load-on-top,out-of-order-loadandsame-origin-loadare now removed. distribsare no longer being moved into the package declaration- Minor bug fixes
Release 6.4.0 (2023-11-15)
- More correct sorting order of load statements
- Buildozer: better error reporting for missing comments
- Suggested fixes for
package-on-topwarnings
Release 6.3.3 (2023-08-25)
out_of_order_loadwarning is enabled by defaultformatcommand for buildozer for unconditional formatting
Release 6.3.2 (2023-08-17)
- Updates to buildozer commands (
use_repoanduse_repo_add). - Bug fixes.
Release 6.1.2 (2023-04-27)
Technical release.
Version tag on GitHub now start with v, e.g. v6.1.2 for the current release.
Release 6.1.1 (2023-04-26)
- Added external repo support for
unused_deps - Added
use_repo_add,use_repo_remove, andset_selectcommand for Builldozer - Bug fixes
Release 6.1.0 (2023-03-30)
- [INC] Buildifier now sorts additional attributes of build rules:
test_srcs,test_deps,test_data,test_tags,implementation_deps, andprivate_deps. Buildifier also treats them as labels (except fortest_tags`) and shortens them if necessary. - [INC] Buildifier now applies the sorting/simplification rules for attributes if their values aren't necessarily plain lists of strings but also combinations of lists, select statements and other expressions (sorting each top-level list and each list inside select statements independently).
- In
WORKSPACEfiles buildifier doesn't merge loads if they load the same symbol but from different sources. - Buildozer preserves Module-specific formatting rules when operates on
MODULEfiles.
Release 6.0.1 (2023-01-31)
.buildifier.jsonconfig file- Minor fixes and improvements
Release 6.0.0 (2023-01-10)
- Buildozer: supported deleting of wildcard attributes
- Buildozer:
remove_if_equalcommand - Buildifier: updates to the formatting of
WORKSPACEfiles buildifier_testcan escape the sandbox- Bug fixes
Release 5.1.0 (2022-04-14)
- Bug fixes