Skip to content

8.0.0

Compare
Choose a tag to compare
@commonsensesoftware 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

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 an IOptions<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