

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# Amazon DocumentDB 开发人员指南的文档历史记录
<a name="doc-history"></a>
+ **API 版本：**2014-10-31
+ **文档最新更新时间**：2024 年 7 月 23 日

下表介绍了该版本的 *Amazon DocumentDB 开发人员指南*文档。

| 变更 | 说明 | 日期 | 
| --- |--- |--- |
| [Amazon 托管策略更新-策略变更](https://docs.amazonaws.cn/documentdb/latest/developerguide/docdb-managed-policies.html) | Amazon DocumentDB 更新了弹性集群的完全访问策略。 | 2025 年 2 月 11 日 | 
| [Amazon 托管策略更新-策略变更](https://docs.amazonaws.cn/documentdb/latest/developerguide/docdb-managed-policies.html) | Amazon DocumentDB 更新了弹性集群的完全访问策略。 | 2024 年 2 月 21 日 | 
| [Amazon 托管策略更新-策略变更](https://docs.amazonaws.cn/documentdb/latest/developerguide/docdb-managed-policies.html) | Amazon DocumentDB 更新了弹性集群的只读和完全访问策略。 | 2023 年 6 月 21 日 | 
| [Amazon 托管策略更新-新策略](https://docs.amazonaws.cn/documentdb/latest/developerguide/docdb-managed-policies.html) | Amazon DocumentDB 为弹性集群引入了新的只读策略。 | 2023 年 6 月 8 日 | 
| [Amazon 托管策略更新-新策略](https://docs.amazonaws.cn/documentdb/latest/developerguide/docdb-managed-policies.html) | Amazon DocumentDB 为弹性集群引入了新的完全访问策略。 | 2023 年 6 月 5 日 | 
| [MongoDB 5.0 兼容性](https://docs.amazonaws.cn/documentdb/latest/developerguide/elastic-service-linked-roles.html) | Amazon DocumentDB 现在与 MongoDB 的 5.0 版本兼容。 | 2023 年 3 月 1 日 | 
| [策略更新](https://docs.amazonaws.cn/documentdb/latest/developerguide/docdb-managed-policies.html) | 为了支持 Amazon DocumentDB 弹性集群功能，我们更新了 AmazonDocDBConsoleFullAccess 政策，并引入了 AmazonDoc数据库。ElasticServiceRolePolicy  | 2022 年 11 月 30 日 | 
| [弹性集群](https://docs.amazonaws.cn/documentdb/latest/developerguide/docdb-using-elastic-clusters.html) | 增加了新的弹性集群功能，支持在 Amazon DocumentDB 的分布式存储系统中对数据进行基于哈希的分区（分片）。 | 2022 年 11 月 30 日 | 
| [全局集群](https://docs.amazonaws.cn/documentdb/latest/developerguide/global-clusters.html) | 增加了有关如何使用全局集群的文档。 | 2021 年 6 月 2 日 | 
| [事件订阅](https://docs.amazonaws.cn/documentdb/latest/developerguide/event-subscriptions.html) | 增加了活动订阅文档。 | 2021 年 3 月 26 日 | 
| [版本 3.6 升级](https://docs.amazonaws.cn/documentdb/latest/developerguide/release-notes.html#release-notes.01-15-2021) | 记录了对版本 3.6 在基于角色的访问控制、聚合运算符和性能方面的改进。 | 2021 年 1 月 15 日 | 
| [MongoDB 4.0 兼容性](https://docs.amazonaws.cn/documentdb/latest/developerguide/compatibility.html) | 现在，Amazon DocumentDB 与 MongoDB 的 4.0 版本兼容。 | 2020 年 11 月 9 日 | 
| [入门指南](https://docs.amazonaws.cn/documentdb/latest/developerguide/get-started-guide.html) | 使用亚马逊 EC2 Amazon Cloud9、Robo3T 或 Studio3T 开始使用亚马逊 DocumentDB 的新入门指南。 | 2023 年 8 月 15 日 | 
| [支持其他可用区](https://docs.amazonaws.cn/documentdb/latest/developerguide/what-is.html#what-is-regions-and-azs) | Amazon DocumentDB 增加了对亚太地区（首尔）(ap-northeast-2) 可用区的支持。 | 2023 年 7 月 14 日 | 
| [增加对跨区域复制快照的支持。](https://docs.amazonaws.cn/documentdb/latest/developerguide/backup_restore-copy_cluster_snapshot.html) | Amazon DocumentDB 增加了对跨 Amazon Web Services 区域集群快照复制的支持。有关更多信息，请参阅 [ 跨区域复制快照](https://docs.amazonaws.cn/documentdb/latest/developerguide/backup_restore-copy_cluster_snapshot.html)。 | 2020 年 7 月 10 日 | 
| [增加了对 T3 实例类的支持。](https://docs.amazonaws.cn/documentdb/latest/developerguide/db-instance-classes.html#db-instance-class-specs) | 在支持 Amazon DocumentDB 的所有区域中增加了对 T3 实例类型的支持。有关更多信息，请参阅 [ 按区域支持的实例类](https://docs.amazonaws.cn/documentdb/latest/developerguide/db-instance-classes.html#db-instance-classes-by-region)和 [ 实例类规格](https://docs.amazonaws.cn/documentdb/latest/developerguide/db-instance-classes.html#db-instance-class-specs)。 | 2020 年 6 月 30 日 | 
| [添加了对的支持 Amazon GovCloud (US)。](https://docs.amazonaws.cn/documentdb/latest/developerguide/db-instance-classes.html#db-instance-classes-by-region) | Amazon DocumentDB 现已在该 Amazon GovCloud (US) 区域 (us-gov-west-1) 上市。 | 2020 年 6 月 29 日 | 
| [添加了 16 个新 CloudWatch 指标。](https://docs.amazonaws.cn/documentdb/latest/developerguide/cloud_watch.html) | 亚马逊 DocumentDB 增加了对 16 个新的亚马逊 CloudWatch 指标的支持。有关更多信息，请参阅使用[监控 Amazon DocumentDB](https://docs.amazonaws.cn/documentdb/latest/developerguide/cloud_watch.html)。 CloudWatch | 2020 年 6 月 23 日 | 
| [添加了对 null 字符和 $regex 运算符的支持。](https://docs.amazonaws.cn/documentdb/latest/developerguide/functional-differences.updated-functional-differences.html) | Amazon DocumentDB 添加了对字符串中的 null 字符的支持，并能够为 $regex 使用索引。[要查看亚马逊文档数据库支持的 M APIs ongoDB 和聚合管道功能，请参阅与 MongoDB 的功能差异。](https://docs.amazonaws.cn/documentdb/latest/developerguide/functional-differences.html) | 2020 年 6 月 22 日 | 
| [增加了对改进的多键索引功能的支持。](https://docs.amazonaws.cn/documentdb/latest/developerguide/functional-differences.array-indexing.html) | Amazon DocumentDB 增加了对改进的多键索引功能的支持，这些功能包括对大于 2048 个字节的数组编制索引的功能和使用相同数组中的多个键创建复合多键索引的能力。有关更多信息，请参阅[与 MongoDB 之间的功能差异](https://docs.amazonaws.cn/documentdb/latest/developerguide/functional-differences.html)。 | 2020 年 4 月 23 日 | 
| [增加了对亚马逊 DocumentDB Amazon CloudFormation 堆栈的删除保护的支持。](https://docs.amazonaws.cn/documentdb/latest/developerguide/quick_start_cfn.html) | 亚马逊 DocumentDB 增加了对在创建亚马 Amazon CloudFormation 逊 DocumentDB 堆栈时启用删除保护的支持。 | 2020 年 4 月 20 日 | 
| [添加了对基于角色的访问控制的支持。](https://docs.amazonaws.cn/documentdb/latest/developerguide/role_based_access_control.html) | Amazon DocumentDB 使用内置角色添加了对基于角色的访问控制的支持。 | 2020 年 3 月 26 日 | 
| [在加拿大（中部）(ca-central-1) 中添加了对其他可用区的支持。](https://docs.amazonaws.cn/documentdb/latest/developerguide/what-is.html#what-is-regions-and-azs) | 现在，Amazon DocumentDB 在加拿大（中部） 区域 (ca-central-1) 推出，提供 R5 类实例和 3 个可用区。 | 2020 年 3 月 26 日 | 
| [增加了对另外两个 MongoDB APIs 的支持。](https://docs.amazonaws.cn/documentdb/latest/developerguide/mongo-apis.html) | 亚马逊 DocumentDB 增加了对和 `$dateFromString` Mon `executionStats` goDB 的支持。 APIs | 2020 年 3 月 23 日 | 
| [增加了对另外五个 MongoDB APIs 的支持。](https://docs.amazonaws.cn/documentdb/latest/developerguide/mongo-apis.html) | 亚马逊 DocumentDB 增加了对`$objectToArray`、、`$arrayToObject``$slice``$mod`、和 Mon `$range` goDB 的支持。 APIs | 2020 年 2 月 6 日 | 
| [增加了对加拿大（中部）的支持。](https://docs.amazonaws.cn/documentdb/latest/developerguide/db-instance-classes.html#db-instance-classes-by-region) | Amazon DocumentDB 现已在在加拿大（中部） 区域 (ca-central-1) 推出，提供 R5 类实例。 | 2019 年 12 月 11 日 | 
| [添加了对的支持 ChangeStreamLogSize。](https://docs.amazonaws.cn/documentdb/latest/developerguide/cloud_watch.html#cloud_watch-docdb_metrics_list) | Amazon DocumentDB 为 `ChangeStreamLogSize` 添加了对 Cloudwatch 指标的支持。 | 2019 年 11 月 22 日 | 
| [增加了对欧洲地区（巴黎）的支持](https://docs.amazonaws.cn/documentdb/latest/developerguide/db-instance-classes.html#db-instance-classes-by-region) | 现在，Amazon DocumentDB 在欧洲地区（巴黎）区域 (eu-west-3) 推出，提供 R5 类实例。 | 2019 年 10 月 30 日 | 
| [添加了对亚太地区（孟买）区域的支持](https://docs.amazonaws.cn/documentdb/latest/developerguide/db-instance-classes.html#db-instance-classes-by-region) | Amazon DocumentDB 现已在亚太地区（孟买）区域 (ap-south-1) 推出，提供 R5 类实例。 | 2019 年 10 月 17 日 | 
| [增加了对另外三个 MongoDB 的支持 APIs](https://docs.amazonaws.cn/documentdb/latest/developerguide/mongo-apis.html) | 亚马逊 DocumentDB 增加了对`$addFields``$concatArrays`、和 Mon `$lookup` goDB 的支持。 APIs | 2019 年 10 月 16 日 | 
| [添加了对亚太地区（新加坡）区域的支持](https://docs.amazonaws.cn/documentdb/latest/developerguide/db-instance-classes.html#db-instance-classes-by-region) | Amazon DocumentDB 现已在亚太地区（新加坡）区域 (ap-southeast-1) 推出，提供 R5 类实例。 | 2019 年 10 月 14 日 | 
| [增加了有关更新 TLS 证书的新文档](https://docs.amazonaws.cn/documentdb/latest/developerguide/ca_cert_rotation.html) | 增加了有关更新 CA 证书以使用新的 CA 证书来创建 TLS 连接的说明。 | 2019 年 10 月 2 日 | 
| [增加了对证书的 API 支持](https://docs.amazonaws.cn/documentdb/latest/developerguide/API_Certificate.html) | Amazon DocumentDB 增加了用于实例的新证书数据类型。有关更多信息，请参阅 [ DBInstance](https://docs.amazonaws.cn/documentdb/latest/developerguide/API_DBInstance.html)。 | 2019 年 10 月 1 日 | 
| [支持查询分析](https://docs.amazonaws.cn/documentdb/latest/developerguide/profiling.html) | Amazon DocumentDB 增加了对集群的实例和数据库上支持的操作进行分析的功能。 | 2019 年 8 月 19 日 | 
| [已在亚太地区（东京）增加第三个 AZ](https://docs.amazonaws.cn/documentdb/latest/developerguide/what-is.html#what-is-regions-and-azs) | Amazon DocumentDB 在亚太地区（东京）为您的计算实例增加了第三个可用区 (AZ)。 | 2019 年 8 月 9 日 | 
| [Support 支持其他 Mongo APIs](https://docs.amazonaws.cn/documentdb/latest/developerguide/mongo-apis.html) | 增加了对其他聚合管道功能的支持，包括 `$in`、`$isoWeek`、`$isoWeekYear`、`$isoDayOfWeek`、和 `$dateToString` 聚合运算符以及 `$addToSet` 聚合阶段。Amazon DocumentDB 还增加了对集合级别诊断 `top()` 命令的支持，以及使用 `collMod()` 命令修改 TTL 索引 `expireAfterSeconds` 参数的功能。 | 2019 年 7 月 31 日 | 
| [增加了对欧洲地区（伦敦）的支持](https://docs.amazonaws.cn/documentdb/latest/developerguide/db-instance-classes.html#db-instance-classes-by-region) | Amazon DocumentDB 现已在欧洲（伦敦）(eu-west-2) 推出，提供 R5 类实例。 | 2019 年 7 月 18 日 | 
| [添加了代码示例](https://docs.amazonaws.cn/documentdb/latest/developerguide/connect.html) | 在 R 和 Ruby 中添加了代码示例，用于以编程方式连接到 Amazon DocumentDB。 | 2023 年 7 月 17 日 | 
| [添加了最佳实践](https://docs.amazonaws.cn/documentdb/latest/developerguide/best_practices.html#best_practices-cost_optimization) | 添加了最佳实践，以帮助您管理 Amazon DocumentDB 成本。 | 2023 年 7 月 17 日 | 
| [支持停止和启动集群](https://docs.amazonaws.cn/documentdb/latest/developerguide/db-cluster-stop-start.html) | Amazon DocumentDB 增加了对于停止和启动集群以控制开发和测试环境成本的支持。 | 2019 年 7 月 1 日 | 
| [支持集群删除保护](https://docs.amazonaws.cn/documentdb/latest/developerguide/db-cluster-delete.html) | 为了防止您的集群遭到意外删除，Amazon DocumentDB 添加了删除保护功能。有关更多信息，请参阅以下主题：[创建亚马逊文档数据库集群、修改亚马逊文档数据库集群](https://docs.amazonaws.cn/documentdb/latest/developerguide/db-cluster-create.html)[、删除亚马逊文档数据库](https://docs.amazonaws.cn/documentdb/latest/developerguide/db-cluster-modify.html)集群[，以及 API](https://docs.amazonaws.cn/documentdb/latest/developerguide/db-cluster-delete.html) 主题。`DeletionProtection` [DBCluster](https://docs.amazonaws.cn/documentdb/latest/developerguide/API_DBCluster.html) | 2019 年 7 月 1 日 | 
| [功能差异更新](https://docs.amazonaws.cn/documentdb/latest/developerguide/functional-differences.html#functional-differences.implicit-transactions) | 向功能差异添加了隐式事务。 | 2019 年 6 月 26 日 | 
| [功能差异添加](https://docs.amazonaws.cn/documentdb/latest/developerguide/functional-differences.html#functional-differences.storage-compression) | 添加了有关 Amazon DocumentDB 中的存储和索引压缩的注释。 | 2019 年 6 月 13 日 | 
| [增加了支持区域](https://docs.amazonaws.cn/documentdb/latest/developerguide/db-instance-classes.html#db-instance-classes-by-region) | Amazon DocumentDB 现已在亚太地区（悉尼）(ap-southeast-2) 推出，提供 R5 类实例。 | 2019 年 6 月 5 日 | 
| [更多区域支持 R5 实例类](https://docs.amazonaws.cn/documentdb/latest/developerguide/db-instance-classes.html#db-instance-classes-by-region) | 为以下 4 个区域增加了 R5 实例类支持：美国东部（俄亥俄）、美国东部（弗吉尼亚北部）、美国西部（俄勒冈）和欧洲（爱尔兰）。通过此次更改，支持 Amazon DocumentDB 的所有区域现都支持 R5 实例。 | 2019 年 5 月 17 日 | 
| [支持的其他区域](https://docs.amazonaws.cn/documentdb/latest/developerguide/how-it-works.html#how-it-works.availability) | 添加了对 2 个其他区域的支持：亚太地区（东京) (ap-northeast-1) 和亚太地区（首尔）(ap-northeast-2)，提供 R5 实例类。有关更多信息，请参阅 [ 按区域支持的实例类](https://docs.amazonaws.cn/documentdb/latest/developerguide/db-instance-classes.html#db-instance-classes-by-region)和 [ 实例类规格](https://docs.amazonaws.cn/documentdb/latest/developerguide/db-instance-classes.html#db-instance-class-specs)。 | 2019 年 5 月 8 日 | 
| [添加了更多连接代码示例](https://docs.amazonaws.cn/documentdb/latest/developerguide/connect.html) | 添加了 Java 和 C\# 的代码示例以连接到 Amazon DocumentDB。 | 2019 年 4 月 24 日 | 
| [其他 Mongo API 支持](https://docs.amazonaws.cn/documentdb/latest/developerguide/mongo-apis.html) | 添加了对七个聚合字符串运算符（`$indexOfBytes`、`$indexOfCP`、`$strLenBytes`、`$strLenCP`、`$toLower`、`$toUpper` 和 `$split`）、九个日期时间运算符（`$dayOfYear`、`$dayOfMonth`、`$dayOfWeek`、`$year`、`$month`、`$hour`、`$minute`、`$second` 和 `$millisecond`）和 `$sample` 聚合管道分段的支持。 | 2019 年 4 月 4 日 | 
| [添加了连接代码示例](https://docs.amazonaws.cn/documentdb/latest/developerguide/connect.html) | 添加了 Python、Node.js、PHP 和 Go 的代码示例以连接到 Amazon DocumentDB。 | 2019 年 3 月 21 日 | 
| [对法兰克福区域和 R5 实例的支持](https://docs.amazonaws.cn/documentdb/latest/developerguide/how-it-works.html#how-it-works.availability) | 添加了对欧洲地区（法兰克福）区域 (eu-central-1) 的支持，提供 R5 实例类。有关更多信息，请参阅 [ 按区域支持的实例类](https://docs.amazonaws.cn/documentdb/latest/developerguide/db-instance-classes.html#db-instance-classes-by-region)和 [ 实例类规格](https://docs.amazonaws.cn/documentdb/latest/developerguide/db-instance-classes.html#db-instance-class-specs)。 | 2019 年 3 月 13 日 | 
| [聚合管道运算符支持](https://docs.amazonaws.cn/documentdb/latest/developerguide/mongo-apis-aggregation-pipeline.html) | 添加了对新的聚合字符串运算符（`$concat`、`$substr`、`$substrBytes`、`$substrCP`、`$strcasecmp`）、数组聚合运算符 (`$size`)、聚合组累计器运算符 (`$push`) 和聚合阶段（`$redact` 和 `$indexStats`）的支持。我们还添加了对位置数组运算符（`$[]` 和 `$[<identifier>]`）和 `hint()` 的支持。 | 2019 年 2 月 28 日 | 
| [引擎升级](https://docs.amazonaws.cn/documentdb/latest/developerguide/db-cluster-version-upgrade.html) | 添加了确定待处理的集群修改和升级集群引擎版本的文档。 | 2019 年 2 月 15 日 | 
| [审核事件](https://docs.amazonaws.cn/documentdb/latest/developerguide/event-auditing.html) | 增加了对使用 Amazon CloudWatch 日志审计数据库事件的支持。 | 2019 年 2 月 12 日 | 
| [快速入门](https://docs.amazonaws.cn/documentdb/latest/developerguide/quick_start_cfn.html) | 添加了一个快速入门主题，以帮助您轻松开始使用 Amazon DocumentDB。 Amazon CloudFormation | 2019 年 1 月 11 日 | 
| [公开发布版](#doc-history) | 这是 Amazon DocumentDB（与 MongoDB 兼容）的首次公开发布。本版本包括[开发人员指南](https://docs.amazonaws.cn/documentdb/latest/developerguide/what-is.html)和集成的[资源管理 API 参考](https://docs.amazonaws.cn/documentdb/latest/developerguide/api-reference.html)。 | 2019 年 1 月 9 日 | 