Skip to content

v3.0.0

Choose a tag to compare

@orhanayd orhanayd released this 28 Dec 19:41
· 19 commits to master since this release
0a4f6fd

What's Changed

noneDB v3.0.0 - Pure JSONL Storage Engine

Summary

Complete storage engine rewrite from JSON array to JSONL with byte-offset indexing. This release achieves O(1) key lookups and massive performance improvements across all operations.

Key Changes

🚀 Performance

Operation v2.x → v3.0 vs SleekDB
find(key) O(n) → O(1) -
count() 536ms → <1ms 258x faster
insert 100K 2.8s → 1.6s 9x faster
find(filter) 100K 854ms → 434ms 79x faster

💾 New Storage Format

Before: {"data": [{...}, null, {...}]} # JSON array with nulls
After: {"key":0,...}\n{"key":1,...} # JSONL + .jidx index

✨ New Features

  • Static cache sharing - 80%+ faster for multi-instance
  • Auto-compaction - Triggers at 30% deleted records
  • External config file (.nonedb) - Secrets out of source code
  • Dev mode - Skip config for development

⚠️ Breaking Changes

  • V2 format auto-migrated on first access
  • .jidx index file now required
  • Config file or programmatic config required (or dev mode)

Backwards Compatibility

✅ Tested: v2.2.0 databases auto-migrate to v3.0.0 format seamlessly.

Test Results

  • 774 tests, 2157 assertions (all passing)
  • Concurrent access verified
  • Sharding verified up to 500K records

Full Changelog: v2.2.0...v3.0.0