Skip to content

Update project dependencies (#12074)#12075

Open
yasmoradi wants to merge 15 commits intobitfoundation:developfrom
yasmoradi:12074
Open

Update project dependencies (#12074)#12075
yasmoradi wants to merge 15 commits intobitfoundation:developfrom
yasmoradi:12074

Conversation

@yasmoradi
Copy link
Member

@yasmoradi yasmoradi commented Feb 11, 2026

closes #12074

Summary by CodeRabbit

  • Chores
    • Updated .NET SDK to version 10.0.103.
    • Upgraded multiple dependencies to latest stable versions, including ASP.NET Core Blazor, Entity Framework Core, and related extension libraries.
    • Enhanced development container configuration with Node 24 support and improved port/environment variable handling.
    • Updated installation guide documentation to reflect latest SDK versions.

@yasmoradi yasmoradi requested a review from Copilot February 11, 2026 11:55
@coderabbitai
Copy link

coderabbitai bot commented Feb 11, 2026

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Walkthrough

This PR systematically updates dependencies across the codebase, bumping .NET SDK from 10.0.102 to 10.0.103, NuGet packages from 10.0.2 to 10.0.3, and promoting preview packages to stable releases. Includes reorganization of devcontainer configuration and updates to EF Core migration metadata.

Changes

Cohort / File(s) Summary
Development Configuration
.devcontainer/devcontainer.json, src/Templates/Boilerplate/Bit.Boilerplate/.devcontainer/devcontainer.json, src/global.json
Updated .NET SDK version from 10.0.102 to 10.0.103; reorganized devcontainer.json with flatter structure, added features (Node 24), port forwarding, and environment variables.
GitHub Actions
.github/workflows/bit.ci.release.yml
Renamed solution file references from lowercase bit.ci.release.slnx to Bit.CI.Release.slnx in build steps.
Central Package Management
src/Templates/Boilerplate/Bit.Boilerplate/src/Directory.Packages.props
Bulk version updates: 40+ packages from 10.0.2 → 10.0.3; AI packages from preview to 10.3.0; Scalar.AspNetCore 2.12.36 → 2.12.37; Sentry 6.0.0 → 6.1.0; Microsoft.Agents.AI preview bump.
EF Core Migrations
src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Infrastructure/Data/Migrations/...Designer.cs, ...ModelSnapshot.cs
Updated ProductVersion metadata from 10.0.2 to 10.0.3.
Blazor Client Projects
src/Besql/Demo/Bit.Besql.Demo.Client/Bit.Besql.Demo.Client.csproj, src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/Bit.BlazorUI.Demo.Client.Core.csproj, src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Windows/Bit.BlazorUI.Demo.Client.Windows.csproj, src/Bswup/*/Client/...csproj, src/Websites/\*/src/Bit.Websites.\*.Client/Bit.Websites.\*.Client.csproj
Updated Microsoft.AspNetCore.Components.WebAssembly, Components.Web, and SignalR.Client from 10.0.2 to 10.0.3.
Blazor Server/Demo Projects
src/Besql/Demo/Bit.Besql.Demo/Bit.Besql.Demo.csproj, src/BlazorUI/Demo/Bit.BlazorUI.Demo.Server/Bit.BlazorUI.Demo.Server.csproj, src/Bswup/*/Server/...csproj, src/Websites/\*/src/Bit.Websites.\*.Server/Bit.Websites.\*.Server.csproj
Updated WebAssembly.Server, Components.Web, Components.WebAssembly, EntityFrameworkCore packages from 10.0.2 to 10.0.3; AI packages from preview to 10.3.0.
Shared/Utility Projects
src/BlazorUI/Demo/Bit.BlazorUI.Demo.Shared/Bit.BlazorUI.Demo.Shared.csproj, src/Websites/\*/src/Bit.Websites.\*.Shared/Bit.Websites.\*.Shared.csproj
Updated Extensions packages (DependencyInjection.Abstractions, Configuration.Binder, Localization) and System.Text.Json from 10.0.2 to 10.0.3.
Specialized Projects
src/Butil/Demo/Bit.Butil.Demo.Maui/Bit.Butil.Demo.Maui.csproj, src/Butil/Demo/Bit.Butil.Demo.Web/Bit.Butil.Demo.Web.csproj, src/ResxTranslator/Bit.ResxTranslator/Bit.ResxTranslator.csproj
Updated Logging.Debug, WebAssembly packages, and AI-related packages to align with central versions.
Documentation
src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Templates/Templates03GettingStartedPage.razor
Updated Linux Ubuntu dotnet SDK installation URL from 10.0.102 to 10.0.103 with expanded setup steps.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Poem

🐰 Hoppity-hop, the versions ascend,
From 10.0.2 to .3, let updates blend!
The SDK leaps from 102 to 103 with grace,
Dependencies dance in a faster pace.
No bugs to squash, just package-ful cheer,
The boilerplate refreshed throughout the year! 🎉

🚥 Pre-merge checks | ✅ 3 | ❌ 2
❌ Failed checks (2 warnings)
Check name Status Explanation Resolution
Out of Scope Changes check ⚠️ Warning All changes in the PR are in-scope dependency updates. The only exception is the devcontainer.json restructuring, which reorganizes configuration structure and adds Node.js feature, representing scope creep beyond dependency updates. Review whether devcontainer.json restructuring in .devcontainer/devcontainer.json and src/Templates/Boilerplate/.devcontainer/devcontainer.json is intentional or should be reverted to focus on dependency updates.
Docstring Coverage ⚠️ Warning Docstring coverage is 50.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Update project dependencies' clearly summarizes the main change in the changeset, which updates numerous NuGet package versions and .NET SDK version across multiple projects.
Linked Issues check ✅ Passed The PR updates NuGet package versions and .NET SDK version from 10.0.102 to 10.0.103, and updates multiple packages from version 10.0.2 to 10.0.3, directly addressing the outdated product dependencies issue #12074.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (2)
src/ResxTranslator/Bit.ResxTranslator/Bit.ResxTranslator.csproj (1)

7-7: ⚠️ Potential issue | 🟠 Major

Update TargetFramework from net9.0 to net10.0 to match package versions.

This project targets net9.0 but references 10.x NuGet packages. All other projects in the repository target net10.0 or higher, making this project an outlier. The Bit.Build.props file does not override or justify this choice. While RollForward=Major handles runtime resolution, the 10.x packages are unlikely to ship compatible assets for net9.0 at compile time. Update the TargetFramework to net10.0 to align with the package versions and the rest of the codebase.

src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Templates/Templates03GettingStartedPage.razor (1)

97-97: ⚠️ Potential issue | 🟡 Minor

Stale link: .NET SDK download page still references 9.0.

Line 97 links to dotnet.microsoft.com/en-us/download/dotnet/9.0 but the project targets net10.0 and the SDK is 10.0.103. This should be updated to point to the .NET 10.0 download page.

Proposed fix
-                            Install latest <a href="https://dotnet.microsoft.com/en-us/download/dotnet/9.0" target="_blank">.NET SDK</a>
+                            Install latest <a href="https://dotnet.microsoft.com/en-us/download/dotnet/10.0" target="_blank">.NET SDK</a>
🤖 Fix all issues with AI agents
In `@src/Templates/Boilerplate/Bit.Boilerplate/src/Directory.Packages.props`:
- Line 146: Update the PackageVersion entry for
Microsoft.Extensions.Configuration.Binder from 10.0.0 to 10.0.3 to match
neighboring Microsoft.Extensions packages; locate the XML element with
PackageVersion Include="Microsoft.Extensions.Configuration.Binder"
Version="10.0.0" and change the Version value to "10.0.3", then run a
restore/build to verify no version conflicts.
🧹 Nitpick comments (1)
.devcontainer/devcontainer.json (1)

40-56: Consider adding comments documenting port assignments.

16 ports are forwarded without documentation of which service uses which port. This can be confusing for new contributors.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repository’s .NET 10 SDK pin and related NuGet dependencies to address issue #12074 (outdated product dependencies), plus aligns CI/devcontainer artifacts with the updated tooling.

Changes:

  • Bump .NET SDK in src/global.json to 10.0.103 and update devcontainer images accordingly.
  • Update multiple project/package references from 10.0.210.0.3 (and Microsoft.Extensions.AI* to 10.3.0) across websites, demos, and tools.
  • Add a dedicated CI release solution file (Bit.CI.Release.slnx) and update the release workflow to build it.

Reviewed changes

Copilot reviewed 30 out of 32 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/global.json Pins repo SDK to 10.0.103.
src/Websites/Sales/src/Bit.Websites.Sales.Shared/Bit.Websites.Sales.Shared.csproj Bumps Microsoft.Extensions.*/System.Text.Json package versions.
src/Websites/Sales/src/Bit.Websites.Sales.Server/Bit.Websites.Sales.Server.csproj Bumps Blazor Web/WebAssembly package versions.
src/Websites/Sales/src/Bit.Websites.Sales.Client/Bit.Websites.Sales.Client.csproj Bumps Blazor Web/WebAssembly package versions.
src/Websites/Platform/src/Bit.Websites.Platform.Shared/Bit.Websites.Platform.Shared.csproj Bumps Microsoft.Extensions.*/System.Text.Json package versions.
src/Websites/Platform/src/Bit.Websites.Platform.Server/Bit.Websites.Platform.Server.csproj Bumps Blazor + Microsoft.Extensions.AI* package versions.
src/Websites/Platform/src/Bit.Websites.Platform.Client/Pages/Templates/Templates03GettingStartedPage.razor Updates SDK download URL to 10.0.103.
src/Websites/Platform/src/Bit.Websites.Platform.Client/Bit.Websites.Platform.Client.csproj Bumps Blazor + SignalR Client package versions.
src/Websites/Careers/src/Bit.Websites.Careers.Shared/Bit.Websites.Careers.Shared.csproj Bumps Microsoft.Extensions.*/System.Text.Json package versions.
src/Websites/Careers/src/Bit.Websites.Careers.Server/Bit.Websites.Careers.Server.csproj Bumps Blazor Web/WebAssembly package versions.
src/Websites/Careers/src/Bit.Websites.Careers.Client/Bit.Websites.Careers.Client.csproj Bumps Blazor Web/WebAssembly package versions.
src/Templates/Boilerplate/Bit.Boilerplate/src/Directory.Packages.props Central dependency bumps (ASP.NET Core/EF Core/Extensions/AI/Sentry/etc.).
src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Infrastructure/Data/Migrations/AppOfflineDbContextModelSnapshot.cs Updates EF Core product version metadata to 10.0.3.
src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Infrastructure/Data/Migrations/20260119232453_Initial.Designer.cs Updates EF Core product version metadata to 10.0.3.
src/Templates/Boilerplate/Bit.Boilerplate/.devcontainer/devcontainer.json Updates boilerplate devcontainer SDK image to 10.0.103.
src/ResxTranslator/Bit.ResxTranslator/Bit.ResxTranslator.csproj Bumps Microsoft.Extensions.AI* and related Microsoft.Extensions.* packages.
src/Butil/Demo/Bit.Butil.Demo.Web/Bit.Butil.Demo.Web.csproj Bumps Blazor WebAssembly + dev server package versions.
src/Butil/Demo/Bit.Butil.Demo.Maui/Bit.Butil.Demo.Maui.csproj Bumps Microsoft.Extensions.Logging.Debug package version.
src/Bswup/FullDemo/Server/Bit.Bswup.Demo.Server.csproj Bumps Blazor WebAssembly Server package version.
src/Bswup/FullDemo/Client/Bit.Bswup.Demo.Client.csproj Bumps Blazor WebAssembly + dev server package versions.
src/Bswup/Bit.Bswup.NewDemo/Bit.Bswup.NewDemo/Bit.Bswup.NewDemo.csproj Bumps Blazor WebAssembly Server package version.
src/Bswup/Bit.Bswup.NewDemo/Bit.Bswup.NewDemo.Client/Bit.Bswup.NewDemo.Client.csproj Bumps Blazor WebAssembly package version.
src/Bswup/Bit.Bswup.Demo/Bit.Bswup.Demo.csproj Bumps Blazor WebAssembly + dev server package versions.
src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Windows/Bit.BlazorUI.Demo.Client.Windows.csproj Bumps Blazor Web package version.
src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/Bit.BlazorUI.Demo.Client.Core.csproj Bumps Blazor + SignalR Client + config JSON package versions.
src/BlazorUI/Demo/Bit.BlazorUI.Demo.Shared/Bit.BlazorUI.Demo.Shared.csproj Bumps Microsoft.Extensions.*/System.Text.Json package versions.
src/BlazorUI/Demo/Bit.BlazorUI.Demo.Server/Bit.BlazorUI.Demo.Server.csproj Bumps Microsoft.Extensions.AI* and Blazor WebAssembly Server packages.
src/Bit.CI.Release.slnx Adds CI-focused solution definition for release workflow builds.
src/Besql/Demo/Bit.Besql.Demo/Bit.Besql.Demo.csproj Bumps Blazor WebAssembly Server + EF tooling/task package versions.
src/Besql/Demo/Bit.Besql.Demo.Client/Bit.Besql.Demo.Client.csproj Bumps Blazor WebAssembly package version.
.github/workflows/bit.ci.release.yml Updates workflow to build the new Bit.CI.Release.slnx path.
.devcontainer/devcontainer.json Updates root devcontainer SDK image to 10.0.103 and reformats JSON.
Files not reviewed (1)
  • src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Infrastructure/Data/Migrations/20260119232453_Initial.Designer.cs: Language not supported

@yasmoradi
Copy link
Member Author

Blocked by dotnet/aspnetcore#65392

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the reason for this rename? And why in this PR?

@sonarqubecloud
Copy link

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.

Product dependencies are outdated

2 participants