Skip to content

v5.0.0-pre1

Pre-release
Pre-release
Compare
Choose a tag to compare
@bart-degreed bart-degreed released this 10 Dec 08:28
· 1012 commits to master since this release
b442519

New features and enhancements

First of all, this release is a refresher to embrace the latest technologies. We've updated to ASP.NET 6 with EF Core 6 and adopted nullable reference types. We've switched to System.Text.Json. And we're now leveraging EF Core's built-in many-to-many relationships. Lastly, ASP.NET controllers can be auto-generated using source generators. Aside from these changes, pagination links at secondary endpoints got better. We've added various performance optimizations. And improved error responses on invalid input. And quite some bug fixes too!

Note: See our updated documentation, as well as updated examples in our codebase.
Upgrading from v4 instead? Be sure to check out our migration guide.

Breaking changes

  • When using [Resource], this now automatically generates a controller class. Replace with [Resource(GenerateControllerEndpoints = JsonApiEndpoints.None)] to turn that off.
  • The experimental Resource Hooks feature has finally been removed.
  • The switch to System.Text.Json introduced breaks as well, see here and here.
  • Short-hand interfaces were removed too.
  • Remaining breaks are listed here, here and here.

Merged PRs

New Contributors

Full Changelog: v4.2.0...v5.0.0-pre1