Skip to content

v2.20.0

Latest

Choose a tag to compare

@alirezanet alirezanet released this 17 Sep 12:40
· 3 commits to master since this release

What's Changed

  • feat: Initial .NET 11 (preview) support and some QoL improvements by @erwinkramer in #338
  • feat: add a per-map case-insensitive override, so an individual map can opt in or out of CaseInsensitiveFiltering. by @moxplod in #336
  • fix: IsValid now runs the map's value convertor before checking the value type, so a filter that only the convertor understands, such as a relative date on a DateTime property, is no longer reported as invalid. Docs by @alirezanet in #345
  • feat: IsValid(out var errors) now validates OrderBy as well as Filter and reports the errors from both. Previously it bound to the filtering overload and checked Filter only, so a query with an invalid OrderBy could be reported as valid; such a query now reports invalid. Docs by @alirezanet in #346
  • fix: the contains operator (=* and !*) now works on non-string fields by matching their text, the same way ^ and $ already did, instead of throwing by @alirezanet in #346
  • fix: IsValid reads AllowNullSearch from the mapper rather than the global configuration, matching what the query builder uses, and rejects the ? and ! ordering suffixes on a member that is not nullable by @alirezanet in #346
  • fix: use dependency version bounds that NuGet.org accepts

Full Changelog: v2.19.1...v2.20.0