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 #648

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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 limited automated tests for the VS Code Extension updates.

Updates rust-lang.rust-analyzer from 0.3.2180 to 0.3.2188

Release notes

Commit: ba56d9b
Release: 2024-11-18 (v0.3.2188)

Fixes

  • #18503 use item indices instead of attribute matching when resolving completions.
  • #18519 use correct file in related documents diagnostics.

Internal Improvements

  • #18495 migrate reorder_fields assist to use SyntaxFactory.
  • #18482 add public direct_supertraits and all_supertraits accessors to hir::Trait.

See also the changelog post.

Commit: 30e71b6
Release: 2024-11-11 (v0.3.2180)

New Features

  • #18473 include extern blocks and macros in file outline.

Fixes

  • #18475 support new #[rustc_intrinsic] attribute and fallback bodies.

Internal Improvements

  • #18493 (first contribution) update supported debug engines in configuration.
  • #18486 change minimum VS Code version from 1.78 to 1.83.

See also the changelog post.

Commit: a341d59
Release: 2024-11-04 (v0.3.2172)

New Features

  • #18312 (first contribution) include let statements in file outline.
  • #18420 support +#[cfg(true)]+ and +#[cfg(false)]+.
  • #18469 show static values on hover.
  • #18470 allow interpreting consts and statics with the Interpret command.
  • #18385 add assist to generate a type alias for a function.

Fixes

  • #18436 only render type layout info on definitions, not usages.
  • #18422 properly resolve prelude paths in modules inside blocks.
  • #18413 allow public re-exports of extern crate imports.
  • #18432 honor diagnostic refresh capability.
  • #18382 fix flyimport for aliased functions and modules.
  • #18446 only parse safe as a contextual keyword in extern blocks.
  • #18453 fix parsing of patterns with leading |.

Internal Improvements

  • #18304 (first contribution) add developer setup instructions.
  • #18437 (first contribution) publish test-fixture as ra_ap_test_fixture.
  • #18256 (first contribution) start using Option::is_none_or.
  • #18074 build source map for hir_def::TypeRefs.
  • #18427 clean up TypeRef lowering.
  • #18447 avoid interior mutability in TyLoweringContext.
  • #18448 move child_by_source from hir-def to hir.
  • #18421 move text-edit into ide-db.
  • #18412 stop producing .gz artifacts for Windows.

See also the changelog post.

Commit: 3b3a87f
Release: 2024-10-28 (v0.3.2162)

A Note on Windows Artifacts

The next release will stop including .gz artifacts for Windows.
These are harder to use than the .zip ones, which should be used instead.

New Features

  • #18294 (first contribution) support Option in "Wrap/Unwrap return type".
  • #18362, #18370 (first contribution) support "Go to definition" on range operators and patterns.
  • #18359 (first contribution) add option to not start the server on initialization.
  • #18264 implement mixed-site hygiene.
  • #18404, #18408 implement pull model for diagnostics.
  • #18349 render aliased type documentation when alias doesn't have any.
  • #18418 split macro-error diagnostic so users can ignore parts of it.

Fixes

  • #18407 (first contribution) fix formatting on welcome page.
  • #18376 add text edits to more inlay hints.
  • #18361 fix token downmapping failing for include! inputs.
  • #18254 nail destructuring assignment down once and for all.
  • #18337 don't show private items from modules nested in blocks in completions.
  • #18360 improve completions for extern blocks.
  • #18371 fix parsing of use bounds.
  • #18388 Fix checking for false labelDetailsSupport value.
  • #18395 add missing target_has_atomic and target_has_atomic_load_store cfg flags.
  • #18390 prevent public re-exports of private items.
  • #18417 correctly handle #"" before the 2024 edition.
  • #18419 put leading | in patterns under OrPat.
  • #18415 mark "Remove dbg!" as a quick fix for better prioritization.
  • #18366 fix Markdown display in status bar message.
  • #18399 respect config to disable native diagnostics.
  • #18386 don't crash when local time offset is unavailable.

Internal Improvements

  • #18372 (first contribution) switch CI from bors to merge queues.
  • #18373 merge separate inlay hints targeting the same range.
  • #18391 log original syntax on panic.
  • #18394, #18396 pretty-print Config in "Status" command.
  • #18402 improve proc macro error message for failed build scripts.
  • #18410 invert token iteration order in macro mapping.
  • #17954 update rustc-hash to version 2.
  • #18392 swap query call order in file_item_tree_query to help with caching issue.
  • #18409 only construct a resolver during macro descension when needed.
  • #18368 add test for LSIF macro-generated constants.
  • #18405 update changelog generation for merge queues.

See also the changelog post.

Commit: 9323b53
Release: 2024-10-21 (v0.3.2154)

New Features

  • #18152 highlight exit points of async blocks.
  • #18291 respect references.excludeTests in Call Hierarchy.
  • #18350, #18354 add initial support for safe in extern blocks.
  • #18292 support renaming self parameters in functions.

Fixes

  • #18265, #18320 (first contribution) add support for LLDB-DAP.
  • #18226 (first contribution) fix parsing of use in generic parameters.
  • #18229 (first contribution) make rustfmt.overrideCommand relative to project, not workspace root.
  • #18336 (first contribution) increase macro expansion token limit once more.
  • #18278 do not consider matching of places that evaluate to ! to diverge, and disallow coercions from them.
  • #18217 stop doing cast checks for unknown pointer kinds.
  • #18252 do not consider mutable usage of deref to *mut T as deref_mut.
  • #18299 fix Ok wrapping quick fix for return statements.
  • #18275 don't expand #[test_case].

Internal Improvements

  • #18242 don't resolve extern crates in import fixed point resolution.
  • #18216 return structs instead of tuples from OpQueues.
  • #18331 support more trivial types in is_sized check.
  • #17990 use local time when formatting logs.
  • #18243, #18300 clamp LSP columns to line length.
  • #18328 fix running analysis-stats against the standard libraries on CI.
  • #18335 fix .editorconfig glob.

See also the changelog post.

Commit: d7628c0
Release: 2024-10-14 (v0.3.2146)

Fixes

  • #18246 fix crash in prettify_macro_expansion() when the node isn't the whole file.
  • #18245 fix detail label in completions.
  • #18247 fix something_to_resolve sometimes being reset in completion_item
  • #18269 display constructor types in a nicer way.
  • #18289 fix panic on JSON projects with relative buildfile paths.

Internal Improvements

  • #18266 use macos-13 runners and bump MACOSX_DEPLOYMENT_TARGET to 13.0.
  • #18281 stop using spawnSync in the VS Code extension.

See also the changelog post.

Commit: 2b750da
Release: 2024-10-07 (v0.3.2137)

New Features

  • #18085 provide an option (rust-analyzer.cfg.setTest) to not set cfg(test).

Fixes

  • #18207 (first contribution) suggest UpperCamelCase instead of CamelCase to match rustc.
  • #18210 fix resolution of labels inside macro calls.
  • #18206 handle block expressions as modules when finding their parents.
  • #18219 fix incorrect bootstrap error message.
  • #18255 use external stack in borrow check DFS.

Internal Improvements

  • #18167 send less data for completions, if possible.
  • #18234 filter out opaque tokens when descending into macros for some IDE features.
  • #18195 remove Default from OpQueue.
  • #18227 add JSON tracing Layer for profiling start-up.

See also the changelog post.

Commit: 822644d
Release: 2024-09-30 (v0.3.2129)

New Features

  • #17923 (first contribution) add option to rebuild project before restarting debugging.
  • #18180 index workspace symbols at start-up rather than on the first search.

Fixes

  • #18160 fix name resolution with renamed imports and shadowing.
  • #18164 handle import aliases in remove_unused_imports.
  • #18161 improve reference handling in consuming postfix completions.
  • #18172 support #[expect] in attribute completion and hover.
  • #18162 report lifetime GATs as object-unsafe.
  • #18123 disambiguate package names in flycheck.
  • #18166 fix a bug in span map merging.
  • #18184 pass --all-targets for build scripts in more CLI commands.
  • #18193 don't report start-up error when a workspace discovery command is configured.

Internal Improvements

  • #18205 (first contribution) rename object-safety to dyn-compatibility.
  • #18196 add SyntaxFactory to simplify generating nodes with syntax mappings.
  • #18181 add tracing to project discovery and VFS loading.
  • #18192 include rust-project.json build files in VFS.
  • #18157 respect --disable-proc-macros in analysis-stats.
  • #18208 allow overriding proc macro server in analysis-stats.
  • #18188 bump MSRV to 1.81.
  • #18175 drop COMPLETION_MARKER Easter egg.

