Skip to content

Releases: dotnet/vscode-csharp

v2.76.23

08 May 20:57
f3f6fd9
Compare
Choose a tag to compare
v2.76.23 Pre-release
Pre-release

2.76.x

  • Bump Roslyn to 5.0.0-1.25257.6 (PR: #8264)
    • Fix razor redirect(PR: #78448)
    • Do not parse URIs during LSP serialization/deserialization(PR: #76691)
    • Ensure hover markdown for supported platforms uses non-breaking spaces for indentation(PR: #78405)
  • Bump Razor to 10.0.0-preview.25252.1 (PR: #8239)
    • If SupportDiagnostics is false then dynamic files don't report diagnostics... (PR: #11807)
    • Client settings tweaks, and implement VS Code configuration monitoring (PR: #11800)
    • [main] [PRERELEASE] If SupportDiagnostics then dynamic files don't report diagnostics... (PR: #11810)
    • Update RazorSyntaxGenerator to reduce generated syntax code (PR: #11806)
    • Improve initialization, logging, and add more features to cohosting in VS Code (PR: #11788)
  • Bump Roslyn to 5.0.0-1.25252.3 (PR: #8239)
    • Extract base LanguageServerProjectLoader from LanguageServerProjectSystem(PR: #78329)
    • Edit & Continue support for field access in auto-properties(PR: #78289)
    • Allow Razor cohosting to hook into configuration change notifications(PR: #78364)
    • Insert missing space in XML documentation(PR: #78361)
    • Do not offer 'remove unnecessary parens' when it would change a collection initializer(PR: #78336)
    • Do not offer use-expr-body for properties with initializers(PR: #78360)
    • Add BuildHost APIs for loading an in-memory project(PR: #78303)
    • Allow Razor logs to be directed to the right output window in VS Code(PR: #78334)
    • Switch Project data structures from ImmutableDictionary => Dictionary and lock(PR: #78287)
  • Only show MiscFile toast when the uri scheme is file(PR: #8240)
  • Support more things in VS Code cohosting(PR: #8218)
  • Add SpanMapping for VS Code(PR: #8225)
  • [main] Update Razor to Fix Missing DLL(PR: #8224)
  • [release] Ignore updates with no changes for csharp files(PR: #8170)

2.75.x

  • Bump Razor to 10.0.0-preview.25228.4 (PR: #8225)
    • Don't return null if we couldn't sync the document for breakpoint validation (PR: #11790)
    • Add VS Code IMappingService (PR: #11760)
    • Fix cases where there is a space in the URI (PR: #11745)
  • Bump Roslyn to 5.0.0-1.25224.9 (PR: #8211)
    • Update ICSharpCode.Decompiler to 9.1.0.7988(PR: #78270)
    • Reduce allocations in NamespaceSymbol.GetExtensionContainers(PR: #78243)
    • Allow Razor files to be additional documents in a misc files project(PR: #78267)
    • Hook up IDocumentServiceProvider in VS Code(PR: #78266)
    • Allow Razor cohosting to run in VS Code, and fix it in VS(PR: #78167)
    • Fix razor analyzer loading(PR: #78116)
    • Fix crash when converting primary constructor to normal constructor(PR: #78234)
    • Reduce LOH allocations in MetadataWriter(PR: #78245)
    • Support empty root namespaces in ResxSourceGenerator(PR: #78233)
    • Allocate slightly less in ImmutableArrayExtensions.ConditionallyDeOrder(PR: #78235)
    • Ensure FindSourceDefinitionAsync works in frozen compilation cases(PR: #78195)
    • Fix quick info for pp symbols(PR: #78173)
    • Fix issue where we were inappropriately suggesting we remove a ref-field(PR: #78191)
    • System.CommandLine update (PR: #78142)
    • Ensure LSP uses actual signature help trigger characters(PR: #78076)
    • Do not return metadata names for document symbols(PR: #78077)
    • Improve detection of code whose updates may not have effect(PR: #78009)
    • Fix crash in backing field nullability cycle scenario(PR: #77993)
    • Fix EA layering for Razor.ExternalAccess(PR: #77927)
    • Simplify workspace initialization in the LSP server(PR: #78010)
  • Support Html requests in cohosting(PR: #8210)
  • Allow the Roslyn client to log messages from Razor(PR: #8201)
  • Add cohost option to Razor(PR: #8189)

v2.72.34

22 Apr 04:13
c988990
Compare
Choose a tag to compare

This was a servicing release to address regressions in Razor scenarios.

Changes in 2.72.34 (since 2.72.27)

  • [release] Ignore updates with no changes for csharp files (PR: #8170)
  • Insert patch Razor fix (PR: #8182)
  • [release] Only send build only diagnostic ids requests for opening C# files (PR: #8182)

Changes in 2.72.27 (since 2.69)

2.72.x

  • Revert xamlTools to 17.14.35913.250 (PR: #8121)
  • Update Roslyn to 4.14.0-3.25178.1 (PR: #8103)
    • Merge null conditional assignment to main (PR: #77867)
    • Merge features/extensions into main (PR: #77851)
    • Set the default namespace for the project and proper folders for documents (PR: #77787)
    • Fix move to namespace offering for primary constructor (PR: #77751)
    • Rework analyzer assembly loading (PR: #77004)
    • Improve raw string completion (PR: #77742)
    • Avoid adding duplicate suppressors to the host analyzer arrays (PR: #77062)
    • Cleanup and make semantic token processing and testing code more consistent (PR: #77684)
    • Fix generation of attribute with array constant (PR: #77661)
  • Bump Razor to (PR: #8096)
    • Some code actions ordering and cleanup (#11659) (PR: #11659)
    • Emit pragmas for empty @ expressions in MVC (#11653) (PR: #11653)
    • Couple of small code actions tweaks (#11630) (PR: #11630)
    • Fix text area formatting in the new formatting engine (#11624) (PR: #11624)

2.71.x

  • Bump xamlTools to 17.14.35920.284 (PR: #8083)
  • Localization (PR: #8084)
  • Update wording on Razor Report Issue(PR: #8081)
  • Use the new SDK install experience when available.(PR: #8080)
  • Only enable Generate Assets command when the extension is activated.(PR: #8079)
  • Expose sendRequestWithProgress as experimental API(PR: #8074)

2.70.x

  • Bump razor to 9.0.0-preview.25161.2 (PR: #8058)
    • Move VS Code To Pull Diagnostics (PR: #11602)
    • Upgrade to net9 (PR: #11535)
    • Cleanup CompletionTriggerAndCommitCharacters (PR: #11600)
    • Add constraints to CaptureParameters method (PR: #11530)
    • [FUSE] Layout mapping (PR: #11567)
  • Bump xamlTools to 17.14.35913.250 (PR: #8062)
  • Bump Roslyn to 4.14.0-3.25164.3 (PR: #8070)
    • Filter down the list of files we need to examing when looking for a :base(...) call in find refs (PR: #77610)
    • Fix run code analysis on solution not reporting results (PR: #77501)
    • Fix NFW due to invoking Workspace.RaiseEventForHandlers in the CA process (PR: #77546)

v2.74.24

08 May 20:56
b00a35e
Compare
Choose a tag to compare
v2.74.24 Pre-release
Pre-release

2.74.x

  • Bump xamlTools to 17.14.36010.33 (PR: #8178)
  • Bump razor to 10.0.0-preview.25210.3 (PR: #8171)
    • Allow graceful handling of ArgumentException when trying to apply changes to SourceText in LspTextChangesLoader (PR: #11727)
    • Tweak a log message (PR: #11705)
    • Improve performance and memory usage of TagHelperBinder (PR: #11671)

v2.73.16

07 Apr 22:39
fe9c960
Compare
Choose a tag to compare
v2.73.16 Pre-release
Pre-release

2.73.x

  • Bump Roslyn to 5.0.0-1.25204.1 (PR: #8138)
    • Ensure that newline is inserted after file scoped namespace declarations (PR: #77821)
    • Allow modification of source generated documents (PR: #77587)
    • Simplify the code for getting source generator diagnostics into the diagnostics service. (PR: #77898)
    • Make GlobalOptionService initialization synchronous. (PR: #77823)
    • Change keys for import caching (PR: #77627)
  • Don't show duplicate toast if C# Dev Kit fails to activate (PR: #8135)
  • Bump xamlTools to 17.14.36004.3 (PR: #8134)
  • Acquire aspnetcore runtime when using Dev Kit to avoid double acquisition (PR: #8132)

v2.72.27

07 Apr 22:36
cc28f41
Compare
Choose a tag to compare

Changes in 2.72.27 (since 2.69)

2.72.x

  • Revert xamlTools to 17.14.35913.250 (PR: #8121)
  • Update Roslyn to 4.14.0-3.25178.1 (PR: #8103)
    • Merge null conditional assignment to main (PR: #77867)
    • Merge features/extensions into main (PR: #77851)
    • Set the default namespace for the project and proper folders for documents (PR: #77787)
    • Fix move to namespace offering for primary constructor (PR: #77751)
    • Rework analyzer assembly loading (PR: #77004)
    • Improve raw string completion (PR: #77742)
    • Avoid adding duplicate suppressors to the host analyzer arrays (PR: #77062)
    • Cleanup and make semantic token processing and testing code more consistent (PR: #77684)
    • Fix generation of attribute with array constant (PR: #77661)
  • Bump Razor to (PR: #8096)
    • Some code actions ordering and cleanup (#11659) (PR: #11659)
    • Emit pragmas for empty @ expressions in MVC (#11653) (PR: #11653)
    • Couple of small code actions tweaks (#11630) (PR: #11630)
    • Fix text area formatting in the new formatting engine (#11624) (PR: #11624)

2.71.x

  • Bump xamlTools to 17.14.35920.284 (PR: #8083)
  • Localization (PR: #8084)
  • Update wording on Razor Report Issue(PR: #8081)
  • Use the new SDK install experience when available.(PR: #8080)
  • Only enable Generate Assets command when the extension is activated.(PR: #8079)
  • Expose sendRequestWithProgress as experimental API(PR: #8074)

2.70.x

  • Bump razor to 9.0.0-preview.25161.2 (PR: #8058)
    • Move VS Code To Pull Diagnostics (PR: #11602)
    • Upgrade to net9 (PR: #11535)
    • Cleanup CompletionTriggerAndCommitCharacters (PR: #11600)
    • Add constraints to CaptureParameters method (PR: #11530)
    • [FUSE] Layout mapping (PR: #11567)
  • Bump xamlTools to 17.14.35913.250 (PR: #8062)
  • Bump Roslyn to 4.14.0-3.25164.3 (PR: #8070)
    • Filter down the list of files we need to examing when looking for a :base(...) call in find refs (PR: #77610)
    • Fix run code analysis on solution not reporting results (PR: #77501)
    • Fix NFW due to invoking Workspace.RaiseEventForHandlers in the CA process (PR: #77546)

v2.72.22

07 Apr 22:34
c4e652a
Compare
Choose a tag to compare
v2.72.22 Pre-release
Pre-release

2.72.x

  • Revert xamlTools to 17.14.35913.250 (PR: #8121)
  • Update Roslyn to 4.14.0-3.25178.1 (PR: #8103)
    • Merge null conditional assignment to main (PR: #77867)
    • Merge features/extensions into main (PR: #77851)
    • Set the default namespace for the project and proper folders for documents (PR: #77787)
    • Fix move to namespace offering for primary constructor (PR: #77751)
    • Rework analyzer assembly loading (PR: #77004)
    • Improve raw string completion (PR: #77742)
    • Avoid adding duplicate suppressors to the host analyzer arrays (PR: #77062)
    • Cleanup and make semantic token processing and testing code more consistent (PR: #77684)
    • Fix generation of attribute with array constant (PR: #77661)
  • Bump Razor to (PR: #8096)
    • Some code actions ordering and cleanup (#11659) (PR: #11659)
    • Emit pragmas for empty @ expressions in MVC (#11653) (PR: #11653)
    • Couple of small code actions tweaks (#11630) (PR: #11630)
    • Fix text area formatting in the new formatting engine (#11624) (PR: #11624)

2.71.x

  • Bump xamlTools to 17.14.35920.284 (PR: #8083)
  • Localization (PR: #8084)
  • Update wording on Razor Report Issue(PR: #8081)
  • Use the new SDK install experience when available.(PR: #8080)
  • Only enable Generate Assets command when the extension is activated.(PR: #8079)
  • Expose sendRequestWithProgress as experimental API(PR: #8074)

v2.70.15

21 Mar 23:05
62234e3
Compare
Choose a tag to compare
v2.70.15 Pre-release
Pre-release
  • Bump razor to 9.0.0-preview.25161.2 (PR: #8058)
    • Move VS Code To Pull Diagnostics (#11602) (PR: #11602)
    • Upgrade to net9 (#11535) (PR: #11535)
    • Cleanup CompletionTriggerAndCommitCharacters (#11600) (PR: #11600)
    • Add constraints to CaptureParameters method (#11530) (PR: #11530)
    • [FUSE] Layout mapping (#11567) (PR: #11567)
  • Bump xamlTools to 17.14.35913.250 (PR: #8062)
  • Bump Roslyn to 4.14.0-3.25164.3 (PR: #8070)
    • Filter down the list of files we need to examing when looking for a :base(...) call in find refs (PR: #77610)
    • Fix run code analysis on solution not reporting results (PR: #77501)
    • Fix NFW due to invoking Workspace.RaiseEventForHandlers in the CA process (PR: #77546)

v2.69.25

07 Apr 22:38
2e60cf1
Compare
Choose a tag to compare

Changes in 2.69.25 (since 2.63)

2.69.x

  • Bump razor to 9.0.0-preview.25156.2 (PR: #8047)
    • Enable FUSE by default
    • Improve solution load performance (#11591) (PR: #11591)
    • Make logging fall into the pit of success (#11581) (PR: #11581)
  • Bump xamlTools to 17.14.35904.287 (PR: #8042)
  • Update Roslyn to 4.14.0-3.25156.1 (PR: #8049)
    • Don't use an implicit-object if the lang version doesn't support it (PR: #77437)
    • Fix issue where we were changing semantics when converting to a collection expr. (PR: #77417)
    • Detect and emit more idiomatic null check patterns (PR: #77412)
    • Partial events and constructors: IDE (PR: #77337)
    • Simplify keyword recommenders. (PR: #77396)
    • Remove async/await (PR: #77397)
    • Preserve encoding during DocumentState updates (PR: #77354)
    • Don't realize the SourceText in SyntaxTree.OverlapsHiddenPosition if not needed (PR: #77334)
    • Handle ModuleCancellationTokenExpression in AbstractFlow visitor (PR: #77310)
    • PERF: Reduce the number of nodes walked during import completion commit. (PR: #77305)
    • Allow expression body refactorings on non empty selections (PR: #76969)
    • Partial events and constructors: public API (PR: #77202)
    • Refresh diagnostics when fading options change (PR: #77322)
    • Reduce allocations during completion in FilterToVisibleAndBrowsableSymbols (PR: #77315)
    • Change override completion to select text after updating the buffer. (PR: #76983)
    • Fix false positive 'Unnecessary assignment of a value' (PR: #77297)

2.68.x

  • Update Razor to 9.0.0-preview.25125.9 (PR: #8027)
    • Don't send invalid ranges for diagnostics if they do not map (#11555) (PR: #11555)
    • Fix file path service, and integration tests (#11556) (PR: #11556)
    • Add ParserOptions and CodeGenerationOptions properties to RazorCodeDocument and rationalize options configuration (#11526) (PR: #11526)
    • Fix parsing of quotes in attribute names (#11543) (PR: #11543)
  • Bump xamlTools to 17.14.35828.13 (PR: #8032)
  • Ignore preview versions when locating the .NET runtime (PR: #8043)

2.67.x

  • Update Razor to 9.0.0-preview.25125.9 (PR: #8027)
    • Don't send invalid ranges for diagnostics if they do not map (#11555) (PR: #11555)
    • Fix file path service, and integration tests (#11556) (PR: #11556)
    • Add ParserOptions and CodeGenerationOptions properties to RazorCodeDocument and rationalize options configuration (#11526) (PR: #11526)
    • Fix parsing of quotes in attribute names (#11543) (PR: #11543)
  • Bump xamlTools to 17.14.35821.62 (PR: #8001)
  • Update Roslyn to 4.14.0-2.25120.5 (PR: #7984)
    • Switch TextDocumentState.GetTextVersionAsync to ValueTask to reduce allocations. (PR: #77213)
    • Add an option to ignore aliases when moving using directives outside a namespace (PR: #77291)
    • Fill some gaps in the LSP (PR: #77289)
    • Ensure diagnostics refresh when source generators run in balanced mode (PR: #77271)
    • Fix override completion when attribute below (PR: #77242)
    • Fix crash in 'introduce variable' when converting an object creation expression to an implicit object creation expression (PR: #77279)
    • Fix Quick Info nullability display for backing fields (PR: #77240)
    • Properly pass progress object along in fix all provider (PR: #77243)
    • Remove need to use semantics in the 'move type' code refactoring provider. (PR: #77244)
    • Do not offer primary constructor parameters when offering to generate Equals/GetHashCode (PR: #77235)
    • Rename feature to 'Add or remove accessibility modifiers' (PR: #77234)
    • Have distinct messages for adding vs. removing accessibility modifiers (PR: #77188)
    • Update 'use interpolated string' refactoring to support fix all (PR: #77209)
    • Reduce allocations in SymbolCompletionItem.GetSupportedPlatforms (PR: #77168)
    • Classify string fields with embedded languages if we can see their values passed to a StringSyntax api (PR: #77199)
    • Add analyzer redirecting API (PR: #74820)
    • Fix race during shutdown of the BuildHost server (PR: #77151)
    • Fix workspace command execution (PR: #77152)
    • Add Microsoft.CodeAnalysis.Contracts source package (PR: #76997)
    • Detect data section string literal hash collisions (PR: #77061)
    • Return LSP diagnostics with their reported severity. (PR: #77145)
    • Fix syntax generation of explict checked operator from symbol (PR: #77102)
    • Add new workspace event that gives handlers the opportunity to be processed immediately (PR: #76932)
    • Optimize DiagnosticService on NetCore (PR: #77126)
    • Simplify caching api between CodeAnalysisService and DiagnosticAnalysisService (PR: #77094)
  • Manage information diagnostic severity on the client-side (PR: #7984)
  • Update Razor to 9.0.0-preview.25121.2 (PR: #8010)
    • Fix formatting of multi-line expressions in Html attributes (#11528) (PR: #11528)
    • Stop attribute name parsing at transition (#11520) (PR: #11520)
    • Use different completion trigger character set for VSCode (#11446) (PR: #11446)
    • Update Telemetry package (#11468) (PR: #11468)
    • Don't hold onto Roslyn projects longer than necessary (#11458) (PR: #11458)
    • Fix formatting of escaped at signs (#11462) (PR: #11462)
    • Code action to offer to wrap Html attributes (#11422) (PR: #11422)
    • Make sure we go through GetAbsolutePosition to handle LSP edge cases (#11441) (PR: #11441)
    • Make log levels match LogLevel.cs (#11436) (PR: #11436)
    • Fix on type formatting line delta calculations (#11435) (PR: #11435)
    • Clean up and rationalize imports in the compiler (#11409) (PR: #11409)
    • Fix typo in setting description (#11423) (PR: #11423)
  • Bump xamlTools to 17.14.35813.246 (PR: #7993)
  • Update the debugger to 2.66.0 (PR: #7988)
  • Fix the regular expression to read RID value. (PR: #7994)

2.65.x

  • Update Roslyn LSP to run on .NET 9 (PR: #7946)
  • Update Roslyn to 4.14.0-2.25106.12 (PR: #7969)
    • Maintain whitespace when converting to switch expression (PR: #77083)
    • Fix extra whitespace insertion for completion text edits (PR: #77071)
    • Realize less of the synt...
Read more

v2.69.22

15 Mar 02:31
3773447
Compare
Choose a tag to compare
v2.69.22 Pre-release
Pre-release
  • Bump razor to 9.0.0-preview.25156.2 (PR: #8047)
    • Enable FUSE by default
    • Improve solution load performance (PR: #11591)
    • Make logging fall into the pit of success (PR: #11581)
  • Bump xamlTools to 17.14.35904.287 (PR: #8042)
  • Update Roslyn to 4.14.0-3.25156.1 (PR: #8049)
    • Don't use an implicit-object if the lang version doesn't support it (PR: #77437)
    • Fix issue where we were changing semantics when converting to a collection expr. (PR: #77417)
    • Detect and emit more idiomatic null check patterns (PR: #77412)
    • Partial events and constructors: IDE (PR: #77337)
    • Simplify keyword recommenders. (PR: #77396)
    • Remove async/await (PR: #77397)
    • Preserve encoding during DocumentState updates (PR: #77354)
    • Don't realize the SourceText in SyntaxTree.OverlapsHiddenPosition if not needed (PR: #77334)
    • Handle ModuleCancellationTokenExpression in AbstractFlow visitor (PR: #77310)
    • PERF: Reduce the number of nodes walked during import completion commit. (PR: #77305)
    • Allow expression body refactorings on non empty selections (PR: #76969)
    • Partial events and constructors: public API (PR: #77202)
    • Refresh diagnostics when fading options change (PR: #77322)
    • Reduce allocations during completion in FilterToVisibleAndBrowsableSymbols (PR: #77315)
    • Change override completion to select text after updating the buffer. (PR: #76983)
    • Fix false positive 'Unnecessary assignment of a value' (PR: #77297)

v2.68.46

15 Mar 02:30
dbac654
Compare
Choose a tag to compare
v2.68.46 Pre-release
Pre-release
  • Update Razor to 9.0.0-preview.25125.9 (PR: #8027)
    • Don't send invalid ranges for diagnostics if they do not map (PR: #11555)
    • Fix file path service, and integration tests (PR: #11556)
    • Add ParserOptions and CodeGenerationOptions properties to RazorCodeDocument and rationalize options configuration (PR: #11526)
    • Fix parsing of quotes in attribute names (PR: #11543)
  • Bump xamlTools to 17.14.35828.13 (PR: #8032)
  • Ignore preview versions when locating the .NET runtime (PR: #8043)