Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Azure DocumentDB continuously evolves with new features, performance improvements, and infrastructure enhancements. This article provides a comprehensive history of feature releases, engine updates, and service improvements for Azure DocumentDB. Each release includes details about new capabilities, query operator enhancements, and infrastructure changes to help you stay current with the latest developments.
Note
Items tagged as [Preview] require a support request to enable them on your cluster.
Latest
Important
Azure Cosmos DB for MongoDB (vCore) is now Azure DocumentDB (with MongoDB compatibility), powered by the open-source DocumentDB project.
This November 18, 2025 release renames the service from Azure Cosmos DB for MongoDB (vCore) to Azure DocumentDB along with other feature changes.
Enhancements
Index Advisor feature in Visual Studio Code: Built-in guidance for index tuning, performance insights, and query optimization. For more information, see Index Advisor feature.
MongoDB Migration extension for Visual Studio Code: End-to-end online migration experience for various workloads. For more information, see migrate using Visual Studio Code extension.
[Preview] Premium SSD v2 support: Next-generation storage delivering better performance at no extra cost. For more information, see high performance storage.
Reserved instances support: Save on costs over one-year or three-year terms.
Azure Cosmos DB for MongoDB to Azure DocumentDB migration: Integrated path for users moving from Azure Cosmos DB for MongoDB to Azure DocumentDB.
October 10, 2025
This October 10, 2025 release introduces schema validation with $jsonSchema, enhanced TTL index performance, and general availability of customer-managed keys and Microsoft Entra ID authentication.
Engine enhancements (1017)
[Preview] Add support for index pushdown for sort queries that filter on the
_idfield.[Preview] Add schema validation support for
$jsonSchemaduring rule creation or modification.[Preview] Add schema enforcement with CSFLE (client side field level encryption) integration.
[Preview] Time-to-live (TTL) index uses ordered index scan via index hints. TTL index performs batch deletions continuously for up to 60 seconds, instead of once every 60 seconds.
Infrastructure enhancements (1017)
Includes features from API version
2025-09-01:Data API
Microsoft Entra ID authentication
Ability to disable native auth.
Customer-managed key (CMK)
August 29, 2025
This release focuses on query performance improvements with index hints, enhanced commands, and bug fixes for aggregation operators.
Engine Enhancements (0829)
Introduced support for index hints. This feature allows you to explicitly specify an index during query execution.
[Preview] Enabled index-only scans on ordered indexes for count queries where filters can be pushed down to the index and no projections are applied.
[Preview] Improved parallel index build performance.
Improved point lookup queries for more efficient execution.
Enhanced
usersInfoandconnectionStatuscommands to return all supported roles (ReadWrite,UserAdmin,Root) and privilege sets (dbAdmin,userAdmin,clusterMonitor,clusterManager,hostManager).Improved query planning performance by introducing a custom planner for insert operations.
Fix bug in
$lastNand$bottomN.Fixed Response type of update to add compatibility to C++ drivers requiring response in 32 bit.
Enhanced error messages for output stages
$mergeand$out.
Infrastructure Enhancements (0909)
- Microsoft Entra ID support general availability.
July 15, 2025
This release brings index optimization improvements, HNSW index support for M30 tier, and enhanced TTL index behavior for better performance.
Engine Enhancements (0715)
[Preview] Enabled index pushdown optimization for
$sorton any field.Enabled index pushdown optimization for
$limit.[Preview] Added support for composite indexes on filter conditions.
Added support for Hierarchical navigable small world (HNSW) index for M30 cluster tier.
Enhanced TTL index behavior to continue processing even if the cluster becomes read-only due to disk full.
Improvements to parallel build for faster index creation on sharded and unsharded collection.
Infrastructure Enhancements (0730)
- [Preview] Added support for CMK, allowed only during provisioning phase.
May 05, 2025
This release includes v8 engine with enhanced data type conversion, improved ranking operators, and pipeline validation improvements.
-
Support
$converton binData to binData, string to binData and binData to string (except with format: auto).Added support for
$toUUIDto simplify string-to-UUID conversion.$rankand$denseRanknow treatnulland missing values the same while calculating rankings, aligning behavior with$sort.Pipeline Size Enforcement - Aggregation throws an error if the pipeline stage limit is exceeded.
$getFieldnow accepts any valid expression that resolves to a string, not just string constants.
Infrastructure Enhancements (0520)
- [Preview] Microsoft Entra ID support.
March 23, 2025
Engine Enhancements (0323)
Added support for the listDatabases command.
Added support for type aggregation operator
$toUUID.Added support for partial filter pushdown for
$inpredicates.Added support for the
$dateFromStringoperator with full functionality.Extended syntax for
$getFieldaggregation operator. Now the value of 'field' could be an expression that resolves to a string.Added support for top-level aggregate command let variables in the
$geoNearstage.Backend command support for statement time out is now available.
Introduced support for the
$toUUIDaggregation operator.Implemented full functionality for the
$dateFromStringoperator.Extended
$getFieldoperator to accept expressions resolving to a string for the field parameter.Extended collation support to aggregation stages:
$project,$redact,$set,$addFields,$replaceRoot.Enabled collation support with comparison operators (
$expr,$in,$cmp,$eq,$ne,$lt,$lte,$gt,$gte).Enabled default support for unique index truncation using a new operator class.
Introduced collation support with set operators in aggregation (
$setEquals,$setUnion,$setIntersection,$setDifference,$setIsSubset).
February 12, 2025
This release introduces the open-source PostgreSQL 17 build, optimized aggregation performance, and general availability of autoscale with geo-replica promotion support.
Engine Enhancements (0212)
Introduced open-source build of
pg_documentdbtargeting PostgreSQL 17.Added support for pushing
$graphLookuprecursive Common Table Expression (CTE) JOIN filters to the index, improving query efficiency.Enabled support for the following aggregation stages and commands:
currentOp,collStats,dbStats, andindexStats.Improved
$lookupperformance by allowing$unwindto be inlined whenpreserveNullAndEmptyArraysis enabled.Optimized aggregation by skipping document loading when the
$groupexpression is a constant.
Infrastructure Enhancements (0212)
Autoscale generally available.
[Preview] Change stream support for Kafka Debezium connector & Pymongo driver.
Enabled Promotion for Geo-Replica.
Expanded regional availability.
Switzerland WestJio India West
January 23, 2025
This release marks a significant milestone with the open-source release of the Azure DocumentDB engine.
- We open sourced the engine behind Azure DocumentDB! For more information, see https://github.com/documentdb.
October 14, 2024
This release enables background index builds by default, expands $setWindowFields capabilities, and adds support for the $fill aggregation stage.
Index builds to run in background by default.
Support for more options with
$setWindowFields.$integral.$derivative.$expMovingAvg.$linearFill.$locf.$documentNumber.$shift.Added support for more operators with
$group.$top,$topN,$bottom,$bottomN,$first,$firstN,$last,$lastN,$maxN,$minN.
$max.$min.
Support added for aggregation operators.
$toHashedIndexKey.
Support added for aggregation stages.
$fill.
Added support for
wallTimewith ChangeStreams.
September 16, 2024
Gated Preview for ChangeStream.
Gated Preview for Runtime support of Collation with
$find/$aggregatequeries.Large Index keys enabled as default option for indexing.
Added support for
$DbRefwith more fields$ref/$id/$db, with limitation of the option withelemMatch.Support added for trigonometric aggregation operators.
Support for more options with
$setWindowFields.$count.$addToSet.$push.$avg.$rank.$denseRank.$covariancePop$covarianceSamp
Support for
$letwith following.$lookup.$find.$aggregate.
Support for
$mergeaggregation stage with following.whenMatched:
replace/keepExisting/merge/fail.whenNotMatched:
insert/discard/fail.
August 05, 2024
Geospatial support is now generally available.
Support for TLS1.3 for mongo connections.
Support for accumulators
$mergeObjects.
Support for aggregation operators
$bitAnd.$bitOr.$bitXor.$bitNot.$let.
Support for aggregation stage
$bucket.$vectorSearch.$setWindowFields(Only with$sumwindow accumulator).
Geospatial query operators
$minDistance.$maxDistance.$near.$nearSphere.
July 02, 2024
This release adds new customer activity and request metrics, plus preview support for geospatial operators and accumulator enhancements.
Metrics added
Customer Activity.
Requests.
[Preview] Support for accumulators
$mergeObjects.
[Preview] Support for aggregation operator
$let.
[Preview] Geospatial query operators
$minDistance.$maxDistance.
May 06, 2024
This release introduces geospatial aggregation, large index key support, geo-replicas, and performance improvements for group and distinct operations.
Query operator enhancements.
$geoNearaggregation. Aggregation stage can be enabled through Flag -Geospatial supportSupport for accumulators
$push.$addToSet.$tsSecond/$tsIncrement.$map/$reduce.
Support for date expressions
$dateAdd.$dateSubtract.$dateDiff.
Support for aggregation operators
$maxN/$minN.$sortArray.$zip.
Creating indexes with large index keys: values larger than 2.7 KB.
Geo replicas enabling cross-region disaster recovery and reads scaling.
Improved performance of group and distinct.
Improved performance for
$geoWithinqueries with$centerSpherewhen radius is greater than π.
April 16, 2024
This release adds $graphLookup support and significant performance improvements for existence checks, range queries, and indexed scans.
Query operator enhancements.
$centerSpherewith index pushdown along with support for GeoJSON coordinates.$graphLookupsupport.
Performance improvements.
$exists,{ $eq: null },{ $ne: null }by adding new index terms.scans with
$in/$nq/$nein the index.compare partial (range) queries.
March 18, 2024
This release adds portal support for private endpoints, HNSW vector indexing for M40+ tiers, and preview of geospatial queries with background index builds.
Private Endpoint support enabled on Portal.
[Preview] Enable Geo-spatial queries.
Query operator enhancements.
$centerSpherewith index pushdown.$min&$maxoperator with$project.$binarySizeaggregation operator.
[Preview] Ability to build indexes in background (except Unique indexes).
March 03, 2024
This release contains enhancements to the Explain plan and various vector filtering abilities.
Allows filtering by metadata columns while performing vector searches.
The
Explainplan offers two different modesDescription allShardsQueryPlanThis mode is a new explain mode to view the query plan for all shards involved in the query execution. This mode offers a comprehensive perspective for distributed queries. allShardsExecutionThis mode presents an alternative explain mode to inspect the execution details across all shards involved in the query. This mode provides you with comprehensive information to use in performance optimization. Free tier support is available in more regions.
The ability to build indexes in the background is now available in preview.