Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps, rust): update rust-lang.rust-analyzer #494

Merged
merged 1 commit into from
Jul 10, 2024

Conversation

philips-software-forest-releaser[bot]
Copy link
Contributor

Note

Before merging this PR, please conduct a manual test checking basic functionality of the updated plug-ins. There are no automated tests for the VS Code Extension updates.

Updates rust-lang.rust-analyzer from 0.3.2020 to 0.3.2029

Release notes

Commit: a5b21ea
Release: 2024-07-08 (v0.3.2029)

New Features

  • #17508 add walkthrough and FAQ pages.

Fixes

  • #17523 (first contribution) add an option to use :: for the external crate prefix.
  • #17529 fix lifetime parameters shifting parameter defaults.
  • #17534 skip match exhaustiveness checking if pattern type contains errors.
  • #17536 don't emit semantic diagnostics in files with a lot of syntax errors.
  • #17552 use original source ranges in macro parameter completions.
  • #17554 fix callHierarchy LSP violation.
  • #17541 fix stack overflow on recursive calls with impl Trait.
  • #17494 don't normalize use foo::{self} to use foo.
  • #17546 diagnose unresolved self value in path expressions.
  • #17549 fix runnable construction.
  • #17495, #17548 pass extra Cargo args when debugging.

Internal Improvements

  • #17522 bump rustc_pattern_analysis.
  • #17551 set InferenceResult::has_errors on error types.
  • #17526 improve error message when the proc macro server unexpectedly exits.
  • #17535 fix up the syntax tree for macro 2.0.
  • #17547 clean up runnable LSP extension.
  • #17555 inline generated syntax methods.
  • #17553 move remaining codegen things to xtask codegen.
  • #17530 move lifetimes in front of type and const params.
  • #17527 move capability querying out of the config module.

See also the changelog post.

Commit: ea7fdad
Release: 2024-07-01 (v0.3.2020)

Fixes

  • #17467 (first contribution) allow "Bool to enum" assist on function parameters.
  • #17505 fix stack overflow with TAITs.
  • #17481 allow pattern completions in let statements.
  • #17471 keep parentheses for calls of function-like fields.
  • #17513 fix completions after async.
  • #17518 fix expression scope calculation in macro expansions.
  • #17488 fix duplicate snippets showing up on hover.
  • #17516 allow disabling borrow checking in term search and don't emit explicit generics.
  • #17411 improve hover text in unlinked file diagnostics.

Internal Improvements

  • #17478 simplify and speed up data constructor term search tactic.
  • #17487 small memory usage optimizations.
  • #17519 move dylib version testing to proc-macro-srv.
  • #17520 some proc-macro-srv clean-ups.
  • #17501 allow non-org members to assign area labels.

See also the changelog post.

Commit: 2fd803c
Release: 2024-06-24 (v0.3.2011)

New Features

  • #17438 (first contribution) add Toggle LSP Logs command.

Fixes

  • #17419 (first contribution) don't expand built-in macros in Expand macros recursively.
  • #17431 add space after specific keywords in completion.
  • #17459 include async keyword in completions.
  • #17442 handle end of input in pat fragment parsers.
  • #17415 only show unlinked-file diagnostic on first line during startup.
  • #17426 handle character boundaries for wide chars in extend_selection
  • #17457 actually prevent cycles in the source_root_parent_map.
  • #17461 fix panic when cancelling flycheck.
  • #17462 fix IDE features breaking in some attribute macros.
  • #17469 handle ItemInNs::Macros when converting ModuleItem to ItemInNs.
  • #17449 add associated item constants tactic for term search.
  • #17439, #17464 properly prime all crate def maps in parallel_prime_caches.
  • #17440 fix and cleanup VS Code task building.

Internal Improvements

  • #17434 (first contribution) document for parameter inlay hints heuristics.
  • #17456 (first contribution) remove conflict warning with panicbit.cargo.
  • #17473 tidy up generics handling in hir-ty.
  • #17474 avoid some allocations in hir-ty.
  • #17455 tidy up the VS Code extension a bit.
  • #17435 fix manual generation instructions.

See also the changelog post.

Commit: 6b8b8ff
Release: 2024-06-17 (v0.3.2002)

