Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# Changelog

## 0.15.2

### 🦾 Robustness

- Previously, empty `.pre-commit-config.yaml` files would cause errors, (since they are not considered valid by pre-commit). Now usethis will treat them as if they do not exist, and so will write new config to them if applicable, rather than raising a validation error for this case.

### 🐞 Bug Fixes

- When subprocessing `uv`, the `usethis init` command will no longer use the default for `--build-backend`, and instead will always explicitly use `hatch`. This may change in the future if the default supported build backend for `usethis` becomes `uv_build`, which is the new default for `uv` v0.8.0. This change avoids creating broken config which mixes `uv_build` with `hatch` config.

- When adding Import Linter while using Ruff, the `INP` rules are selected, but ignored for the tests directory. However, no message would be displayed in cases where those rules were already selected but not already ignored. Now, a message will be displayed in this case.

### 📚 Documentation

- A documentation site is now available at <https://usethis.readthedocs.io/en/stable/>. The CLI Reference section has been moved there from the README. Other minor wording and clarity improvements have been made.

- The CLI reference now mentions that `usethis tool pre-commit` will install hooks to Git.

### 🔧 Internal Changes

- The `doc` dependency group is no longer a default group. This reduces the dependencies required on CI.

## 0.15.1

### 🐞 Bug Fixes
Expand Down