Change log for Azure Cosmos DB for MongoDB

The Change log for the API for MongoDB is meant to inform you about our feature updates. This document covers more granular updates and complements Azure Updates.

Azure Cosmos DB for MongoDB updates

Azure Cosmos DB for MongoDB 5.0 (Limited Preview)

The 5.0 version supports many new features such as distributed ACID transactions, higher limits for unsharded collections and for shards themselves, improved performance for aggregation pipelines and complex queries, and more.

Request access today to try out this Limited Preview!

Role-based access control (RBAC) (GA)

Azure Cosmos DB for MongoDB now offers a built-in role-based access control (RBAC) that allows you to authorize your data requests with a fine-grained, role-based permission model. Using this role-based access control (RBAC) allows you access with more options for control, security, and auditability of your database account data.

Learn more

16-MB limit per document in Cosmos DB for MongoDB (GA)

The 16-MB document limit in Azure Cosmos DB for MongoDB provides developers the flexibility to store more data per document. This ease-of-use feature will speed up your development process and provide you with more flexibility in certain new application and migration cases.

Learn more

Azure Data Studio MongoDB extension for Azure Cosmos DB (Preview)

You can now use the free and lightweight tool feature to manage and query your MongoDB resources using mongo shell. Azure Data Studio MongoDB extension for Azure Cosmos DB allows you to manage multiple accounts all in one view by:

  1. Connecting your Mongo resources
  2. Configuring the database settings
  3. Performing create, read, update, and delete (CRUD) across Windows, macOS, and Linux

Learn more

Linux emulator with Azure Cosmos DB for MongoDB

The Azure Cosmos DB Linux emulator with API for MongoDB support provides a local environment that emulates the Azure Cosmos DB service for development purposes on Linux and macOS. Using the emulator, you can develop and test your MongoDB applications locally, without creating an Azure subscription or incurring any costs.

Learn more

16-MB limit per document in Azure Cosmos DB for MongoDB (Preview)

The 16-MB document limit in the Azure Cosmos DB for MongoDB provides developers the flexibility to store more data per document. This ease-of-use feature will speed up your development process in these cases.

Learn more

Azure Cosmos DB for MongoDB data plane Role-Based Access Control (RBAC) (Preview)

Azure Cosmos DB for MongoDB now offers a built-in role-based access control (RBAC) that allows you to authorize your data requests with a fine-grained, role-based permission model. Using this role-based access control (RBAC) allows you access with more options for control, security, and auditability of your database account data.

Learn more

Azure Cosmos DB for MongoDB supports version 4.2

The Azure Cosmos DB for MongoDB version 4.2 includes new aggregation functionality and improved security features such as client-side field encryption. These features help you accelerate development by applying the new functionality instead of developing it yourself.

Learn more

Support $expr in Mongo 3.6+

$expr allows the use of aggregation expressions within the query language. $expr can build query expressions that compare fields from the same document in a $match stage.

Learn more

Role-Based Access Control for $merge stage

  • Added Role-Based Access Control(RBAC) for $merge stage.
  • $merge writes the results of aggregation pipeline to specified collection. The $merge operator must be the last stage in the pipeline

Learn more

Next steps