Skip to content

Fix release-blocking pack failure: Microsoft.Extensions.AI stable GA - #29

Merged
jjopensoftworks-blip merged 1 commit into
mainfrom
fix/microsoft-extensions-ai-ga
Jul 31, 2026
Merged

jjopensoftworks-blip merged 1 commit into
mainfrom
fix/microsoft-extensions-ai-ga

Conversation

@jjopensoftworks-blip

Copy link
Copy Markdown
Owner

The v1.10.0 tag's release workflow failed at "dotnet pack" (NU5104): Scrubkit.Extensions.MicrosoftExtensionsAI (and transitively Scrubkit.Extensions.SemanticKernel, Scrubkit.All) depended on Microsoft.Extensions.AI(.Abstractions) 9.0.0-preview.9.24525.1, and a stable release cannot depend on a prerelease package.

Move to the 9.5.0 stable line (the earliest GA release, keeping the DI.Abstractions/Logging.Abstractions bump minimal: 9.0.0 -> 9.0.5). The GA API renamed IChatClient.CompleteAsync/CompleteStreamingAsync to GetResponseAsync/GetStreamingResponseAsync (ChatCompletion -> ChatResponse, StreamingChatCompletionUpdate -> ChatResponseUpdate) and dropped the settable ChatMessage.Text in favor of mutating TextContent items in Contents; RedactingChatClient and its tests are updated accordingly.

Verified: full solution build, all 484 tests, and
dotnet pack -c Release all succeed (previously failed on pack).

What & why

Briefly describe the change and the motivation. Link any related issue (e.g. Fixes #123).

Checklist

  • dotnet build Scrubkit.slnx -c Release passes (no warnings — Release is warnaserror)
  • dotnet test Scrubkit.slnx -c Release passes; new code is covered
  • Public API changes are documented with XML doc comments
  • Kept the Abstractions boundary (no heavy deps in Scrubkit.Abstractions)
  • If dependencies changed: updated Directory.Packages.props and committed refreshed
    packages.lock.json
  • Updated CHANGELOG.md under [Unreleased] if user-facing

The v1.10.0 tag's release workflow failed at "dotnet pack" (NU5104):
Scrubkit.Extensions.MicrosoftExtensionsAI (and transitively
Scrubkit.Extensions.SemanticKernel, Scrubkit.All) depended on
Microsoft.Extensions.AI(.Abstractions) 9.0.0-preview.9.24525.1, and a
stable release cannot depend on a prerelease package.

Move to the 9.5.0 stable line (the earliest GA release, keeping the
DI.Abstractions/Logging.Abstractions bump minimal: 9.0.0 -> 9.0.5).
The GA API renamed IChatClient.CompleteAsync/CompleteStreamingAsync to
GetResponseAsync/GetStreamingResponseAsync (ChatCompletion -> ChatResponse,
StreamingChatCompletionUpdate -> ChatResponseUpdate) and dropped the
settable ChatMessage.Text in favor of mutating TextContent items in
Contents; RedactingChatClient and its tests are updated accordingly.

Verified: full solution build, all 484 tests, and
`dotnet pack -c Release` all succeed (previously failed on pack).
@jjopensoftworks-blip jjopensoftworks-blip self-assigned this Jul 31, 2026
@jjopensoftworks-blip
jjopensoftworks-blip merged commit 0deae86 into main Jul 31, 2026
@jjopensoftworks-blip
jjopensoftworks-blip deleted the fix/microsoft-extensions-ai-ga branch July 31, 2026 23:50
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.

1 participant