0.1.0
馃帀 This release is a major milestone for DWYU 馃帀
This is the first release without a leading 0.0. While DWYU is not yet ready for 1.0.0, its overall feature set is now mostly stable. No bug reports with major gaps in functionality have been reported and thus we are confident to leave the "beta testing" phase.
This is also the first release supporting bzlmod. Also we added examples demonstrating DWYU usage.
Please note this release has some breaking changes as defined below.
Using Bzlmod (Recommended)
Add to your MODULE.bazel
file:
bazel_dep(name = "depend_on_what_you_use", version = "0.1.0")
Using WORKSPACE (Legacy)
Add to your WORKSPACE
file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "depend_on_what_you_use",
sha256 = "746de76cb6a8d5e0d6e60c91bcc73ffd6088fff4152552c3e0aee6219c1d809d",
strip_prefix = "depend_on_what_you_use-0.1.0",
url = "https://github.com/martis42/depend_on_what_you_use/releases/download/0.1.0/depend_on_what_you_use-0.1.0.tar.gz",
)
load("@depend_on_what_you_use//:setup_step_1.bzl", dwyu_setup_step_1 = "setup_step_1")
dwyu_setup_step_1()
load("@depend_on_what_you_use//:setup_step_2.bzl", dwyu_setup_step_2 = "setup_step_2")
dwyu_setup_step_2()
Breaking Changes
- The minimum Bazel version is now 5.4.0
- The output group has been renamed. Replace
--output_groups=cc_dwyu_output
with--output_groups=dwyu
in your DWYU commands #170 - The name for the DWYU aspect option to provide a config file for ignored include paths changed from
config = "//<your_config_file>.json"
toignored_includes = "//<your_config_file>.json"
#181 - Renamed the
--bazel-bin
apply_fixes CLI option to--search-path
to make it more obvious how flexibly it can be used #221
Noteworthy Changes
- Windows and macOS are now explicitly tested in the CI to ensure DWYU behaves on those platforms as expected.
- You can now specify a custom list of tags to make DWYU skip analyzing targets #159
- Support depending on DWYU via bzlmod
- Ensure code quality with ruff (most checks are active)
- There is now a set of examples
- Add verbosity option to the aspect #209
What's Changed
- Add missing index entry to new feature by @martis42 in #156
- Remove deprecated doc parts by @martis42 in #157
- Chore: Toolchain updates by @martis42 in #158
- Allow specifying custom tags to skip DWYU analysis by @martis42 in #159
- Update Bazel mypy integration by @martis42 in #161
- Update rules_python to 0.27.0 by @martis42 in #162
- Bump actions/setup-python from 4 to 5 by @dependabot in #163
- Start using bzlmod by @martis42 in #165
- Be compatible to stop exporting language modules by @martis42 in #167
- Soft vendor pcpp by @martis42 in #168
- Various chores by @martis42 in #169
- Rename the DWYU output group by @martis42 in #170
- Use ruff for formatting and linting by @martis42 in #171
- Replace dependabot with renovate by @martis42 in #173
- Update minimum Python version for development to 3.9 by @martis42 in #175
- Update dependency pre-commit to v3.6.0 by @renovate in #176
- Explicitly use pre-commit 3.6 by @martis42 in #177
- Some Cleanup by @martis42 in #178
- Restructure aspect integration tests by @martis42 in #179
- Use Bazel version 7.0.0 for development by @martis42 in #180
- Give config for ignored includes an explicit name by @martis42 in #181
- More control over apply_fixes integration tests by @martis42 in #182
- Add examples by @martis42 in #183
- Cleanup by @martis42 in #184
- Test examples with both workspace modi by @martis42 in #185
- Make aspect tests proper integration tests by @martis42 in #186
- Extend testing by @martis42 in #187
- Consistent and modern type annotations by @martis42 in #188
- Update pre-commit hook astral-sh/ruff-pre-commit to v0.1.11 by @renovate in #189
- Extend ruff linting to most rules by @martis42 in #191
- Remove CI badge by @martis42 in #192
- Add pre-commit badge by @martis42 in #193
- Extend documentation for bzlmod by @martis42 in #194
- Ensure the examples work on all major platforms by @martis42 in #195
- Update pre-commit hook astral-sh/ruff-pre-commit to v0.1.13 by @renovate in #196
- Update mypy to 1.8.0 by @martis42 in #202
- Update rules python to 0 28 by @martis42 in #204
- Execute aspect integration tests with macos by @martis42 in #206
- Add verbosity option to aspect by @martis42 in #209
- chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.1.14 by @renovate in #210
- Make aspect integrations tests wotk on Windows by @martis42 in #207
- Execute apply_fixes integration tests on macos by @martis42 in #213
- chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.2.0 by @renovate in #215
- Execute apply_fixes integration tests on Windows by @martis42 in #214
- chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.2.1 by @renovate in #218
- Improve reports discovery speed by @martis42 in #221
- Update supported platforms by @martis42 in #222
- Automate part of the release creation by @martis42 in #224
- Prepare deployment to central bzlmod registry by @martis42 in #225
- chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.2.2 by @renovate in #223
- Downgrade rules python to 0.27.1 by @martis42 in #226
- chore: Update tool deps by @martis42 in #227
- BCR: Specify Bazel versions for testing by @martis42 in #228
- Improve releasing via bzlmod by @martis42 in #230
New Contributors
Full Changelog: 0.0.13...0.1.0