Skip to content

Commit e79b11b

Browse files
Containers 8.0.3xx Package Release Notes (#39942)
Co-authored-by: Rainer Sigwald <[email protected]>
1 parent a4ff415 commit e79b11b

File tree

3 files changed

+30
-1
lines changed

3 files changed

+30
-1
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Microsoft.NET.Build.Containers 8.0.200
2+
3+
This version brings the following new features and enhancements:
4+
5+
* The .NET SDK now natively supports containerizing any kind of publishable project! Web and Worker projects work with no modifications, but console applications will need to add an MSBuild property to signal support. Supported projects must:
6+
* Set `<IsPublishable>true</IsPublishable>`, and
7+
* Set `<EnableSdkContainerSupport>true</EnableSdkContainerSupport>`
8+
9+
* Improved support for applications targeting `alpine` base images (meaning those publishing for `linux-musl` Runtime Identifiers). Now when you specify a `linux-musl` RuntimeIdentifier, the containers tooling will automatically look for `-alpine` variants of the base images. This means that you can now target `alpine` base images without needing to specify the `ContainerFamily` property at all.
10+
11+
* Projects that target Native AOT and projects that opt into Invariant Globalization have improved base image selection. Native AOT projects will use the `-aot` variants of relevant base images, and if `InvariantGlobalization` is true will use the `-extra` variants of relevant base images, so that required localization dependencies are included in the image. This means that for these projects you can now target these base images without needing to specify the `ContainerFamily` property at all.
12+
13+
* Better error messages and stack traces when communicating with registries where authentication has failed, and when the container creation is canceled by users.
14+
15+
* Better support for more kinds of registries - we now support registries that send CSRF tokens unconditionally, like Harbor and Harbor-derived registries.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Microsoft.NET.Build.Containers 8.0.300
2+
3+
This version brings the following new features and enhancements:
4+
5+
* The SDK will generate additional container metadata labels now.
6+
* The `org.opencontainers.image.base.digest` label will be added to uniquely identify the image used as a base for the application container.
7+
* The `net.dot.runtime.majorminor` label will be added to identify the major and minor version of the .NET Runtime that the application runs against.
8+
* The `net.dot.sdk.version` label will be added to identify the .NET SDK version used to build the application container.
9+
10+
* The SDK can use and produce OCI base image layers, not just Docker base image layers. This will happen automatically based on the kind of base image digest you use.
11+
12+
* The SDK will automatically use the `-extra` variant of base images when the application needs globalization/ICU support. So if you set `<ContainerFamily>jammy-chiseled</ContainerFamily>` and `<InvariantGlobalization>false</InvariantGlobalization>` in your project file, the SDK will behave as if you set `<ContainerFamily>jammy-chiseled-extra</ContainerFamily>` - this ensures that your application has the required ICU/Globalization support libraries.
13+
14+
* The SDK will use the runtime-deps base images for Trimmed applications, in addition to AOT applications.

src/Containers/packaging/package.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
<Target Name="PreparePackageReleaseNotesFromFile" BeforeTargets="GenerateNuspec">
4343
<PropertyGroup>
44-
<PackageReleaseNotesFile>../docs/ReleaseNotes/v8.0.100.md</PackageReleaseNotesFile>
44+
<PackageReleaseNotesFile>../docs/ReleaseNotes/v8.0.300.md</PackageReleaseNotesFile>
4545
<PackageReleaseNotes>$([System.IO.File]::ReadAllText($(PackageReleaseNotesFile)))</PackageReleaseNotes>
4646
</PropertyGroup>
4747
</Target>

0 commit comments

Comments
 (0)