Skip to content

Commit f11c601

Browse files
authored
Bump version to 0.0.1-alpha.6 (#465)
1 parent 2b9ea7e commit f11c601

7 files changed

Lines changed: 163 additions & 79 deletions

File tree

CHANGELOG.md

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

3+
## 0.0.1-alpha.6
4+
5+
### Server
6+
7+
- Add rule link to server diagnostics ([#18128](https://github.com/astral-sh/ruff/pull/18128))
8+
- Avoid panicking when there are multiple workspaces ([#18151](https://github.com/astral-sh/ruff/pull/18151))
9+
- Show related information in diagnostic ([#17359](https://github.com/astral-sh/ruff/pull/17359))
10+
11+
### Configuration
12+
13+
- Default `src.root` setting to `['.', '<project_name>']` if an `src/` directory does not exist but a `<project-name>/<project-name>` directory does exist ([#18141](https://github.com/astral-sh/ruff/pull/18141))
14+
15+
### Typing semantics and features
16+
17+
- Consider a class with a dynamic element in its MRO assignable to any subtype of `type` ([#18205](https://github.com/astral-sh/ruff/pull/18205))
18+
- Ensure that a function-literal type is always considered equivalent to itself ([#18227](https://github.com/astral-sh/ruff/pull/18227))
19+
- Promote literals when inferring class specializations from constructors ([#18102](https://github.com/astral-sh/ruff/pull/18102))
20+
- Support `typing.TypeAliasType` ([#18156](https://github.com/astral-sh/ruff/pull/18156))
21+
- Infer function-call type variables in both directions ([#18155](https://github.com/astral-sh/ruff/pull/18155))
22+
23+
### Improvements to modeling of runtime semantics
24+
25+
- Integer indexing into `bytes` returns `int` ([#18218](https://github.com/astral-sh/ruff/pull/18218))
26+
- Emit `invalid-exception-caught` diagnostics even when the caught exception is not bound to a variable ([#18202](https://github.com/astral-sh/ruff/pull/18202))
27+
28+
### Usability improvements
29+
30+
- Add hint to some diagnostics that [PEP 604](https://peps.python.org/pep-0604/) union syntax is only available on Python 3.10+ ([#18192](https://github.com/astral-sh/ruff/pull/18192))
31+
- Add note to `unresolved-import` diagnostic hinting to users to configure their Python environment ([#18207](https://github.com/astral-sh/ruff/pull/18207))
32+
- Make `division-by-zero` an opt-in diagnostic rather than opt-out ([#18220](https://github.com/astral-sh/ruff/pull/18220))
33+
34+
### Import resolution improvements
35+
36+
- Add support for PyPy virtual environments ([#18203](https://github.com/astral-sh/ruff/pull/18203))
37+
38+
### Contributors
39+
40+
- [@dhruvmanila](https://github.com/dhruvmanila)
41+
- [@InSyncWithFoo](https://github.com/InSyncWithFoo)
42+
- [@AlexWaygood](https://github.com/AlexWaygood)
43+
- [@MichaReiser](https://github.com/MichaReiser)
44+
- [@BradonZhang](https://github.com/BradonZhang)
45+
- [@dcreager](https://github.com/dcreager)
46+
- [@danielhollas](https://github.com/danielhollas)
47+
- [@esadek](https://github.com/esadek)
48+
- [@kiran-4444](https://github.com/kiran-4444)
49+
- [@Mathemmagician](https://github.com/Mathemmagician)
50+
- [@sharkdp](https://github.com/sharkdp)
51+
- [@felixscherz](https://github.com/felixscherz)
52+
- [@adamaaronson](https://github.com/adamaaronson)
53+
- [@carljm](https://github.com/carljm)
54+
355
## 0.0.1-alpha.5
456

557
### Bug fixes

dist-workspace.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[workspace]
22
members = ["cargo:./ruff"]
33
packages = ["ty"]
4-
version = "0.0.1-alpha.5"
4+
version = "0.0.1-alpha.6"
55

66
# Config for 'dist'
77
[dist]

docs/reference/configuration.md

Lines changed: 7 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)