Buildtools Versions Save

A bazel BUILD file formatter and editor

v7.1.1

1 week ago

What's Changed

New Contributors

Full Changelog: https://github.com/bazelbuild/buildtools/compare/v7.1.0...v7.1.1

v7.1.0

1 month ago
  • 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 and same-origin-load are now removed.
  • distribs are no longer being moved into the package declaration
  • Minor bug fixes

v6.4.0

5 months ago
  • More correct sorting order of load statements
  • Buildozer: better error reporting for missing comments
  • Suggested fixes for package-on-top warnings

v6.3.3

8 months ago
  • out_of_order_load warning is enabled by default
  • format command for buildozer for unconditional formatting

v6.3.2

8 months ago
  • Updates to buildozer commands (use_repo and use_repo_add).
  • Bug fixes.

v6.1.2

1 year ago

Technical release.

Version tag on GitHub now start with v, e.g. v6.1.2 for the current release.

6.1.1

1 year ago
  • Added external repo support for unused_deps
  • Added use_repo_add, use_repo_remove, and set_select command for Builldozer
  • Bug fixes

6.1.0

1 year ago
  • [INC] Buildifier now sorts additional attributes of build rules: test_srcs, test_deps, test_data, test_tags, implementation_deps, and private_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.

6.0.1

1 year ago
  • .buildifier.json config file
  • Minor fixes and improvements

6.0.0

1 year ago
  • Buildozer: supported deleting of wildcard attributes
  • Buildozer: remove_if_equal command
  • Buildifier: updates to the formatting of WORKSPACE files
  • buildifier_test can escape the sandbox
  • Bug fixes