1.0.6
Features
- java-shell: Don't duplicate error message (#1104)
- cli-repl: Ask for password if connection string contains userna… (#1090)
- shell-api: Add deprecated setSecondaryOk helpers (MONGOSH-910, #1091)
- java-shell: Evaluate distinct using runCommand to allow values of different types in result array (#1076)
- browser-runtime-core: Remove preprocessing (MONGOSH-931, #1074)
- java-shell: Don't convert object from Java to JS and back if results are returned directly to user (#1077)
- java-shell: Support collection.distinct() (#1073)
- java-shell: Support collection.renameCollection() (#1072)
- cli-repl: Retain comments in multiline input (MONGOSH-951, #1071)
Bug Fixes
- shell-api: Run $out/$merge aggregations immediately (MONGOSH-972, #1108)
- shell-api: .watch() signature and behavior fixes (MONGOSH-976, #1107)
- java-shell: Remove syntax error test (#1106)
- Do babel transformations for script, not module (MONGOSH-986, #1103)
- java-shell: Temporarily use context.print in warnings for java-shell compat (#1102)
- shell-api: Warn instead of throw for sh methods on non-mongos (MONGOSH-982, #1098)
- shell-api: Use Long.fromNumber for creating Long from number (MONGOSH-979, #1092)
- cli-repl: Handle MONGOSH_RUN_NODE_SCRIPT for compiled binary properly (MONGOSH-981, #1094)
- i18n: Add missing setSecondaryOk help texts (#1093)
- cli-repl: Disable short-option-groups args parser option MONGOSH… (#1088)
- cli-repl: Do not expose parcelRequire (MONGOSH-965, #1086)
- java-shell: Update the expected test output (#1084)
- shell-api: Fix deprecated PlanCache method name (MONGOSH-937, #1082)
- cli-repl: Do not print ShellResult for interruption (MONGOSH-971, #1080)
- autocomplete: Fix completion for command + single space (MONGOSH-945, #1079)
- shell-api: Return replset oplog sizes properly (MONGOSH-968, #1075)
See an overview of all solved issues in Jira