Skip to content

[automated] Merge branch 'release/9.0.3xx' => 'main' #48775

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 23 commits into from
May 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
d79ec02
[StaticWebAssets] Backport perf fixes (#47913)
javiercn Apr 21, 2025
7b985fc
Update dependencies from https://github.com/dotnet/roslyn build 20250…
dotnet-maestro[bot] Apr 22, 2025
93eda24
Update dependencies from https://github.com/dotnet/scenario-tests bui…
dotnet-maestro[bot] Apr 25, 2025
5f15fcc
Update dependencies from https://github.com/dotnet/razor build 202504…
dotnet-maestro[bot] Apr 26, 2025
6cdfdef
Update dependencies from https://github.com/dotnet/roslyn build 20250…
dotnet-maestro[bot] Apr 26, 2025
d093c90
Update dependencies from https://github.com/dotnet/razor build 202504…
dotnet-maestro[bot] Apr 29, 2025
3d585e2
Update dependencies from https://github.com/dotnet/roslyn build 20250…
dotnet-maestro[bot] Apr 29, 2025
27ec185
[StaticWebAssets] Fix missing endpoints (#48773)
javiercn Apr 29, 2025
9bf8d8d
Update dependencies from https://github.com/dotnet/roslyn build 20250…
dotnet-maestro[bot] Apr 30, 2025
e38241b
Update dependencies from https://github.com/dotnet/msbuild build 2025…
dotnet-maestro[bot] May 1, 2025
a348b98
[Web SDK] Deduplicate _webToolsArtifacts before including them in Non…
javiercn May 2, 2025
2cb5f74
Update dependencies from https://github.com/dotnet/scenario-tests bui…
dotnet-maestro[bot] May 6, 2025
9f4fee7
Update dependencies from https://github.com/dotnet/scenario-tests bui…
dotnet-maestro[bot] May 7, 2025
954ec3e
Update branding to 9.0.301
vseanreesermsft May 7, 2025
83455d6
Update dependencies from https://github.com/dotnet/scenario-tests bui…
dotnet-maestro[bot] May 8, 2025
094b13b
Update branding to 9.0.301 (#48852)
v-wuzhai May 8, 2025
e05cc0f
[release/9.0.3xx] Update dependencies from dotnet/msbuild (#48787)
v-wuzhai May 8, 2025
ccb9ae6
Merge branch 'release/9.0.3xx' of https://github.com/dotnet/sdk into …
v-wuzhai May 8, 2025
3ce2f2b
Merge branch 'release/9.0.3xx' of https://github.com/dotnet/sdk into …
v-wuzhai May 8, 2025
7fe4e36
[release/9.0.3xx] Update dependencies from dotnet/roslyn (#48617)
v-wuzhai May 8, 2025
838b2f8
[release/9.0.3xx] Update dependencies from dotnet/razor (#48731)
v-wuzhai May 8, 2025
5cd282e
[release/9.0.3xx] Update dependencies from dotnet/scenario-tests (#48…
v-wuzhai May 8, 2025
e047956
Merge remote-tracking branch 'origin/main' into merge/release/9.0.3xx…
javiercn May 8, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public StaticWebAssetPathPattern(List<StaticWebAssetPathSegment> segments)
// and other features. This is why we want to bake into the format itself the information that specifies under which paths the file will
// be available at runtime so that tasks/tools can operate independently and produce correct results.
// The current token we support is the 'fingerprint' token, which computes a web friendly version of the hash of the file suitable
// to be embedded in other contexts.
// to be embedded in other contexts.
// We might include other tokens in the future, like `[{basepath}]` to give a file the ability to have its path be relative to the consuming
// project base path, etc.
public static StaticWebAssetPathPattern Parse(ReadOnlyMemory<char> rawPathMemory, string assetIdentity = null)
Expand Down Expand Up @@ -296,7 +296,7 @@ public static StaticWebAssetPathPattern Parse(string rawPath, string assetIdenti
public IEnumerable<StaticWebAssetPathPattern> ExpandPatternExpression()
{
// We are going to analyze each segment and produce the following:
// - For literals, we just concatenate
// - For literals, we just concatenate
// - For parameter expressions without '?' we return the parameter expression.
// - For parameter expressions with '?' we return
// For example:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ private void CreateAnAddEndpoints(
// If in the future we change it to sha384 or sha512, the runtime will not need to be updated.
properties[i++] = new StaticWebAssetEndpointProperty { Name = "integrity", Value = $"sha256-{asset.Integrity}" };

var finalRoute = asset.IsProject() || asset.IsPackage() ? StaticWebAsset.Normalize(Path.Combine(asset.BasePath, route)) : route;
var finalRoute = asset.IsProject() || asset.IsPackage() ? StaticWebAsset.Normalize(Path.Combine(asset.BasePath, route)) : route;

var endpoint = new StaticWebAssetEndpoint()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Copyright (c) .NET Foundation. All rights reserved.
<!-- Removing the tooling artifacts from all other globs and adding it to the none glob. This ensures that the
up-to-date check is unimpacted by the changes to the tooling artifacts -->
<None Remove="@(_WebToolingArtifacts)" />
<None Include="@(_WebToolingArtifacts)"
<None Include="@(_WebToolingArtifacts->Distinct())"
CopyToOutputDirectory="Never"
CopyToPublishDirectory="Never"
ExcludeFromSingleFile="true" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16795,6 +16795,30 @@
}
],
"EndpointProperties": [
{
"Name": "PreloadAs",
"Value": "script"
},
{
"Name": "PreloadCrossorigin",
"Value": "anonymous"
},
{
"Name": "PreloadGroup",
"Value": "webassembly"
},
{
"Name": "PreloadOrder",
"Value": "1"
},
{
"Name": "PreloadPriority",
"Value": "high"
},
{
"Name": "PreloadRel",
"Value": "preload"
},
{
"Name": "integrity",
"Value": "__integrity__"
Expand Down Expand Up @@ -36665,6 +36689,30 @@
}
],
"EndpointProperties": [
{
"Name": "PreloadAs",
"Value": "script"
},
{
"Name": "PreloadCrossorigin",
"Value": "anonymous"
},
{
"Name": "PreloadGroup",
"Value": "webassembly"
},
{
"Name": "PreloadOrder",
"Value": "1"
},
{
"Name": "PreloadPriority",
"Value": "high"
},
{
"Name": "PreloadRel",
"Value": "preload"
},
{
"Name": "integrity",
"Value": "__integrity__"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19109,6 +19109,30 @@
}
],
"EndpointProperties": [
{
"Name": "PreloadAs",
"Value": "script"
},
{
"Name": "PreloadCrossorigin",
"Value": "anonymous"
},
{
"Name": "PreloadGroup",
"Value": "webassembly"
},
{
"Name": "PreloadOrder",
"Value": "1"
},
{
"Name": "PreloadPriority",
"Value": "high"
},
{
"Name": "PreloadRel",
"Value": "preload"
},
{
"Name": "integrity",
"Value": "__integrity__"
Expand Down Expand Up @@ -40967,6 +40991,30 @@
}
],
"EndpointProperties": [
{
"Name": "PreloadAs",
"Value": "script"
},
{
"Name": "PreloadCrossorigin",
"Value": "anonymous"
},
{
"Name": "PreloadGroup",
"Value": "webassembly"
},
{
"Name": "PreloadOrder",
"Value": "1"
},
{
"Name": "PreloadPriority",
"Value": "high"
},
{
"Name": "PreloadRel",
"Value": "preload"
},
{
"Name": "integrity",
"Value": "__integrity__"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
"Source": "blazorwasm",
"GetPublishAssetsTargets": "ComputeFilesToPublish;GetCurrentProjectPublishStaticWebAssetItems",
"AdditionalPublishProperties": "_PublishingBlazorWasmProject=true;BuildProjectReferences=false;ResolveAssemblyReferencesFindRelatedSatellites=true",
"AdditionalPublishPropertiesToRemove": "NoBuild;RuntimeIdentifier;WebPublishProfileFile;TargetFramework",
"AdditionalPublishPropertiesToRemove": "NoBuild;RuntimeIdentifier;WebPublishProfileFile;TargetFramework;RuntimeIdentifier;SelfContained",
"GetBuildAssetsTargets": "GetCurrentProjectBuildStaticWebAssetItems",
"AdditionalBuildProperties": "",
"AdditionalBuildPropertiesToRemove": "RuntimeIdentifier;SelfContained;WebPublishProfileFile;TargetFramework"
"AdditionalBuildPropertiesToRemove": "RuntimeIdentifier;SelfContained;WebPublishProfileFile;TargetFramework;RuntimeIdentifier;SelfContained"
},
{
"Identity": "${ProjectPath}\\razorclasslibrary\\RazorClassLibrary.csproj",
Expand Down Expand Up @@ -17450,6 +17450,30 @@
}
],
"EndpointProperties": [
{
"Name": "PreloadAs",
"Value": "script"
},
{
"Name": "PreloadCrossorigin",
"Value": "anonymous"
},
{
"Name": "PreloadGroup",
"Value": "webassembly"
},
{
"Name": "PreloadOrder",
"Value": "1"
},
{
"Name": "PreloadPriority",
"Value": "high"
},
{
"Name": "PreloadRel",
"Value": "preload"
},
{
"Name": "integrity",
"Value": "__integrity__"
Expand Down Expand Up @@ -37620,6 +37644,30 @@
}
],
"EndpointProperties": [
{
"Name": "PreloadAs",
"Value": "script"
},
{
"Name": "PreloadCrossorigin",
"Value": "anonymous"
},
{
"Name": "PreloadGroup",
"Value": "webassembly"
},
{
"Name": "PreloadOrder",
"Value": "1"
},
{
"Name": "PreloadPriority",
"Value": "high"
},
{
"Name": "PreloadRel",
"Value": "preload"
},
{
"Name": "integrity",
"Value": "__integrity__"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18954,6 +18954,30 @@
}
],
"EndpointProperties": [
{
"Name": "PreloadAs",
"Value": "script"
},
{
"Name": "PreloadCrossorigin",
"Value": "anonymous"
},
{
"Name": "PreloadGroup",
"Value": "webassembly"
},
{
"Name": "PreloadOrder",
"Value": "1"
},
{
"Name": "PreloadPriority",
"Value": "high"
},
{
"Name": "PreloadRel",
"Value": "preload"
},
{
"Name": "integrity",
"Value": "__integrity__"
Expand Down Expand Up @@ -19054,6 +19078,30 @@
}
],
"EndpointProperties": [
{
"Name": "PreloadAs",
"Value": "script"
},
{
"Name": "PreloadCrossorigin",
"Value": "anonymous"
},
{
"Name": "PreloadGroup",
"Value": "webassembly"
},
{
"Name": "PreloadOrder",
"Value": "1"
},
{
"Name": "PreloadPriority",
"Value": "high"
},
{
"Name": "PreloadRel",
"Value": "preload"
},
{
"Name": "integrity",
"Value": "__integrity__"
Expand Down Expand Up @@ -20499,6 +20547,30 @@
}
],
"EndpointProperties": [
{
"Name": "PreloadAs",
"Value": "script"
},
{
"Name": "PreloadCrossorigin",
"Value": "anonymous"
},
{
"Name": "PreloadGroup",
"Value": "webassembly"
},
{
"Name": "PreloadOrder",
"Value": "1"
},
{
"Name": "PreloadPriority",
"Value": "high"
},
{
"Name": "PreloadRel",
"Value": "preload"
},
{
"Name": "integrity",
"Value": "__integrity__"
Expand Down
Loading
Loading