Skip to content

Conversation

@davidwengier
Copy link
Member

Updates Razor to 10.0.0-preview.26059.2, which also needed a Roslyn update to 5.4.0-2.26060.1 for new API.

Full Razor changlog

View Complete Diff of Changes

  • [main] Update dependencies from dotnet/arcade (PR: #12640)
  • Localized file check-in by OneLocBuild Task: Build definition ID 262: Build ID 2875848 (PR: #12665)
  • Don't do any interesting mapping for Enc diagnostics in cohosting (PR: #12664)
  • Filter our html diagnostics when a tag helper attribute spans multiple lines (PR: #12654)
  • Fix integration tests post formatting changes (PR: #12653)
  • Unskip test (PR: #12660)
  • Use SourceText.ToString directly instead of GetSubTextString extension method. (PR: #12659)
  • Handle Html indentation ourselves, rather than using the IDE formatter (PR: #12623)
  • Add new option to control attribute indent style (PR: #12625)
  • Fix formatting with adjacent C# templates (PR: #12636)
  • Emit the start of multiline implicit expressions the same as explicit. (PR: #12624)
  • Rename a .razor file when Roslyn renames the component type name (PR: #12606)
  • Rename component tags and type references when a Razor file is renamed (PR: #12561)
  • Change insertionCreateDraftPR to false (PR: #12644)
  • Handle conflict markers (PR: #12642)
  • Update config after 18.3 snap (PR: #12639)
  • Fix rename integration test (PR: #12634)
  • Fix cross project span and edit mapping (PR: #12614)
  • Create cohosting tests for existing LSP server endpoint test coverage (PR: #12630)
  • Always specify the same project information as Roslyn in VS diagnostics (PR: #12629)
  • [main] Update dependencies from dotnet/arcade (PR: #12586)
Full Roslyn changelog (truncated, because pr-finder gave me everything back to the initial commit??)

View Complete Diff of Changes

  • Add ProjectContext refresh queue (PR: #81938)
  • Fix WasPropertyBackingFieldAccessChecked assertion with query continuations (PR: #81793)
  • Simplify DocumentUri implementation (PR: #81951)
  • Fix the generator building twice (PR: #81950)
  • Eliminate closure allocation by referencing UriString property instead of captured uriString parameter (PR: #81948)
  • Use the compiler encoding for baseline source files recovered from file system (PR: #81933)
  • Remove cohosting feature flag checks and associated code (PR: #81914)
  • Localize the main branch resource strings (PR: #81929)
  • Fix source generator nuget package being locked by build when used as a project reference (PR: #81925)
  • Move package initialization off the UI thread entirely (PR: #81756)
  • Ensure GetFirstRelatedDocumentId doesn't return non-source documents (PR: #81893)
  • GH Workflow - only comment if a prior failure comment has not been posted (PR: #81906)
  • Update PR Validation workflow comment (PR: #81908)
  • GH Workflow - update commenting to collapse parameters and be more explicit on the pipeline that started (PR: #81905)
  • Assert the shape of bound tree created for user defined conversions (PR: #81896)
  • Update base branch based on PR for workflow (PR: #81904)
  • Add back async fixers (PR: #81835)
  • Fix links to the standard (PR: #81902)
  • Hot Reload: Misc small tweaks (PR: #81676)
  • Comment out IDE0006 which is no longer used (PR: #81804)
  • Simplify code with patterns. (PR: #81876)
  • Update FileBasedPrograms package (PR: #81879)
  • SwitchBinder.KeyForConstant: nint/nuint values should not collide with values for constants of other types. (PR: #81794)
  • Change insertionCreateDraftPR to false (PR: #81889)
  • Implement compiler support for System.Runtime.InteropServices.ExtendedLayoutAttribute (PR: #78741)
  • Don't assume misc files are documents (PR: #81785)
  • Move to async/await (Workspaces) layer (attempt-b) (PR: #81839)
  • Update workflow messaging on who has command access (PR: #81886)
  • Move lsp handlers to async/await (attempt 2). (PR: #81832)
  • Disable solutionless-load (PR: #81882)
  • Ensure extension receiver is converted for pattern matching Deconstruct and pattern based using scenarios. (PR: #81816)
  • Set enforce latest commit based on if a commit was passed in for perf workflow (PR: #81868)
  • Update config after 18.3 snap (PR: #81870)
  • Include Roslyn.Diagnostics.Analyzers in source build (PR: #81856)
  • HotReloadMSBuildWorkspace (PR: #81577)
  • Remove sourebranch param from perf workflow (PR: #81867)
  • Simplify LSP refresh queue management (PR: #81864)
  • Document ordering of SyntaxNode Ancestor methods (PR: #81857)
  • Change environment from pr_val to roslyn_perf (PR: #81866)
  • Add workflow to run validation pipelines from a PR directly (PR: #81836)
  • Properly await calls to ensure exception handling works for sync and async scenarios (PR: #81826)
  • Use new test plan for dictionary expressions (PR: #81861)
  • Update dartlab pipeline setup (PR: #81807)
  • Move everything in LSP except handlers to async/await. (PR: #81828)
  • Move to async/await (Analyzers) layer (PR: #81811)
  • Move to async/await (EditorFeatures) layer (PR: #81809)
  • Let Razor fill in project information on diagnostics (PR: #81822)
  • Move to async/await (Features) layer (PR: #81810)
  • Enable GetTypeInfo for type of object creation syntax (PR: #81802)
  • Improve error recovery around 'scoped' modifier parsing (PR: #81636)
  • Move to async/await (VisualStudio) layer (PR: #81813)
  • Revert "Update methods to be async." (PR: #81808)
  • NormalizeWhitespace on nullable suppression (PR: #81731)
  • Don't capture method type parameters when extracting a local function (PR: #81790)
  • Support null-conditional operator when the return value is a pointer type (including function pointers) (PR: #80694)
  • Make razor import lazy (PR: #81783)
  • Use ArrayExpansion for fixed buffer fields (PR: #81536)
  • Simplify condition with DeMorgan's Law and ensure null resilience (PR: #81771)
  • Update methods to be async. (PR: #81737)
  • Simplify some analyzer code. (PR: #81760)
  • Move IRefactorNotifyService down to features layer (PR: #81749)
  • Fix proposal adjuster losing edits (PR: #81759)
  • Fix null refs when calling GetLocation() or GetDiagnostics() of freshly constructed syntax trivia (PR: #81444)
  • Extensions: fix RemoveUnusedMember scenarios (PR: #81754)
  • Fix documentation (PR: #81753)
  • Extensions: fix GetSymbolInfo within ExtensionMemberCrefSyntax (PR: #81722)
  • Add separate error for disallowed members in global namespace (PR: #81221)
  • Workaround up-to-date bug in generate-compiler-code.cs (PR: #81750)
  • Fix updating parse options via Solution.WithProjectInfo (PR: #81746)
  • Remove specialized task helper (PR: #81741)
  • Fix race in navigate-to (PR: #81745)
  • Relax a couple of asserts (PR: #81726)
  • Revert "Allow Razor to respond to renames (#81725)" (PR: #81735)
  • DeclarationTable allocation reductions (PR: #81627)
  • Extensions: FindReferences should link extension members and implementations (PR: #81685)
  • Improve location of error diagnostic when encountering errant operator token (PR: #81295)
  • Allow Razor to respond to renames (PR: #81725)
  • Extensions: Don't report assignment to ref extension parameter as unused (PR: #81680)
  • Fix crash in convert-if-to-switch (PR: #81724)
  • Simplify try/catch (PR: #81719)
  • Revert unintentionally commented code (PR: #81715)
  • Add specific error for extension parameter usage in static members (PR: #81606)
  • Copy slightly less data during SourceText.computeContentHash (PR: #81682)
  • Small allocation reduction in lsp hot path (PR: #81683)
  • Speed up analyzer-based tests by 6x (PR: #81673)
  • Remove unneeded MEF component (PR: #81663)
  • Add code-folding/structure-guides/sticky-scroll support for extension blocks (PR: #81667)
  • Replace "newExtension" term in declaration names with "ExtensionBlock" (PR: #81651)
  • Remove LookupOptions.IncludeExtensionMembers (PR: #81650)
  • Remove smart rename lightup (PR: #81598)
  • Reduce allocations in PENamedTypeSymbol.GetMemberTypesPrivate (PR: #81605)
  • Ensure binder with BinderFlags.AttributeArgument is in the local binder chain (PR: #81628)
  • Do not report parse errors for '#:' in miscellaneous files (PR: #81385)
  • Centralize recognized feature flags (PR: #81591)
  • Fix signed build sign validation (PR: #81641)
  • Add '-test' to the prerelease label for test signed builds (PR: #81630)
  • Fix SG items appearing in navto (PR: #81634)
  • Add some lambda parsing tests. (PR: #81621)
  • Revert "Remove the EnsureComponentModelAsync from the main thread queue" (PR: #81620)
  • Fix CS1003 error message when expression follows identifier without '=' (PR: #81285)
  • Move IDE code over to C# 14. (PR: #79835)
  • Update Roslyn.Diagnostics.Analyzers (PR: #81599)
  • Remove unnecessary lightup code (PR: #81597)
  • Switch the fetch of the Running Document Table to the UI thread again (PR: #81566)
  • Don't subscribe to the RDT just to unsubscribe (PR: #81567)
  • Dismiss and suppress gray text proposals for the duration of the event hookup session (PR: #81526)
  • NullableWalker.DebugVerifier: Explicitly visit BoundCollectionExpressionSpreadElement.Conversion (PR: #81584)
  • SyntheticBoundNodeFactory: Remove ability to create arbitrary conversions (PR: #81569)
  • Remove dependency on Newtonsoft.Json from Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (PR: #81562)
  • Improve go-to-def in situations where compiler returns multiple candidates. (PR: #81583)
  • [MSBuild Host] Remove dependency on System.CommandLine (PR: #81560)
  • Ensure calls to OOP for source-generator purposes see the exact same Solution-snapshot-instances across all calls they make (PR: #81529)
  • Add willRenameFiles support, and an abstraction for extenders to implement (PR: #81549)
  • Further clean up Roslyn's package load (PR: #80598)
  • Support // lang=c# along with // lang=c#-test (PR: #81558)
  • Generate docs - fix an issue where the suggestion session was being overtaken (PR: #81537)

@JoeRobich JoeRobich merged commit 424b3e1 into dotnet:main Jan 12, 2026
33 checks passed
JoeRobich added a commit that referenced this pull request Jan 12, 2026
This PR adds a project context feature which takes enables the client to use the new project context refresh support added to the LSP in dotnet/roslyn#81938. The current method of validating a project context is "up to date" is replaced with waiting to receive refresh notifications from the server.

A Roslyn build with refresh support merged in #8877

Addresses #8849
davidwengier added a commit to dotnet/razor that referenced this pull request Jan 12, 2026
Noticed this when testing our [latest VS Code
insertion](dotnet/vscode-csharp#8877). I missed
ignoring the case when parsing the enum, when adding this setting, and
also missed that the tests we had were for the old language server so
they didn't fail because I got that code right 🤦‍♂️
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants