Update packages - #34
Merged
Merged
Conversation
Signed-off-by: Matthew DeVenny <matt@codecargo.com>
Signed-off-by: Matthew DeVenny <matt@codecargo.com>
matthewdevenny
marked this pull request as ready for review
June 30, 2026 15:32
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Maintenance pass to modernize the repo and refresh dependencies. The published libraries (
CodeCargo.Nats.DistributedCache,CodeCargo.Nats.HybridCacheExtensions) continue to targetnet8.0;net10.0— no consumer-facing target-framework change.Dependencies → latest stable
Microsoft.Extensions.*(Caching.Abstractions, Logging(.Abstractions), Options, Caching.StackExchangeRedis)Microsoft.Extensions.Caching.HybridMicrosoft.SourceLink.GitHubNATS.Client.KeyValueStore/NATS.Net/NATS.Extensions.Microsoft.DependencyInjectionAspire.Hosting.*+Aspire.AppHost.SdkMicrosoft.NET.Test.Sdkxunit.v3(+ assert, extensibility.core)NATS is on the latest stable; 3.0.0 is still preview-only.
Moqandxunit.runner.visualstudiowere already current.Fixes a currently-red build:
MessagePack 2.5.192(transitive via Aspire 13.1.0) has published advisories (NU1902/NU1903), and CI builds withTreatWarningsAsErrors=true. Bumping Aspire to 13.4.6 pulls patchedMessagePack 2.5.302and clears it.Aspire 13 AppHost migration
Aspire 13.0 is a project-format breaking change, so the AppHosts (
util/NatsAppHost,util/RedisAppHost) were converted to the new SDK-style format:<Project Sdk="Aspire.AppHost.Sdk/13.4.6">(replaces theMicrosoft.NET.Sdkbase +<Sdk Name=…/>import)Aspire.Hosting.AppHostreference (the SDK now includes it)Aspire 13 AppHosts are net10.0-only, so the projects that reference them —
test/IntegrationTests(bindsProjects.NatsAppHostat compile time),util/PerfTest,util/ReadmeExample— are now net10.0-only too. Libraries andtest/UnitTestsremainnet8.0;net10.0.Solution format →
.slnxNatsDistributedCache.sln→NatsDistributedCache.slnx(dotnet sln migrate) and removed the old.sln.util/NatsAppHost/Program.cs) and thedev/{generate,verify}-snk.shscripts.Build reproducibility
linux-arm64to the per-RID NuGet lock file set (dev/update-nuget-lockfiles.sh) — 9 newpackages.linux-arm64.lock.jsonfiles for ARM Linux runners/containers.build.yml: reruns the regen script and fails on any*.lock.jsondrift, keeping all four RID copies honest on the existing x64 runner (regeneration is deterministic, so no false positives).CI / tooling
dotnet-outdated-tool4.6.9 → 4.8.1actions/checkoutv6 → v7;code-cargo/cargowall-actionv1.2.0 → v1.3.0 (SHA-pinned)CONTRIBUTING.md: build now requires the .NET 10 SDK (for the Aspire AppHosts); documented the newlinux-arm64lock fileVerification (local)
dotnet build -p TreatWarningsAsErrors=true— 0 warnings, 0 errorsdotnet format --verify-no-changes+ BOM check — clean🤖 Generated with Claude Code