Releases: mongodb-js/mongosh
Releases · mongodb-js/mongosh
0.15.0
Features
- Add strict versioned API autocomplete (MONGOSH-770, #941)
- snippet-manager: Add initial snippet manager implementation
- shell-api: Add checkpoint method to InterruptFlag
- shell-api: Add shell plugin feature
- cli-repl: Add yes/no prompt capability
- shell-api: Rewrite listCommands() to avoid outdated terms (MONGOSH-771, #924)
- service-provider-server: Pass
promoteLongs: false
(MONGOSH-809, #923) - cli-repl: Add redactHistory config option (MONGOSH-603, #922)
- cli-repl: Only store explicitly set config to disk (MONGOSH-794, #919)
Bug Fixes
- autocomplete: Allow missing server_version (MONGOSH-818, #939)
- shell-api: Fix rotateCertificates implementation (#940)
- Add --tlsCRLFile option to help (#938)
- shell-api: Use hello instead of isMaster for internal calls MONG… (#933)
- async-rewriter2: Fix
delete
behavior (MONGOSH-817, #936) - shell-api: Mark collection.reIndex as standalone-only (MONGOSH-813, #927)
- shell-api: Refer to correct connection string parameter name (#930)
- shell-api: Allow rs.conf() with versioned API (#934)
- cli-repl: Always autocomplete own enumerable properties (MONGOSH-808, #928)
- shell-api: Improve rs.reconfig helper for 5.0 changes (MONGOSH-785, #926)
- shell-api: Make chunkMetadata in sh.status() an array (#925)
- cli-repl,browser-repl: Sort collection names and mark system collections (MONGOSH-782, #920)
- shell-api: Fix memory leak caused by interrupt handling (MONGOSH-805, #917)
- cli-repl: Set terminal window title (MONGOSH-725, #918)
- autocomplete: Account for multiple spaces in command (MONGOSH-803, #915)
See an overview of all solved issues in Jira
0.14.0
Features
- service-provider-server: Use OS DNS for SRV records (MONGOSH-733, #862)
- shell-api: Add reconfigForPSASet helper (MONGOSH-702, #896)
- shell-api: Add reshard collection helpers (MONGOSH-754, #899)
- Show collection type in output (MONGOSH-738)
- shell-api: Add Mongo.get/setWriteConcern (MONGOSH-780, #900)
- cli-repl: Add inspectCompact option (MONGOSH-684, #892)
Bug Fixes
- build: Bump boxednode to 1.10.2 (MONGOSH-797, #914)
- cli-repl: Fix query operator completion (MONGOSH-793, #911)
- service-provider-core: Allow non-hostname chars in DB name (MONGOSH-792, #906)
- shell-api: Allow Explainable.aggregate to take individual stages (MONGOSH-790, #905)
- service-provider-server: Allow FLE with --apiStrict (MONGOSH-789, #901)
- shell-api: Allow ShellApi methods to be called with new (MONGOSH-786, #897)
- cli-repl: Do not throw internal errors for invalid user code (MONGOSH-777, #895)
- Direct link to JIRA project (#893)
See an overview of all solved issues in Jira
0.13.2
Features
- cli-repl: Fix files as positional arguments and add --file (MONGOSH-769, #890)
- shell-api: Add Mongo.getCollection() (MONGOSH-620, #889)
- cli-repl: Add isInteractive() support (MONGOSH-620, #887)
- cli-repl: Include API version in greeting message (#881)
- Add stricter type validation for config settings (MONGOSH-758, #878)
- build: Add macos arm64 support (MONGOSH-442, #872)
Bug Fixes
- mongosh-repl: Fix REPL command completion (MONGOSH-778, #891)
- shell-api: Ensure deprecation is handled in tests (#888)
- cli-repl: Stop mongocryptd search once successful (MONGOSH-775, #885)
- build: Fix build tests (#883)
- cli-repl: Ensure ctrl-c works with --nodb (MONGOSH-772, #879)
- cli-repl: Improve syntax highlighting on input (MONGOSH-726, #877)
See an overview of all solved issues in Jira
0.13.1
0.13.0
Features
- build: Add packages to all relevant PPAs (MONGOSH-696, #870)
- shell-api: Add mongo.getDBs() and .getDBNames() (MONGOSH-766, #867)
- shell-api: Let Symbol global refer to JS builtin (MONGOSH-753, #852)
- cli-repl: Aggregate .editor multiline input (MONGOSH-518, #858)
- build: Create packages for s390x/ppc64le/arm64 (#850)
- Rename deb/rpm packages to mongodb-mongosh (MONGOSH-692, #854)
- shell-api: Provide bulk.find().delete() instead of .remove() (MONGOSH-752, #848)
- ci: Add s390x, ppc64le, arm64 binaries (#833)
- browser-repl: Support custom prompts (MONGOSH-516)
- cli-repl: Support custom prompts (MONGOSH-516)
- browser-repl: Display err.errInfo/err.result if present (MONGOSH-584)
- cli-repl: Display err.errInfo/err.result if present (MONGOSH-584)
Bug Fixes
- ci: Build git 2.x if not present on host (#874)
- cli-repl: Prevent failures in macOS certificate selector (MONGOSH-762, #875)
- cli-repl: Ctrl-c terminates running DB operations (MONGOSH-640, #849)
- build: Do not utf8-read/write images (MONGOSH-763, #869)
- Make shell run with --apiStrict (#868)
- cli-repl: Bump pretty-repl to v3.0.1 (MONGOSH-759, #859)
- cli-repl: Aggregate regular characters in LineByLineInput (MONGOSH-687, #855)
- cli-repl: Work around double-prompt Node.js REPL bug (MONGOSH-727, #839)
- cli-repl: Bump pretty-repl to 3.0.0
- ci: Do not try to install npm globally (#845)
- cli-repl: Print Date objects as ISODate (MONGOSH-723, #843)
- service-provider-core: Make Long print evaluable (MONGOSH-750, #844)
- ci: Remove debugging leftover console.log
- service-provider-core: Make Decimal128 print evaluable (MONGOSH-747, #842)
- cli-repl: Handle pre-4.4 logs for startup warnings (MONGOSH-743, #837)
- cli-repl: Handle thrown primitives (MONGOSH-739, #836)
- shell-api: Allow legacy coll.runCommand overload (MONGOSH-688, #835)
- shell-api: Sharding methods account for 5.0 config.chunks changes (MONGOSH-740, #834)
See an overview of all solved issues in Jira
0.12.1
Features
- service-provider-core: Allow replset spec in --host (MONGOSH-512, #823)
- shell-api: Make db.hello() fall back to legacy variant (MONGOSH-558, #827)
- autocomplete: Add show/use completions (MONGOSH-563, #829)
- cli-repl: Add help for quiet and verbose (MONGOSH-581, #830)
- cli-repl: Add showStackTraces option (MONGOSH-601, #819)
- shell-api: Add db.rotateCertificates and db.hello (MONGOSH-277, #820)
- shell-api: Make DBQuery.shellBatchSize functional (MONGOSH-634, #805)
Bug Fixes
- shell-api: Correct KeyVault.createKey() error message (#828)
- cli-repl: Indent multi-line help descriptions properly (MONGOSH-717, #818)
- shell-api: Handle coll.stats() in sharded clusters (MONGOSH-731, #817)
- shell-api: Handle errors in cursor.map/.forEach (MONGOSH-703, #816)
- cli-repl: Hide prompt if --eval throws async err (MONGOSH-715, #812)
- cli-repl: Do not print prompt while evaluating (MONGOSH-700, #813)
- shell-api: Do not forward auth errors on completion (MONGOSH-719, #811)
- history: Do not modify empty history (MONGOSH-722, #810)
- cli-repl: Reject numerical positional CLI args (MONGOSH-728, #814)
- shell-api: Disallow setting unknown config settings (MONGOSH-713, #808)
See an overview of all solved issues in Jira
0.12.0
Features
- Add global shell settings API (MONGOSH-635, #780)
- shell-api: Add EJSON global (MONGOSH-670, #785)
- Flip async-rewriter switch (MONGOSH-651, #782)
Bug Fixes
- shell-api: Fix prompt for Atlas-proxy-style mongos (MONGOSH-680, #797)
- service-provider-core: Re-fix connection string casing (#781)
- shell-api: Copy bson classes’ prototypes to shell bson helpers (#788)
- shell-api: Do not expose internalState as global (#779)
- cli-repl: Print result of --eval (MONGOSH-683, #777)
- cli-repl: Print newline after password prompt (#778)
- shell-api: Remove custom Date constructor (MONGOSH-597, #776)
- shell-api: Never check $clusterTime in rs integration tests (#774)
See an overview of all solved issues in Jira
0.11.0
Features
- shell-api,cli-repl: Add versioned API args (MONGOSH-351, #769)
- Redact AWS_SESSION_TOKEN from connection string (MONGOSH-668, #759)
Bug Fixes
- async-rewriter2: Ensure sort without compare fn works (MONGOSH-676, #773)
- node-runtime-worker-thread: Reset require cache after interrupt (MONGOSH-666, #762)
- async-rewriter2: Handle typeof + identifier properly (#764)
- async-rewriter2: Treat for-in/of as assignments (#765)
- service-provider-core: Connection str options casing (MONGOSH-669, #760)
- java-shell: Update tests for latest server alpha (MONGOSH-667, #757)
- shell-evaluator: Only apply async-rewriter2 runtime support once (#758)
See an overview of all solved issues in Jira
0.10.1
Features
- async-rewriter2: Throw for async in sync contexts (MONGOSH-654, #755)
Bug Fixes
- async-rewriter2: Properly stringify functions (MONGOSH-664, #753)
- async-rewriter2: Ensure eval works (MONGOSH-665, #752)
- async-rewriter2: Fix interaction with domains (MONGOSH-662, #751)
See an overview of all solved issues in Jira
0.10.0
Features
- async-rewriter2: Introduce new async-rewriter alternative ✨ (#739)
- cli-repl: Support --eval (MONGOSH-626)
- cli-repl: Allow loading files from command line (MONGOSH-326)
- shell-api: Make dropIndexes() argument optional (MONGOSH-580, #728)
- cli-repl: Support tlsCertificateSelector on macOS (MONGOSH-574, #726)
- cli-repl: Add .mongoshrc.js support (MONGOSH-324, #727)
- cli-repl: Add version and os to telemetry (MONGOSH-614, #725)
- cli-repl: Support --quiet (MONGOSH-581, #719)
- cli-repl: Add tlsCertificateSelector support on Win32 (MONGOSH-573, #717)
Bug Fixes
- cli-repl: Spawn one mongocryptd per FLE-using shell (MONGOSH-595, #746)
- ci: Work around CI Windows git failure (MONGOSH-660, #750)
- async-rewriter2: Improve error messages (MONGOSH-656, #747)
- shell-api: Improve invalid input errors (MONGOSH-600, #742)
- Sh status should include not sharder dbs (MONGOSH-596)
- Insert should not add id to users object (MONGOSH-607)
- autocomplete: Do not act as if input is completion (MONGOSH-646, #735)
- Make explain output fully expanded (MONGOSH-583, #736)
- ci: Work around SERVER-55371 with mongod 4.2.13 (#737)
- cli-repl: Fix broken auth test
- async-rewriter: Give each input its own line (MONGOSH-644, #730)
- cli-repl: Allow interrupting load()ed code (MONGOSH-641, #724)
- shell-api: Follow-up findAndModify changes (#722)
- node-runtime-worker-thread: Propagate child process startup errors for thread runtime (#721)
- cli-repl: Add aws4 as dependency to cli-repl to enable AWS auth (#718)
See an overview of all solved issues in Jira