8.0.0
commonsensesoftware
released this
08 Dec 21:43
·
26 commits
to main
since this release
This is the official release for .NET 8. This release primarily includes internal performance improvements based on new .NET 8 features and a limited set of new features.
Features
ASP.NET Core
- AOT Compatibility1:
Asp.Versioning.Abstractions
Asp.Versioning.Http
Asp.Versioning.Http.Client
- Added
IApiVersionSelector.SelectVersionAsync
(#1009)- The default interface implementation simply calls
SelectVersion
SelectVersion
must still be implemented- The synchronous path must be accounted for
- Some use cases, such as with OData, does have synchronous code paths that cannot be refactored
- The default interface implementation simply calls
1 The .NET Framework and ASP.NET MVC Core do not currently support AOT
Fixes
In addition to the rollup of fixes in 7.1.0, the following outlines the fixes in this release.
ASP.NET Core
ControllerNameAttribute
is properly honored (#1042)
Breaking Changes
ASP.NET Core
- The
ErrorObjectWriter
constructor now requires anIOptions<JsonOptions>
parameter- If you don't use Error Object responses, this change has no effect
- If you use Error Object responses, but you don't extend or customize the default
ErrorObjectWriter
, the changes are transparent
Contributors
- Big thanks to @xavierjohn who:
- Fixed #1042
- Reviewed and researched AOT support
- Reviewed and researched many of the .NET 8 update issues