Skip to content

Releases: mongodb-js/mongosh

0.15.0

11 Jun 09:18
Compare
Choose a tag to compare

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

28 May 07:30
39df2de
Compare
Choose a tag to compare

Features

Bug Fixes

See an overview of all solved issues in Jira

0.13.2

20 May 16:57
7517f44
Compare
Choose a tag to compare

Features

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

18 May 16:57
fbb2223
Compare
Choose a tag to compare

Bug Fixes

  • ci: Add npm run bootstrap-ci to release_publish task (#876)

See an overview of all solved issues in Jira

0.13.0

18 May 14:28
51ffe4e
Compare
Choose a tag to compare

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

30 Apr 15:54
9205f20
Compare
Choose a tag to compare

Features

Bug Fixes

See an overview of all solved issues in Jira

0.12.0

23 Apr 12:47
0ede48a
Compare
Choose a tag to compare

Features

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

08 Apr 11:24
3f9e433
Compare
Choose a tag to compare

Features

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

01 Apr 17:09
dacbc9f
Compare
Choose a tag to compare

Features

Bug Fixes

See an overview of all solved issues in Jira

0.10.0

31 Mar 14:03
39036d7
Compare
Choose a tag to compare

Features

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