|
| 1 | += Changelog #65 |
| 2 | +:sectanchors: |
| 3 | +:page-layout: post |
| 4 | + |
| 5 | +Commit: commit:14de9e54a6d9ef070399b34a11634294a8cc3ca5[] + |
| 6 | +Release: release:2021-02-22[] |
| 7 | + |
| 8 | +== Sponsors |
| 9 | + |
| 10 | +**Become a sponsor:** On https://opencollective.com/rust-analyzer/[OpenCollective] or |
| 11 | +https://github.com/sponsors/rust-analyzer[GitHub Sponsors]. |
| 12 | + |
| 13 | +== New Features |
| 14 | + |
| 15 | +* pr:7620[] support control flow in `extract_function` assist: |
| 16 | ++ |
| 17 | +image::https://user-images.githubusercontent.com/4218373/107544222-0fadf280-6bdb-11eb-9625-ed6194ba92c0.gif[] |
| 18 | + |
| 19 | +* pr:7657[] implement UTF-8 offsets protocol extension from `clangd`. |
| 20 | + |
| 21 | +* pr:7729[] detect musl distros in the Code extension. |
| 22 | + |
| 23 | + |
| 24 | +== Fixes |
| 25 | +* pr:7684[] fix runnable link order. |
| 26 | +* pr:7687[] parse `default` in traits impls. |
| 27 | +* pr:7703[] allow comments between newlines in chaining hints. |
| 28 | +* pr:7704[] avoid transmitting unchanged diagnostics. |
| 29 | +* pr:7705[] show hover info of the definition of ConstReference patterns instead of its type. |
| 30 | +* pr:7722[] fix incorrect missing field diagnostic with box patterns. |
| 31 | +* pr:7724[] consider import prefix settings in flyimport. |
| 32 | +* pr:7725[] include where predicates when generating an impl. |
| 33 | +* pr:7726[] add `#[doc(hidden)]` completion. |
| 34 | +* pr:7730[] retain visibility when extracting inline module to file. |
| 35 | +* pr:7732[] fix completions in impl blocks on dyn traits with lifetimes. |
| 36 | +* pr:7739[] bump `chalk` fixing `impl Trait` resolution in returned types. |
| 37 | + |
| 38 | +== Internal Improvements |
| 39 | +* pr:7690[] extract `fn load_workspace(…)` from `fn load_cargo(…)`. |
| 40 | +* pr:7700[] use `npm 7.x` `package-lock.json`. |
| 41 | +* pr:7702[] remove use of deprecated `std::collections::Bound`. |
| 42 | +* pr:7701[] remove semantic tokens workaround. |
| 43 | +* pr:7699[] implement `ast::AstNode` for `NameLike` and move it to `node_ext`. |
| 44 | +* pr:7707[] rename `completion` to `ide_completion` |
| 45 | +* pr:7723[] fix some typos in the docs |
| 46 | +* pr:7727[] fix obsolete "Extend Selection" docs |
| 47 | +* pr:7735[] stop mixing `Result` and `Option` with `?` in `inline_local_variable` |
0 commit comments