Compatibility
Check versions, supported operations and the actual Windows validation evidence.
Supported modern profile
| Requirement | Modern BsonLite profile |
|---|---|
| Windows | x64 build 20348+: Windows 11 / Windows Server 2022+ |
| Node.js | 20.19+; Node.js 24 recommended |
| Storage | Private writable filesystem with account access controls |
| Console | The desktop installer includes its own runtime; terminal CLI needs Node.js |
| Component | Version / behavior |
|---|---|
| BsonLite SDK runtime | 0.7.0-alpha.0 · experimental alpha |
| npm package tested | 0.7.0-alpha.1 · documentation update; same runtime bytes |
| Engine | Custom MongoDB Community 9.0.4 / WiredTiger 12 |
| Node.js driver | 7.7.0 |
| Native encryption | libsodium 1.0.22 / XChaCha20-Poly1305 |
| Local access | Loopback-only standalone engine, mutual TLS and SCRAM-SHA-256 |
| Console | 0.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.
| Outcome | Cases |
|---|---|
| Matching successful outcomes | 323 |
| Matching expected error cases | 5 |
| JavaScript disabled only in the BsonLite profile | 3 |
| Shared standalone topology limits | 2 |
| Unexpected differences | 0 |
333 cases completed; complete Community feature parity is not claimed. Successful Windows run · Method, scope and reproduction · Full per-case evidence.
Tested coverage
| Category | Cases | Outcomes |
|---|---|---|
| find | 38 | match: 38 |
| projection | 9 | match: 9 |
| cursor | 11 | match: 11 |
| bson | 21 | match: 21 |
| aggregation | 23 | match: 23 |
| expression | 122 | match: 122 |
| update | 26 | match: 26 |
| write | 3 | match: 3 |
| index | 14 | match: 13, expected-error-match: 1 |
| geo | 3 | match: 3 |
| collection | 7 | match: 6, expected-error-match: 1 |
| error | 3 | expected-error-match: 3 |
| profile | 3 | profile-limit: 3 |
| topology | 2 | standalone-limit: 2 |
| complex | 8 | match: 8 |
| combinations | 40 | match: 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
$wheresucceeds in Community but returns error6108304in the BsonLite profile.$functionand JavaScript$accumulatorsucceed in Community but return error31264in BsonLite because its JavaScript engine is disabled.$changeStreamreturns error40573on both standalone servers. Multi-document transactions return error20on 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
| Check | Evidence |
|---|---|
| Native source / encryption | 7 required cases passed |
| Runtime, logical upgrade and CLI | 3 required cases passed |
| Final standalone BsonLite.cjs | 9 required cases passed |
| Console | Source 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