updated json field validator and allow duplicated keys when serializing record models

This commit is contained in:
Gani Georgiev
2026-09-06 12:31:52 +03:00
parent 57c0b034e6
commit 75c6a4fd1f
10 changed files with 81 additions and 22 deletions
+3 -1
View File
@@ -9,7 +9,9 @@
- Clamped arccosine to [-1,1] in the Harvesine formula for the `geoDistance()` filter function to workaround edge case related to float rounding errors for some coordinates.
- Prevent unnecessery body chunk read if we already known that we are beyond the allowed limit.
- Prevent unnecessary body chunk read if we already known that we are beyond the allowed limit.
- Updated the `json` field validator to check the `encoding/json/v2` semantics and allow duplicated keys when serializing for compliance with old jsonv1 data.
- Bumped `golang.org/x/*` dependencies to silence security scanners ([#7829](https://github.com/pocketbase/pocketbase/discussions/7829)).