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, tamasfe.even-better-toml, usernamehw.errorlens #675

Merged

Conversation

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

@philips-software-forest-releaser philips-software-forest-releaser bot commented Dec 22, 2024

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 usernamehw.errorlens from 3.20.0 to 3.22.0

Release notes

Updates tamasfe.even-better-toml from 0.19.2 to 0.21.2

Release notes

Fixes

  • Regression: [rule.formatting] completely overrides the default outside of the specified sections (#634)

0.13.0

Features

Fixes

Full Changelog: https://www.github.com/tamasfe/taplo/compare/release-taplo-0.12.1...release-taplo-0.13.0

Changes

Bump build tools

Full Changelog: https://www.github.com/tamasfe/taplo/compare/release-taplo__core-0.1.1...release-taplo__core-0.2.0

0.9.0

Features

Full Changelog: https://www.github.com/tamasfe/taplo/compare/release-taplo-cli-0.8.1...release-taplo-cli-0.9.0

What's Changed

New Contributors

Full Changelog: https://www.github.com/tamasfe/taplo/compare/release-taplo-cli-0.7.0...0.8.0

Features

Changes

Full Changelog: https://www.github.com/tamasfe/taplo/compare/release-taplo-cli-0.6.8...release-taplo-cli-0.7.0

Changes

  • Appropriate error when the LSP feature is not available.

A release with minor tweaks and fixes.

Fixes

  • Fixed schema directive handling in the CLI

New Features

Fixes

Updates rust-lang.rust-analyzer from 0.3.2212 to 0.3.2237

Release notes

Commit: 59bc7b4
Release: 2024-12-30 (v0.3.2237)

New Features

  • #18707 show substitution where hovering over generic things.
  • #18743 unify handling of path diagnostics in hir-ty.

Fixes

  • #18744 (first contribution) treat ; as a terminator rather than part of a glued expression.
  • #18756 add missing enum name when hovering on variant fields.
  • #18778 fix flycheck diagnostics flickering for binary targets.
  • #18784 do not merge spans with different anchors.
  • #18789 fix invalid -O flag used by cfg discovery.
  • #18722 rename rust-analyzer.statusBar.documentSelector to showStatusBar, add always and never options.

Internal Improvements

  • #18774 implement parameter variance inference.
  • #18718 standardize iterator passing in SyntaxFactory.
  • #18760, #18762 work around leaking salsa cycles.
  • #18761 swallow config value is not set Cargo error.
  • #18754 clean up target fetching for Cargo metadata.
  • #18785 clean up toolchain info fetching.
  • #18750 revert "disable rustc test metrics".
  • #18787 automatically cancel CI checks on new push to PR.

See also the changelog post.

Commit: fa4a40b
Release: 2024-12-23 (v0.3.2228)

New Features

  • #18696 report unresolved idents for implicit captures in format_args!().

Fixes

  • #18723 fix a case where completion was unable to expand a tracing macro.
  • #18699 fix path-qualified auto-importing completions not working with re-exports.
  • #18729 clear flycheck diagnostics more granularly.
  • #18741 delay initial flycheck until after build scripts.
  • #18726 reduce applicability of the unnecessary_async assist.
  • #18695 improve name suggestion for destructure_tuple_binding.
  • #18690 use string literal contents as a name when extracting into variable.
  • #18700 fix unresolved_field when a keyword is used as a field.
  • #18708 fix pretty-printing of @ patterns.
  • #18714 do not ask the client to resolve for non-existent label details.
  • #18716 consider both completion detail fields in to_proto.
  • #18727 fix "tried adding a runnable pointing to a different file" panic.
  • #18739 don't trigger parenthesis wrapping typing handler after identifiers.
  • #18740 fix empty check diagnostics not marking files as changed.
  • #18738, #18742 properly test if workspace flychecking is allowed.
  • #18711 don't mark &raw of deref as unsafe.

Internal Improvements

  • #18715 (first contribution) fix AsmOption rule in rust.ungram.
  • #18731 revert "drop proc macro server support for 1.66 and older toolchains".
  • #18698 don't serialize empty fields in completion and resolve payloads.
  • #18713 cleanup label structure of CompletionItem.
  • #18717, #18735 set result_id for pull diagnostics.
  • #18697 simplify ratoml test directory handling.
  • #18728 use serde_derive intead of derive feature.
  • #18710 remove salsa from proc macro server dependency tree.

See also the changelog post.

Commit: 27e824f
Release: 2024-12-16 (v0.3.2220)

New Features

  • #18670 drop proc macro server support for 1.66 and older toolchains.
  • #18458 add diagnostic fix to remove unnecessary Some or Ok wrapper on type mismatch.
  • #18652 add "Extract into constant" assist.

Fixes

  • #18667 (first contribution) fix "Replace #[derive()]` when snippet text edits are disabled.
  • #18653 hash completion items to properly match them when resolved.
  • #18645 allow uninhabited non-exhaustive structs.
  • #18663 swallow rustfmt parsing panics.
  • #18660 clean up copied proc macro libraries on exit.
  • #18675 fix panic when displaying generic params with defaults, again.
  • #18684 re-enable snippet text edits capability.
  • #18656 preserve order of parameters in "Extract function".
  • #18674 show expansion errors in "Expand macro at caret".
  • #18466 properly handle different defaults for severity of lints.
  • #18668 fix source root construction for virtual manifests.

Internal Improvements

  • #18643 rename test fixture crates to ra_test_fixture.
  • #18644 remove cfg-if patching hack.
  • #18647 disable pipe in typing handler.
  • #18657 migrate generate_enum_variant assist to SyntaxEditor.
  • #18531 map new replacement nodes to their mutable equivalents in SyntaxEditor.
  • #18669 only parse the object file once in proc-macro-srv.
  • #18677 implement naked_asm! built-in.
  • #18672 simplify dummy proc-macro-srv.
  • #18694 show MIR eval errors on hover when debug environment variable is set.
  • #18693 fix proc-macro library names on Windows.
  • #18441 try not cache the config directory path.

See also the changelog post.

Commit: 4c755e6
Release: 2024-12-09 (v0.3.2212)

New Features

  • #18541 add infrastructure and a first type lowering diagnostic.
  • #18609 report union field accesses and inline assembly as unsafe.
  • #18604 complete derive helper attributes.
  • #18594 support AsyncFn traits.
  • #18522 add setting to exclude trigger characters from format-on-type.

Fixes

  • #18610 add implict unsafety inlay hints for extern blocks.
  • #18589 advertise completions and inlay hints resolve based on the client capabilities.
  • #18630 temporarily disable completion resolve support for Helix and Neovim.
  • #18618 fix parsing of integer/keyword name references in various places.
  • #18608 improve parser recovery for paths.
  • #18625 fix parser getting stuck for bad asm expressions.
  • #18593, #18622 fix parsing of parenthesized type arguments and RTN.
  • #18586 inherit environment in debug configurations.
  • #18587 fix syntax fixup inserting unnecessary semicolons.
  • #18555 fix a bug where synthetic AST nodes were looked up in the AST ID map.
  • #18607 fix shadowing of record enum variants in patterns.
  • #18605 fix another glob import name resolution bug.
  • #18611 do not report warnings from proc macros, ever.
  • #18474, #18616 make bracket typing handler work on more things.
  • #18627 improve semicolon insertion typing handler heuristics.
  • #18628 add typing handler for parameter list pipe.
  • #18619 fix panic when displaying generic parameters with defaults.
  • #18620 parse lifetime bounds in lifetime parameters into TypeBoundList.
  • #18621 resolve generic parameters within use captures.
  • #18629 highlight > as part of => in macro_rules! arm.
  • #18633 properly coerce FnDefs to function pointers if they are subtypes.
  • #18592 only show VS Code status bar item in relevant files.

Internal Improvements

  • #18561 (first contribution) add macro expansion test for raw variable names.
  • #18595 remove references to platform-intrinsic ABI.
  • #18483 migrate introduce_named_generic assist to SyntaxFactory.
  • #18538 migrate sort_items assist to SyntaxFactory.
  • #18551 migrate add_turbo_fish assist to SyntaxFditor.
  • #18575 migrate flip assists to SyntaxEditor.

See also the changelog post.

Commit: b65911d
Release: 2024-12-02 (v0.3.2204)

Fixes

  • #18511 re-add rust-analyzer.cargo.sysrootQueryMetadata.
  • #18559 fix stack overflow when computing the sizedness of (co-)recursive types.

Internal Improvements

  • #18577 remove redundant associated type bounds from dyn TypeFolder.

See also the changelog post.

Commit: 327ab29
Release: 2024-11-25 (v0.3.2196)

Fixes

  • #18529 (first contribution) improve selection handling in merge_match_arms.
  • #18459 use snippet placeholders for generated match arms.

Internal Improvements

  • #18485 migrate add_braces assist to use SyntaxFactory.
  • #18521 migrate reorder_impl_items assist to use SyntaxFactory.
  • #18552 fix formatting in "missing rust-src" message.

See also the changelog post.

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! invocation

@philips-software-forest-releaser philips-software-forest-releaser bot requested a review from a team as a code owner December 22, 2024 02:49
@philips-software-forest-releaser philips-software-forest-releaser bot added dependencies Pull requests that update a dependency file vscode-extensions labels Dec 22, 2024
Copy link
Contributor

github-actions bot commented Dec 22, 2024

Compressed layer size comparison

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

OS/Platform Previous Size Current Size Delta
linux/amd64 454.99M 454.99M 0.00 (+0.00%)
linux/arm64 593.18M 593.18M 0.00 (+0.00%)

Copy link
Contributor

github-actions bot commented Dec 22, 2024

Compressed layer size comparison

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

OS/Platform Previous Size Current Size Delta
linux/amd64 644.55M 644.91M 367.81K (+0.06%)
linux/arm64 636.02M 636.37M 359.08K (+0.06%)

Copy link
Contributor

github-actions bot commented Dec 22, 2024

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ ACTION actionlint 16 0 0.07s
✅ DOCKERFILE hadolint 2 0 0.6s
✅ GHERKIN gherkin-lint 2 0 0.75s
✅ JSON npm-package-json-lint yes no 0.3s
✅ JSON prettier 15 1 0 0.37s
✅ JSON v8r 14 0 13.79s
✅ MARKDOWN markdownlint 8 0 0 0.67s
✅ MARKDOWN markdown-table-formatter 8 0 0 0.21s
✅ REPOSITORY checkov yes no 15.37s
✅ REPOSITORY gitleaks yes no 0.24s
✅ REPOSITORY git_diff yes no 0.01s
✅ REPOSITORY grype yes no 9.1s
✅ REPOSITORY secretlint yes no 1.03s
✅ REPOSITORY syft yes no 1.09s
✅ REPOSITORY trivy yes no 4.9s
✅ REPOSITORY trivy-sbom yes no 0.08s
✅ REPOSITORY trufflehog yes no 3.33s
✅ SPELL lychee 57 0 1.43s
✅ YAML prettier 21 0 0 0.71s
✅ YAML v8r 21 0 11.17s
✅ YAML yamllint 21 0 0.41s

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

github-actions bot commented Dec 22, 2024

Test Results

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

Results for commit bbbc4a5. ± Comparison against base commit 2270b53.

♻️ This comment has been updated with latest results.

@CosmicHorrorDev
Copy link

The quoted release notes are inadvertently pinging people btw

@panekj
Copy link

panekj commented Dec 22, 2024

Would be nice if it not do that

@philips-software-forest-releaser philips-software-forest-releaser bot force-pushed the feature/amp-devcontainer-rust/update-vscode-extensions branch from 29f31a9 to 2469261 Compare January 5, 2025 02:49
@rjaegers
Copy link
Member

rjaegers commented Jan 6, 2025

The quoted release notes are inadvertently pinging people btw

This should be fixed when #684 is merged. Thanks for bringing this to our attention, and our apologies for the inconvenience caused.

Copy link

sonarqubecloud bot commented Jan 6, 2025

@rjaegers rjaegers added this pull request to the merge queue Jan 6, 2025
Merged via the queue into main with commit 0663172 Jan 6, 2025
23 checks passed
@rjaegers rjaegers deleted the feature/amp-devcontainer-rust/update-vscode-extensions branch January 6, 2025 14:14
Copy link
Contributor

github-actions bot commented Jan 6, 2025

Pull Request Report (#675)

Static measures

Description Value
Number of added lines 3
Number of deleted lines 3
Number of changed files 1
Number of commits 2
Number of reviews 1
Number of comments (w/o review comments) 8
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 7

Time related measures

Description Value
PR lead time (from creation to close of PR) 15.5 Days
Time that was spend on the branch before the PR was created 0 Sec
Time that was spend on the branch before the PR was merged 1.5 Days
Time to merge after last review 5 Min

Status check related measures

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

Copy link
Contributor

github-actions bot commented Jan 7, 2025

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

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.

3 participants