Skip to content

v5.8.0

Compare
Choose a tag to compare
@bkoelman bkoelman released this 06 Aug 13:17
· 4 commits to master since this release
143e6b1

Since we fixed the bug in v5.7.0 where pagination was not applied on included derived types, we received reports of slow query performance for complex queries on type hierarchies. This release provides various optimizations to address the problem:

  • When pagination is turned off, implicit sort by ID is no longer added to the query.
  • Redundant selectors are eliminated from the final query.
  • Pagination can be turned off per relationship using [HasMany(DisablePagination = true)], which overrules global settings.

OpenAPI preview 3 includes the following enhancements:

  • Non-JSON:API endpoints (both Controllers and Minimal APIs) are now included in the OpenAPI document.
  • Calling AddOpenApiForJsonApi() no longer changes the expected content type for regular JSON:API requests.
  • Improved error when AddJsonApi()/AddOpenApiForJsonApi() aren't called in the expected order.
  • Refactored an internal workaround to support dotnet swagger, such that the workaround is no longer needed.
  • Fixed error when concurrent requests download the OpenAPI document.

Merged PRs

Full Changelog: v5.7.1...v5.8.0