New Features

  • #17372 compute native diagnostics in parallel.
  • #17364 show type bounds from containers when hovering on functions.
  • #17374 allow choosing logical cores for cache priming threads.
  • #16840 allow arbitrary commands for runnables in rust-project.json.

Fixes

  • #17412 (first contribution) add a breaker to avoid infinite loops with source root cycles.
  • #17381 ensure that a SourceRoot cannot be its own parent.
  • #17380 remove again extra parse cache from Semantics.
  • #17394 fix HirDisplay stack overflow for Self parameter defaults.
  • #17407 avoid doubling Cargo args in runnables.

Internal Improvements

  • #17405, #17406 avoid unnecessary ModPath clones.
  • #17377 improve HIR formatting.
  • #17392 rename ${length()} to ${len()} in MBE.
  • #17398 remove FileId::BOGUS.
  • #17418 fix rustdoc warnings.
  • #17417 prefer a trait over the impl_intern_value_trivial macro.

See also the changelog post.

Changelog #237

Commit: b427d46
Release: 2024-06-10 (v0.3.1992)

New Features

  • #17282 (first contribution) hide items starting with __ from symbol search.
  • #17058 add basic, unstable support for rust-analyzer.toml.

IMPORTANT: We don't promise any stability with this feature yet, any configs exposed may be removed again, the ordering may change etc.

Fixes

  • #17352 do not resolve prelude within block modules.
  • #17350 highlight unlinked files more proeminently.
  • #17360 don't touch foreign sources when renaming imports.
  • #17333 check for snippet support in extract_expressions_from_format_string.
  • #17329 don't mark #[rustc_deprecated_safe_2024] functions as unsafe.
  • #17353 fix hover action formatting.
  • #17308 prioritize local crates in auto-import.

Internal Improvements

  • #17346, #17368 (first contribution) add submenus to GUI VS Code extension settings.
  • #17340 improve find_path performance.
  • #17004 cache macro calls more aggressively in Semantics.
  • #17312 add Function::fn_ptr_type(…) for obtaining name-erased function types.
  • #17348 use fallible indexing in TypeOrConstParam::source(…) and LifetimeParam::source(…).
  • #17365 expose snippet capability to diagnostic quickfixes.
  • #17375 don't intern attribute inputs, as their spans make them unique.
  • #17341 clean up inert attribute handling.
  • #17356 prefer shorthand tracing::span macros.
  • #17315 use string interpolation in more places.
  • #17359 add version info to VS Code status bar item.

See also the changelog post.

Changelog #236

Commit: 7852a4c
Release: 2024-06-03 (v0.3.1983)

New Features

  • #17253 (first contribution) add assist to toggle between normal and doc-comments.
  • #17258 (first contribution) add assist to toggle async sugar.
  • #17328 enable completions within derive helper attributes.

Fixes

  • #17302 fix diagnostics clearing when flycheck runs per-workspace.
  • #17326 fix container search for tokens originating within derive attributes.
  • #17291 handle generics in type constructor term search tactic.

Internal Improvements

  • #17278 (first contribution) replace command-group with process-wrap.
  • #17337 include path info in AbsPathBuf::assert panic message.

See also the changelog post.

Changelog #235

Commit: 71a816a
Release: 2024-05-27 (v0.3.1975)

New Features

  • #17268 retain more information about callables.

Fixes

  • #17248 (first contribution) only clear diagnostics after new ones were received.
  • #17140 (first contribution) handle {self} when removing unused imports.
  • #17295 (first contribution) use correct key for environment variables with the C/C++ extension.
  • #17270 consider implied bounds from associated types in completion.
  • #17174 infer type of async blocks with tail return.
  • #17251 resolve extern prelude for modules nested in blocks.
  • #17277 fix various find_path issues.
  • #17279 fix format_args lowering.
  • #17284 use correct toolchain channel when generating built-in type doc links.
  • #17275 fix inconsistent working directory for Run and Debug commands.

Internal Improvements

  • #17296 (first contribution) avoid clone when constructing runnable label.
  • #17287 allow sysroot to only consist of the source root dir.
  • #17252 refactor prefer_no_std and prefer_prelude bools into a struct.

See also the changelog post.

Changelog #234

Commit: 21ec8f5
Release: 2024-05-20 (v0.3.1966)