See also the changelog post.

Commit: 1301e42
Release: 2024-09-23 (v0.3.2121)

Note

Because of infrastructure issues, this release is not available on GitHub Releases.

New Features

  • #18135 add diagnostics for unsafe_op_in_unsafe_fn.
  • #18131 replace $crate in user-visible macro expansions.
  • #18151 support ${concat(...)} metavariable expressions.
  • #18137 support expr_2021 fragment specifiers.

Fixes

  • #18136 (first contribution) don't lint names of #[no_mangle] extern functions.
  • #18128 don't show lints and quick fixes in code generated by external macros.
  • #18117 always cache macro expansion root nodes in Semantics.
  • #18139 extend type_variable_table when index is larger than the table size.
  • #18146 remove check that text of parse_expr_from_str() matches the produced parsed tree.
  • #18153 account for rawness in $expr fragments.
  • #18108 take #[cfg_attr] into account for lint attributes.
  • #18132 don't complete ; in closure return expressions.

Internal Improvements

  • #18134 extend SourceChangeBuilder to make make working with SyntaxEditor easier.
  • #18169 temporarily disable GitHub releases.

See also the changelog post.

Commit: 94b526f
Release: 2024-09-16 (v0.3.2112)

New Features

  • #18038 generate names for tuple struct fields in "Fill match arms".
  • #18018 automatically add semicolon when completing unit-returning function call.

Fixes

  • #18052 (first contribution) don't output hex when inlining integer constants.
  • #18041 improve name suggestions for variables extracted from function calls.
  • #18075 render patterns when hovering on function parameters.
  • #18093 skip diagnostics when casting to dyn Trait.
  • #18092 correctly escape strings in stringify!.
  • #18101 fix false positive error when casting literals.
  • #18106 don't report typed hole error in asm! out operands.
  • #18073 fix "immutable tree" in generate_delegate_trait.
  • #18119 fix printing of constants greater than i128::MAX.
  • #18099 improve handling of lint attributes.
  • #18050 offer replace_qualified_name_with_use on the first segment of a path.
  • #18107 don't emit empty inlay hint parts.
  • #18105 don't panic on invalid LSP notifications from buggy clients.

Internal Improvements

  • #18032 add preliminary SyntaxEditor functionality.
  • #18057 improve testing infra for rust-analyzer.toml.
  • #18080 remove crate graph deduplication logic.
  • #17904 add CLI command to report unresolved references.

See also the changelog post.

Commit: 08c7bbc
Release: 2024-09-09 (v0.3.2104)

New Features

  • #17984 implement cast typecheck and diagnostics.
  • #18022, #18053 add IDE support for asm! expressions.

Fixes

  • #18031 suggest name in pattern completion.
  • #18016 use existing type aliases in "Wrap return type in Result".
  • #18028 prevent lifetime hint panic in non-generic definitions.
  • #18045 keep loop blocks during lowering.
  • #18068 set TraitRef self types explicitly during lowering.
  • #18067 prevent MIR building when unknown types are present.
  • #18059 don't clobber discovered projects when updating settings.

Internal Improvements

  • #18026 tweak completion scoring.
  • #18044 add edition-dependent keyword highlighting tests.
  • #18065 catch panics from diagnostics computation.
  • #18066 don't panic LSP writer thread when the receiver gets dropped.

See also the changelog post.

Commit: 779d9ee
Release: 2024-09-02 (v0.3.2096)

New Features

  • #17814, #17999 implement object-safety and add it to hover.
  • #17940, #17941 implement "Convert closure to function" assist.
  • #17757 implement "Toggle macro delimiters" assist.
  • #17985 implement "Add explicit enum discriminants" assist.
  • #18006 add an option to hide deprecated items from completion.
  • #18010 support function types in lifetime elision hints.

