Skip to content

Commit e7fc591

Browse files
Add 0.12.0 changelog (#682)
1 parent a544531 commit e7fc591

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

CHANGELOG.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,44 @@
11
# Changelog
22

3+
## 0.12.0
4+
5+
### 🚀 New Features
6+
7+
The Ruff linter and formatter can now be configured independently. When using the `usethis tool ruff` command, you can now specify whether to add or remove the linter or formatter independently using the `--linter` and `--formatter` options. This allows for more granular control over which components of Ruff are used in your project. By default, as before, both the linter and formatter will be added or removed together.
8+
This introduces a change in the way that Bitbucket Pipeline steps will be configured for Ruff, by having the linter and formatter as separate steps.
9+
10+
Integrations with Ruff for pre-commit and Bitbucket pipelines will determine whether the linter or formatter is being used based on the presence of the `ruff.lint` and `ruff.format` keys the active Ruff configuration file.
11+
12+
### 🐞 Bug Fixes
13+
14+
The `usethis tool` command no longer creates a `pyproject.toml` file when using the `--remove` option.
15+
16+
The Coverage.py tool was previously referred to as simply "coverage" in the codebase and documentation. This has been corrected to Coverage.py, [which is the official name of the tool](https://coverage.readthedocs.io/en/latest/index.html).
17+
18+
The RegEx used to parse the Python versions outputted by `uv python list` has been tightened to avoid matching invalid versions containing non-alphanumeric leading characters.
19+
20+
### 📦 Packaging
21+
22+
The `click` package is no longer constrained to `!=8.2.0`, since the latest version of Typer (0.16.0) is compatible with `click` 8.2.0.
23+
24+
### 📚 Documentation
25+
26+
The README now explains that `usethis tool` commands will create a `pyproject.toml` file if it does not already exist (to be able to declare dependencies).
27+
28+
A security policy has been added in `SECURITY.md`.
29+
30+
### 🔧 Internal Changes
31+
32+
A `requirements.txt` file is now included in the repository (generated using the uv lockfile and automatically updated via pre-commit). This allows for Dependabot scanning. Accordingly, the version of `h11` in the lockfile was bumped to address a security issue (CVE-2025-43859).
33+
34+
CodeQL is now configured for security scanning.
35+
36+
Previously, all pre-commit hooks ran post-checkout, post-merge, and post-rewrite. Now, only `uv-sync` will run for those stages, the rest will run only on pre-commit. This is to avoid unnecessary overhead when checking out branches or merging, etc.
37+
38+
Some stricter linting configuration has been added for Ruff.
39+
40+
Permissions are now set explicitly for the GitHub Actions workflows used for development.
41+
342
## 0.11.0
443

544
### 🚀 New Features

0 commit comments

Comments
 (0)