|
| 1 | += Changelog #111 |
| 2 | +:sectanchors: |
| 3 | +:page-layout: post |
| 4 | + |
| 5 | +Commit: commit:0f8c96c92689af8378dbe9f466c6bf15a3a27458[] + |
| 6 | +Release: release:2022-01-10[] |
| 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:11112[] evaluate constants in array repeat expression: |
| 16 | ++ |
| 17 | +image::https://user-images.githubusercontent.com/308347/148725908-da1a03de-83dd-4e4e-afd1-b3ae326e298b.png[] |
| 18 | +* pr:11193[] add setting to replace specific proc-macros with dummy expanders: |
| 19 | ++ |
| 20 | +image::https://user-images.githubusercontent.com/3757771/148529907-12f2442d-627a-4484-8e16-aa903a249bc8.gif[] |
| 21 | +* pr:11208[] expand attribute macros on impl and trait items. |
| 22 | +* pr:11214[] poke user when supplying faulty configurations. |
| 23 | +* pr:11145[] add setting to use reasonable default expressions when filling missing fields. |
| 24 | + |
| 25 | +== Fixes |
| 26 | + |
| 27 | +* pr:11107[] (first contribution) fix generic type substitution when implementing trait with associated type. |
| 28 | +* pr:11061[] support `Move if to guard` on `if`-`else` chains. |
| 29 | +* pr:11178[] keep block modifiers in `Replace match with if let`. |
| 30 | +* pr:11184[] pass through mutable parameter references when extracting a function. |
| 31 | +* pr:11195[] pass through reference modifiers when extracting a variable. |
| 32 | +* pr:11190[] improve function parameter completion. |
| 33 | +* pr:11200[], pr:11207[] always put a space after `dyn` and `impl` in macro pretty-printing. |
| 34 | +* pr:11201[] fix completions not considering ancestor items for attribute search. |
| 35 | +* pr:11202[] fix hang in `apply_demorgan` assist. |
| 36 | +* pr:11204[] shorten replacement path in `replace_qualified_name_with_use`. |
| 37 | +* pr:11211[] fix parsing of `#[derive]` paths. |
| 38 | +* pr:11218[] don't insert `&mut` twice in parameter completion. |
| 39 | +* pr:11194[] don't include lifetime when generating documentation for `new`. |
| 40 | +* pr:11220[] don't include lifetime arguments in `add_turbo_fish`. |
| 41 | +* pr:11238[] shrink the span of errors from attribute macros and derives. |
| 42 | +* pr:11187[] rename and use the 1.55 proc macro ABI for 1.54. |
| 43 | + |
| 44 | + |
| 45 | +== Internal Improvements |
| 46 | + |
| 47 | +* pr:11115[] refactor: avoid separate traversal in `Replace filter_map().next() with find_map()`. |
| 48 | +* pr:11157[] remove `SemanticScope::speculative_resolve_as_mac`. |
| 49 | +* pr:11189[] remove lossy `Definition::{from_token,from_node}` methods. |
| 50 | +* pr:11216[] support registered tools and attributes in ide layer. |
| 51 | +* pr:11225[], pr:11230[], pr:11237[] clean up doc and attribute handling. |
| 52 | +* pr:11232[] filter out macro calls by file id in when building `DynMap`. |
| 53 | +* pr:11235[] record attribute calls on assoc items in `TraitData` and `ImplData`. |
| 54 | +* pr:11236[] avoid `InFile` wrapping of `DynMap` keys. |
0 commit comments