Releases: bazelbuild/buildtools
Releases · bazelbuild/buildtools
Release 7.3.1 (2024-08-27)
What's Changed
- Add support for substituting deps inside select statements by @vladmos in #1275
- Add dict_replace_if_equal command to buildozer. by @tsell in #1274
- chore(bazel): add MODULE.bazel files for bzlmod by @mmorel-35 in #1245
- Replace usage deprecated io/iotil by @albertocavalcante in #1279
- Fix sorting of relative and
@foo.bzl
loads by @fmeum in #1272 - Added s390x arch support by @Repana-Chowdappa in #1265
- Replace references to 'master' branches with 'main' by @vladmos in #1281
- buildifier: fix typo by @mgred in #1283
- Add tables to runfiles by @stevebarrau in #1270
- Return empty string when no BUILD file is available in our workspace by @mering in #1288
- Cover missing cases during module extension label normalization by @fmeum in #1219
- Replace log.Fatalf with log.Exitf to avoid spamming stderr. by @paulherman in #1284
- Bump google.golang.org/protobuf from 1.25.0 to 1.33.0 by @dependabot in #1251
New Contributors
- @tsell made their first contribution in #1274
- @mmorel-35 made their first contribution in #1245
- @albertocavalcante made their first contribution in #1279
- @Repana-Chowdappa made their first contribution in #1265
- @mgred made their first contribution in #1283
- @stevebarrau made their first contribution in #1270
- @mering made their first contribution in #1288
- @paulherman made their first contribution in #1284
- @dependabot made their first contribution in #1251
Full Changelog: v7.1.2...v7.3.1
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.