Skip to content

Commit 1ba7d7b

Browse files
anidotnetclaude
andcommitted
chore: move spatial reopen fix into 5.4.2 changelog
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent cf99451 commit 1ba7d7b

1 file changed

Lines changed: 6 additions & 9 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
## Unreleased
2-
3-
### Issue Fixes
4-
5-
- Fix MVStore spatial-index queries, updates and removals after reopening a file. H2 reconstructs
6-
persisted R-tree keys as its own `Spatial` implementation. Cursors and bounds comparisons now
7-
accept that implementation instead of casting every key to `MVSpatialKey`. The on-disk format
8-
and public method signatures are unchanged.
9-
101
## Release 5.4.2 - Oct 19, 2026
112

123
### Security Fixes
@@ -20,6 +11,12 @@
2011
- Classes registered with `registerSerializer(...)` are read as before. A class stored by name must now be a Nitrite, JDK or `kotlin.collections` type, or match the patterns given to the new `KryoObjectFormatter(String allowedClasses)`, e.g. `new KryoObjectFormatter("com.example.model.**")`, passed to `RocksDBModuleBuilder.objectFormatter(...)`. Anything else fails with a `NitriteSecurityException` naming the class, before the class is loaded.
2112
- The Kryo instance is no longer shared by every `KryoObjectFormatter` in the JVM; serializers registered on one formatter no longer leak into others. The on-disk format is unchanged.
2213

14+
### Issue Fixes
15+
16+
- **Spatial indexes now work after reopening an MVStore file** ([#1334](https://github.com/nitrite/nitrite-java/pull/1334))
17+
- H2 reads persisted R-tree keys back as its own `Spatial` implementation, so queries, updates and removals on a reopened spatial index failed with a `ClassCastException` from `DefaultSpatial` to `MVSpatialKey`. Cursors and bounds comparisons now accept any `Spatial`. The on-disk format and public method signatures are unchanged.
18+
- Thanks to [@sfkamath](https://github.com/sfkamath) for the report and the fix.
19+
2320
## Release 5.4.1 - Oct 17, 2026
2421

2522
### Issue Fixes

0 commit comments

Comments
 (0)