MongoDB Compass Changelog

What's new in MongoDB Compass 1.40.4

Nov 7, 2023
  • New Feature:
  • Integrated search index signals (COMPASS-7176)
  • Bug Fixes:
  • Fixed tab behavior with selection (COMPASS-7013)
  • UI fixes (COMPASS-7304)
  • Made column widths smaller (COMPASS-7341)
  • Remediated vulnerability SNYK-JS-BABELTRAVERSE-5962462 (COMPASS-7345)

New in MongoDB Compass 1.40.3 (Oct 16, 2023)

  • New Features:
  • Introduced the ability to create and manage Atlas Search indexes in Compass:
  • After creating a $search index you are now redirected to the search indexes modal
  • Field names are now autocompleted when defining indexes.
  • Syntax errors are now highlighted when defining indexes.
  • The vectorEmbedding index template definition replaced knnVector.
  • Improved AI feedback experience. For more information on Generative AI natural language queries in Compass, see Query with Natural Language.
  • Removed useNewUrlParser and useUnifiedTopology from export to language options
  • Bug Fixes:
  • Fixed GUI flicker when closing the search index modal
  • Downgraded Electron to version 25.8.4
  • Corrected an error displaying collections in Atlas Data Federation through the side bar
  • Fixed an issue when the insert dialog did not catch invalid bson

New in MongoDB Compass 1.40.1 Beta 0 (Sep 27, 2023)

  • New Features:
  • feat(search-indexes): run an aggregation COMPASS-7168
  • feat(search-indexes): add a drop down to choose a search index template COMPASS-7173
  • Bug Fixes:
  • fix(preferences, settings, atlas-service): ensure Atlas Login doesn't show in settings if user didn't get the Gen AI feature rollout

New in MongoDB Compass 1.40.0 (Sep 27, 2023)

  • New Features:
  • feat: bump mongosh to 2.0.0, driver to 6.0.0 COMPASS-7057
  • feat(compass): bump to electron 26
  • feat(data-service): setup local atlas detection COMPASS-7213
  • feat(preferences-model): enable using natural language to generate queries and pipelines COMPASS-6866
  • feat: display local Atlas dev environments as such COMPASS-7156
  • feat: introduce $vectorSearch aggregation stage to 7.1 and 7.0.x COMPASS-7064
  • feat(search-indexes): enable search indexes management COMPASS-7238
  • feat(compass-aggregations): update mongodb-constants to show $vectorSearch operator for mongodb 6.0.10
  • Bug Fixes:
  • fix(query-bar): account for changed key order in query COMPASS-7194
  • fix(aggregations, explain-plan): remove out stages before running explain plan COMPASS-7012
  • fix: more auto-update logging, disable if not supported COMPASS-7220
  • fix: don't automatically select regex when detecting regex COMPASS-7144

New in MongoDB Compass 1.39.4 (Sep 27, 2023)

  • Bug Fixes:
  • Allows [object Object] as a valid string value in TypeChecker (COMPASS-7132).
  • Doesn't treat non-numbers in CSV headers as array indexes (COMPASS-7157).
  • Limits when custom paste handling is applied and uses clipboard data when auto-fixing user input (COMPASS-7149).
  • Updates Electron to v24.8.2 to address security vulnerabilities. This updates specifically addresses CVE-2023-4427 and CWE-119.

New in MongoDB Compass 1.39.3 (Sep 6, 2023)

  • Bug Fix:
  • Fix compatibility issue for saved connections in older versions of MongoDB Compass
  • (COMPASS-7141)

New in MongoDB Compass 1.39.0 (Jul 24, 2023)

  • New features:
  • Enable proactive performance insights by default. Proactive performance insights analyze your queries and suggest ways to improve performance. (COMPASS-7000)
  • Bug Fixes:
  • Fix issue where Compass would create an incorrect index. (COMPASS-6981)
  • Ensure that Compass displays indexes in the correct case. (COMPASS-6510)
  • Cap number of log files to 100. (MONGOSH-1449)
  • Map project to projection before emitting open-explain-plan event (COMPASS-6995)
  • Fix issue with Windows hotkeys. (COMPASS-6777)
  • Handle missing execution stats in raw explain.

