Skip to content

Conversation

eerhardt
Copy link
Member

@eerhardt eerhardt commented Feb 18, 2025

Backport of #7643 to release/9.1

/cc @stephentoub

Customer Impact

When we ship 9.1, users won't be getting the latest versions of our dependencies. Specifically, they won't be getting the latest version of Microsoft.Extensions.AI. And MEAI has had breaking API changes (because they are still in preview) which may cause problems if users try using the new version with Aspire.

This needed to update to all .NET package versions because a new MEAI brings in new versions transitively. CPM doesn't like it when you have mismatched versions. So I brought them all up to date with the release last week.

Testing

Existing tests

Risk

Relatively low. Just updating to the newest versions. Tests are all passing.

Regression?

No.

* Update Microsoft.Extensions.AI to 9.3.0-preview.1.25114.11

* Update to latest .NET versions

* Update code for updated MEAI APIs

---------

Co-authored-by: Eric Erhardt <[email protected]>
@Copilot Copilot AI review requested due to automatic review settings February 18, 2025 16:51
Copy link
Contributor

@Copilot 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.

Copilot reviewed 5 out of 9 changed files in this pull request and generated no comments.

Files not reviewed (4)
  • Directory.Packages.props: Language not supported
  • eng/Versions.props: Language not supported
  • global.json: Language not supported
  • src/Components/Aspire.OpenAI/MEAIPackageOverrides.targets: Language not supported
Comments suppressed due to low confidence (1)

tests/Aspire.Azure.AI.OpenAI.Tests/AspireAzureOpenAIClientBuilderEmbeddingGeneratorExtensionsTests.cs:40

  • [nitpick] Ensure that the method name GetService is consistent with other similar methods in the codebase.
Assert.Equal("testdeployment1", generator.GetService<EmbeddingGeneratorMetadata>()?.ModelId);

@danmoseley danmoseley added the Servicing-approved Approved for servicing release label Feb 18, 2025
@danmoseley danmoseley merged commit d56eec6 into dotnet:release/9.1 Feb 18, 2025
70 checks passed
@eerhardt eerhardt deleted the PortVersionUpdates branch February 18, 2025 20:50
@github-actions github-actions bot added the area-integrations Issues pertaining to Aspire Integrations packages label Mar 10, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Apr 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-integrations Issues pertaining to Aspire Integrations packages Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants