Releases: bazelbuild/buildtools
Releases · bazelbuild/buildtools
Release 7.1.2 (2024-05-23)
Release 7.1.1 (2024-04-17)
What's Changed
- constant-glob validates named include argument by @mark-thm in #1257
- Stop testing the ability to set
licenses
anddistribs
inpackage()
by @aiuto in #1261 - Do not declare bash output on windows by @limdor in #1262
- Reference runner.bat with local workspace path by @steve-261370 in #1260
- Fix crash when MODULE.bazel has
foo = bar.baz()
by @fmeum in #1263 - buildozer: correctly substitute custom string attrs by @thumphries-stripe in #1246
New Contributors
- @mark-thm made their first contribution in #1257
- @steve-261370 made their first contribution in #1260
- @thumphries-stripe made their first contribution in #1246
Full Changelog: v7.1.0...v7.1.1
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-load
andsame-origin-load
are now removed. distribs
are 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-top
warnings
Release 6.3.3 (2023-08-25)
out_of_order_load
warning is enabled by defaultformat
command for buildozer for unconditional formatting
Release 6.3.2 (2023-08-17)
- Updates to buildozer commands (
use_repo
anduse_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_select
command 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 for
test_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
WORKSPACE
files buildifier doesn't merge loads if they load the same symbol but from different sources. - Buildozer preserves Module-specific formatting rules when operates on
MODULE
files.
Release 6.0.1 (2023-01-31)
.buildifier.json
config file- Minor fixes and improvements