Releases: hzeller/bant
Improved filesystem caching and other improvements.
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
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
Update builtin-macros to deal with more constructs seen in the field. Improved elaboration, understanding more operators.
More evaluation and built-in macros.
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
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
- Improved dealing in
dwyufor proto buffer rules that are aliased. - Compilation DB adds
-Iincludes forbazel-bin/generated header files
Minor maintenance: reduce requirement from c++23 -> c++20
No substantial changes this time, just reducing c++ standard requirement.
Maintenance release, refined compdb, updated MODULE.bazel
Maintenance release.
Read bazel 8 workspaces
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.
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