@push.rocks/smartdb 5.0.2 → 5.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
Binary file
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@push.rocks/smartdb',
6
- version: '5.0.2',
6
+ version: '5.0.4',
7
7
  description: 'A MongoDB-compatible embedded database server with wire protocol support, backed by a high-performance Rust engine.'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSxxQkFBcUI7SUFDM0IsT0FBTyxFQUFFLE9BQU87SUFDaEIsV0FBVyxFQUFFLHFIQUFxSDtDQUNuSSxDQUFBIn0=
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@push.rocks/smartdb",
3
- "version": "5.0.2",
3
+ "version": "5.0.4",
4
4
  "private": false,
5
5
  "description": "A MongoDB-compatible embedded database server with wire protocol support, backed by a high-performance Rust engine.",
6
6
  "exports": {
package/readme.md CHANGED
@@ -911,7 +911,7 @@ const names = await collection.distinct('name');
911
911
  | **Indexes** | `createIndexes`, `dropIndexes`, `listIndexes` |
912
912
  | **Sessions** | `startSession`, `endSessions` |
913
913
  | **Transactions** | `startTransaction`, `commitTransaction`, `abortTransaction` through driver sessions |
914
- | **Admin** | `ping`, `listDatabases`, `listCollections`, `drop`, `dropDatabase`, `create`, `serverStatus`, `buildInfo`, `dbStats`, `collStats`, `connectionStatus`, `currentOp`, `renameCollection` |
914
+ | **Admin** | `ping`, `listDatabases`, `listCollections`, `drop`, `dropDatabase`, `create`, `serverStatus`, `dbStats`, `collStats`, `connectionStatus`, `renameCollection` |
915
915
 
916
916
  Advertises MongoDB wire protocol versions 0–21. The documented command surface is tested with the official `mongodb` Node.js driver version 7.5.x.
917
917
 
@@ -927,6 +927,20 @@ driver for `endSessions`, and the equivalent envelope on `killSessions`, are
927
927
  accepted only to preserve best-effort session cleanup; neither is a database-write
928
928
  acknowledgement.
929
929
 
930
+ ### Unsupported Administrative Commands
931
+
932
+ SmartDB returns `CommandNotFound` (code 59) for the wire commands `validate`,
933
+ `explain`, legacy `authenticate`, `buildInfo`/`buildinfo`, `hostInfo`,
934
+ `whatsmyuri`, `getLog`, `getCmdLineOpts`, `getParameter`, `setFreeMonitoring`,
935
+ `currentOp`, `killOp`, `top`, `profile`, `compact`, `reIndex`, `fsync`, and
936
+ `connPoolSync`. These commands previously had placeholder success responses but
937
+ do not yet implement their advertised MongoDB semantics. Authentication and
938
+ authorization errors retain precedence; otherwise rejection occurs before
939
+ database publication permits, session or transaction creation, and command
940
+ dispatch. This restriction applies to the wire `validate` command, not the
941
+ supported offline `--validate-data` tool. `getFreeMonitoringStatus` remains
942
+ available and reports SmartDB's fixed disabled state.
943
+
930
944
  ---
931
945
 
932
946
  ## Rust Crate Architecture 🦀
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@push.rocks/smartdb',
6
- version: '5.0.2',
6
+ version: '5.0.4',
7
7
  description: 'A MongoDB-compatible embedded database server with wire protocol support, backed by a high-performance Rust engine.'
8
8
  }