|
| 1 | += Changelog #70 |
| 2 | +:sectanchors: |
| 3 | +:page-layout: post |
| 4 | + |
| 5 | +Commit: commit:01dc53a31c39fe754c7228646c456325e49e8d09[] + |
| 6 | +Release: release:2021-03-29[] |
| 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:8054[] add Move item commands (LSP extension): |
| 16 | ++ |
| 17 | +image::https://user-images.githubusercontent.com/308347/112793739-7e052200-906e-11eb-9ed4-1b396ef7d6dc.gif[] |
| 18 | + |
| 19 | ++ |
| 20 | +image::https://user-images.githubusercontent.com/308347/112793747-83626c80-906e-11eb-9a96-a075e8d38d6e.gif[] |
| 21 | + |
| 22 | +* pr:8178[] show item info when hovering intra-doc links: |
| 23 | ++ |
| 24 | +image::https://user-images.githubusercontent.com/3757771/112197618-91e2fb00-8c0c-11eb-9edc-a7923214d2b6.gif[] |
| 25 | + |
| 26 | +* pr:8056[] on completion, take into account whether types unify: |
| 27 | ++ |
| 28 | +image::https://user-images.githubusercontent.com/22216761/111338556-46d94e80-8634-11eb-9936-2b20eb9e6756.png[] |
| 29 | + |
| 30 | ++ |
| 31 | +image::https://user-images.githubusercontent.com/22216761/111338598-4e005c80-8634-11eb-92e0-69c2c1cda6fc.png[] |
| 32 | + |
| 33 | +* pr:8212[] implement basic macros 2.0 support: |
| 34 | ++ |
| 35 | +image::https://user-images.githubusercontent.com/11014119/112712565-6eb99380-8f0b-11eb-88de-5d7f974dfe6d.png[] |
| 36 | + |
| 37 | +== Fixes |
| 38 | + |
| 39 | +* pr:8156[] correctly lower `TraitRef`s with default params. |
| 40 | +* pr:8144[] (first contribution) fix crash when trying to display closure types. |
| 41 | +* pr:8142[] hide incorrect ref match completions for struct fields/methods. |
| 42 | +* pr:8138[] set up a search scope when searching for MBE macro references. |
| 43 | +* pr:8159[] try to ignore proc-macro stdout to prevent IPC crashes. |
| 44 | +* pr:8182[] trim down IPC JSON size. |
| 45 | +* pr:8177[] limit hints size by default. |
| 46 | +* pr:8183[] fix spurious "Missing command" lenses on macros. |
| 47 | +* pr:8168[] fix "Convert to guarded return" for mutable bindings. |
| 48 | +* pr:8189[] document `unlinked-file` diagnostic. |
| 49 | +* pr:7907[] take visibility into account for autoderef. |
| 50 | +* pr:8194[] finally fix version string display in release binaries. |
| 51 | +* pr:8206[] ignore main functions outside of the root module. |
| 52 | +* pr:8201[] fix recursive macro statements expansion. |
| 53 | +* pr:8213[] include const generic in `impl` generation. |
| 54 | +* pr:8214[] mention the `rustup` component in the installation instructions. |
| 55 | +* pr:8221[] prefer adding `mod` declaration to `lib.rs` over `file.rs` in `unlinked-file` fix. |
| 56 | +* pr:8141[] don't suggest long looping paths for imports. |
| 57 | +* pr:8155[] fix confusion between functions and parameters. |
| 58 | +* pr:8191[], pr:8209[] fix slight memory leak in syntax. |
| 59 | + |
| 60 | +== Internal Improvements |
| 61 | + |
| 62 | +* pr:8136[], pr:8190[] introduce `QuantifiedWhereClause` and `DynTy` analogous to Chalk. |
| 63 | +* pr:8139[] align `Canonical` and `InEnvironment` with the Chalk versions. |
| 64 | +* pr:8154[] rewrite "Merge use trees" assist using mutable syntax trees. |
| 65 | +* pr:8165[] tweak assist API to fit mutable syntax trees. |
| 66 | +* pr:8169[] make more use of the HIR in `rename::rename_to_self`. |
| 67 | +* pr:8170[] merge bang-macros and derives in name resolution. |
| 68 | +* pr:8187[] sweep the new `TraitEnvironmentQuery`. |
| 69 | +* pr:8145[] document our security stance. |
| 70 | +* pr:8146[] document patch policy. |
0 commit comments