2.0.0-beta.9
Pre-release
Pre-release
- SECURITY: Fixed integer overflow vulnerability in search tree size
calculation that could potentially allow malformed databases to trigger
security issues. - SECURITY: Enhanced bounds checking in tree traversal functions to return
proper errors instead of silent failures when encountering malformed
databases. - Added validation for invalid prefixes in
NetworksWithinto prevent
unexpected behavior with malformed input. - Added
SkipEmptyValues()option forNetworksandNetworksWithinto skip
networks whose data is an empty map or empty array. This is useful for
databases that store empty maps or arrays for records without meaningful
data. GitHub #172. - Optimized custom unmarshaler type assertion to use Go 1.25's
reflect.TypeAssertwhen available, reducing allocations in reflection code
paths. - Improved memory mapping implementation by using
SyscallConn()instead of
Fd()to avoid side effects and prepare for Go 1.25+ Windows I/O
enhancements. Pull request by database64128. GitHub #179. - Added
OpenBytesfunction for better API discoverability and consistency
withOpen().FromBytesis now deprecated and will be removed in a future
version.