Skip to content
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

Use relative URLs - .NET 9 release notes #9500

Merged
merged 1 commit into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion release-notes/9.0/install-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Preview release installers are not available from the Microsoft package reposito

Here's what the script does.

- Detects the distribution and version. The script supports platforms and versions listed in [.NET 9.0 - Supported OS versions](https://github.com/dotnet/core/blob/main/release-notes/9.0/supported-os.md).
- Detects the distribution and version. The script supports platforms and versions listed in [.NET 9.0 - Supported OS versions](supported-os.md).
- Determines if additional system dependencies or utilities are needed to successfully complete and install them. For example, `tar` is used to unpack the installer packages.
- Downloads the tar.gz containing the .NET preview installer packages for the detected distribution.
- Downloads the system dependency installer, if needed.
Expand Down
4 changes: 2 additions & 2 deletions release-notes/9.0/preview/preview1/9.0.0-preview.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -615,13 +615,13 @@ Microsoft.CodeAnalysis.AnalyzerUtilities | 3.11.0-beta1.24072.1

[blob-runtime]: https://dotnetcli.blob.core.windows.net/dotnet/Runtime/
[blob-sdk]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/
[release-notes]: https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/9.0.0-preview.1.md
[release-notes]: 9.0.0-preview.1.md

[checksums-runtime]: https://dotnetcli.blob.core.windows.net/dotnet/checksums/9.0.0-preview.1-sha.txt
[checksums-sdk]: https://dotnetcli.blob.core.windows.net/dotnet/checksums/9.0.0-preview.1-sha.txt

[linux-install]: https://learn.microsoft.com/dotnet/core/install/linux
[linux-setup]: https://github.com/dotnet/core/blob/main/Documentation/linux-setup.md
[linux-setup]: ../../install-linux.md

[dotnet-blog]: https://devblogs.microsoft.com/dotnet/announcing-dotnet-9-preview-1
[aspnet-blog]: https://devblogs.microsoft.com/dotnet/asp-net-core-updates-in-dotnet-9-preview-1/
Expand Down
4 changes: 2 additions & 2 deletions release-notes/9.0/preview/preview2/9.0.0-preview.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -731,13 +731,13 @@ Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers | 3.11.0-beta1.24122.1

[blob-runtime]: https://dotnetcli.blob.core.windows.net/dotnet/Runtime/
[blob-sdk]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/
[release-notes]: https://github.com/dotnet/core/blob/main/release-notes/9.0/preview2/9.0.0-preview.2.md
[release-notes]: 9.0.0-preview.2.md

[checksums-runtime]: https://dotnetcli.blob.core.windows.net/dotnet/checksums/9.0.0-preview.2-sha.txt
[checksums-sdk]: https://dotnetcli.blob.core.windows.net/dotnet/checksums/9.0.0-preview.2-sha.txt

[linux-install]: https://learn.microsoft.com/dotnet/core/install/linux
[linux-setup]: https://github.com/dotnet/core/blob/main/Documentation/linux-setup.md
[linux-setup]: ../../install-linux.md

[dotnet-blog]: https://devblogs.microsoft.com/dotnet/announcing-dotnet-9-preview-2
[aspnet-blog]: https://devblogs.microsoft.com/dotnet/asp-net-core-updates-in-dotnet-9-preview-2/
Expand Down
2 changes: 1 addition & 1 deletion release-notes/9.0/preview/preview2/aspnetcore.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ASP.NET Core updates in .NET 9 Preview 2:
.NET 9 Preview 2:

- [Discussion](https://aka.ms/dotnet/9/preview2)
- [Release notes](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview2/README.md)
- [Release notes](README.md)

## Blazor component constructor injection

Expand Down
2 changes: 1 addition & 1 deletion release-notes/9.0/preview/preview2/dotnetmaui.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The team is continuing work on core fundamentals of the .NET MAUI SDK to improve
.NET 9 Preview 2:

* [Discussion](https://aka.ms/dotnet/9/preview2)
* [Release notes](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview2/README.md)
* [Release notes](README.md)

## .NET for Android

Expand Down
2 changes: 1 addition & 1 deletion release-notes/9.0/preview/preview2/runtime.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Runtime updates in .NET 9 Preview 2:
.NET 9 Preview 2:

- [Discussion](https://aka.ms/dotnet/9/preview2)
- [Release notes](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview2/README.md)
- [Release notes](README.md)


## Loop Optimizations: IV Widening
Expand Down
4 changes: 2 additions & 2 deletions release-notes/9.0/preview/preview2/sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ We've added an option to `dotnet tool install` that lets users decide how .NET T

SDK updates in .NET 2 Preview 2:

- [Release notes](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview2/sdk.md)
- [Release notes](sdk.md)
- [What's new in the .NET Runtime in .NET 9](https://learn.microsoft.com/dotnet/core/whats-new/dotnet-9/overview) documentation

.NET 9 Preview 2:

- [Discussion](https://aka.ms/dotnet/9/preview2)
- [Release notes](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview2/README.md)
- [Release notes](README.md)
4 changes: 2 additions & 2 deletions release-notes/9.0/preview/preview3/9.0.0-preview.3.md
Original file line number Diff line number Diff line change
Expand Up @@ -734,13 +734,13 @@ Microsoft.CodeAnalysis.NetAnalyzers | 9.0.0-preview.24165.2

[blob-runtime]: https://dotnetcli.blob.core.windows.net/dotnet/Runtime/
[blob-sdk]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/
[release-notes]: https://github.com/dotnet/core/blob/main/release-notes/9.0/preview3/9.0.0-preview.3.md
[release-notes]: 9.0.0-preview.3.md

[checksums-runtime]: https://dotnetcli.blob.core.windows.net/dotnet/checksums/9.0.0-preview.3-sha.txt
[checksums-sdk]: https://dotnetcli.blob.core.windows.net/dotnet/checksums/9.0.0-preview.3-sha.txt

[linux-install]: https://learn.microsoft.com/dotnet/core/install/linux
[linux-setup]: https://github.com/dotnet/core/blob/main/Documentation/linux-setup.md
[linux-setup]: ../../install-linux.md

[dotnet-blog]: https://devblogs.microsoft.com/dotnet/announcing-dotnet-9-preview-3
[aspnet-blog]: https://devblogs.microsoft.com/dotnet/asp-net-core-updates-in-dotnet-9-preview-3/
Expand Down
4 changes: 2 additions & 2 deletions release-notes/9.0/preview/preview4/9.0.0-preview.4.md
Original file line number Diff line number Diff line change
Expand Up @@ -732,13 +732,13 @@ Microsoft.CodeAnalysis.RulesetToEditorconfigConverter | 3.11.0-beta1.24216.2

[blob-runtime]: https://dotnetcli.blob.core.windows.net/dotnet/Runtime/
[blob-sdk]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/
[release-notes]: https://github.com/dotnet/core/blob/main/release-notes/9.0/preview4/9.0.0-preview.4.md
[release-notes]: 9.0.0-preview.4.md

[checksums-runtime]: https://dotnetcli.blob.core.windows.net/dotnet/checksums/9.0.0-preview.4-sha.txt
[checksums-sdk]: https://dotnetcli.blob.core.windows.net/dotnet/checksums/9.0.0-preview.4-sha.txt

[linux-install]: https://learn.microsoft.com/dotnet/core/install/linux
[linux-setup]: https://github.com/dotnet/core/blob/main/Documentation/linux-setup.md
[linux-setup]: ../../install-linux.md

[dotnet-blog]: https://devblogs.microsoft.com/dotnet/announcing-dotnet-9-preview-4
[aspnet-blog]: https://devblogs.microsoft.com/dotnet/asp-net-core-updates-in-dotnet-9-preview-4/
Expand Down
4 changes: 2 additions & 2 deletions release-notes/9.0/preview/preview5/9.0.0-preview.5.md
Original file line number Diff line number Diff line change
Expand Up @@ -735,13 +735,13 @@ Microsoft.Net.Compilers.Toolset.Framework | 4.11.0-2.24269.3

[blob-runtime]: https://dotnetcli.blob.core.windows.net/dotnet/Runtime/
[blob-sdk]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/
[release-notes]: https://github.com/dotnet/core/blob/main/release-notes/9.0/preview5/9.0.0-preview.5.md
[release-notes]: 9.0.0-preview.5.md

[checksums-runtime]: https://dotnetcli.blob.core.windows.net/dotnet/checksums/9.0.0-preview.5-sha.txt
[checksums-sdk]: https://dotnetcli.blob.core.windows.net/dotnet/checksums/9.0.0-preview.5-sha.txt

[linux-install]: https://learn.microsoft.com/dotnet/core/install/linux
[linux-setup]: https://github.com/dotnet/core/blob/main/Documentation/linux-setup.md
[linux-setup]: ../../install-linux.md

[dotnet-blog]: https://devblogs.microsoft.com/dotnet/announcing-dotnet-9-preview-4
[aspnet-blog]: https://devblogs.microsoft.com/dotnet/asp-net-core-updates-in-dotnet-9-preview-4/
Expand Down
4 changes: 2 additions & 2 deletions release-notes/9.0/preview/preview6/9.0.0-preview.6.md
Original file line number Diff line number Diff line change
Expand Up @@ -737,13 +737,13 @@ Microsoft.EntityFrameworkCore.Templates | 9.0.0-preview.6.24327.4

[blob-runtime]: https://dotnetcli.blob.core.windows.net/dotnet/Runtime/
[blob-sdk]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/
[release-notes]: https://github.com/dotnet/core/blob/main/release-notes/9.0/Preview6/9.0.0-preview.6.md
[release-notes]: 9.0.0-preview.6.md

[checksums-runtime]: https://dotnetcli.blob.core.windows.net/dotnet/checksums/9.0.0-preview.6-sha.txt
[checksums-sdk]: https://dotnetcli.blob.core.windows.net/dotnet/checksums/9.0.0-preview.6-sha.txt

[linux-install]: https://learn.microsoft.com/dotnet/core/install/linux
[linux-setup]: https://github.com/dotnet/core/blob/main/Documentation/linux-setup.md
[linux-setup]: ../../install-linux.md

[dotnet-blog]: https://devblogs.microsoft.com/dotnet/announcing-dotnet-9-preview-6
[aspnet-blog]: https://devblogs.microsoft.com/dotnet/asp-net-core-updates-in-dotnet-9-preview-6/
Expand Down
2 changes: 1 addition & 1 deletion release-notes/9.0/preview/preview6/dotnetmaui.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The team is continuing work on core fundamentals of the .NET MAUI SDK to improve

.NET 9 Preview 6:
* [Discussion](https://aka.ms/dotnet/9/preview6)
* [Release notes](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview6/README.md)
* [Release notes](README.md)

## .NET for Android

Expand Down
4 changes: 2 additions & 2 deletions release-notes/9.0/preview/preview7/9.0.0-preview.7.md
Original file line number Diff line number Diff line change
Expand Up @@ -735,13 +735,13 @@ Microsoft.EntityFrameworkCore.Templates | 9.0.0-preview.7.24405.3

[blob-runtime]: https://dotnetcli.blob.core.windows.net/dotnet/Runtime/
[blob-sdk]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/
[release-notes]: https://github.com/dotnet/core/blob/main/release-notes/9.0/Preview7/9.0.0-preview.7.md
[release-notes]: 9.0.0-preview.7.md

[checksums-runtime]: https://dotnetcli.blob.core.windows.net/dotnet/checksums/9.0.0-preview.7-sha.txt
[checksums-sdk]: https://dotnetcli.blob.core.windows.net/dotnet/checksums/9.0.0-preview.7-sha.txt

[linux-install]: https://learn.microsoft.com/dotnet/core/install/linux
[linux-setup]: https://github.com/dotnet/core/blob/main/Documentation/linux-setup.md
[linux-setup]: ../../install-linux.md

[dotnet-blog]: https://devblogs.microsoft.com/dotnet/announcing-dotnet-9-Preview-7
[aspnet-blog]: https://devblogs.microsoft.com/dotnet/asp-net-core-updates-in-dotnet-9-Preview-7/
Expand Down
16 changes: 8 additions & 8 deletions release-notes/9.0/preview/preview7/aspnetcore.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ Here's a summary of what's new in ASP.NET Core in this preview release:

ASP.NET Core updates in .NET 9 Preview 7:

- [Release notes](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview7/aspnetcore.md)
- [Release notes](aspnetcore.md)
- [What's new in ASP.NET Core in .NET 9](https://learn.microsoft.com/aspnet/core/release-notes/aspnetcore-9.0) documentation.
- [Breaking changes](https://docs.microsoft.com/dotnet/core/compatibility/9.0#aspnet-core)
- [Roadmap](https://aka.ms/aspnet/roadmap)

.NET 9 Preview 7:

- [Discussion](https://aka.ms/dotnet/9/preview7)
- [Release notes](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview7/README.md)
- [Release notes](README.md)

## SignalR supports trimming and Native AOT

Expand Down Expand Up @@ -227,18 +227,18 @@ Thank you [@joegoldman2](https://github.com/joegoldman2) for this contribution!
We'd like to thank @josephdecock from @DuendeSoftware for adding Pushed Authorization Requests (PAR) to ASP.NET Core's `OpenIdConnectHandler`. Joe described the background and motivation for enabling PAR in [his API proposal](https://github.com/dotnet/aspnetcore/issues/51686) as follows:

> Pushed Authorization Requests (PAR) is a relatively new [OAuth standard](https://datatracker.ietf.org/doc/html/rfc9126) that improves the security of OAuth and OIDC flows by moving authorization parameters from the front channel to the back channel (that is, from redirect URLs in the browser to direct machine to machine http calls on the back end).
>
>
> This prevents an attacker in the browser from:
>
>
> - Seeing authorization parameters (which could leak PII) and from
> - Tampering with those parameters (e.g., the attacker could change the scope of access being requested).
>
>
> Pushing the authorization parameters also keeps request URLs short. Authorize parameters might get very long when using more complex OAuth and OIDC features such as Rich Authorization Requests, and URLs that are long cause issues in many browsers and networking infrastructure.
>
>
> The use of PAR is encouraged by the [FAPI working group](https://openid.net/wg/fapi/) within the OpenID Foundation. For example, [the FAPI2.0 Security Profile](https://openid.bitbucket.io/fapi/fapi-2_0-security-profile.html) requires the use of PAR. This security profile is used by many of the groups working on open banking (primarily in Europe), in health care, and in other industries with high security requirements.
>
>
> PAR is supported by a number of identity providers, including
>
>
> - Duende IdentityServer
> - Curity
> - Keycloak
Expand Down
11 changes: 5 additions & 6 deletions release-notes/9.0/preview/preview7/csharp.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,23 @@

Summary of what's new in C# in this release:

- [Prioritize better overloads with `OverloadResolutionPriority` attribute](#prioritize-better-overloads-with-overloadresolutionpriority-attribute)
* [Prioritize better overloads with `OverloadResolutionPriority` attribute](#prioritize-better-overloads-with-overloadresolutionpriority-attribute)

What's new in C# for .NET 9:

* [Release notes](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview7/csharp.md)
* [Release notes](csharp.md)
* [What's new in C# 13](https://learn.microsoft.com/dotnet/csharp/whats-new/csharp-13) documentation.
* [Breaking changes in C# 13](https://learn.microsoft.com/dotnet/csharp/whats-new/breaking-changes/compiler%20breaking%20changes%20-%20dotnet%209) documentation.

.NET 9 Preview 7:

* [Discussion](https://aka.ms/dotnet/9/preview7)
* [Release notes](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview7/README.md)
* [Release notes](README.md)

## Prioritize better overloads with `OverloadResolutionPriority` attribute

C# introduces a new attribute, `System.Runtime.CompilerServices.OverloadResolutionPriority`, that can be used by API authors to adjust the relative priority of overloads within a single type as a means of steering API consumers to use specific APIs, even if those APIs would normally be considered ambiguous or otherwise not be chosen by C#'s overload resolution rules. This helps framework and library authors guide API usage as they APIs as they develop new and better patterns.
C# introduces a new attribute, `System.Runtime.CompilerServices.OverloadResolutionPriority`, that can be used by API authors to adjust the relative priority of overloads within a single type as a means of steering API consumers to use specific APIs, even if those APIs would normally be considered ambiguous or otherwise not be chosen by C#'s overload resolution rules. This helps framework and library authors guide API usage as they APIs as they develop new and better patterns.

The `OverloadResolutionPriorityAttribute` can be used in conjunction with the [`ObsoleteAttribute`](https://learn.microsoft.com/dotnet/api/system.obsoleteattribute). A library author may mark properties, methods, types and other programming elements as obsolete, while leaving them in place for backwards compatibility. Using programming elements marked with the `ObsoleteAttribute` will result in compiler warnings or errors. However, the type or member is still visible to overload resolution and may be selected over a better overload or cause an ambiguity failure. The `OverloadResolutionPriorityAttribute` lets library authors fix these problems by lowering the priority of obsolete members when there are better alternatives.

We've already started using this attribute in the .NET libraries, with [Debug.Assert](https://github.com/dotnet/runtime/blob/019d7580a27db97f1fbdcf0d26f7ae3fa54fc2d1/src/libraries/System.Private.CoreLib/src/System/Diagnostics/Debug.cs#L81). This particular change is discussed in more detail in the [Libraries release notes](./libraries.md#debugassert-now-reports-assert-condition-by-default).

We've already started using this attribute in the .NET libraries, with [Debug.Assert](https://github.com/dotnet/runtime/blob/019d7580a27db97f1fbdcf0d26f7ae3fa54fc2d1/src/libraries/System.Private.CoreLib/src/System/Diagnostics/Debug.cs#L81). This particular change is discussed in more detail in the [Libraries release notes](./libraries.md#debugassert-now-reports-assert-condition-by-default).
Loading
Loading