github mongodb-js/mongosh v0.3.1
0.3.1

latest releases: v2.2.5, v2.2.5-draft.0, v2.2.4...
3 years ago

API Updates

  • Added a few more methods to Cursor .
  • Added support for query PlanCache methods.
  • Added support error helper methods.
  • Added support for show users, show profile, show logs, show log[name] .
  • [Breaking change comparing with mongo] Consistently throw when result of command has ok: 0.
    The old shell and the driver have a behavior that is not consistent from one command to another. We decided to standardize the user-facing behavior here. Whenever a shell helper issues a db command that results in {ok: 0} the shell will throw an error. Running the raw command, however, will not throw and will just print whatever the server returns.

Bug Fixes

This release also builds an rpm artifact which can be downloaded from the downloads centre or from the attached assets to this release. It can then be installed on redhat-like distros with:

rpm --install /path/to/rpm/artifact

Release notes in Jira

Don't miss a new mongosh release

NewReleases is sending notifications on new releases.