Note

Because of an infrastructure issue, this release is not available on the VS Code Marketplace.
Of course, you can still download and install the VSIX from GitHub Releases.

Fixes

  • #17203 fix OOM caused by term search.
  • #17227 hash file contents to verify it actually changed.
  • #17225 interleave function-like and attribute macro expansion in "Expand macro recursively".
  • #17220 improve confusing literal hovers.
  • #17187 keep parentheses in De Morgan's law assist when the precedence of inner expression is lower.
  • #17216 respect path attribute in "Extract module to file".
  • #17232 don't emit --keep-going with custom build script commands.

Internal Improvements

  • #17250 (first contribution) fix Neovim 0.10 inlay hints config example.
  • #17241 (first contribution) fix some typos.
  • #17221 make macro parse tree validation lazier.
  • #17195 implement unsafe attribute parsing.
  • #17228 sort computed runnables.
  • #17243 add StaticLifetime to hir API.
  • #17235, #17238, #17239, #17240 tweak metrics CI caching.
  • #17224 bump Cargo.lock dependencies.
  • #17259 sync from downstream.

See also the changelog post.

Changelog #233

Commit: 5bf2f85
Release: 2024-05-13 (v0.3.1958)

Fixes

  • #17192 fix source range for INT_NUMBER in completion.

Internal Improvements

  • #17207 report all LSP protocol errors with invalid_data.
  • #17208 report both I/O and main loop thread errors.

See also the changelog post.

Changelog #232

Commit: c4618fe
Release: 2024-05-06 (v0.3.1950)

Fixes

  • #17177 (first contribution) hide Run lens when lenses are disabled.
  • #17160 create generics for impl traits in associated types.
  • #17190 fix panic on dyn Trait with lifetimes.
  • #17157 don't retry requests that rely on positions, and version resolve data.
  • #17161 discard file paths that aren't valid UTF-8.
  • #17172 correctly handle no_core/no_std for preludes.
  • #17175, #17176 fix implicit tyype argument lowering.
  • #17138 make "Generate function" emit a constructor stub for functions called new.

Internal Improvements

  • #17144 (first contribution) remove confusing rust-project.json example from the docs.
  • #17168 (first contribution) switch from winapi to windows-sys.
  • #17148 match tracing span with function names.

See also the changelog post.

Changelog #231

Commit: f216be4
Release: 2024-04-29 (v0.3.1940)

Fixes

  • #16972 (first contribution) make cargo run always available for binaries.
  • #17131 (first contribution) use different codes for "no such field" errors based on variant type.
  • #17135 compute expression scopes for inline consts.
  • #17145 fix source roots creation on changes.
  • #17151 avoid item tree collisions for attributes on generic parameters.
  • #17153 fix doc comment desugaring for proc macros.
  • #17021 support hovering limits for ADTs.
  • #17134 don't render unknown lifetimes in generic arguments.

Internal Improvements

  • #17143 show workspace info in the status bar.
  • #17102 add more tracing spans to project loading.
  • #17150 make sure josh rustc-pull doesn't add new root commits.

See also the changelog post.

Changelog #230

Commit: 47a901b
Release: 2024-04-22 (v0.3.1932)

New Features

  • #16813 add wrap/unwrap #[cfg_attr] assist.
  • #17094 add "Convert From to TryFrom" assist.
  • #17110 add minimal cargo-script support.
  • #17118 allow .rs files to be used linkedProjects.
  • #16057 render matched declarative macro arm on hover.

Fixes

  • #17115 (first contribution) try to generate more meaningful names in JSON converter.
  • #16877 fix impl Trait<Self> causing stack overflows.
  • #17055 replace just the variable name in the "Unused variable" quick fix.
  • #17093 avoid some circular symlinks in VFS.
  • #17024 handle escaped chars in doc comments.
  • #17074 add static and const highlight token types.
  • #17105 make test harness arguments configurable.

