AWS documentdb documentation change
Summary
Reorganized release notes structure, added May 6, 2026 entry with garbage collection bug fix, and restructured April 20, 2026 entry as a mandatory patch with detailed feature list. Added automatic upgrade notices.
Security assessment
The garbage collection bug fix prevents reader crashes in edge cases, improving stability but without evidence of addressing a security vulnerability. Other changes are feature additions and optimizations without security context. No mention of CVEs, exploits, or security vulnerabilities.
Diff
diff --git a/documentdb/latest/developerguide/release-notes.md b/documentdb/latest/developerguide/release-notes.md index 581dffa08..6de015685 100644 --- a//documentdb/latest/developerguide/release-notes.md +++ b//documentdb/latest/developerguide/release-notes.md @@ -42,2 +42,3 @@ Date | Release notes -April 20, 2026 | **New feature** In-place major version upgrade (MVU) from Amazon DocumentDB 5.0 to Amazon DocumentDB 8.0 is now available. For more information, see [Amazon DocumentDB in-place major version upgrade](./docdb-mvu.html). -April 20, 2026 | **New features and improvements** **Amazon DocumentDB 8.0 (Engine Versions: 4.0.5995, 4.0.6473) [in progress]** +May 6, 2026 | **Bug fixes and other changes** **Amazon DocumentDB 8.0 (Engine Version: 4.0.6940) [in progress]** This update provides an optional Engine patch with the following improvements: + + 1. Fixed a bug in garbage collection that could, in an edge case, cause readers to crash. @@ -45,17 +45,0 @@ April 20, 2026 | **New features and improvements** **Amazon DocumentDB 8.0 (Eng - * `$sortArray` operator in `$project`: - * Support for `$sortArray` operator in `$project` stage in aggregation pipeline for Planner version 3. The `$sortArray` operator sorts an array based on its elements (for scalar values) or on a specified field (for document arrays), returning the sorted array in ascending (`1`) or descending (`-1`) order. - * Support for parallel unordered bulk updates in `bulkWrite()`. - * Support for `$out`, `$collStats`, `$indexStats`, `$geoNear` using Planner v3. With Planner V3, the `$out` stage also supports writing to collections across different databases. - * Tunable RPO allows users to dynamically configure RPO threshold based on their specific needs, effectively balancing between data protection guarantees and system performance. When the actual RPO lag exceeds the configured RPO threshold, the system will take protective actions by blocking user transaction commits on the primary to ensure the RPO guarantee is maintained. - * The aggregation pipeline now coalesces `$lookup` and `$unwind` stages even when the `$unwind` stage includes the `includeArrayIndex` parameter. Previously, this optimization was skipped when `includeArrayIndex` was present. - * Performance enhancements to improve write throughput for db.r8g.8xlarge and larger instances running on I/O-Optimized configuration. - * Exposing metric to monitor `Connections (active)` for instances. The limits can be found at our [Amazon DocumentDB Quotas and limits](https://docs.aws.amazon.com/documentdb/latest/developerguide/limits.html#limits.instance) page. - * Improved Global Cluster cross region resilience by eliminating secondary cluster reboot with Global Survivable Read Only. - * Support for `$dateToParts` and `$dateFromParts` aggregation operators. - * Command-level performance metrics are now available in CloudWatch for CRUD operations (`find`, `insert`, `findAndModify`, `update`, `delete`, `aggregate`, `count`, `distinct`, `getMore`, `abortTransaction`, `commitTransaction`), exposing `AvgDuration`, `P100Duration`, and `MaxConcurrent` dimensions for improved operational monitoring. - * Fixed a bug in `$replaceRoot` behavior where `newRoot` fields containing boolean values of `true`/`false` or numeric values of `0`/`1` were missing in the output document. - * Fixed a bug in `$indexOfArray` where valid queries were returning errors indicating that they were invalid. - * The explain plan now includes `docsExamined` metrics in `executionStats` output. - * Improved SASL authentication performance. - * Optimized document updates to reduce storage overhead when index values remain unchanged and documents fit within existing pages. - * Support for `bypassDocumentValidation` in `$merge`. @@ -62,0 +47,2 @@ April 20, 2026 | **New features and improvements** **Amazon DocumentDB 8.0 (Eng +April 20, 2026 | **New feature** In-place major version upgrade (MVU) from Amazon DocumentDB 5.0 to Amazon DocumentDB 8.0 is now available. For more information, see [Amazon DocumentDB in-place major version upgrade](./docdb-mvu.html). +April 20, 2026 | **New features and improvements** **Amazon DocumentDB 8.0 (Engine Versions: 4.0.5995, 4.0.6473)** This is a mandatory engine patch that includes the following new features, improvements, and fixes: @@ -63,0 +50,18 @@ April 20, 2026 | **New features and improvements** **Amazon DocumentDB 8.0 (Eng + 1. `$sortArray` operator in `$project`: + * Support for `$sortArray` operator in `$project` stage in aggregation pipeline for Planner version 3. The `$sortArray` operator sorts an array based on its elements (for scalar values) or on a specified field (for document arrays), returning the sorted array in ascending (`1`) or descending (`-1`) order. + 2. Support for parallel unordered bulk updates in `bulkWrite()`. + 3. Support for `$out`, `$collStats`, `$indexStats`, `$geoNear` using Planner v3. With Planner V3, the `$out` stage also supports writing to collections across different databases. + 4. The aggregation pipeline now coalesces `$lookup` and `$unwind` stages even when the `$unwind` stage includes the `includeArrayIndex` parameter. Previously, this optimization was skipped when `includeArrayIndex` was present. + 5. Performance enhancements to improve write throughput for db.r8g.8xlarge and larger instances running on I/O-Optimized configuration. + 6. Exposing metric to monitor `Connections (active)` for instances. The limits can be found at our [Amazon DocumentDB Quotas and limits](https://docs.aws.amazon.com/documentdb/latest/developerguide/limits.html#limits.instance) page. + 7. Improved Global Cluster cross region resilience by eliminating secondary cluster reboot with Global Survivable Read Only. + 8. Support for `$dateToParts` and `$dateFromParts` aggregation operators. + 9. Command-level performance metrics are now available in CloudWatch for CRUD operations (`find`, `insert`, `findAndModify`, `update`, `delete`, `aggregate`, `count`, `distinct`, `getMore`, `abortTransaction`, `commitTransaction`), exposing `AvgDuration`, `P100Duration`, and `MaxConcurrent` dimensions for improved operational monitoring. + 10. Fixed a bug in `$replaceRoot` behavior where `newRoot` fields containing boolean values of `true`/`false` or numeric values of `0`/`1` were missing in the output document. + 11. Fixed a bug in `$indexOfArray` where valid queries were returning errors indicating that they were invalid. + 12. The explain plan now includes `docsExamined` metrics in `executionStats` output. + 13. Improved SASL authentication performance. + 14. Optimized document updates to reduce storage overhead when index values remain unchanged and documents fit within existing pages. + 15. Support for `bypassDocumentValidation` in `$merge`. + +All Amazon DocumentDB 8.0 clusters will be automatically upgraded to this patch version during their next maintenance window. @@ -85 +89 @@ April 20, 2026 | **New feature** In-place major version upgrade (MVU) from Amaz -April 13, 2026 | **Bug fixes and other changes** **Amazon DocumentDB 5.0 (Engine Versions: 3.0.19917, 3.0.20421) [in progress]** +April 13, 2026 | **Bug fixes and other changes** **Amazon DocumentDB 5.0 (Engine Versions: 3.0.19917, 3.0.20421) [in progress]** This is a mandatory engine patch that includes the following new features, improvements, and fixes: @@ -90 +94 @@ April 13, 2026 | **Bug fixes and other changes** **Amazon DocumentDB 5.0 (Engin - +All Amazon DocumentDB 5.0 clusters will be automatically upgraded to this patch version during their next maintenance window. @@ -547 +551 @@ Date | Release notes -April 27, 2026 | **New features** **Amazon DocumentDB 3.6 (Engine Version: 1.0.208692) [in progress]** +April 27, 2026 | **New features** **Amazon DocumentDB 3.6 (Engine Version: 1.0.208692) [in progress]** This update provides an optional Engine patch with the following improvements: