Update project dependencies (#12311)#12312
Conversation
WalkthroughThis PR updates NuGet package versions and npm dependencies across multiple projects within a Blazor-based solution. Changes include bumps to framework packages (Maui, WebView), testing libraries (MSTest), AI tooling (OpenAI, SemanticKernel, Microsoft.Agents.AI), authentication (Microsoft.Identity.Web), API documentation (Scalar.AspNetCore), and observability packages (Azure Monitor, OpenTelemetry). ChangesDependency Version Updates
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
This pull request updates dependency versions across the Platform website server, BlazorUI demos/tests, the ResxTranslator tool, and the Boilerplate template to address issue #12311 (“Project dependencies are outdated”).
Changes:
- Bumped
Microsoft.Extensions.AI/Microsoft.Extensions.AI.OpenAIfrom10.5.0to10.5.1in multiple .NET projects and the Boilerplate template. - Updated .NET MAUI / WebView packages from
10.0.51to10.0.60where used (Boilerplate + demo apps). - Updated Boilerplate template deps including
dompurify(3.4.0→3.4.2),MSTest(4.2.1→4.2.2), and several observability/identity/SDK packages.
Reviewed changes
Copilot reviewed 9 out of 10 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/Websites/Platform/src/Bit.Websites.Platform.Server/Bit.Websites.Platform.Server.csproj | Updates AI-related package references for the Platform server. |
| src/Templates/Boilerplate/Bit.Boilerplate/src/Directory.Packages.props | Refreshes centrally-managed NuGet package versions used by the Boilerplate template. |
| src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/package.json | Bumps dompurify dependency version in the Boilerplate client template. |
| src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/package-lock.json | Syncs lockfile to the updated dompurify version. |
| src/ResxTranslator/Bit.ResxTranslator/Bit.ResxTranslator.csproj | Updates AI package references for the ResxTranslator tool. |
| src/Butil/Demo/Bit.Butil.Demo.Maui/Bit.Butil.Demo.Maui.csproj | Updates MAUI/WebView package references for the Butil MAUI demo app. |
| src/BlazorUI/Tests/Bit.BlazorUI.Tests/Bit.BlazorUI.Tests.csproj | Updates MSTest dependency for BlazorUI test project. |
| src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Windows/Bit.BlazorUI.Demo.Client.Windows.csproj | Updates WindowsForms WebView package reference for the BlazorUI Windows demo client. |
| src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Maui/Bit.BlazorUI.Demo.Client.Maui.csproj | Updates MAUI/WebView package references for the BlazorUI MAUI demo client. |
| src/BlazorUI/Demo/Bit.BlazorUI.Demo.Server/Bit.BlazorUI.Demo.Server.csproj | Updates AI package references for the BlazorUI demo server. |
Files not reviewed (1)
- src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/package-lock.json: Language not supported
There was a problem hiding this comment.
🧹 Nitpick comments (1)
src/Websites/Platform/src/Bit.Websites.Platform.Server/Bit.Websites.Platform.Server.csproj (1)
25-25: ⚡ Quick winConsider removing the redundant
Microsoft.AspNetCore.Components.Webreference.The CI pipeline emits
NU1902 NU1510: PackageReference Microsoft.AspNetCore.Components.Web will not be pruned. Consider removing this package from your dependencies, as it is likely unnecessary.This package is already transitively satisfied by the otherMicrosoft.AspNetCore.Components.*references on lines 26–27.🧹 Proposed cleanup
- <PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="10.0.7" /> <PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="10.0.7" />🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@src/Websites/Platform/src/Bit.Websites.Platform.Server/Bit.Websites.Platform.Server.csproj` at line 25, Remove the redundant PackageReference for Microsoft.AspNetCore.Components.Web (the line with <PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="10.0.7" />) from the project file to address the CI NU1902/NU1510 warning; verify that no direct project-only binding requires that explicit package (since Microsoft.AspNetCore.Components.* on the subsequent lines already transitively supplies it) and run a restore/build to confirm the warning is gone.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Nitpick comments:
In
`@src/Websites/Platform/src/Bit.Websites.Platform.Server/Bit.Websites.Platform.Server.csproj`:
- Line 25: Remove the redundant PackageReference for
Microsoft.AspNetCore.Components.Web (the line with <PackageReference
Include="Microsoft.AspNetCore.Components.Web" Version="10.0.7" />) from the
project file to address the CI NU1902/NU1510 warning; verify that no direct
project-only binding requires that explicit package (since
Microsoft.AspNetCore.Components.* on the subsequent lines already transitively
supplies it) and run a restore/build to confirm the warning is gone.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: b8cb0933-b128-4a33-a4c7-80edd5f9ae03
⛔ Files ignored due to path filters (1)
src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/package-lock.jsonis excluded by!**/package-lock.json
📒 Files selected for processing (9)
src/BlazorUI/Demo/Bit.BlazorUI.Demo.Server/Bit.BlazorUI.Demo.Server.csprojsrc/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Maui/Bit.BlazorUI.Demo.Client.Maui.csprojsrc/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Windows/Bit.BlazorUI.Demo.Client.Windows.csprojsrc/BlazorUI/Tests/Bit.BlazorUI.Tests/Bit.BlazorUI.Tests.csprojsrc/Butil/Demo/Bit.Butil.Demo.Maui/Bit.Butil.Demo.Maui.csprojsrc/ResxTranslator/Bit.ResxTranslator/Bit.ResxTranslator.csprojsrc/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/package.jsonsrc/Templates/Boilerplate/Bit.Boilerplate/src/Directory.Packages.propssrc/Websites/Platform/src/Bit.Websites.Platform.Server/Bit.Websites.Platform.Server.csproj
closes #12311
Summary by CodeRabbit