v0.7.0-alpha.0
Home / Documentation / Compatibility

Compatibility

Check versions, supported operations and the actual Windows validation evidence.

Supported modern profile

RequirementModern BsonLite profile
Windowsx64 build 20348+: Windows 11 / Windows Server 2022+
Node.js20.19+; Node.js 24 recommended
StoragePrivate writable filesystem with account access controls
ConsoleThe desktop installer includes its own runtime; terminal CLI needs Node.js
ComponentVersion / behavior
BsonLite SDK runtime0.7.0-alpha.0 · experimental alpha
npm package tested0.7.0-alpha.1 · documentation update; same runtime bytes
EngineCustom MongoDB Community 9.0.4 / WiredTiger 12
Node.js driver7.7.0
Native encryptionlibsodium 1.0.22 / XChaCha20-Poly1305
Local accessLoopback-only standalone engine, mutual TLS and SCRAM-SHA-256
Console0.3.0 · Windows x64 installer; app links support modern and earlier BsonLite apps

Queries and limits

CRUD, BSON values, indexes and aggregation follow the bundled engine profile. The modern build supports window aggregation. Server-side JavaScript, replica-set transactions, change streams and Atlas-only services are outside this configuration. The Console interpreter accepts supported database expressions, not arbitrary JavaScript programs.

Direct Console server URLs use its pinned 6.16.0 driver. Running BsonLite apps, including the modern engine, connect through their typed app-link protocol.

Query compatibility audit

On 26 October 2026, the published bsonlite-sdk@0.7.0-alpha.1 package (embedded SDK 0.7.0-alpha.0) was compared with official MongoDB Community 9.0.4 on Windows Server 2022. Both sides used driver 7.7.0, standalone topology, a database-scoped readWrite role, journaling and disabled retryable writes. BsonLite retained its native encrypted storage.

OutcomeCases
Matching successful outcomes323
Matching expected error cases5
JavaScript disabled only in the BsonLite profile3
Shared standalone topology limits2
Unexpected differences0

333 cases completed; complete Community feature parity is not claimed. Successful Windows run · Method, scope and reproduction · Full per-case evidence.

Tested coverage

CategoryCasesOutcomes
find38match: 38
projection9match: 9
cursor11match: 11
bson21match: 21
aggregation23match: 23
expression122match: 122
update26match: 26
write3match: 3
index14match: 13, expected-error-match: 1
geo3match: 3
collection7match: 6, expected-error-match: 1
error3expected-error-match: 3
profile3profile-limit: 3
topology2standalone-limit: 2
complex8match: 8
combinations40match: 40

Complex cases combine correlated lookup, unwind, grouping, window functions and facets. Other cases cover text/geospatial indexes, validators, views, time series, $out, $merge, percentile/median, densify and fill. Forty compound queries also match independent JavaScript expectations.

A 22,000-document sort with 157,761,997 payload bytes actually spilled to disk on both engines (usedDisk: true) and returned matching aggregate results. This establishes the tested sort behavior, not a speed advantage or a new encryption audit.

Confirmed limits

  • $where succeeds in Community but returns error 6108304 in the BsonLite profile.
  • $function and JavaScript $accumulator succeed in Community but return error 31264 in BsonLite because its JavaScript engine is disabled.
  • $changeStream returns error 40573 on both standalone servers. Multi-document transactions return error 20 on both. Their required replica-set/sharded topology was not configured.

Comparisons use canonical driver-decoded EJSON, normalize object-key order and preserve array order; server-side BSON types are checked separately. Random sample/rand and currentDate cases compare validity contracts. TTL checks cover index definitions, not timed expiry. The Console interpreter, every possible operator option, deployment topology and failure mode are outside this finite matrix.

Verified Windows checks

CheckEvidence
Native source / encryption7 required cases passed
Runtime, logical upgrade and CLI3 required cases passed
Final standalone BsonLite.cjs9 required cases passed
ConsoleSource and installed GUI workflow; setup, shortcut repair, uninstall and retained app data passed

Core run 40207704023 tested commit 69920051901246994896c1bc53cc5f32bacaabd3. Console run 40218973518 tested commit 9b295bfb5e87288200d13dc926cb024a60c66448. These suites overlap; the counts are not independent security certification.

Remaining validation

The modern database is experimental. Clean Windows Home/Pro hardware, packaged application integration, cross-PC restore, large-data performance, power-loss/disk-full behavior and independent security review remain separate release work. Console's installer lifecycle was tested on Windows Server 2022; the setup is unsigned.

The earlier npm 0.6.0-rc.3 release uses the previous engine. Its physical data files cannot be opened by 9.0 directly. Follow logical migration into a new directory.

BsonLite 0.7.0-alpha.0 · Downloads · BsonLite Console · Support development