Internal Improvements

  • #17104 (first contribution) bump actions in metrics.yaml.
  • #16639 redesign rust-analyzer::config.
  • #17078 improve diagnostics performance.
  • #16726 remove #[cfg(test)] hacks.
  • #17108 clean up #[cfg] and environment handling in project-model.
  • #16938 handle BeginPanic in const eval.
  • #17119 extract common fields out of ProjectWorkspace variants.
  • #17037 improve TokenSet implementation and add reserved keywords.
  • #17072 use hir_fmt_args everywhere in hir_ty::display.
  • #17070 remove unnecessay GlobalState::send_hint_refresh_query field.
  • #17087 fix a few tracing spans without .entered().
  • #17083 improve ReferenceCategoryType.
  • #16257 teach Cargo about #[cfg(rust_analyzer)].
  • #17025 use josh for subtree syncs.
  • #17095 add a CONTRIBUTING.md.

See also the changelog post.

Changelog #229

Commit: 5dbe3fe
Release: 2024-04-15 (v0.3.1924)

Fixes

  • #17019 don't confuse paths with source roots sharing the same prefix.
  • #17063 fix inlay hint resolution.
  • #17056 run cargo test per workspace in the test explorer.
  • #17054 revert "fix: postfix snippet completion source range".
  • #17051 auto-close triple backticks.

Internal Improvements

  • #17034 (first contribution) document enabling the Flatpak Rust SDK extension.
  • #17033 log flycheck errors.
  • #17062 temporarily disable unlinked file popup.
  • #16450, #17065 prepare parser interface for editions.
  • #17059 make function builder create AST directly.
  • #17030 bump chalk.
  • #17035 run Windows tests on PRs too.

See also the changelog post.

Changelog #228

Commit: 7a8374c
Release: 2024-04-08 (v0.3.1916)

New Features

  • #16924, #16988 add rust-analyzer.cargo.allTargets to configure passing --all-targets to cargo invocations.

Fixes

  • #17000 (first contribution) set the right postfix snippet completion source range.
  • #16968 silence type mismatches involving unresolved projections.
  • #16997 fix patch_cfg_if not applying with stitched sysroot.
  • #17006 fix some cfg censoring bugs.
  • #17003 fix off-by-one in LSP offset conversion.
  • #16961 fix crate IDs when multiple workspaces are loaded.
  • #16970 fix tasks in tasks.json.
  • #17016 apply cargo flags in test explorer.
  • #17014 consider #[exported_name=main] functions in test modules as tests.

Internal Improvements

  • #16996 lower Outlives goals and respect them in display impls.
  • #17002 consider ADT generic parameter defaults for unsubstituted layout calculations.
  • #16979 use contiguous indices for enum variants in pattern analysis.
  • #17023 slight clean-ups and perf improvements.
  • #16920 fix new nightly Clippy lints.
  • #16986 add client information to bug report template.

See also the changelog post.

Changelog #227

Commit: e4a405f
Release: 2024-04-01 (v0.3.1906)

New Features

  • #16805, #16960, #16967 implement lifetime lowering and resolution.
  • #16906 add struct hover field display limit (rust-analyzer.hover.show.structFields).

Fixes

  • #16964 revert debug extension priorities.
  • #16965 use LLDB when debugging with C++ extension on MacOS.
  • #16957 check for client relative glob pattern support before using them.
  • #16971 resolve tests per file instead of crate in test explorer.
  • #16975 prompt the user to reload the window when enabling test explorer.

Internal Improvements

  • #16944 revert to the crates.io version of rustc_pattern_analysis.
  • #16930 support choosing the allocator in xtask dist.

See also the changelog post.

Changelog #226

Commit: 6f6b03f
Release: 2024-03-25 (v0.3.1896)

New Features

  • #16852 implement ATPIT.
  • #16860 syntax highlighting improvements.

Fixes

  • #16915 (first contribution) fix stack overflow on recursive const types.
  • #16913 make file watching work on Windows and improve subsequent change detection.
  • #16935 handle CTFE panicking like rustc.
  • #16830 fix panic on impl Trait associated types in where clauses.
  • #16905, #16927 rename ProcMacroKind::FuncLike to Bang.
  • #16919 handle self::super in paths.
  • #16880 use --workspace and --no-fail-fast in test explorer.
  • #16868 handle attributes when auto-closing left braces.
  • #16822 improve resolution for inlay hints targetting the same position.
  • #16871, #16886 skip problematic cyclic dev-dependencies.
  • #16885 improve parser recovery for match arms.
  • #16812 fix "Go to implementation" for impls inside blocks.
  • #16909 keep the Attr::Literal spans.
  • #16911 fix hang on projects depending on rustc_private.

