@push.rocks/smartdb 5.0.2 → 5.0.3

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.3',
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.3",
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`, `buildInfo`, `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,17 @@ 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`, `currentOp`, `killOp`, `top`, `profile`,
934
+ `compact`, `reIndex`, `fsync`, and `connPoolSync`. These commands previously had
935
+ placeholder success responses but do not yet implement their advertised MongoDB
936
+ semantics. Authentication and authorization errors retain precedence; otherwise
937
+ rejection occurs before database publication permits, session or transaction
938
+ creation, and command dispatch. This restriction applies to the wire `validate`
939
+ command, not the supported offline `--validate-data` tool.
940
+
930
941
  ---
931
942
 
932
943
  ## 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.3',
7
7
  description: 'A MongoDB-compatible embedded database server with wire protocol support, backed by a high-performance Rust engine.'
8
8
  }