| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-08-07 | 1.0 kB | |
| v5.0.0 source code.tar.gz | 2026-08-07 | 852.9 kB | |
| v5.0.0 source code.zip | 2026-08-07 | 1.8 MB | |
| Totals: 3 Items | 2.7 MB | 1 | |
Breaking Changes
- Removed the
distinctfind option —FindOptions.withDistinct()(both overloads),FindOptions.distinct()andFindPlan.distinct.
The flag never affected the result set. A find never returns the same document twice, and the or sub-plan union in ReadOperations has always applied DistinctStream unconditionally — so FindOptimizer wrote the flag onto the FindPlan and nothing ever read it back. Callers passing FindOptions.withDistinct() can drop it with no change in results.
DistinctStream itself is unchanged and still used for the or union.
Tests
- Added
CollectionOrDuplicateTest, pinning the set-union behaviour of anorfilter for the no-index, one-indexed-branch and all-indexed-branch cases. nitrite-java was already correct here; the same test found real duplicate defects in nitrite-rust and nitrite-flutter, and is added to keep the three implementations honest.
Full Changelog: https://github.com/nitrite/nitrite-java/compare/v4.5.0...v5.0.0