Internal Improvements

  • #16835 share token trees between derive attributes and their proc macros.
  • #16879 add fuel to match checking.
  • #16895 resolve whether $pat is $pat_param or not using hygiene.
  • #16839 support arbitrary shell command runnables.
  • #16884 move grammar codegen into xtask.
  • #16889, #16899, #16918 enforce UTF-8 paths.
  • #16892 don't try to read root crate file contents before VFS.
  • #16912 remove Span trait.
  • #16863 bump rustc dependencies and use in-tree rustc_pattern_analysis.
  • #16928 build x86_64-unknown-linux-gnu releases on Rocky Linux 8 (GLIBC 2.28).
  • #16904 bump rust-cache action.
  • #16929 bump release actions and Node version.

See also the changelog post.

Changelog #225

Commit: b6d1887
Release: 2024-03-18 (v0.3.1885)

Announcement

Today's release switches to Ubuntu 20.04 for building the official binaries, bringing the minimum supported GLIBC version to 2.31.
Upgrading was forced by GitHub Actions moving form Node.js 16 to 20.
See #16793 for more information.

Affected distributions include Debian 10, Ubuntu 18.04, Enterprise Linux 7 and 8, and Amazon Linux 2.
For now, the alternatives are building from source, or using the rust-analyzer toolchain component.

New Features

  • #16789 apply #[cfg] to proc macro inputs.
  • #16834 support macro calls in eager macros for IDE features.
  • #16808 add proc macro semantic token type.

Fixes

  • #16762 (first contribution) add quick fix for "undersolved field" diagnostic.
  • #16810 add fix for "unused variable" diagnostic.
  • #16856 fix where clause rendering on hover.
  • #16846 fix panic and incorrect handling of use in extract_module.
  • #16861 ignore some warnings if they originate from macro expansions.
  • #16845 show compilation progress in test explorer.
  • #16847 distinguish integration tests from crates in test explorer.
  • #16820 don't auto-close block comments in strings.

Internal Improvements

  • #16819 improve rooted upmapping.
  • #16832 shrink MacroCallLoc.
  • #16841 use associated items as anchors for spans.
  • #16842 make proc macro definition site spans more resistant to invalidation.
  • #16844 replace Span with SyntaxContextId in MacroCallLoc.
  • #16771 don't desugar self parameter into a pattern.
  • #16335 compress file text using LZ4.
  • #16473 stop eagerly resolving inlay hint text edits for VS Code.
  • #16749, #16811 some method resolution clean-ups.
  • #16862 remove redundant clones
  • #16784 remove synstructure const hack support.
  • #16851 build linux-gnu releases on Ubuntu 20.04.

See also the changelog post.

Changelog #224

Commit: 574e23e
Release: 2024-03-11 (v0.3.1877)

New Features

  • #16662, #16773, #16794 add test explorer (disabled by default, enable using rust-analyzer.testExplorer).
  • #15938, #16756 add hover display for trait assoc items

Fixes

  • #16723 (first contribution) complete constants inside format strings.
  • #16769 fix argument type inference with associated type impl Trait.
  • #16757 disable style lints by default (rust-analyzer.diagnostics.styleLints.enable).
  • #16759 fix "Go to definition" for constants inside range patterns.
  • #16778 bump rustc_pattern_analysis to fix a panic on mismatched types.
  • #16770 fix panic on float numbers without dots in chain calls (x.1e0).
  • #16779 skip match diagnostics for partially unknown types.
  • #16690 use four-space indentation in macro expansion.
  • #16752 don't allow destructuring of structs with no public fields.
  • #16766 keep attributes in "Generate delegate trait" assist.
  • #16775 remove accidental dependency between parse_macro_expansion and parse.
  • #16776 make SpanMap accesses lazy to avoid a salsa dependency.
  • #16777 don't invalid body query results when generating desugared names.
  • #16781, #16782 don't escape \ and $ in "Extract format expression".
  • #16719 add basic support for the VS Code Native Debug extension.

