|
| 1 | += Changelog #93 |
| 2 | +:sectanchors: |
| 3 | +:page-layout: post |
| 4 | + |
| 5 | +Commit: commit:b73b321478d3b2a98d380eb79de717e01620c4e9[] + |
| 6 | +Release: release:2021-09-06[] |
| 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:10088[] only run cache priming after load to improve CPU usage. |
| 16 | +* pr:10092[] improve "Extract struct from enum variant" output. |
| 17 | +* pr:10076[] use struct init shorthand in "Fill struct fields" assist. |
| 18 | +* pr:9954[] show try (`?`) operator propagated types on ranged hover: |
| 19 | ++ |
| 20 | +image::https://user-images.githubusercontent.com/3757771/130111025-f7ee0742-214a-493b-947a-b4a671e4be92.png[] |
| 21 | ++ |
| 22 | +image::https://user-images.githubusercontent.com/3757771/130111024-f9caef82-92e4-4070-b3dd-f2ff9e5d87a9.png[] |
| 23 | + |
| 24 | +== Fixes |
| 25 | + |
| 26 | +* pr:10139[] (first contribution) fix `for` loop to `for_each` conversion with range expressions. |
| 27 | +* pr:10085[] avoid panic when parsing extern block. |
| 28 | +* pr:10091[] fix `disjunction in conjunction` panic in `cfg` parsing. |
| 29 | +* pr:10097[] allow inherent impls for arrays. |
| 30 | +* pr:9405[] fix missing parameters in "Extract function" with macros. |
| 31 | +* pr:10108[] make "Go to implementation" multi-token mapping aware. |
| 32 | +* pr:10103[] make "Find references" multi-token mapping aware. |
| 33 | +* pr:10109[] enable flyimport for ident patterns. |
| 34 | +* pr:10114[] deduplicate imports for "Qualify path". |
| 35 | +* pr:10124[] use correct search scopes for macros. |
| 36 | +* pr:10127[] don't bail on failed macro call expansions when descending tokens: |
| 37 | ++ |
| 38 | +image::https://user-images.githubusercontent.com/3757771/131887786-ced9988b-80fa-4e8f-b114-337572950cc3.png[] |
| 39 | +* pr:10147[] don't panic if the client sends invalid request. |
| 40 | +* pr:10146[] use placeholder as default type in "Generate function" and "Extract into function". |
| 41 | + |
| 42 | + |
| 43 | +== Internal Improvements |
| 44 | + |
| 45 | +* pr:9906[], pr:10132[] (first contribution) switch from the `log` crate to `tracing`. |
| 46 | +* pr:10081[] (first contribution) fix some error messages. |
| 47 | +* pr:10078[] use Ubuntu 18.04 on CI. |
| 48 | +* pr:10079[] make upstream bug less annoying. |
| 49 | +* pr:10080[] refactor panic handling in the main loop. |
| 50 | +* pr:10015[] more declarative re-indentation API. |
| 51 | +* pr:10005[] extend `CargoConfig.unset_test_crates`. |
| 52 | +* pr:10094[] split database loading time in anaysis-stats into components. |
| 53 | +* pr:10095[] augment panic context when resolving path. |
| 54 | +* pr:10100[], pr:10101[] clean up proc macro server error handling. |
| 55 | +* pr:10161[] remove accidental code re-use. |
| 56 | +* pr:10148[] make dev docs more discoverable. |
| 57 | +* pr:10145[] update deps and pin `libc` to fix build error in `rust-lang/rust`. |
0 commit comments