|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +## 0.0.1-alpha.18 |
| 4 | + |
| 5 | +### Bug fixes |
| 6 | + |
| 7 | +- Fix goto definition on imports ([#19834](https://github.com/astral-sh/ruff/pull/19834)) |
| 8 | +- Support non-generic recursive type aliases that use [the `type` statement](https://docs.python.org/3/reference/simple_stmts.html#grammar-token-python-grammar-type_stmt) ([#19805](https://github.com/astral-sh/ruff/pull/19805)) |
| 9 | +- Handle cycles when finding implicit attributes ([#19833](https://github.com/astral-sh/ruff/pull/19833)) |
| 10 | + |
| 11 | +### Server |
| 12 | + |
| 13 | +- Implement support for "rename" language server feature ([#19551](https://github.com/astral-sh/ruff/pull/19551)) |
| 14 | +- Add `ty.experimental.rename` server setting ([#19800](https://github.com/astral-sh/ruff/pull/19800)) |
| 15 | +- Add `ty.inlayHints.variableTypes` server setting ([#19780](https://github.com/astral-sh/ruff/pull/19780)) |
| 16 | +- Add inlay hints for call arguments (configured by `ty.inlayHints.callArgumentNames` server setting) ([#19269](https://github.com/astral-sh/ruff/pull/19269)) |
| 17 | +- Enable goto definition to jump to the runtime definition in the standard library for stdlib symbols (rather than the type definition in typeshed's stubs) ([#19529](https://github.com/astral-sh/ruff/pull/19529)) |
| 18 | +- Support LSP client settings ([#19614](https://github.com/astral-sh/ruff/pull/19614)) |
| 19 | +- Update goto range for attribute access to only target the attribute ([#19848](https://github.com/astral-sh/ruff/pull/19848)) |
| 20 | +- Warn users if the server received unknown options ([#19779](https://github.com/astral-sh/ruff/pull/19779)) |
| 21 | +- Render docstrings in hover ([#19882](https://github.com/astral-sh/ruff/pull/19882)) |
| 22 | +- Resolve docstrings for modules ([#19898](https://github.com/astral-sh/ruff/pull/19898)) |
| 23 | + |
| 24 | +### Typing semantics and features |
| 25 | + |
| 26 | +- Add precise inference for indexing, slicing and unpacking `NamedTuple` instances ([#19560](https://github.com/astral-sh/ruff/pull/19560)) |
| 27 | +- Disallow `typing.TypedDict` in type expressions ([#19777](https://github.com/astral-sh/ruff/pull/19777)) |
| 28 | +- Implement module-level `__getattr__` support ([#19791](https://github.com/astral-sh/ruff/pull/19791)) |
| 29 | +- Improve ability to solve TypeVars when they appear in unions ([#19829](https://github.com/astral-sh/ruff/pull/19829)) |
| 30 | +- Improve subscript narrowing for `collections.ChainMap`, `collections.Counter`, `collections.deque` and `collections.OrderedDict` ([#19781](https://github.com/astral-sh/ruff/pull/19781)) |
| 31 | +- Extend all tuple special casing to tuple subclasses ([#19669](https://github.com/astral-sh/ruff/pull/19669)) |
| 32 | +- Use separate Rust types for bound and unbound type variables ([#19796](https://github.com/astral-sh/ruff/pull/19796)) |
| 33 | +- Validate writes to `TypedDict` keys ([#19782](https://github.com/astral-sh/ruff/pull/19782)) |
| 34 | +- `typing.Self` is bound by the method, not the class ([#19784](https://github.com/astral-sh/ruff/pull/19784)) |
| 35 | +- Fix deferred name loading in PEP695 generic classes/functions ([#19888](https://github.com/astral-sh/ruff/pull/19888)) |
| 36 | +- Improve handling of symbol-lookup edge cases involving class scopes ([#19795](https://github.com/astral-sh/ruff/pull/19795)) |
| 37 | + |
| 38 | +### Performance |
| 39 | + |
| 40 | +- Improve performance around tuple types ([#19840](https://github.com/astral-sh/ruff/pull/19840)) |
| 41 | +- Improve performance of subtyping and assignability checks for protocols ([#19824](https://github.com/astral-sh/ruff/pull/19824)) |
| 42 | +- Improve multithreaded performance for large codebases ([#19867](https://github.com/astral-sh/ruff/pull/19867)) |
| 43 | + |
| 44 | +### Memory usage optimizations |
| 45 | + |
| 46 | +- Reduce memory usage of `TupleSpec` and `TupleType` ([#19872](https://github.com/astral-sh/ruff/pull/19872)) |
| 47 | +- Reduce size of member table ([#19572](https://github.com/astral-sh/ruff/pull/19572)) |
| 48 | + |
| 49 | +### Contributors |
| 50 | + |
| 51 | +- [@AlexWaygood](https://github.com/AlexWaygood) |
| 52 | +- [@Gankra](https://github.com/Gankra) |
| 53 | +- [@ntbre](https://github.com/ntBre) |
| 54 | +- [@MichaReiser](https://github.com/MichaReiser) |
| 55 | +- [@PrettyWood](https://github.com/PrettyWood) |
| 56 | +- [@dhruvmanila](https://github.com/dhruvmanila) |
| 57 | +- [@carljm](https://github.com/carljm) |
| 58 | +- [@dcreager](https://github.com/dcreager) |
| 59 | +- [@UnboundVariable](https://github.com/UnboundVariable) |
| 60 | +- [@sharkdp](https://github.com/sharkdp) |
| 61 | +- [@oconnor663](https://github.com/oconnor663) |
| 62 | +- [@MatthewMckee4](https://github.com/MatthewMckee4) |
| 63 | + |
3 | 64 | ## 0.0.1-alpha.17
|
4 | 65 |
|
5 | 66 | ### Bug fixes
|
|
0 commit comments