Internal Improvements

  • #16722 (first contribution) avoid some allocations.
  • #16748 compute syntax validation errors on demand.
  • #16755 use PATH For toolchain binaries.
  • #16785, #16786, #16787 simplify the parser code somewhat.
  • #16742 add parent-child relationship between SourceRoots.
  • #16703 add more methods for resolving AST definitions to their corresponding HIR types.
  • #16763 add index and parent_fn accessors to hir::Param.
  • #16772 add tracing spans to salsa databases.
  • #16708, #16751 move assist, diagnostics docs and lint definition generation into xtask codegen.
  • #16747 various clean-ups.
  • #16758 bump dependencies.

See also the changelog post.

Changelog #223

Commit: 037924c
Release: 2024-03-04 (v0.3.1868)

New Features

  • #16638 (first contribution) add destructure_struct_binding assist.
  • #16651 add fill_record_pattern_fields assist.
  • #16687 support tuples in term search.
  • #16555, #16692 speed up completions by considering coherence.

Fixes

  • #16630 fix type inference of closures with predicates.
  • #16679 resolve modules in blocks in the ide layer.
  • #16647 fix false positive for dyn Trait in replace_filter_map_next_with_find_map.
  • #16678 fix panic when inlining callsites inside macro parameters.
  • #16684 don't panic on synthetic syntax in inference diagnostics.
  • #16691 fix completions panicking with certain macro setups.
  • #16693 prefer sysroot rustc in rust-project.json projects.
  • #16696, #16709 handle deref_mut and index_mut in index expressions.
  • #16727 don't highlight related associated items of supertraits.
  • #16702 ignore generic arguments in intra-doc link path resolution.
  • #16665 prioritize rustup sysroots over system ones.
  • #16695 revert doc-comment highlighting.

Internal Improvements

  • #16670 (first contribution) document NeoVim inlay hint configuration.
  • #16673 (first contribution) narrow down typos ignore list.
  • #16706 drop load-cargo dependency on ide.
  • #16738 bump rustc_pattern_analysis.
  • #16627 add repository URL and code sample sections to the bug report template.
  • #16669 merge BorrowKind::Unique into BorrowKind::Mut.
  • #16697 add RelPath::to_path_buf() method.
  • #16698 derive PartialEq, Eq and Hash for hir::Param.
  • #16705 add public function for resolving callable AST expressions to their HIR equivalents.
  • #16707 export SemanticsImpl from hir.
  • #16680 remove salsa compile-fail tests.

See also the changelog post.

Changelog #222

Commit: 5346002
Release: 2024-02-26 (v0.3.1860)

New Features

  • #16489 (first contribution) create alias when renaming an import.
  • #16589 add unresolved-ident diagnostic.
  • #16303 add non-exhaustive-let diagnostic.
  • #16475 support multiple tab stops for edits in VSCode.

Fixes

  • #16358 (first contribution) de-duplicate references from macro expansions.
  • #16621 (first contribution) avoid setting RUSTC_BOOTSTRAP for build scripts, to prevent spurious recompiles.
  • #16590 fix remove-unnecessary-else false positives on if expressions.
  • #16616 try to fix potential server hang with build scripts.
  • #16645 fix deadlock between recreate_crate_graph and file_line_index.
  • #16618 don't escape { in assists.
  • #16637 account for string delimiters correctly in proc macro server.
  • #16606 render associated item owner in hover for items other than functions.

Internal Improvements

  • #16654 (first contribution) add -V shorthand for --version.
  • #16643, #16652 reduce salsa memory usage.
  • #16612 fetch toolchain and data layout for detached files.
  • #13112 set up handling of auto trait bounds, but leave it disabled due to performance problems.
  • #16617 attempt to add a timeout to rustc_tests.
  • #16648 pin rustc-tests commit.
  • #16649, #16650 disable rustc-tests metrics.
  • #16601 check out repository before running typos.
  • #16646 remove some repeated words.
  • #16668 sync from downstream.

See also the changelog post.

Changelog #221

Commit: 68c506f
Release: 2024-02-19 (v0.3.1850)

New Features

  • #16092 (first contribution) introduce term search to rust-analyzer.
  • #16117 (first contribution) prioritize constructors and builders in completions.
  • #15923 improve support for ignored proc macros.
  • #15476 substitute $saved_file in custom check commands.

