Use Aspire 13.4.0 for TypeScript AppHosts#1377
Conversation
Map Aspire packages to the staging DARC feed used by the local Aspire CLI and update TypeScript AppHost SDK pins to 13.4.0 so the samples restore against the matching package set. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/CommunityToolkit/Aspire/main/eng/scripts/dogfood-pr.sh | bash -s -- 1377Or
iex "& { $(irm https://raw.githubusercontent.com/CommunityToolkit/Aspire/main/eng/scripts/dogfood-pr.ps1) } 1377" |
There was a problem hiding this comment.
Pull request overview
Updates the repository’s TypeScript AppHost examples to use the released Aspire 13.4.0 SDK and adjusts NuGet package source mapping so Aspire.* packages resolve from an Aspire staging (DARC) feed, aligning restore behavior with a local 13.4.0 CLI build workflow.
Changes:
- Map
Aspire.*packages to a dedicatedaspirepackage source (Aspire staging DARC feed) innuget.config. - Bump TypeScript AppHost
aspire.config.jsonSDK pins from13.4.0-preview.1.26275.15to13.4.0. - Update the Data API Builder example’s explicit
Aspire.Hosting.SqlServerpackage pin to13.4.0.
Reviewed changes
Copilot reviewed 39 out of 39 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| nuget.config | Replaces the dotnet9 source mapping with an aspire source pointing at the Aspire staging (DARC) feed for Aspire.* packages. |
| examples/activemq/CommunityToolkit.Aspire.Hosting.ActiveMQ.AppHost.TypeScript/aspire.config.json | Pins TypeScript AppHost SDK to 13.4.0. |
| examples/adminer/CommunityToolkit.Aspire.Hosting.Adminer.AppHost.TypeScript/aspire.config.json | Pins TypeScript AppHost SDK to 13.4.0. |
| examples/bun/CommunityToolkit.Aspire.Hosting.Bun.AppHost.TypeScript/aspire.config.json | Pins TypeScript AppHost SDK to 13.4.0. |
| examples/data-api-builder/CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.AppHost.TypeScript/aspire.config.json | Pins SDK and Aspire.Hosting.SqlServer package to 13.4.0. |
| examples/dbgate/CommunityToolkit.Aspire.Hosting.DbGate.AppHost.TypeScript/aspire.config.json | Pins TypeScript AppHost SDK to 13.4.0. |
| examples/deno/CommunityToolkit.Aspire.Hosting.Deno.AppHost.TypeScript/aspire.config.json | Pins TypeScript AppHost SDK to 13.4.0. |
| examples/elasticsearch-ext/CommunityToolkit.Aspire.Hosting.Elasticsearch.Extensions.AppHost.TypeScript/aspire.config.json | Pins TypeScript AppHost SDK to 13.4.0. |
| examples/flagd/CommunityToolkit.Aspire.Hosting.Flagd.AppHost.TypeScript/aspire.config.json | Pins TypeScript AppHost SDK to 13.4.0. |
| examples/flyway/CommunityToolkit.Aspire.Hosting.Flyway.AppHost.TypeScript/aspire.config.json | Pins TypeScript AppHost SDK to 13.4.0. |
| examples/goff/CommunityToolkit.Aspire.Hosting.GoFeatureFlag.AppHost.TypeScript/aspire.config.json | Pins TypeScript AppHost SDK to 13.4.0. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.AppHost.TypeScript/aspire.config.json | Pins TypeScript AppHost SDK to 13.4.0. |
| examples/javascript-ext/CommunityToolkit.Aspire.Hosting.JavaScript.Extensions.AppHost.TypeScript/aspire.config.json | Pins TypeScript AppHost SDK to 13.4.0. |
| examples/k6/CommunityToolkit.Aspire.Hosting.k6.AppHost.TypeScript/aspire.config.json | Pins TypeScript AppHost SDK to 13.4.0. |
| examples/keycloak-postgres/CommunityToolkit.Aspire.Hosting.Keycloak.Extensions.AppHost.TypeScript/aspire.config.json | Pins TypeScript AppHost SDK to 13.4.0. |
| examples/kurrentdb/CommunityToolkit.Aspire.Hosting.KurrentDB.AppHost.TypeScript/aspire.config.json | Pins TypeScript AppHost SDK to 13.4.0. |
| examples/lavinmq/CommunityToolkit.Aspire.Hosting.LavinMQ.AppHost.TypeScript/aspire.config.json | Pins TypeScript AppHost SDK to 13.4.0. |
| examples/mailpit/CommunityToolkit.Aspire.Hosting.MailPit.AppHost.TypeScript/aspire.config.json | Pins TypeScript AppHost SDK to 13.4.0. |
| examples/mcp-inspector/CommunityToolkit.Aspire.Hosting.McpInspector.AppHost.TypeScript/aspire.config.json | Pins TypeScript AppHost SDK to 13.4.0. |
| examples/meilisearch/CommunityToolkit.Aspire.Hosting.Meilisearch.AppHost.TypeScript/aspire.config.json | Pins TypeScript AppHost SDK to 13.4.0. |
| examples/minio/CommunityToolkit.Aspire.Hosting.Minio.AppHost.TypeScript/aspire.config.json | Pins TypeScript AppHost SDK to 13.4.0. |
| examples/mongodb-ext/CommunityToolkit.Aspire.Hosting.MongoDB.Extensions.AppHost.TypeScript/aspire.config.json | Pins TypeScript AppHost SDK to 13.4.0. |
| examples/mysql-ext/CommunityToolkit.Aspire.Hosting.MySql.Extensions.AppHost.TypeScript/aspire.config.json | Pins TypeScript AppHost SDK to 13.4.0. |
| examples/ngrok/CommunityToolkit.Aspire.Hosting.Ngrok.AppHost.TypeScript/aspire.config.json | Pins TypeScript AppHost SDK to 13.4.0. |
| examples/opentelemetry-collector/CommunityToolkit.Aspire.Hosting.OpenTelemetryCollector.AppHost.TypeScript/aspire.config.json | Pins TypeScript AppHost SDK to 13.4.0. |
| examples/papercut/CommunityToolkit.Aspire.Hosting.PapercutSmtp.AppHost.TypeScript/aspire.config.json | Pins TypeScript AppHost SDK to 13.4.0. |
| examples/postgres-ext/CommunityToolkit.Aspire.Hosting.PostgreSQL.Extensions.AppHost.TypeScript/aspire.config.json | Pins TypeScript AppHost SDK to 13.4.0. |
| examples/python/CommunityToolkit.Aspire.Hosting.Python.Extensions.AppHost.TypeScript/aspire.config.json | Pins TypeScript AppHost SDK to 13.4.0. |
| examples/redis-ext/CommunityToolkit.Aspire.Hosting.Redis.Extensions.AppHost.TypeScript/aspire.config.json | Pins TypeScript AppHost SDK to 13.4.0. |
| examples/rust/CommunityToolkit.Aspire.Hosting.Rust.AppHost.TypeScript/aspire.config.json | Pins TypeScript AppHost SDK to 13.4.0. |
| examples/sftp/CommunityToolkit.Aspire.Hosting.Sftp.AppHost.TypeScript/aspire.config.json | Pins TypeScript AppHost SDK to 13.4.0. |
| examples/solr/CommunityToolkit.Aspire.Hosting.Solr.AppHost.TypeScript/aspire.config.json | Pins TypeScript AppHost SDK to 13.4.0. |
| examples/sql-database-projects/CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.AppHost.TypeScript/aspire.config.json | Pins TypeScript AppHost SDK to 13.4.0. |
| examples/sqlite/CommunityToolkit.Aspire.Hosting.Sqlite.AppHost.TypeScript/aspire.config.json | Pins TypeScript AppHost SDK to 13.4.0. |
| examples/sqlserver-ext/CommunityToolkit.Aspire.Hosting.SqlServer.Extensions.AppHost.TypeScript/aspire.config.json | Pins TypeScript AppHost SDK to 13.4.0. |
| examples/stripe/CommunityToolkit.Aspire.Hosting.Stripe.AppHost.TypeScript/aspire.config.json | Pins TypeScript AppHost SDK to 13.4.0. |
| examples/surrealdb/CommunityToolkit.Aspire.Hosting.SurrealDb.AppHost.TypeScript/aspire.config.json | Pins TypeScript AppHost SDK to 13.4.0. |
| examples/umami/CommunityToolkit.Aspire.Hosting.Umami.AppHost.TypeScript/aspire.config.json | Pins TypeScript AppHost SDK to 13.4.0. |
| examples/zitadel/CommunityToolkit.Aspire.Hosting.Zitadel.AppHost.TypeScript/aspire.config.json | Pins TypeScript AppHost SDK to 13.4.0. |
|
@aaronpowell @IEvangelist this is to validate 13.4.0, the staging channel build. The important change here is the nuget.config source for Aspire that points to the staging feed, temporarily. We can restore the dotnet9 url once it has shipped if we want to use previews, or nuget.org as long as we keep a release version. |
Align C# AppHost project SDK versions with the TypeScript AppHost SDK pins and the Aspire package feed used by this branch. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Update the remaining example and test AppHost project SDK versions to Aspire.AppHost.Sdk 13.4.0. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
@sebastienros - need to update the |
Update the shared AspireVersion and Integration.Analyzers package version so restores use a consistent 13.4.0 package graph from the configured Aspire feed. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Keep runtime Aspire packages on 13.4.0 while pinning Aspire.Hosting.Integration.Analyzers to the available package version on the configured Aspire feed. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Here is what I assume the next steps are:
What did I miss? |
|
Yep, plan looks good @sebastienros |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
@copilot 13.4 is out can https://devblogs.microsoft.com/aspire/whats-new-aspire-13-4/ Can you update so we don't have preview feeds |
Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
Updated in ee17570: removed the stale Aspire staging/daily feed entries from |
Minimum allowed line rate is |
Summary
Aspire.*packages tonuget.orgso the released Aspire13.4.0packages restore without preview feeds13.4.013.4.0-preview.1.26281.18versions viaAspirePreviewSuffix13.4.0-preview.1.26275.15to13.4.0Aspire.AppHost.Sdk/13.4.0-preview.1.26275.15toAspire.AppHost.Sdk/13.4.0nuget.configand clarify the remaining prerelease-package usageValidation
npm ci,aspire restore --apphost apphost.mts, andnpm run buildsqlserver-ext,adminer,redis-ext, andflywayusingaspire start --isolated,aspire ps --resources, thenaspire stopdotnet build:examples/sqlserver-ext/CommunityToolkit.Aspire.Hosting.SqlServer.Extensions.AppHost/CommunityToolkit.Aspire.Hosting.SqlServer.Extensions.AppHost.csprojandtests/CommunityToolkit.Aspire.Testing/CommunityToolkit.Aspire.Testing.csprojdotnet build tests/CommunityToolkit.Aspire.Hosting.Adminer.Tests/CommunityToolkit.Aspire.Hosting.Adminer.Tests.csprojdotnet build tests/CommunityToolkit.Aspire.Hosting.Keycloak.Extensions.Tests/CommunityToolkit.Aspire.Hosting.Keycloak.Extensions.Tests.csproj