Fixes

  • #17972 revert "#17936 implement module_path!".
  • #17994 fix TokenStream::to_string implementation dropping quotation marks.
  • #17987 fix resolution of shadowed built-in macros.
  • #17963 show error lifetime arguments as '_.
  • #17737 sprinkle some sugar on async impl Trait completions.
  • #17970 fix "Unwrap block" for blocks with modifiers.
  • #17991 don't add unnecessary reference in "Extract variable".
  • #17973 expand proc macros in workspace, not package root.
  • #17993 keep field attributes when converting between tuples and named structs.
  • #17982 consider indentation in "Generate impl" and "Generate trait impl".
  • #18015 handle attributes in "Flip comma".
  • #18003 do not report missing unsafe on addr_of!(EXTERN_OR_MUT_STATIC).
  • #18005 don't suggest for loops in impl T for A in function bodies.
  • #17962 update return type syntax to match compiler.
  • #17988 fix incorrect symbol definitions in SCIP output.

Internal Improvements

  • #17975, #18009 (first contribution) do not assume rustup is installed in xtask codegen.
  • #18008, #18012 make inlay hint resolution more reliable.
  • #17945 recategorize config classes.
  • #17967 prepare for stand-alone MBE tests.
  • #17992 avoid newlines in worspace fetch errors.
  • #18011 add some doc-comments to OpQueue.
  • #17974 drop Apache license appendices.

See also the changelog post.

Commit: 7106cd3
Release: 2024-08-26 (v0.3.2086)

New Features

  • #17936 implement module_path!.
  • #17857 allow declaring cfg groups in rust-project.json.
  • #17927, #17955 speed up search for short associated functions.

Fixes

  • #17942 implement floating point casts in const eval.
  • #17958 Consider Deref impls in trait method completions.
  • #17960 use extra_test_bin_args in Test Explorer runner.
  • #17925 include generics when lowering extern type.
  • #17928 keep comments in "Convert while to loop".
  • #17924 fix panic when a TAIT exists in a RPIT.
  • #17932 fix semantic highlighting panics during start-up.
  • #17939, #17948 improve handling of Sized predicates.
  • #17943 improve proc macro panic message and workspace loading failure diagnostic.
  • #17912, #17946 run flycheck without reverse dependencies when target is specified.
  • #17949 watch build files from rust-project.json.
  • #17956 keep original error when retrying cargo metadata with --no-deps.
  • #17913 add workspace-level config to rust-analyzer.toml.

Internal Improvements

  • #17888 remove invocationLocation in favor of invocationStrategy.
  • #17886 wait for cache priming before reporting that the server is ready.
  • #17898 improve macro token mapping heuristics.
  • #17961 don't allocate autoderef steps when not needed.
  • #17930 remove the ability to configure the user config path.

See also the changelog post.

Commit: fa00326
Release: 2024-08-19 (v0.3.2078)

New Features

  • #17845 implement TAIT and fix ATPIT.
  • #17853 support min_exhaustive_patterns.
  • #17595 implement lifetime inference.
  • #17915 make rust-analyzer partially work while offline.

Fixes

  • #17833 (first contribution) reuse recursion limit as expansion depth limit.
  • #17900 (first contribution) add option to exclude vendored libraries from SCIP/LSIF output.
  • #17864 build and run build scripts for LSIF.
  • #17859 support #[rustc_deprecated_safe_2024].
  • #17905 properly account for editions in names.
  • #17863 resolve included files to their calling modules in IDE layer.
  • #17865 emit non-exhaustive let diagnostics for async and unsafe blocks.
  • #17882 fix panic while canonicalizing erroneous projection type.
  • #17893 fix panic on associated functions with type annotations.
  • #17916 fix panic while lowering impl Trait parameter of parent generics.
  • #17867 handle trailing excess comma in "Convert to named struct".

Internal Improvements

  • #17903 (first contribution) don't kill the flycheck process command group.
  • #17908 test for word boundary in FindUsages.
  • #17842, #17843 optimize channel usage.
  • #17850 send back empty responses while the VFS is still loading.
  • #17876 remove unreachable logic for include token mapping.
  • #17896 check the edition for edition-dependent syntax kinds.
  • #17891 be more resilient to bad language item definitions in binary operator inference.
  • #17907 replace once_cell with the std types.
  • #17862 fix auto-publishing workflow.
  • #17909 remove rust-analyzer.workspace.discoverProjectRunner.

See also the changelog post.

Commit: 0daeb5c
Release: 2024-08-12 (v0.3.2070)

New Features

  • #17791 add diagnostic for await outside of async.
  • #17795 load sysroot library via cargo metadata (for toolchains after 176e54520 2024-08-04).
  • #17775, #17824 segregate syntax and semantic diagnostics to improve latency.
  • #17771 load VFS config changes in parallel.

Fixes

  • #17802 supress type mismatches in calls with mismatched argument counts.
  • #17823 attach unconfigured diagnostics to the right file for modules.
  • #17784 support inlay hints for more expressions with labels.
  • #17844 respect non-std preference in find_path.
  • #17805 fix panic in path_transform with default type parameters.
  • #17813 fix type equality check for non-ADT types in usage search.
  • #17832 fix panic while rendering function type hint with impl Trait parameters.
  • #17818 support .rust-project.json in addition to rust-project.json.

Internal Improvements

  • #17825 offload diagnostics serialization to the task pool.
  • #17794 turn ErasedFileAstId into a newtype.
  • #17821 remove unnecessary CfgFlag definition in project-model.
  • #17809 include vendored crates in StaticIndex.
  • #17831 merge flycheck into the main rust-analyzer crate.
  • #17799 split out syntax-bridge into a separate crate.
  • #17772 reorganize debug.ts.
  • #17745, #17827 add missing repository and description fields to the crate manifests.
  • #17793 suggest installing the MSVC Redistributable in the manual.

See also the changelog post.

Commit: c9109f2
Release: 2024-08-05 (v0.3.2062)

New Features

  • #17707 use spans for built-in and declarative macro expansion errors.
  • #17735 introduce workspace-level rust-analyzer.toml.

Fixes

  • #17750 don't require absolute paths in linkedProjects.
  • #17715 let glob imports override other globs' visibility.
  • #17747 fix inference for method calls with elided lifetimes.
  • #17755 apply IndexMut obligations for non-assigning mutable usages.
  • #17741 make include! work with raw string literals.
  • #17763 insert a tail Ok(()) in type mismatch quick fix.
  • #17736 show async in trait method completions.
  • #17789 insert a generic args for impl Trait during lowering.
  • #17742 don't retry inlay hint and code lens requests.

Internal Improvements

  • #17705 (first contribution) use oldest rustup rust-analyzer when toolchain override is present.
  • #17722 use VS Code logging helpers.
  • #17770 remove TryFrom implementation for AbsPathBuf.

See also the changelog post.

Commit: fd74511
Release: 2024-07-29 (v0.3.2053)

New Features

  • #17542 Support "Go to definition" and "Find all references" on control flow keywords.
  • #17676 add preliminary support for the + use<..> precise_capturing syntax.

Fixes

  • #17511 (first contribution) fix trait solving with Deref as a supertrait.
  • #17472 (first contribution) filter run unit tests by crate when running them.
  • #17660 fix again the path resolution for included submodules.
  • #17706 fix include!s with expr fragment inputs.
  • #17586 allow macro expansions into RestPat in tuple args.
  • #17697 support the new cargo config get env format.
  • #17709 fix hover links.
  • #17713 fix panic on unresolved index fields.
  • #17720 flip the naming of the doc-comment to comment assist.

Internal Improvements

  • #17675 (first contribution) remove the lens.forceCustomCommands config.
  • #17670 enable LRU for the body_with_source_map query.
  • #17671 shrink Binding.
  • #17695 shrink TypeRef by 8 bytes.
  • #17693 remove params and fields from AstIdMap.
  • #17668 remove incorrect never! invocations for async functions.
  • #17647 rename internal rust-analyzer commands.
  • #17698 remove unused trace module.
  • #17690 fix and enable unsafe_op_in_unsafe_fn.
  • #17483 improve rust-analyzer.toml error reporting.
  • #17667 use the rustup rust-analyzer component when rust-toolchain.toml exists.
  • #17610 add Impl::all_in_module(…) for more localized querying.
  • #17674 add version and config to the Status command.
  • #17395 remove UnindexedProject notification.

Others

See also the changelog post.

Commit: 4afe0d5
Release: 2024-07-22 (v0.3.2045)

New Features

  • #17588 (first contribution) add incorrect case diagnostics for enum variant fields and all variables/params.
  • #17620, #17640, #17646 make parser edition-aware.
  • #17635 add inlay hint support for lifetime labels in block expressions.
  • #17246 teach rust-analyzer to discover linked_projects.

Fixes

  • #17650 (first contribution) fix path resolution for child modules of those expanded by include!.
  • #17587 trigger a rename in VS Code "Extract variable".
  • #17649 be more robust to type errors in match analysis.
  • #17656 allow flyimport to import modules that shadow a primitive.
  • #17653 prefer standard library paths over shorter extern re-exports.
  • #17611 don't call macro_arg directly in ExpandDatabase::syntax_context.
  • #17622 handle renaming in "Merge imports".
  • #17605 set RUSTC_TOOLCHAIN for runnables.

Internal Improvements

  • #17584, #17603, #17604 implement symbol interning.
  • #17657 make CfgExpr slightly smaller.
  • #17638 reduce memory usage of salsa slots by 8 bytes.
  • #17639 some more salsa memory improvements.
  • #17559, #17601 encode ident rawness and literal kind separately in tt::Leaf.
  • #17655 more find_path improvements.
  • #17618 support rustc_skip_during_method_dispatch.
  • #17617 derive syntax kind information from ungrammar file.
  • #17637 remove rust-analyzer.openFAQ command.
  • #17616 fix incorrect generic parameter hint defaults.
  • #17641 don't take references in format_args! and friends.

See also the changelog post.

Commit: e9afba5
Release: 2024-07-15 (v0.3.2037)

New Features

  • #17544 (first contribution) add inlay hints for generic parameters.
  • #17572 add f16 and f128 support.

Fixes

  • #17558 (first contribution) fix double rounding of f32 literals.
  • #17571 do not add duplicate enum in "bool to enum".
  • #17561 add --keep-going to the check command.

Internal Improvements

  • #17565 drop version check for --keep-going (drops support for pre-1.74).
  • #17576 remove FAQ landing page, improve main one.

See also the changelog post.

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](https://www.github.com/rust-analyze

@philips-software-forest-releaser philips-software-forest-releaser bot added dependencies Pull requests that update a dependency file vscode-extensions labels Nov 24, 2024
Copy link

sonarcloud bot commented Nov 24, 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:f2bf1504b482fab38517b528c46d29e61c5bfa1720fba39c497389f696df169d

OS/Platform Previous Size Current Size Delta
linux/amd64 459.82M 458.77M -1.05M (-0.23%)
linux/arm64 599.31M 598.30M -1.02M (-0.17%)

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:e5c0b3ebb9e479555646303ba2a59dfa10ef2c34f883a15798508f2304cb13fc

OS/Platform Previous Size Current Size Delta
linux/amd64 650.48M 650.10M -389.02K (-0.06%)
linux/arm64 643.16M 642.84M -330.90K (-0.05%)

Copy link
Contributor

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ ACTION actionlint 16 0 0.09s
✅ DOCKERFILE hadolint 2 0 0.61s
✅ GHERKIN gherkin-lint 2 0 0.76s
✅ JSON npm-package-json-lint yes no 0.3s
✅ JSON prettier 15 1 0 0.46s
✅ JSON v8r 14 0 12.13s
✅ MARKDOWN markdownlint 8 0 0 0.73s
✅ MARKDOWN markdown-table-formatter 8 0 0 0.26s
✅ REPOSITORY checkov yes no 15.38s
✅ REPOSITORY gitleaks yes no 0.23s
✅ REPOSITORY git_diff yes no 0.01s
✅ REPOSITORY grype yes no 8.98s
✅ REPOSITORY secretlint yes no 0.92s
✅ REPOSITORY syft yes no 1.02s
✅ REPOSITORY trivy yes no 17.01s
✅ REPOSITORY trivy-sbom yes no 0.08s
✅ REPOSITORY trufflehog yes no 6.05s
✅ SPELL lychee 57 0 1.3s
✅ YAML prettier 21 0 0 0.91s
✅ YAML v8r 21 0 11.36s
✅ YAML yamllint 21 0 0.51s

See detailed report in MegaLinter reports

You could have the same capabilities but better runtime performances if you use a MegaLinter flavor:

MegaLinter is graciously provided by OX Security

Copy link
Contributor

Test Results

 2 files  ±0   2 suites  ±0   1m 22s ⏱️ -2s
29 tests ±0  29 ✅ ±0  0 💤 ±0  0 ❌ ±0 
31 runs  ±0  31 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 850faa0. ± Comparison against base commit 39bb101.

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.

0 participants