Fixes

  • #16550 (first contribution) activate on top level Cargo.toml and rust-project.json files.
  • #16530 fix macro transcriber emitting incorrect lifetime tokens.
  • #16541 highlight doc comments.
  • #16547 validate literals in proc macro server's FreeFunctions::literal_from_str.
  • #16544 only complete traits in impl ... for.
  • #16553 improve parser error recovery on = in record field initializer and patterns.
  • #16554 pass .cargo/config.toml environment variables to proc-macro server.
  • #16563 set RUSTUP_TOOLCHAIN and invoke the proxies instead of sysroot binaries.
  • #16247 fix build scripts not being rebuilt on some occasions.
  • #16574 fix needless_return false positives on trailing inner item declarations.
  • #16582 respect textual length of paths in find_path.
  • #16583 ignore type mismatches between {unknown} and non-{unknown} types.
  • #16586 remove cargo knowledge from CrateData.
  • #16569 place snippets correctly in multi-edit assists.
  • #16579 fix snippets being placed leftwards of where they should be.
  • #16559 fill in SCIP documentation fields.

Internal Improvements

  • #16588 (first contribution) parse (nightly) const and async trait bounds.
  • #16587 (first contribution) update GitHub actions and Node version.
  • #16576 (first contribution) add license files to lsp-server.
  • #15003 add basic support for become expressions (tail calls).
  • #16577 migrate assists to the structured snippet API, part 7 of 7.
  • #16446 implement literal_from_str in proc macro server.
  • #16537, #16545 make tool discovery prefer sysroot paths.
  • #16540 make macro_arg query always returns a TokenTree.
  • #16560 set channel override when querying the sysroot metadata.
  • #16558 update JsonProject to include optional fields.
  • #16562 add clippy and rustfmt problem matchers to CI.
  • #16573 remove salsa compile tests.
  • #16533 bump rustc_pattern_analysis.
  • #16585 bump actions/checkout to v4.
  • #16598, #16599, #16600 downgrade actions/checkout, actions/setup-node and Node in release workflow.
  • #16597 sync from downstream.

See also the changelog post.

Changelog #220

Commit: c06ca6c
Release: 2024-02-12 (v0.3.1839)

New Features

  • #16510 add option to only run cargo check on the current package.
  • #16502 add unnecessary else diagnostic.
  • #16460 add trailing return diagnostic.
  • #16477 add incorrect case diagnostics for traits and their associated items.
  • #16454 add break and return postfix completions.
  • #16424 add support for converting let statements to guarded returns.
  • #15863 add UnindexedProject notification for LSP clients.

Fixes

  • #16487 (first contribution) improve Deref handling in "Generate getter" assist.
  • #16509 render visibility for tuple struct fields.
  • #16124 improve parser error recovery on missing arguments in call expressions.
  • #16484 preserve where clause when expanding built-in derive macros.
  • #16462 improve error message when proc-macros have not yet been built.
  • #16497 fix spacing when inlining functions defined in macros.
  • #16517 fix crash inside filter_unnecessary_bounds on missing generic parameter.

Internal Improvements

  • #16482 (first contribution) use boxed slice for Subtree::token_trees.
  • #16503 move salsa fork in-tree.
  • #16505 optimize input queries that take no arguments.
  • #16527 remove hack for self-referential SyntaxContexts.
  • #16467 migrate assists to the structured snippet API, part 6.
  • #16474 instrument more paths using tracing.
  • #16499 bump rustc_pattern_analysis.
  • #16525 abstract more over ItemTreeLoc-like structs.
  • #16470 lint against debug prints and disallowed types using Clippy.
  • #16500 run Clippy on Windows, not Linux.
  • #16518, #16519, #16521 enable more Clippy lints.
  • #16492, #16532 sync from downstream.

See also the changelog post.

Changelog #219

Commit: 39ad79b
Release: 2024-02-05 (v0.3.1831)

New Features

  • #16439 support "Go to definition" from inside include!d files.
  • #16417 add "Normalize import" assist and improve "Merge imports".
  • #16441 add option to exclude tests from references search results.

Fixes

  • #15730 (first contribution) add postfix completion for let .. else.
  • #16453 undo special bracket classification in VS Code config.

Internal Improvements

  • #16463 (first contribution) remove references to abi_amdgpu_kernel.
  • #16394, #16456 extend tracing integration and use it in hprof.
  • [#16459](h

@philips-software-forest-releaser philips-software-forest-releaser bot requested a review from a team as a code owner July 10, 2024 02:40
@philips-software-forest-releaser philips-software-forest-releaser bot added dependencies Pull requests that update a dependency file vscode-extensions labels Jul 10, 2024
Copy link

sonarcloud bot commented Jul 10, 2024

Copy link
Contributor

Compressed layer size comparison

Comparing ghcr.io/philips-software/amp-devcontainer-rust:latest to ghcr.io/philips-software/amp-devcontainer-rust@sha256:5263eb44a57a4ba552002fa818ef88d3694f2177a2a3b07a05ce600334c7a6d5

OS/Platform Previous Size Current Size Delta
linux/amd64 432.86M 432.86M 1.55K (+0.00%)
linux/arm64 572.09M 572.09M 664.00 (+0.00%)

Copy link
Contributor

Compressed layer size comparison

Comparing ghcr.io/philips-software/amp-devcontainer-cpp:latest to ghcr.io/philips-software/amp-devcontainer-cpp@sha256:37b6e121c0dee3211e704dd9f4053f7dc5a7bcb504b75cae014a95d7b347b323

OS/Platform Previous Size Current Size Delta
linux/amd64 640.66M 640.74M 81.64K (+0.01%)
linux/arm64 633.02M 633.10M 85.64K (+0.01%)

Copy link
Contributor

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ ACTION actionlint 15 0 0.03s
✅ DOCKERFILE hadolint 2 0 0.33s
✅ JSON prettier 11 0 0 0.58s
✅ JSON v8r 10 0 4.28s
✅ MARKDOWN markdownlint 8 0 0 0.97s
✅ MARKDOWN markdown-table-formatter 8 0 0 0.21s
✅ REPOSITORY checkov yes no 14.24s
✅ REPOSITORY gitleaks yes no 0.19s
✅ REPOSITORY git_diff yes no 0.01s
✅ REPOSITORY grype yes no 12.14s
✅ REPOSITORY secretlint yes no 1.36s
✅ REPOSITORY trivy yes no 40.78s
✅ REPOSITORY trivy-sbom yes no 0.76s
✅ REPOSITORY trufflehog yes no 2.46s
✅ SPELL lychee 48 0 3.37s
✅ YAML prettier 20 0 0 0.95s
✅ YAML v8r 20 0 10.85s
✅ YAML yamllint 20 0 0.44s

See detailed report in MegaLinter reports

MegaLinter is graciously provided by OX Security

Copy link
Contributor

Test Results

 2 files  ±0   2 suites  ±0   52s ⏱️ +2s
26 tests ±0  26 ✅ ±0  0 💤 ±0  0 ❌ ±0 
28 runs  ±0  28 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 2f28d09. ± Comparison against base commit 3a5de14.

@rjaegers rjaegers added this pull request to the merge queue Jul 10, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jul 10, 2024
@rjaegers rjaegers added this pull request to the merge queue Jul 10, 2024
Merged via the queue into main with commit fe48960 Jul 10, 2024
17 checks passed
@rjaegers rjaegers deleted the feature/update-vscode-extensions branch July 10, 2024 21:04
Copy link
Contributor

Pull Request Report (#494)

Static measures

Description Value
Number of added lines 1
Number of deleted lines 1
Number of changed files 1
Number of commits 1
Number of reviews 1
Number of comments (w/o review comments) 5
Number of reviews that contains a comment to resolve 0
Number of reviews that requested a change from the author 0
Number of reviews that approved the Pull Request 1
Get the total number of participants of a Pull Request 4

Time related measures

Description Value
PR lead time (from creation to close of PR) 18.4 Hours
Time that was spend on the branch before the PR was created 2 Sec
Time that was spend on the branch before the PR was merged 18.4 Hours
Time to merge after last review 8 Hours

Status check related measures

Description Value
Total runtime for last status check run (Workflow for PR) 11.9 Min
Total time spend in last status check run on PR 3.3 Min

Copy link
Contributor

🎉 Hooray! The changes in this pull request went live with the release of v5.1.3 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file vscode-extensions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant