Skip to content

v5.2.0

Compare
Choose a tag to compare
@bkoelman bkoelman released this 12 May 12:38
· 371 commits to master since this release

Enhancements

  • Improve resource change tracking performance.
  • Improve performance of response serialization for large number of included resources.
  • Auto-feed includes from query string to the serializer when custom resource service is used.
  • Refreshed examples: connection strings, API namespaces, seed with sample data, use long IDs, detailed logging.
    • NoEntityFrameworkExample now uses a hardcoded in-memory dataset, demonstrating how to implement a custom read-only resource service and resource repository, which compiles the produced LINQ query and executes it against the dataset.
  • Harden Attr/Relationship attributes against invalid input.
  • Updated Ember sample to use latest versions and include tests. Special thanks to @briarsweetbriar and @rtablada!

Bugfixes

  • On secondary endpoint, the incoming filter from query string was not applied when determining total resource count via inverse relationship.
  • A duplicate trailing slash was rendered in Location header when request path ended with a slash.
  • Minor corrections in documentation.
  • Do not emit unused namespace import in controller source generator.
  • Use deterministic culture when converting to string.
  • Fixes for using include and fields with EF Core owned entities.

Breaking changes

  • Minor changes in the QueryExpression model shape, to make it easier to understand and consume.
  • Removed resource ID from error message, as the error is unrelated to any specific record.
  • Disable EF Core Change Tracking on read-only requests (can be reverted by overriding a virtual method on the resource repository).

Merged PRs

Full Changelog: v5.1.2...v5.2.0