|
| 1 | += Changelog #277 |
| 2 | +:sectanchors: |
| 3 | +:experimental: |
| 4 | +:page-layout: post |
| 5 | + |
| 6 | +Commit: commit:b0632f749e6abf0f82f71755d7eaca4884c1a808[] + |
| 7 | +Release: release:2025-03-17[] (`v0.3.2345`) |
| 8 | + |
| 9 | +== Announcement |
| 10 | + |
| 11 | +This release brings two major changes, which might make it slightly _spicier_ than usual. |
| 12 | + |
| 13 | +The first is upgrading to the latest version of `salsa`, the incremental evaluation framework used by rust-analyzer. |
| 14 | +This will make it possible to implement parallel evaluation and persistency in the future. |
| 15 | + |
| 16 | +The second change is to use `salsa` for the crate graph, making it incremental. |
| 17 | +Adding or removing a dependency, or editing a build script or proc macro, will now invalidate only the affected crates instead of the entire workspace. |
| 18 | + |
| 19 | +== New Features |
| 20 | + |
| 21 | +* pr:19079[], pr:19332[] warn when a rename will change the meaning of the program: |
| 22 | ++ |
| 23 | +video::https://github.com/user-attachments/assets/a201da51-a55d-4683-a4e8-14dc32b4330e[options=loop] |
| 24 | +* pr:18964[] put a new batch of `salsa` on rust-analyzer. |
| 25 | +* pr:19337[] put `salsa` on the crate graph. |
| 26 | +* pr:19271[] add "Convert `for` into ``while let``" assist. |
| 27 | + |
| 28 | +== Fixes |
| 29 | +* pr:19344[] add icons to VS Code views: |
| 30 | ++ |
| 31 | +image::https://github.com/user-attachments/assets/8c7f71b6-0add-4e72-a56c-d125c990cdc8["Screenshot showing an icon on the Explorer: Rust Dependencies sidebar"] |
| 32 | +* pr:19252[] fix syntax fixup producing invalid punctuation. |
| 33 | +* pr:19333[] fix diagnostics being cleared right after being received. |
| 34 | +* pr:19330[] normalize projections in evaluated const display and layout calculation. |
| 35 | +* pr:19363[] display varargs in completion detail. |
| 36 | +* pr:19325[] rank ADT constructors as such for completion scoring. |
| 37 | +* pr:19326[] add missing name-ref parents to syntactic highlighting. |
| 38 | +* pr:19327[] fix `path` macro hygiene. |
| 39 | +* pr:19311[] log build script error output for Cargo projects. |
| 40 | +* pr:19351[] don't panic when the crate graph isn't ready. |
| 41 | +* pr:19356[] avoid recursively debug printing crates. |
| 42 | + |
| 43 | +== Internal Improvements |
| 44 | + |
| 45 | +* pr:19314[] (first contribution) `impl HasSource for VariantDef`. |
| 46 | +* pr:19367[] drop legacy `salsa`. |
| 47 | +* pr:19354[] prepare for Return Type Notation (RTN) and add a diagnostic. |
| 48 | +* pr:19232[] bump chalk to get support for async closures. |
| 49 | +* pr:19305[] vendor `query-group-macro` in rust-analyzer. |
| 50 | +* pr:19364[] add missing `with_durability` calls. |
| 51 | +* pr:19368[] remove `CrateGraphBuilder::iter_mut`. |
| 52 | +* pr:19236[] switch to the 2024 edition. |
| 53 | +* pr:19369[] do not error out for actions with no data to resolve. |
| 54 | +* pr:19366[] remove legacy `SyntaxContextId` re-export. |
| 55 | +* pr:19228[] split up some ADT queries. |
| 56 | +* pr:19355[] render root syntax contexts more clearly. |
| 57 | +* pr:19343[] make `GenericParamsCollector::type_or_consts` private. |
| 58 | +* pr:19328[] run proc-macro server tests in a separate CI job. |
| 59 | +* pr:19334[] remove generated mdbook files. |
0 commit comments