clamped arccosine to [-1,1] to prevent rounding errors in geoDistance

This commit is contained in:
Gani Georgiev
2026-09-06 00:45:12 +03:00
parent dbea21f1b2
commit df4e6eeb35
4 changed files with 63 additions and 28 deletions
+2
View File
@@ -7,6 +7,8 @@
- Fixed collection index validator to allow expressions with parenthesis in the optional `WHERE` clause.
- 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.
- Bumped `golang.org/x/*` dependencies to silence security scanners ([#7829](https://github.com/pocketbase/pocketbase/discussions/7829)).