New in MongoDB Compass 1.38.0 (Jun 22, 2023)

  • New Features:
  • OpenID Connect (OIDC) authentication
  • Stage wizard, which helps build aggregation pipelines
  • Add visual tree and update summary for aggregation explain plans Open a collection in a new tab shortcut.
  • Add performance tab indicator to state that information about certain collections is missing
  • Add Atlas error message when connection fails because of IP access issue
  • Show insight when query is unindexed
  • Show insight when number of collections is too high
  • Add unindexed aggregation insight
  • Implement guide cue component in Compass to provide contextual user interface assistance
  • Add support for hiding and unhiding indexes in the Index tab.
  • Bug Fixes:
  • Add file type filters when exporting data
  • Rename "Less Options" to "Fewer Options"
  • Support dark mode for TypeEditor drop down
  • Fix execution time for aggregation explain plan
  • Fix fast XML parser issue
  • Use enableShell setting to control the runtime start and stop.
  • Include has_sort in telemetry.
  • Various jQuery fixes
  • Replace got with fetch in redirect1
  • Fix redirects
  • Show 1 as the page number for collections when no entries are present.
  • Select combo box option onBlur issue
  • Use mongodb-cloud-info v2 for IPv6 support in cloud metrics
  • Fix editor dark mode background selection color
  • Disable the autoupdater for MSI installs (Windows without Squirrel) (-6857.
  • Fix for bulkWrite when importing data

New in MongoDB Compass 1.36.4 (May 16, 2023)

  • New Features:
  • Update add data icon to plus with circle from download (COMPASS-6494)
  • Show import progress in toast, make import background (COMPASS-6540
  • , COMPASS-6555)
  • Import progress (COMPASS-6721)
  • Update new connection text to new window (COMPASS-6723)
  • Bug Fixes:
  • Remove re-count when not available (COMPASS-5179
  • , COMPASS-6649)
  • Fill autocomplete on tab (COMPASS-6695)
  • W error border when focused (COMPASS-6724)
  • Compass readonly allows to drop namespaces from the sidebar (COMPASS-6687)
  • Fixes the problem of refresh button on collection tab not refreshing the collection stats (COMPASS-6738)
  • Update windows config file fetching location one folder up (COMPASS-6527)
  • If listCSVFields() or analyzeCSVFields() fails it will display the error in the modal (COMPASS-6737)

New in MongoDB Compass 1.34.1 (Nov 23, 2022)

  • New Features:
  • Add command-line interface and global configuration
  • Flip the new toolbars feature flag, always show new toolbars
  • Add autocompleter for aggregation, use autocompleter in import pipeline modal
  • Add protectConnectionStrings option
  • Adds the networkTraffic configuration option to block outgoing network connections
  • Show icons in the sidebar menus
  • Rebranding components
  • Layout improvements
  • Add theme as regular setting
  • Bug Fixes:
  • Fix installation issues on Windows
  • Fix map rendering and add e2e tests
  • Reconnect CSFLE client after collMod
  • Improve selection area for insert document editor
  • Add map for collection stats for tab namespace isolation
  • Open info links in browser
  • Menu not fully showing for field actions, remove old backgrounds

New in MongoDB Compass 1.33.1 (Sep 21, 2022)

  • New Features:
  • Update saved aggregations to open as popover
  • Add error message hint for crud timeout message
  • Show namespace on saved queries and pipelines popovers
  • Add sparse option for indexes
  • Only show columnstore index option for mongodb server >= 7
  • Add progress badge to the indexes table
  • Fix table header for indexes
  • Bug Fixes:
  • Adjust crypt shared library download script for M1 builds
  • Hide collection submenu on disconnect
  • Align delete index modal text
  • Fix updating arrays with dots in names
  • Hide document views when there are no documents
  • Fix import deep JSON overwriting variables

New in MongoDB Compass 1.33.0 (Sep 3, 2022)

  • New Features:
  • arm64 build for darwin is now available (COMPASS-5574)

New in MongoDB Compass 1.32.3 (Jul 19, 2022)

  • New Features:
  • Bson-transpilers: Export to PHP from Compass (PHPLIB-719)
  • Compass-components: Enable ACE code formatter (COMPASS-5923)
  • Compass-indexes: Update toolbar to leafygreen components (COMPASS-5676 )
  • Connect: Add Save & Connect button (COMPASS-5776 )
  • Explain-plan-helper: Add support for indexes in stages (COMPASS-5878)
  • Bug Fixes:
  • Automatically refresh after CSFLE insert (COMPASS-5806)
  • Improve Binary handling (COMPASS-5848)
  • Align elements on the create collection modal (COMPASS-5921)
  • Connection-form: Align advanced tab and input field widths
  • Import: Pre-create an empty object before creating its properties (COMPASS-5076)
  • Ace-autocompleter: Provide a special snippet for $merge stage in ADL
  • Connect-form: Connect to the newly created favourite (COMPASS-5776)
  • Documents: Fixes to recent queries:
  • Queries: Ignore duplicate recent queries (COMPASS-2237)
  • Aggregation-explain: Show indexes (COMPASS-5879)
  • Explain-plan-helper: Use execution time of cursor stage (COMPASS-5858)

New in MongoDB Compass 1.32.2 (Jun 7, 2022)

  • Fixes an issue where $merge and $out aggregation stages would not appear in the pipeline builder when connected to a Data Lake.

New in MongoDB Compass 1.32.0 (Jun 3, 2022)

  • New Features:
  • Adds explain plan for aggregations (COMPASS-5788)
  • Allows import into Queryable Encryption collections (COMPASS-5810)
  • Bug Fixes:
  • In the pipeline builder, hide the stage error message when changing the aggregation operator (COMPASS-5684)
  • Remove unique option on columnstore index creation (COMPASS-5830)
  • Reconnect the SSH tunnel when it gets disconnected (COMPASS-5454)

New in MongoDB Compass 1.31.0 (Apr 1, 2022)

  • New Features:
  • New connection experience:
  • Add new form for Kerberos options.
  • Support loading system CA store.
  • Use new favorite connection modal in sidebar.
  • Add support for MONGODB_AWS.
  • Aggregation and Query Improvements:
  • New saved aggregation and queries view.
  • Add link and descriptions for the $densify aggregation stage.
  • Add ability to export queries and aggregations to Ruby.
  • Update aggregation result preview card styles.
  • Bug Fixes:
  • Schema Tab Fixes:
  • Fix shift selecting multiple items in schema tab.
  • Unambiguously display latitude and longitude on map.
  • CRUD Fixes:
  • Allow empty JSON input.
  • Increase input width for query bar max timeout ms area.
  • Miscellaneous Fixes:
  • Add directConnection=true when converting from old model.
  • Pick only specified columns when exporting data as JSON.
  • Hide SSH tunnel password.

New in MongoDB Compass 1.31.0 Beta 11 (Mar 1, 2022)

  • Bug Fixes:
  • Does not automatically set directConnection=true. You must explicitly declare directConnection=true.

New in MongoDB Compass 1.30.1 Beta (Jan 18, 2022)

  • New Features:
  • Add link and descriptions for the $documents stage.
  • Connect form: Add SSL/TLS option radio box group.
  • Databases and Collections: Add async loading states for databases and collections list.
  • Export secrets methods and parse raw models.
  • Styles: Add darkreader dark theme option.
  • Connections: Add general tab contents to connect form.
  • Support MongoDB 5.2 aggregations.
  • Bug Fixes:
  • Remove unused vars.
  • SSH Tunnel: Remove unused import.
  • BSON Transpilers: Account for bson Decimal128 validation changes.
  • Make SSH tunnel use Socks5.
  • Compass Logging: Bump mongodb-log-writer to allow browser envs.
  • Move theme menu from help to view in non mac/darwin.
  • Connections:
  • Hide socks tab on SSH form.
  • Add SSH label.
  • Remove compass-components from prod dependencies.
  • toggle-shell: Use key instead of keyCode.
  • Data-service:
  • Do not return name from adapted dbStats
  • Do not ignore directConnection=false
  • mocha-config-compass: Disable source map processing when running code in electron / web runtime in tests

New in MongoDB Compass 1.29.4 (Nov 22, 2021)

  • New Features:
  • Improved MongoDB Compass startup time.
  • Adds support for MongoDB 5.1 features.
  • Improved reliability for connections.
  • MongoDB Compass now uses:
  • Electron version 13
  • Node version 14

New in MongoDB Compass 1.28.4 (Oct 29, 2021)

  • New Features:
  • Enables resizing the preview area for aggregation pipelines.
  • Allows hiding the Query History and Export to Language buttons in the query view.
  • Bumps mongosh version for the embedded shell to 1.0.4.
  • Bug Fixes:
  • Properly supports all Kerberos options.
  • Fixed an issue with geospatial queries being incorrectly merged.

New in MongoDB Compass 1.28.1 (Oct 29, 2021)

  • New Features:
  • Adds support for load balancer connections.
  • Adds a Granularity option when creating a time series collection.
  • Disallows editing schema validation for time series collections.
  • Bug Fixes:
  • Hides the Drop Collection button in readonly Compass.
  • Geoqueries no longer populate query bar fields with null.

New in MongoDB Compass 1.26.1 Beta 7 (Apr 7, 2021)

  • New Features:
  • Allows functions in the query bar and aggregations.
  • When navigating to the Databases view, Compass now clears a previously selected collection from the left navigation.
  • Updates the embedded MongoDB Shell to version 0.9.0.
  • Bug Fixes:
  • Compass now displays the expected value when you update fields in the table view.
  • Creating a collection or database is now prohibited when form fields are empty.
  • Schema tab graphs no longer fail to render when switching tabs.
  • SSH tunnel no longer hangs on disconnect

New in MongoDB Compass 1.25.0 (Mar 4, 2021)

  • New Features:
  • Updates the embedded MongoDB Shell to version 0.6.1.
  • Improvements to connection validation.
  • Bug Fixes:
  • Compass no longer crashes during startup on certain versions of Windows. For more information see COMPASS-4510.
  • When connecting to a MongoDB deployment, Compass no longer automatically inserts a value of 27017 for Port when Port is left blank.
  • Compass no longer displays the incorrect port number when connecting to MongoDB via SRV record.

New in MongoDB Compass 1.24.0 Beta 2 (Dec 1, 2020)

  • Fixes an issue with updating documents on sharded collections.

New in MongoDB Compass 1.24.0 Beta 1 (Nov 20, 2020)

  • Fixes an issue with updating documents on sharded collections

New in MongoDB Compass 1.22.1 (Sep 10, 2020)

  • Added an embedded MongoDB Shell. You can use MongoDB Shell to test queries and operations in an interactive JavaScript interface.

New in MongoDB Compass 1.22.0 Beta 4 (Jul 23, 2020)

  • Added an embedded MongoDB Shell. You can use MongoDB Shell to test queries and operations in an interactive JavaScript interface.

New in MongoDB Compass 1.21.1 (May 8, 2020)

  • Improved experience for importing and exporting data.
  • Improved CSV parsing when importing data.
  • Added support for importing a subset of fields from CSV.
  • Provides guidance to upgrade from Community Edition. Community Edition is now deprecated. To learn more, see Migrate to Compass from Compass Community.
  • Various bug fixes and improvements.

New in MongoDB Compass 1.20.1 (Dec 6, 2019)

  • New and improved Connection experience with support for all connection options.
  • Improved user experience for saving and sharing Favorite Connections.
  • Added JSON mode for managing documents. With JSON mode, you can now insert multiple documents at once.
  • Added support for querying UUIDs via the Documents query bar or in the Aggregation Pipeline Builder.
  • Added support for the following aggregation pipeline operators:
  • set
  • unset
  • replaceWith
  • Improved inline documentation for aggregation pipeline arguments.
  • Removed $limit ahead of the $count stage in the aggregation pipeline builder to ensure accurate counts on large collections. Prior versions of MongoDB Compass placed a $limit stage before $count stages in the Aggregation Pipeline Builder for large collections, even when sample mode was disabled.
  • Various bug fixes and improvements.

New in MongoDB Compass 1.19.2 (Aug 14, 2019)

  • Added support for:
  • Views. You can create views based on results from an aggregation pipeline.
  • Wildcard Indexes.
  • Killing long-running operations from the Performance Tab.
  • Adjusting the maximum timeout for queries executed in the Query Bar.
  • New settings available in the aggregation pipeline builder. You can now specify a sample size, number of documents to preview, and a maximum timeout for your pipeline operations.
  • Obscures fields encrypted with Field-Level Encryption. These fields cannot be modified by Compass users.
  • Compass now warns users who are connected to non-genuine MongoDB servers. For more information, see this entry in the FAQ.

New in MongoDB Compass 1.18.0 Beta 3 (Apr 19, 2019)

  • Documents tab is the default
  • Schema sampling only on demand
  • Explain executed only on demand
  • Improved Document Editing
  • Deployment Awareness (and read preference)
  • Added ability to specify replica set name and read preference in connection screen.
  • Added ability to parse MongoDB URI string in the connection screen.
  • Allow typing index field names in addition to dropdown
  • Use Client Meta Data to identify Compass application name in server logs
  • New Loading animation

New in MongoDB Compass 1.16.0 Beta (Oct 6, 2018)

  • Added collation support to the following features:
  • Create a Collection
  • Create a Database
  • Create an Index
  • Query Bar
  • Aggregation Pipeline Builder
  • Added the ability to find text within a page using either Ctrl + F or Command + F, depending on your platform.
  • Reduced the required permissions to use MongoDB Compass.
  • Various bug fixes and improvements.

New in MongoDB Compass 1.15 (Aug 31, 2018)

  • Added support for importing plain text pipelines into the Aggregation Pipeline Builder.
  • Added support for exporting aggregation pipelines and exporting queries in the syntax of the following languages:
  • Java
  • Node
  • Python 3

New in MongoDB Compass 1.14.7 (Aug 16, 2018)

  • Added Aggregation Pipeline Builder, which provides the ability to execute aggregation pipelines to gain additional insight into your data.
  • Added MongoDB Compass Isolated Edition which restricts network requests to only the server Compass connects to.

New in MongoDB Compass 1.14 Beta (Jun 14, 2018)

  • Added Aggregation Pipeline Builder, which provides the ability to execute aggregation pipelines to gain additional insight into your data.
  • Added MongoDB Compass Isolated Edition which restricts network requests to only the server Compass connects to.

New in MongoDB Compass 1.13 (Jun 14, 2018)

  • Added ability to import and export data in JSON and CSV format.

New in MongoDB Compass 1.12.2 (Mar 13, 2018)

  • Added MongoDB Compass Readonly Edition which provides the ability to limit certain CRUD operations within your organization.
  • The following actions are not permitted in Compass Readonly Edition:
  • Create and drop databases
  • Create and drop collections
  • Create, delete, edit and clone documents
  • Create and drop indexes
  • Create, delete and edit document validation rules
  • All other functionality remains the same as in standard MongoDB Compass.
  • Added support for connecting to Compass using an SRV record. In the connect dialog, if Compass detects an SRV record URI on the clipboard it auto-completes the dialog based on the SRV record.
  • Made various performance and stability inprovements to the documents tab.

New in MongoDB Compass 1.11 (Dec 22, 2017)

  • Added support for plugins that extend the functionality of MongoDB Compass.
  • Added support for disconnecting from the active MongoDB instance without restarting MongoDB Compass.
  • Added Table View for documents as a method of viewing the contents of a collection in tabular format.

New in MongoDB Compass 1.10.4 (Nov 7, 2017)

  • Now available in two editions, Compass Community and Compass.
  • Compass provides the following features not in the Community edition:
  • Kerberos Authentication
  • LDAP Authentication
  • x509 Authentication
  • Schema Analysis
  • Real Time Server Stats
  • Document Validation

New in MongoDB Compass 1.8.0 (Aug 4, 2017)

  • Added ability to specify replica set name and read preference in connection screen.
  • Added ability to parse MongoDB URI string in the connection screen.

New in MongoDB Compass 1.7 (Jun 21, 2017)

  • Added ability to include options in the query bar.
  • Added ability to add or delete database/collection from the left-hand navigation sidebar.
  • Added ability to collapse the left-hand navigation sidebar.

New in MongoDB Compass 1.6 (Apr 18, 2017)

  • Added support for Linux: Ubuntu 14.04+ and RHEL 7+.
  • Added ability to zoom in and zoom out of panels.

New in MongoDB Compass 1.5 (Jan 16, 2017)

  • Added ability to create and drop databases.
  • Added ability to create and drop collections.
  • Added ability to create indexes.
  • Added support for document validation.
  • Improved security when connecting to Atlas. During Connection setup, MongoDB Compass supports the use of System Certificate Authority for TLS/SSL connections to Atlas Deployment.
  • Provides Real Time Performance stats.

New in MongoDB Compass 1.4 (Jan 16, 2017)

  • Add support for connecting to Atlas.
  • Various bug fixes and improvements.