Skip to content

Releases: hzeller/bant

Improved filesystem caching and other improvements.

21 Sep 18:07

Choose a tag to compare

Maintenance release. Mostly

  • Improved filesystem caching (same directory is only walked once then cached)
  • Unpacking tuples to comma-separated list of variables
  • implement range() function
  • Honor .bazelignore (#19)

Maintenance release: work around clangd canonicalization bug

21 Aug 10:52

Choose a tag to compare

The llvm clangd language server started to fail resolving the relative paths in the compilation DB. This also adds fully canonicalized include paths to work with it.

Maintenance release - more evaluation, updated macros

21 Jul 18:25

Choose a tag to compare

Update builtin-macros to deal with more constructs seen in the field. Improved elaboration, understanding more operators.

More evaluation and built-in macros.

14 Mar 00:39

Choose a tag to compare

A lot of features that help to better evaluate BUILD-files to see through more
constructs needed for dwyu (Also printing allows to show the evaulated
view if requested).

Most notably added were list comprehension (for lists and rule generation) and
some common string methods (e.g. "str".format() or "str".join()).

Also, bant now employs some builtin-macros to help further see through
bazel rules by breaking them down into genrule() and cc_library() for
dwyy to understand.


Note, also available in the Bazel Central Registry for easy integration in your project

bazel_dep(name = "bant", version = "0.2.0")

Improved cxxopt extracting for compilation DB

31 Jan 03:56

Choose a tag to compare

For creating the compilation DB, the copt and cxxopts are extracted from the .bazelrc more comprehensively.


Note, also available in the Bazel Central Registry for easy integration in your project

bazel_dep(name = "bant", version = "0.1.14")

Deal with aliased proto rules; compilation DB includes build outputs

23 Jan 04:10

Choose a tag to compare

  • Improved dealing in dwyu for proto buffer rules that are aliased.
  • Compilation DB adds -I includes for bazel-bin/ generated header files

Minor maintenance: reduce requirement from c++23 -> c++20

02 Jan 11:21

Choose a tag to compare

No substantial changes this time, just reducing c++ standard requirement.

Maintenance release, refined compdb, updated MODULE.bazel

23 Dec 04:26

Choose a tag to compare

Read bazel 8 workspaces

15 Dec 04:51

Choose a tag to compare

First step towards reading bazel8 workspaces.

Also: improve assembly of include directories in the experimental compilation db/compilation flags feature (it is now better working for bzlmod repos).

Better dealing with targets that have slashes.

02 Oct 05:59

Choose a tag to compare

Maintenance release.
This improves dealing with targets that have slashes in them, such as:

cc_library(
  name = "foo/bar"
  # ...
)

These will now be correctly dealt with in printing mypackage:/foo/bar and other features such as dwyu