ApsaraDB for MongoDB periodically releases minor versions to add new features or fix known bugs. Use this page to check what changed in each minor version, assess whether a security fix or bug fix applies to your instance, and decide whether to upgrade.
Check and upgrade your minor version
Log on to the ApsaraDB for MongoDB console. On the Basic Information page of your instance, find the current minor version in the Instance Information section.

To upgrade, see Upgrade the minor engine version of an instance.
Notes
Release schedules may vary by region. Check the console for the latest availability.
Base version refers to the corresponding MongoDB Community Edition version number.
MongoDB 8.0
| Minor version | Release date | Base version | Notes |
|---|---|---|---|
| 9.0.6 | 2025-12-22 | 8.0.16 | Security fix: Fixed the CVE-2025-14847 security vulnerability. Base version update: Updated to 8.0.16. |
| 9.0.5 | 2025-11-18 | 8.0.14 | New feature: Added support for forced SSL encryption. Improvement: The drop, dropIndex, and dropDatabase commands can now run when the disk is full and locked. Bug fix: Fixed the SERVER-103841 bug (memory leak caused by long-running distributed transactions). Base version update: Updated to 8.0.14. |
| 9.0.4 | 2025-10-16 | 8.0.12 | Base version update: Updated to 8.0.12. |
| 9.0.3 | 2025-06-27 | 8.0.10 | Security fix: Fixed the CVE-2025-6712 and CVE-2025-6714 security vulnerabilities. Bug fix: Fixed the SERVER-92806 (CA) bug. Base version update: Updated to 8.0.10. |
| 9.0.2 | 2025-05-26 | 8.0.8 | Bug fix: Fixed an issue where a new virtual IP address (VIP) was not automatically pushed after switching the VPC. |
| 9.0.1 | 2025-05-14 | 8.0.8 | Security fix: Fixed the CVE-2025-3082, CVE-2025-3083, CVE-2025-3084, CVE-2025-3085, CVE-2025-6706, CVE-2025-6707, CVE-2025-6709, CVE-2025-6710, and CVE-2025-6713 security vulnerabilities. Bug fix: Fixed the SERVER-97860 (CA) bug. Base version update: Updated to 8.0.8. |
| 9.0.0 | 2025-03-27 | 8.0.3 | First official release of MongoDB 8.0. |
MongoDB 7.0
| Minor version | Release date | Base version | Notes |
|---|---|---|---|
| 8.0.13 | 2025-12-22 | 7.0.26 | Security fix: Fixed the CVE-2025-14847 security vulnerability. |
| 8.0.12 | 2025-11-18 | 7.0.26 | Improvement: The drop, dropIndex, and dropDatabase commands can now run when the disk is full and locked. Base version update: Updated to 7.0.26. |
| 8.0.11 | 2025-10-16 | 7.0.24 | Base version update: Updated to 7.0.24. |
| 8.0.10 | 2025-08-07 | 7.0.21 | New feature: Added support for forcibly refreshing the oplog stone. Bug fix: Fixed the incompatibility issue of the $merge aggregate operator in sharded clusters. |
| 8.0.9 | 2025-06-27 | 7.0.21 | Security fix: Fixed the CVE-2025-6706, CVE-2025-6707, CVE-2025-6709, CVE-2025-6710, CVE-2025-6713, and CVE-2025-6714 security vulnerabilities. Bug fix: Fixed the SERVER-92806 (CA) bug. Base version update: Updated to 7.0.21. |
| 8.0.8 | 2025-05-26 | 7.0.16 | Bug fix: Fixed an issue where a new VIP was not automatically pushed after switching the VPC. |
| 8.0.7 | 2025-01-22 | 7.0.16 | Security fix: Fixed the CVE-2024-10921, CVE-2025-3082, CVE-2025-3083, CVE-2025-3084, and CVE-2025-3085 security vulnerabilities. Base version update: Updated to 7.0.16. |
| 8.0.6 | 2024-12-09 | 7.0.14 | Improvement: Improved the performance of the compact command. Bug fix: Fixed an issue where audit logs were truncated. Fixed an issue where the connection count was incorrectly displayed in serverStatus() output. |
| 8.0.5 | 2024-09-03 | 7.0.14 |
|
| 8.0.4 | 2024-06-17 | 7.0.10 |
|
| 8.0.2 | 2024-01-24 | 7.0.3 | Bug fix: Fixed an issue where clients could not connect to MongoDB nodes within the same VPC. |
| 8.0.1 | 2024-01-10 | 7.0.3 | Improvement: Optimized minor version compatibility — unrecognized parameter settings are now ignored. Restricted account permissions to prevent security risks from accounts with excessive permissions. First official release of MongoDB 7.0. |
MongoDB 6.0
| Minor version | Release date | Base version | Notes |
|---|---|---|---|
| 7.0.22 | 2025-12-22 | 6.0.26 | Security fix: Fixed the CVE-2025-14847 and CVE-2025-11979 security vulnerabilities. Bug fix: Fixed the SERVER-103960 bug. |
| 7.0.21 | 2025-11-18 | 6.0.26 | Improvement: The drop, dropIndex, and dropDatabase commands can now run when the disk is full and locked. |
| 7.0.20 | 2025-10-16 | 6.0.26 | Base version update: Updated to 6.0.26. |
| 7.0.19 | 2025-08-07 | 6.0.24 | New feature: Added support for forcibly refreshing the oplog stone. Added the wiredTiger.backupCursorOpen field to serverStatus() to display backup status. Bug fix: Fixed the incompatibility issue of the $merge aggregate operator in sharded clusters. |
| 7.0.18 | 2025-06-27 | 6.0.24 | Security fix: Fixed the CVE-2025-6707, CVE-2025-6709, CVE-2025-6710, CVE-2025-6713, and CVE-2025-6714 security vulnerabilities. Bug fix: Fixed the SERVER-92806 (CA) bug. Base version update: Updated to 6.0.24. |
| 7.0.17 | 2025-05-26 | 6.0.20 | Bug fix: Fixed an issue where a new VIP was not automatically pushed after switching the VPC. |
| 7.0.16 | 2025-04-07 | 6.0.20 | New feature: Sharded cluster audit logs now expose client IP addresses. Bug fix: Fixed an issue where audit logs were truncated. |
| 7.0.15 | 2025-01-22 | 6.0.20 | Security fix: Fixed the CVE-2024-10921, CVE-2025-3082, CVE-2025-3083, CVE-2025-3084, and CVE-2025-3085 security vulnerabilities. Base version update: Updated to 6.0.20. |
| 7.0.14 | 2024-11-19 | 6.0.18 | Improvement: Updated the base version to 6.0.18 to disable the SBE (Slot-Based Execution) engine by default (see SERVER-91570). Optimized the audit log output format. Bug fix: Fixed an issue where the connection count was incorrectly displayed in serverStatus() output. |
| 7.0.12 | 2024-09-03 | 6.0.17 |
|
| 7.0.9 | 2024-06-06 | 6.0.15 |
|
| 7.0.7 | 2024-03-12 | 6.0.13 | Improvement: Improved the performance of the compact operation and reduced its failure rate. |
| 7.0.6 | 2024-02-04 | 6.0.13 | Bug fix: Fixed the SERVER-78813 and SERVER-63865 bugs. Base version update: Updated to 6.0.13. |
| 7.0.5 | 2024-01-23 | 6.0.6 | Bug fix: Fixed an issue where clients could not connect to MongoDB nodes within the same VPC. |
| 7.0.4 | 2024-01-10 | 6.0.6 | Improvement: Optimized minor version compatibility — unrecognized parameter settings are now ignored. Restricted account permissions to prevent security risks from accounts with excessive permissions. Added support for forward compatibility of internal account authentication. |
| 7.0.3 | 2023-07-13 | 6.0.6 | Bug fix: Fixed a routing issue for read-only nodes. |
| 7.0.2 | 2023-06-12 | 6.0.6 | New feature: Added support for two-way data synchronization. Base version update: Updated to 6.0.6. |
| 7.0.1 | 2023-01-06 | 6.0.3 | New feature: Added the self-developed command runCommandOnShard. Added support for audit logs. Base version update: Updated to 6.0.3. |
| 7.0.0 | 2022-11-02 | 6.0.0 | Bug fix: Fixed the sharding metadata inconsistency issue introduced by the movePrimary command in MongoDB 5.0 (see SERVER-68511). First official release of MongoDB 6.0. |
MongoDB 5.0
| Minor version | Release date | Base version | Notes |
|---|---|---|---|
| 6.0.22 | 2025-12-22 | 5.0.31 | Security fix: Fixed the CVE-2025-14847 and CVE-2025-11979 security vulnerabilities. Bug fix: Fixed the SERVER-103960 bug. |
| 6.0.21 | 2025-10-31 | 5.0.31 | New feature: Audit logs now expose client IP addresses. Improvement: The drop, dropIndex, and dropDatabase commands can now run when the disk is full and locked. |
| 6.0.20 | 2025-08-07 | 5.0.31 | New feature: Added support for forcibly refreshing the oplog stone. Bug fix: Fixed the SERVER-92806 bug (related to the CA in June). |
| 6.0.19 | 2025-05-26 | 5.0.31 | Bug fix: Fixed an issue where a new VIP was not automatically pushed after switching the VPC. |
| 6.0.18 | 2025-05-15 | 5.0.31 | Security fix: Fixed the CVE-2025-3082, CVE-2025-3083, CVE-2025-3084, CVE-2025-3085, and CVE-2025-6707 security vulnerabilities. Base version update: Updated to 5.0.31. |
| 6.0.17 | 2025-01-08 | 5.0.30 | Security fix: Fixed the CVE-2024-10921 security vulnerability. Base version update: Updated to 5.0.30. |
| 6.0.16 | 2024-11-19 | 5.0.29 | Improvement: Optimized the audit log output format. Improved the performance of the compact command. Bug fix: Fixed an issue where the connection count was incorrectly displayed in serverStatus() output. Base version update: Updated to 5.0.29. |
| 6.0.14 | 2024-08-03 | 5.0.28 | Bug fix: Fixed the WT-12708 bug. Base version update: Updated to 5.0.28. |
| 6.0.13 | 2024-06-24 | 5.0.26 |
|
| 6.0.10 | 2024-02-06 | 5.0.24 | Bug fix: Fixed the SERVER-78813 and SERVER-63865 bugs. Base version update: Updated to 5.0.24. |
| 6.0.9 | 2024-01-23 | 5.0.21 | Bug fix: Fixed an issue where clients could not connect to MongoDB nodes within the same VPC. |
| 6.0.8 | 2023-10-10 | 5.0.21 | Bug fix: Fixed an issue where the system failed to start after the oplog size was changed. Base version update: Updated to 5.0.21. |
| 6.0.7 | 2023-07-06 | 5.0.18 | New feature: Added support for two-way data synchronization. Bug fix: Fixed a routing issue for read-only nodes. Base version update: Updated to 5.0.18. |
| 6.0.6 | 2023-02-09 | 5.0.14 | Bug fix: Fixed an issue where a self-developed command could cause a null pointer exception. |
| 6.0.5 | 2023-01-06 | 5.0.14 | New feature: Added the self-developed command runCommandOnShard. Added the original command to slow query log content for getMore operations (see getMore). Bug fix: Fixed an issue where audit log content was missing. Base version update: Updated to 5.0.14. |
| 6.0.4 | 2022-10-18 | 5.0.6 | Improvement: Improved the speed of data backup and recovery. |
| 6.0.3 | 2022-09-09 | 5.0.6 | Improvement: Changed the unit of the latency field in slow query logs to microseconds (us). Added the self-developed command db.adminCommand({currentConn: 1}). |
| 6.0.2 | 2022-08-17 | 5.0.6 | Bug fix: Fixed a sharding metadata inconsistency issue (see SERVER-68511). |
| 6.0.1 | 2022-06-14 | 5.0.6 | New feature: Added support for audit logs. Bug fix: Fixed the limit on the number of ulimit processes on ECS instances. Base version update: Updated to 5.0.6. |
| 6.0.0 | 2021-09-27 | 5.0.3 | First official release of MongoDB 5.0. |
MongoDB 4.4
| Minor version | Release date | Base version | Notes |
|---|---|---|---|
| 5.0.21 | 2025-12-22 | 4.4.29 | Security fix: Fixed the CVE-2025-14847 security vulnerability. |
| 5.0.20 | 2025-11-18 | 4.4.29 | New feature: Added support for clearing empty directories after dropDatabase runs to prevent directory accumulation. Improvement: The drop, dropIndex, and dropDatabase commands can now run when the disk is full and locked. |
| 5.0.19 | 2025-08-07 | 4.4.29 | New feature: Added support for forcibly refreshing the oplog stone. Bug fix: Fixed the SERVER-92806 bug (related to the CA in June). |
| 5.0.18 | 2025-05-26 | 4.4.29 | Bug fix: Fixed an issue where a new VIP was not automatically pushed after switching the VPC. |
| 5.0.17 | 2025-05-14 | 4.4.29 | Security fix: Fixed the CVE-2025-3082 and CVE-2025-3085 security vulnerabilities. |
| 5.0.16 | 2024-11-21 | 4.4.29 | Bug fix: Fixed an issue where the connection count was incorrectly displayed in serverStatus() output. |
| 5.0.15 | 2024-06-24 | 4.4.29 | Bug fix: Fixed an issue where some commands were missing from audit logs. |
| 5.0.14 | 2024-05-23 | 4.4.29 | Bug fix: Updated the base version to 4.4.29 to resolve issues related to distributed transactions. |
| 5.0.13 | 2024-02-01 | 4.4.28 | Bug fix: Fixed the SERVER-78813 and SERVER-63865 bugs. Base version update: Updated to 4.4.28. |
| 5.0.12 | 2024-01-23 | 4.4.18 | Bug fix: Fixed an issue where clients could not connect to MongoDB nodes within the same VPC. |
| 5.0.11 | 2023-07-17 | 4.4.18 | Bug fix: Fixed issues related to two-way data synchronization. |
| 5.0.10 | 2023-07-13 | 4.4.18 | Bug fix: Fixed a routing issue for read-only nodes. |
| 5.0.9 | 2023-05-08 | 4.4.18 | New feature: Added support for two-way data synchronization. |
| 5.0.8 | 2023-01-17 | 4.4.18 | Base version update: Updated to 4.4.18. |
| 5.0.7 | 2022-11-22 | 4.4.16 | New feature: Added the original command to slow query log content for getMore operations (see getMore). Base version update: Updated to 4.4.16. |
| 5.0.6 | 2022-10-18 | 4.4.1 | Improvement: Improved the speed of data backup and recovery. |
| 5.0.5 | 2022-07-21 | 4.4.1 | Bug fix: Fixed an issue where a deadlock occurred and the node role failed to switch when the primary node stepped down (see SERVER-59226). Fixed an issue where MongoDB exited unexpectedly when a change stream was used to pull oplogs of distributed transactions (see SERVER-53566). |
| 5.0.3 | 2021-10-26 | 4.4.1 | New feature: Added support for audit logs. Added oplogstones information to the output of local.oplog.rs.stats() for incremental backup service dependency. Bug fix: Fixed an issue where MongoDB crashed during the compact command under frequent evictions, and a deadlock occurred during long-running transactions under the same conditions (see SERVER-50365 and SERVER-46876). Fixed the ulimit process limit on ECS instances. |
| 5.0.2 | 2021-01-28 | 4.4.1 | New feature: Added support for log rotation. |
| 5.0.1 | 2020-11-23 | 4.4.1 | First official release of MongoDB 4.4. |
MongoDB 4.2
| Minor version | Release date | Base version | Notes |
|---|---|---|---|
| 4.0.34 | 2025-12-22 | 4.2.25 | Security fix: Fixed the CVE-2025-14847 security vulnerability. |
| 4.0.33 | 2025-11-18 | 4.2.25 | New feature: The progress log of oplog sampling is now printed at startup (related to SERVER-41790). Improvement: The drop, dropIndex, and dropDatabase commands can now run when the disk is full and locked. |
| 4.0.32 | 2025-08-07 | 4.2.25 | New feature: Added support for forcibly refreshing the oplog stone. Bug fix: Fixed the SERVER-92806 bug (related to the CA in June). Fixed an issue where audit logs of Mongos nodes in a sharded cluster did not contain query logs. |
| 4.0.31 | 2025-05-26 | 4.2.25 | Bug fix: Fixed an issue where a new VIP was not automatically pushed after switching the VPC. |
| 4.0.30 | 2025-04-03 | 4.2.25 | New feature: The moveChunk command now supports the forceJumbo option. |
| 4.0.29 | 2024-12-23 | 4.2.25 | Base version update: Updated to 4.2.25. |
| 4.0.28 | 2024-12-10 | 4.2.23 | New feature: Audit logs now support slow logs for update and delete operations. Bug fix: Fixed an issue where the connection count was incorrectly displayed in serverStatus() output. |
| 4.0.27 | 2024-01-23 | 4.2.23 | Bug fix: Fixed an issue where clients could not connect to MongoDB nodes within the same VPC. > Note Instances that use the physical server architecture cannot be upgraded to this version. |
| 4.0.26 | 2023-07-17 | 4.2.23 | Bug fix: Fixed a routing issue for read-only nodes (only for instances that use disks). > Note Instances that use the physical server architecture cannot be upgraded to this version. |
| 4.0.25 | 2023-06-13 | 4.2.23 | Bug fix: Fixed an issue where a dependent field was missing in incremental logs. |
| 4.0.24 | 2023-05-06 | 4.2.23 | Bug fix: Fixed an issue where the database version (db version) was incorrectly displayed. |
| 4.0.23 | 2022-12-13 | 4.2.23 | New feature: Added the original command to slow query log content for getMore operations (see getMore). Base version update: Updated to 4.2.23. |
| 4.0.22 | 2022-11-02 | 4.2.13 | Bug fix: Fixed an issue where the show tables command returned an empty result when passwordless access over a VPC was enabled. |
| 4.0.21 | 2022-05-18 | 4.2.13 | Bug fix: Fixed a deadlock issue during a graceful shutdown of the primary process (see SERVER-59226). |
| 4.0.20 | 2021-12-01 | 4.2.13 | Base version update: Updated to 4.2.13. |
| 4.0.19 | 2021-08-31 | 4.2.10 | Bug fix: Fixed an issue where MongoDB exited unexpectedly when a change stream was used to pull oplogs of distributed transactions (see SERVER-50769). |
| 4.0.18 | 2021-06-25 | 4.2.10 | Bug fix: Fixed an issue where the whitelist failed to be refreshed when many whitelist configurations existed. Limited the whitelist file size to a maximum of 64 KB. |
| 4.0.17 | 2021-05-21 | 4.2.10 | Improvement: Merged the features of the Serverless kernel. |
| 4.0.16 | 2021-05-21 | 4.2.10 | New feature: Added support for oplog replay optimization. |
| 4.0.15 | 2021-03-03 | 4.2.10 | New feature: Proactively detects the I/O status of each directory and includes the status in the db.serverStatus() output. Bug fix: Fixed an issue where the client IP address in audit logs of shards was the IP address of a Mongos node instead of the actual client IP address. |
| 4.0.14 | 2021-02-05 | 4.2.10 | New feature: Added Primary and Secondary role information to audit logs. Bug fix: Fixed an issue where the session cleanup thread caused slow query latency due to periodic cleanup (see SERVER-5287). Fixed an issue where a hashed index was incorrectly marked as a multikey index and could not be used as a sharding key (see SERVER-48471). Fixed an issue where a client IP address was mistaken for the IP address of a management machine, causing the connection to be misidentified as internal. |
| 4.0.13 | 2020-12-28 | 4.2.10 | Bug fix: Fixed a compatibility issue caused by adding the useNewUpsert option to the aggregate command. |
| 4.0.12 | 2020-12-16 | 4.2.10 | Bug fix: Fixed an issue where the sleep time of the Hash-Based Message Authentication Code (HMAC) key monitoring thread was too long (see SERVER-52654). Base version update: Updated to 4.2.10. |
| 4.0.11 | 2020-11-16 | 4.2.1 | Improvement: Updated the OpenSSL library to version 1.1.1. Corrected the result returned when the disk is full and locked. Bug fix: Fixed an issue where the count command returned a negative number during a full data synchronization, which interrupted the synchronization (see SERVER-35050). Fixed an IPv6 access issue. |
| 4.0.10 | 2020-10-29 | 4.2.1 | Improvement: Enabled throttling by default. Bug fix: Fixed an issue where a secondary node crashed when the mapReduce command was run. |
| 4.0.9 | 2020-08-04 | 4.2.1 | New feature: Audit logs of shards now support the output of client and Mongos IP addresses. Improvement: Added the backup completion time to the command that ends the backup. Bug fix: Fixed an issue where WiredTiger reported an error because the system.profile performance data collection failed to be created. |
| 4.0.8 | 2020-06-10 | 4.2.1 | Bug fix: Fixed an issue where the dbGetmore protocol was not handled for passwordless access over a VPC. |
| 4.0.7 | 2020-06-03 | 4.2.1 | Bug fix: Fixed an issue where a Mongos node could crash when a client disconnected. |
| 4.0.6 | 2020-05-19 | 4.2.1 | Improvement: Improved checkpoint speed in scenarios with many collections (see WT-5042). Optimized the routing logic of Mongos nodes to reduce CPU consumption. Bug fix: Fixed an issue where a write error occurred during a bulk insert because the audit log exceeded 16 MB. Fixed an issue where the runCommandOnShard command could not be found. Users are now prevented from modifying the config.collections collection, while sh.enableBalancing() and sh.disableBalancing() remain available. |
| 4.0.5 | 2020-02-12 | 4.2.1 | Bug fix: Fixed an issue where concurrent index creation in MongoDB 4.2 could cause out-of-memory (OOM) errors on both primary and secondary nodes of small-specification instances. |
| 4.0.4 | 2019-12-19 | 4.2.1 | Bug fix: Fixed an issue where the getmore command occasionally returned an unauthorized error for passwordless access over a VPC. |
| 4.0.2 | 2019-11-23 | 4.2.1 | Bug fix: Fixed an issue where the show tables command could not run for passwordless access over a VPC. Fixed an issue where MongoDB exited because a replica set member was not initialized at startup and a ts secs too high assertion error was reported. |
| 4.0.1 | 2019-11-21 | 4.2.1 | First official release of MongoDB 4.2. |
MongoDB 4.0
| Minor version | Release date | Base version | Notes |
|---|---|---|---|
| 3.0.44 | 2025-12-22 | 4.0.28 | Security fix: Fixed the CVE-2025-14847 security vulnerability. |
| 3.0.43 | 2025-01-16 | 4.0.28 | Improvement: Audit logs now support slow logs for update and delete operations. Bug fix: Fixed a compatibility issue of oplogDeleteGuard during a major engine version upgrade. |
| 3.0.42 | 2024-11-08 | 4.0.28 | Bug fix: Fixed issues related to expression parsing in the DynamoDB-compatible edition. Base version update: Updated to 4.0.28. |
| 3.0.40 | 2024-04-19 | 4.0.13 | Bug fix: Fixed the SERVER-50365 bug. |
| 3.0.39 | 2023-11-28 | 4.0.13 | New feature: Added support for the tcmallocReleaseRate parameter to resolve out-of-memory (OOM) issues. |
| 3.0.38 | 2021-10-27 | 4.0.13 | Improvement: Improved the stability of MongoDB. |
| 3.0.37 | 2021-09-09 | 4.0.13 | New feature: Added the log file rotation feature to the DynamoDB-compatible edition. Single files are limited to 300 MB. |
| 3.0.36 | 2021-07-22 | 4.0.13 | Improvement: Completed the Stream feature for the DynamoDB-compatible edition and added the Sort field to the output. |
| 3.0.35 | 2021-06-25 | 4.0.13 | Improvement: Removed the restriction on the Sort field for NEW_IMAGE in the DynamoDB-compatible edition — only the KEYS_ONLY restriction is retained. Added registration for the updateTable command. |
| 3.0.34 | 2021-04-28 | 4.0.13 | New feature: Added a check to determine whether an index is empty. Bug fix: Fixed a memory leak issue in the DynamoDB-compatible edition. |
| 3.0.33 | 2021-03-03 | 4.0.13 | Bug fix: Fixed an issue where the client IP address in audit logs of shards was the IP address of a Mongos node instead of the actual client IP address. |
| 3.0.32 | 2021-02-05 | 4.0.13 | New feature: Added Primary and Secondary role information to audit logs. Improved the semantics of if_not_exists for the DynamoDB-compatible edition. The persistence of attribute definitions now supports integration with dynamo-admin. Bug fix: Fixed an issue where the session cleanup thread caused slow query latency due to periodic cleanup (see SERVER-52879). |
| 3.0.31 | 2020-12-31 | 4.0.13 | New feature: Added support for the Stream feature and the 1 MB item size limit in the DynamoDB-compatible edition. Bug fix: Fixed an issue where the KeyCondition expression did not support parentheses. Fixed an issue where a Set type could be returned for a List type. Fixed a precision issue for the Number type. Fixed an issue where MongoDB crashed during batch writes. |
| 3.0.30 | 2020-08-18 | 4.0.13 | New feature: Added support for the Scan feature and CursorCache for query paging in the DynamoDB-compatible edition. Improvement: Changed the SLB scheduling method to the SCH algorithm. Bug fix: Fixed an issue where a projection expression always returned the primary key. |
| 3.0.29 | 2020-08-04 | 4.0.13 | New feature: Audit logs of shards now support the output of client and Mongos IP addresses. Bug fix: Fixed a memory leak issue where a replica set of version 4.0 attempted to send heartbeats to a removed node (see SERVER-44567). |
| 3.0.28 | 2020-07-14 | 4.0.13 | New feature: The DynamoDB-compatible edition now supports global secondary indexes and dynamic parameter modification. Improvement: Merged pipeline optimizations (see SERVER-42756). Added support for using listIndexes to identify in-progress index builds. Bug fix: Fixed an issue where the DescribeTable, BatchGetItem, and BatchWriteItem commands could cause a crash in a multi-threaded environment. |
| 3.0.27 | 2020-06-10 | 4.0.13 | Bug fix: Fixed an issue where the dbGetmore protocol was not handled for passwordless access over a VPC. |
| 3.0.26 | 2020-06-03 | 4.0.13 | Improvement: Improved checkpoint speed in scenarios with many collections (see WT-5042). Added support for configuring the timeout period for loading the config.chunks metadata collection. Users are now prevented from modifying the config.collections collection, while sh.enableBalancing() and sh.disableBalancing() remain available. |
| 3.0.25 | 2020-04-28 | 4.0.13 | New feature: Added support for the second phase of DynamoDB protocol compatibility. Improvement: Optimized startup for scenarios with many collections. Bug fix: Fixed an issue where a write error occurred during a bulk insert because the audit log exceeded 16 MB. |
| 3.0.24 | 2020-04-15 | 4.0.13 | Improvement: Optimized the routing logic of Mongos nodes to reduce CPU consumption. |
| 3.0.23 | 2020-04-03 | 4.0.13 | New feature: Added the enableCommand command to dynamically enable or disable commands for user connections. Bug fix: Fixed an issue where secondary nodes crashed simultaneously and could not restart (see SERVER-46466). |
| 3.0.21 | 2020-02-07 | 4.0.13 | New feature: Added support for the first phase of DynamoDB protocol compatibility. |
| 3.0.20 | 2020-01-02 | 4.0.13 | Bug fix: Fixed an aggregate error that occurred when a Mongos node of version 3.0.19 accessed a MongoDB instance of version 3.0.18 or earlier. This issue was caused by the addition of the mergeByPBRT field in open source MongoDB 4.0.7. |
| 3.0.19 | 2019-12-04 | 4.0.13 | Base version update: Updated to 4.0.13. |
| 3.0.18 | 2019-10-24 | 4.0.3 | Improvement: Prohibited the creation of databases whose names are _tmp or start with _tmp. |
| 3.0.17 | 2019-10-17 | 4.0.3 | Bug fix: Fixed an issue where secondary nodes went down simultaneously and could not restart because an assertion of the SessionUpdateTracker::_updateSessionInfo function failed. |
| 3.0.15 | 2019-08-21 | 4.0.3 | Bug fix: Fixed an issue where a transparent data encryption (TDE) key was truncated when passed to WiredTiger because the encoded key contained special characters. Fixed an issue where a write error occurred during a bulk insert because the audit log exceeded 16 MB. |
| 3.0.13 | 2019-07-31 | 4.0.3 | New feature: Added support for encryption at rest using TDE (instance-level and table-level). Added support for dynamically modifying the number of connections. The hostInfo command is now available. Added support for the MongoDB Compass client tool. Bug fix: Fixed the open source SERVER-37394 issue (see SERVER-37394). |
| 3.0.12 | 2019-04-08 | 4.0.3 | Base version update: Updated to 4.0.3. |
| 3.0.11 | 2019-03-08 | 4.0.0 | New feature: Added support for IPv6. Added vpcAuthMode to the passwordless access feature for VPCs. Improved audit log output content — request data for DML operations is now visible. Changed the default behavior of index creation to background creation. Added support for single-database recovery. Bug fix: Fixed a deadlock issue at startup in some extreme scenarios. |
| 3.0.8 | 2018-12-21 | 4.0.0 | New feature: Added the passwordless access feature for VPCs. |
| 3.0.7 | 2018-11-30 | 4.0.0 | Improvement: Added a restriction that prevents regular users from deleting built-in accounts. |
| 3.0.6 | 2018-11-01 | 4.0.0 | Bug fix: Fixed issues related to whitelists. |
| 3.0.5 | 2018-10-16 | 4.0.0 | Bug fix: Fixed an issue where the args of a command was null in an audit log. Fixed an issue where JSON parsing failed because NumberInt(10) appeared in the text of an audit log. When the MoveChunk operation is performed on a sharded cluster, the sessionId field now appears in the change record. |
| 3.0.2 | 2018-09-25 | 4.0.0 | First official release of MongoDB 4.0. |
MongoDB 3.4
You can no longer purchase new ApsaraDB for MongoDB 3.4 instances. For more information, see [Notice] New purchases of ApsaraDB for MongoDB 3.4 instances are discontinued from January 1, 2023. The corresponding MongoDB Community Edition version is 3.4.
| Minor version | Release date | Notes |
|---|---|---|
| 1.1.12 | 2020-06-03 | Improvement: Added support for configuring the timeout period for loading the config.chunks metadata collection. Users are now prevented from modifying the config.collections collection, while sh.enableBalancing() and sh.disableBalancing() remain available. |
| 1.1.8 | 2019-07-25 | New feature: Merged the open source feature that supports background index creation. External connections can now run the hostInfo command (see hostInfo). |
| 1.1.7 | 2019-04-10 | Bug fix: Fixed an issue where a secondary node crashed during batch application of oplogs in primary-secondary synchronization. |
| 1.1.6 | 2019-01-28 | New feature: Added support for single-database recovery. |
| 1.1.5 | 2018-09-25 | Improvement: Merged the fix for the open source issue where space was not reclaimed after a collection was dropped (see SERVER-31101). Added the dbAdmin permission on the local and config databases for the root user. Users can now run the rs.printSlaveReplicationInfo command. Security fix: Prohibited write operations on the admin database of sharded cluster instances. |
| 1.1.4 | 2018-08-07 | Bug fix: Merged the fix for the open source issue where full synchronization failed (see SERVER-31995). Ignored errors when unrecognized configuration items were detected. Improvement: Ignored RECOVERING nodes when retaining oplogs during synchronization to prevent oplogs from growing excessively large. Prohibited setting the autoIndexID parameter to false. |
| 1.1.3 | 2018-06-22 | Bug fix: Fixed an issue where the WiredTiger cache got stuck when the serverStatus command obtained the checkpoint list. Improvement: Removed the restriction on enabling or disabling the balancer for shard collections. |
| 1.1.2 | 2018-05-14 | New feature: Extended the oplogDeleteGuard command to support multiple data sources. The cleanupOrphaned command is now available (see cleanupOrphaned). Bug fix: Fixed an issue where a full table scan of oplogs was sent to the primary node when a secondary node selected a synchronization source. Fixed an issue where the system load was excessively high after WiredTiger IOPS was limited by cgroups. |
| 1.1.0 | 2017-12-28 | New feature: Added a feature that automatically deletes redundant scrolled logs. Developed a physical hot backup feature compatible with disk snapshots. Improvement: Adjusted the automatic oplog scaling factor from 20 to 40. |
| 1.0.9 | 2017-12-05 | Bug fix: Fixed an issue where the MapReduce command failed to run (see SERVER-30009). Improvement: Allowed external connections to operate on admin.system.users to resolve an issue where Data Transmission Service (DTS) failed to import data. |
| 1.0.5 | 2017-11-08 | Bug fix: Fixed an issue where users could not be created over a VIP connection. |
MongoDB 3.2
Full support for ApsaraDB for MongoDB 3.2 instances has been discontinued. For more information, see [Notice] Service for ApsaraDB for MongoDB 3.0 and 3.2 instances is scheduled to be discontinued (End of Service, EOS) on December 31. The corresponding MongoDB Community Edition version is 3.2.
| Minor version | Release date | Notes |
|---|---|---|
| 0.5.3 | 2019-10-24 | This is the latest version for MongoDB 3.2 instances. Upgrade to a later minor version is not supported. |
| 0.5.1 | 2019-07-25 | New feature: Merged the open source feature that supports background index creation. External connections can now run the hostInfo command (see hostInfo). |
| 0.5.0 | 2018-09-25 | New feature: Added support for SSL. Security fix: Prohibited write operations on the admin database of sharded cluster instances. Improvement: Ignored RECOVERING nodes when retaining oplogs during synchronization to prevent oplogs from growing excessively large. |
| 0.4.9 | 2018-06-22 | Bug fix: Fixed an issue where the WiredTiger cache eviction got stuck when db.serverStatus() was used to obtain the checkpoint list. Improvement: Removed the restriction on enabling or disabling the balancer for shard collections. |
| 0.4.8 | 2018-05-14 | New feature: The cleanupOrphaned command is now available (see cleanupOrphaned). Bug fix: Fixed an issue where a full table scan of oplogs was sent to the primary node when a secondary node selected a synchronization source. Fixed an issue where the system load was excessively high after WiredTiger IOPS was limited by cgroups. Fixed an issue where the primary node of a replica set crashed when the rs.stepDown() command was run (see rs.stepDown()). |
| 0.4.7 | 2017-11-17 | Improvement: The end-backup operation for physical hot backups no longer adds a global lock. Bug fix: Fixed an issue where cloud users were not synchronized during a full synchronization after authentication was disabled. |
| 0.4.6 | 2017-09-05 | New feature: Added the netvipGroup configuration to support multiple VIP groups — the group to which a visitor belongs is returned based on the visitor's VIP. The WiredTiger physical hot backup API operation now returns a precise optime (see optime). |
| 0.4.5 | 2017-08-17 | Bug fix: Fixed an issue where modifications to the rs.status() command caused access errors for built-in accounts. |
| 0.4.4 | 2017-08-17 | New feature: The rs.status() command is now available to users — it supports obtaining the primary-secondary latency. Mongos nodes now support slow request logging. Audit logs for ParallelBatchWriteMode locks now record only slow requests. Bug fix: Fixed an issue where RangeDelete crashed (see SERVER-30636). |
| 0.4.3 | 2017-07-06 | New feature: Running db.adminCommand({features: 1}) now returns a list of Alibaba Cloud self-developed features. Improvement: Optimized WiredTiger hot backups. Fixed an issue in determining public VIPs based on CIDR blocks. Adjusted the default oplogDeleteGuardExpire and oplogSizeMulti parameters. |
| 0.4.2 | 2017-05-31 | New feature: Granted users permissions to manage shard tags. Bug fix: Fixed an issue where a fast count caused the server to crash. |
| 0.4.1 | 2017-05-25 | New feature: Upgraded RocksDB to version 5.3.3 to support the DeleteRange API operation. Upgraded WiredTiger to version 3.2.13. Mongos nodes now support the audit log feature. |
| 0.4.0 | 2017-04-27 | New feature: Added the db.adminCommand({currentConn: 1}) command to mongos and mongod to list network connection information for all clients. Optimized audit log classification for more granular control. The splitVector command is now available. Bug fix: Fixed an issue where concurrent updates to oplogDeleteGuard in a multi-threaded environment caused mongod to crash. Security fix: Prohibited users from deleting the admin database over a VIP. |
| 0.3.9 | 2017-04-13 | Bug fix: Resolved an issue where the lock granularity was too large when modifying a collection configuration using db.runCommand({collMod: $collection}). |
| 0.3.8 | 2017-03-28 | Improvement: Ignored errors when unrecognized configuration items were detected. Bug fix: Fixed an issue where a Mongos node crashed when it failed to connect to a shard. |
| 0.3.6 | 2017-02-23 | New feature: Added support for RocksDB as the storage engine. Added support for the WiredTiger hot backup feature. Improvement: Modified some parameter names to be consistent with the configuration file. |
| 0.3.4 | 2016-12-27 | Improvement: Redesigned audit logs — all requests now have a unified entry point, and request latency is recorded. |
| 0.3.3 | 2016-12-15 | New feature: Added audit logs for node role switching. Bug fix: Fixed issues related to double rollback. |
| 0.3.2 | 2016-11-29 | Bug fix: Fixed an issue where some private CIDR block IP addresses were incorrectly identified as public IP addresses. |
| 0.3.0 | 2016-10-31 | Bug fix: Updated to WiredTiger version 3.2.10 to fix a WiredTiger cache eviction issue. |
| 0.2.9 | 2016-10-28 | Security fix: Disabled the cloneCollection and copydbgetnonce commands to prevent security risks. New feature: Added audit logs for ParallelBatchWriteMode locks to show the impact of oplog replay locks on read and write operations. Added support for compiling projects on macOS to facilitate development and testing. Bug fix: Fixed a connection issue when a user whitelist conflicted with a management machine whitelist in a VPC environment. |
| 0.2.8 | 2016-10-18 | New feature: The db.runCommand({compact: $collection}) command is now available to compress the physical storage space of a collection. Mongos nodes now support the built-in account feature. The sh.addShard() and sh.removeShard() commands are disabled on Mongos nodes — Mongos nodes have read-only access to the config database. The number of internal connections is now configurable. The oplog collection supports a maximum size setting to prevent excessive physical space usage. The db.adminCommand({tcmallocRelease: 1}) command is now available to release idle Thread-Caching Malloc (TCMalloc) memory. The kernel supports generating special fields in oplogs for BLS two-way synchronization. Improvement: VPC network connections now bypass the management machine whitelist check. |
| 0.2.7 | 2016-09-13 | Improvement: Merged internal patches based on open source version 3.2.9. |
| 0.2.6 | 2016-09-07 | New feature: Added support for automatic expiration of the oplogDeleteGuard configuration item to protect the kernel if a backup job is down for a long time. Improvement: Improved the I/O hang detection logic to minimize false positives and prevent split-brain issues. |
| 0.2.5 | 2016-08-26 | New feature: Added support for API operations related to incremental backups. Added support for the tcpBacklog configuration item to prevent instances from being incorrectly reported as unavailable due to TCP queue overflow. Added support for packaging on Red Hat 7u. |
| 0.2.4 | 2016-07-06 | New feature: Added support for automatic oplog management — only oplogs synchronized to all nodes can be deleted. Added an oplog retention timestamp to retain all oplogs after the specified point in time for incremental backups. Used the AliNLP tokenization plug-in (analysis-aliws) to support Chinese full-text search. |
| 0.2.3 | 2016-04-28 | New feature: Added support for automatically modifying the oplog size based on the oplogSizeMB configuration item (see oplogSizeMB). Added support for automatic scrolling for MongoDB operational logs and audit logs. Bug fix: Fixed a logic error in the enableMajorityReadConcern configuration item. |
| 0.2.2 | 2016-04-14 | New feature: Added support for I/O hang detection — when MongoDB detects an I/O hang, it proactively disconnects the heartbeat connection with other members. Connecting via localhost now grants the built-in hostManager, clusterMonitor, and clusterManager permissions. Improvement: Reduced the overhead of audit logs. Bug fix: Fixed an issue where WiredTiger metadata was not evicted from the cache, which caused the metadata to fill up the cache and lead to a deadlock. |
| 0.2.1 | 2016-03-28 | Improvement: Resolved a performance issue with generating random numbers from /dev/urandom during authentication. Bypassed permission checks for common read-only troubleshooting operations such as currentOp and listDatabases when connecting locally. |
Related API operations
| API | Description |
|---|---|
| UpgradeDBInstanceKernelVersion | Upgrades the minor engine version of an ApsaraDB for MongoDB instance. |