Release notes for Azure Cosmos DB for MongoDB vCore

This article contains release notes for the API for MongoDB vCore. These release notes are composed of feature release dates, and feature updates.

Latest release: October 14, 2024

  • 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 operator.
    • $toHashedIndexKey.
  • Support added for aggregation stage.
    • $fill.
  • Support for wallTime with ChangeStreams.

Previous releases

Latest release: September 16, 2024

  • Gated Preview for ChangeStream.
  • Gated preview for Runtime support of Collation with $find / $aggregate queries.
  • Large Index keys enabled as default option for indexing.
  • Added support for $DbRef with additional fields $ref/$id/$db, with limitation of the option with elemMatch.
  • Support added for trigonometric aggregation operators.
  • Support for more options with $setWindowFields.
    • $count.
    • $addToSet.
    • $push.
    • $avg.
    • $rank.
    • $denseRank.
    • $covariancePop
    • $covarianceSamp
  • Support for $let with following.
    • $lookup.
    • $find.
    • $aggregate.
  • Support for $merge aggregation stage with following.
    • whenMatched : "replace" / "keepExisting" / "merge" / "fail".
    • whenNotMatched : "insert" / "discard" / "fail".

August 05, 2024

  • Geospatial support is now GA.
  • MongoDB vCore v7 released.
  • 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 $sum window accumulator).
  • Geospatial query operators
    • $minDistance.
    • $maxDistance.
    • $near.
    • $nearSphere.

July 02, 2024

  • Metrics added

    • Customer Activity.
    • Requests.
  • Support for accumulators [Preview]

    • $mergeObjects.
  • Support for aggregation operator [Preview]

    • $let.
  • Geospatial query operators [Preview]

    • $minDistance.
    • $maxDistance.

May 06, 2024

  • Query operator enhancements.

    • $geoNear aggregation. This can be enabled through Flag - Geospatial support for vCore "MongoDB for CosmosDB" (Preview feature)

    • Support 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 $geoWithin queries with $centerSphere when radius is greater than π.

April 16, 2024

  • Query operator enhancements.

    • $centerSphere with index pushdown along with support for GeoJSON coordinates.
    • $graphLookup support.
  • Performance improvements.

    • $exists, { $eq: null}, {$ne: null} by adding new index terms.
    • scans with $in/$nq/$ne in the index.
    • compare partial (Range) queries.

March 18, 2024

  • Private Endpoint support enabled on Portal.
  • HNSW vector index on M40 & larger cluster tiers.
  • Enable Geo-spatial queries. (Preview)
  • Query operator enhancements.
    • $centerSphere with index pushdown.
    • $min & $max operator with $project.
    • $binarySize aggregation operator.
  • Ability to build indexes in background (except Unique indexes). (Preview)

March 03, 2024

This release contains enhancements to the Explain plan and various vector filtering abilities.

  • The API for MongoDB vCore allows filtering by metadata columns while performing vector searches.

  • The Explain plan offers two different modes

    Description
    allShardsQueryPlan This 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.
    allShardsExecution This 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. These regions now include East US 2. For more information, see Azure Cosmos DB pricing.

  • The ability to build indexes in the background is now available in preview.