Skip to content

v5.1.2

Compare
Choose a tag to compare
@bkoelman bkoelman released this 07 Feb 09:47
· 876 commits to master since this release
e4cf9a8

Enhancements

Bugfixes

  • Fixed whitespace handling in query string parameters.
  • Fixed ModelState validation in atomic operations when using custom validators with injected dependencies.
  • Fixed incorrect ModelState validation error when using [Range] that does not include the type's default value.

Breaking changes

  • Parsing query string parameters used to rely on the current culture, which is no longer the case. To revert to the old behavior, add the following at startup:
    AppContext.SetSwitch("JsonApiDotNetCore.ParseQueryStringsUsingCurrentCulture", true);

Merged PRs

  • Fix missing HttpContext on ValidationContext during atomic operations by @Tommy228 in #1251
  • Better handling of [ApiController] usage by @bkoelman in #1246
  • Package updates; run tests against EF Core 7 by @bkoelman in #1249
  • Fixed: fail on non-leading whitespace in field chains by @bkoelman in #1252
  • Fixed: ModelState validation failed when [Range] does not include property default value by @bkoelman in #1253
  • Documentation: FAQ and Common Pitfalls by @bkoelman in #1245
  • Add support for DateOnly/TimeOnly by @bkoelman in #1169

New Contributors

Full Changelog: v5.1.1...v5.1.2

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy