Skip to content

Commit 30516b4

Browse files
Bump version to 0.17.2 (astral-sh#29637)
Co-authored-by: astral-automations-bot[bot] <305554984+astral-automations-bot[bot]@users.noreply.github.com> Co-authored-by: Brent Westbrook <36778786+ntBre@users.noreply.github.com>
1 parent 59a9e85 commit 30516b4

93 files changed

Lines changed: 259 additions & 216 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/ISSUE_TEMPLATE/1_bug_report.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ body:
2626
attributes:
2727
label: Version
2828
description: What version of ruff are you using? (see `ruff version`)
29-
placeholder: e.g., ruff 0.17.1
29+
placeholder: e.g., ruff 0.17.2
3030
validations:
3131
required: false

‎.github/ISSUE_TEMPLATE/3_question.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ body:
1313
attributes:
1414
label: Version
1515
description: What version of ruff are you using? (see `ruff version`)
16-
placeholder: e.g., ruff 0.17.1
16+
placeholder: e.g., ruff 0.17.2
1717
validations:
1818
required: false

‎CHANGELOG.md‎

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

3+
## 0.17.2
4+
5+
Released on 2026-10-22.
6+
7+
### Preview features
8+
9+
- \[`complexity`\] Add `unnecessary-regular-expression-compile` ([#25533](https://github.com/astral-sh/ruff/pull/25533))
10+
11+
### Bug fixes
12+
13+
- Avoid syntax errors for type variables with starred constraints (`UP040`, `UP046`, `UP047`, `RUF053`) ([#28362](https://github.com/astral-sh/ruff/pull/28362))
14+
- \[`pydocstyle`\] Treat backslash-escaped `*args` and `**kwargs` as documented (`D417`) ([#29536](https://github.com/astral-sh/ruff/pull/29536))
15+
- \[`pylint`\] Avoid false positive on starred elements (`PLE0643`) ([#29483](https://github.com/astral-sh/ruff/pull/29483))
16+
- \[`pylint`\] Mark fixes unsafe when deleting comments (`PLR5501`, `PLW0120`) ([#29414](https://github.com/astral-sh/ruff/pull/29414))
17+
- \[`pyupgrade`\] Mark fix unsafe when deleting comments (`UP035`) ([#29413](https://github.com/astral-sh/ruff/pull/29413))
18+
19+
### Performance
20+
21+
- Avoid intermediate names in lint name resolution ([#29506](https://github.com/astral-sh/ruff/pull/29506))
22+
- Prefilter bidirectional Unicode checks by UTF-8 leading bytes ([#29561](https://github.com/astral-sh/ruff/pull/29561))
23+
- Share postfix parsing and reduce expression copies ([#29480](https://github.com/astral-sh/ruff/pull/29480))
24+
25+
### Configuration
26+
27+
- \[`pylint`\] Add a configurable allowlist for `magic-value-comparison` (`PLR2004`) ([#18961](https://github.com/astral-sh/ruff/pull/18961))
28+
29+
### Documentation
30+
31+
- Clarify documentation and correct stale guidance ([#29374](https://github.com/astral-sh/ruff/pull/29374))
32+
- \[`pyupgrade`\] Remove mentions of variance related to fix safety (`UP040`, `UP047`) ([#29592](https://github.com/astral-sh/ruff/pull/29592))
33+
34+
### Contributors
35+
36+
- [@fixfon](https://github.com/fixfon)
37+
- [@MichaReiser](https://github.com/MichaReiser)
38+
- [@zaniebot](https://github.com/zaniebot)
39+
- [@FrancescoPezzella](https://github.com/FrancescoPezzella)
40+
- [@anishgirianish](https://github.com/anishgirianish)
41+
- [@rajveer3x](https://github.com/rajveer3x)
42+
- [@charliermarsh](https://github.com/charliermarsh)
43+
- [@LckyLike](https://github.com/LckyLke)
44+
- [@DaniBodor](https://github.com/DaniBodor)
45+
346
## 0.17.1
447

548
Released on 2026-10-15.

0 commit comments

Comments
 (0)