# Matrix Specification v1.6 更新日志

|   |   | 
|---|---|
| Git commit | https://github.com/matrix-org/matrix-spec/tree/v1.6 |
| Release date | 2023年2月14日 |

{{< boxes/warning >}}
本页面的翻译未经核对，可能存在翻译质量不佳、错翻、漏翻等情况。您可以在 <a href="https://codeberg.org/wholetrans/docs-matrix-spec">Forgejo 存储库</a> 打开 Issue、提交 Pull Request 或<a href="mailto:errata@wholetrans.org">邮件联系</a>我们提出改进建议和参与翻译与核对。
{{< /boxes/warning >}}


## 客户端-服务器 API

<strong>向后兼容的更改</strong>

- [ ] 根据 [MSC3743](https://github.com/matrix-org/matrix-spec-proposals/pull/3743) 添加了针对未知端点/方法的标准错误响应信息。（[#1347](https://github.com/matrix-org/matrix-spec/issues/1347)）
- [ ] 根据 [MSC3030](https://github.com/matrix-org/matrix-spec-proposals/pull/3030) 添加了 `/rooms/<roomID>/timestamp_to_event` 端点。（[#1366](https://github.com/matrix-org/matrix-spec/issues/1366)）
- [ ] 根据 [MSC3783](https://github.com/matrix-org/matrix-spec-proposals/pull/3783) 定义了 SAS 验证的 `hkdf-hmac-sha256.v2` MAC 方法。（[#1412](https://github.com/matrix-org/matrix-spec/issues/1412)）

<strong>规范澄清</strong>

- [ ] 澄清了权限等级的整数范围。（[#1169](https://github.com/matrix-org/matrix-spec/issues/1169), [#1355](https://github.com/matrix-org/matrix-spec/issues/1355)）
- [ ] 澄清了 `/context` 即使 `limit` 为零也始终返回 `event`。由 @sumnerevans 于 @beeper 贡献。（[#1239](https://github.com/matrix-org/matrix-spec/issues/1239)）
- [ ] 澄清了删除推送器（pusher）时哪些字段是必需的。（[#1321](https://github.com/matrix-org/matrix-spec/issues/1321)）
- [ ] 改进了推送规则类型和动作的呈现方式。（[#1348](https://github.com/matrix-org/matrix-spec/issues/1348)）
- [ ] 为 m.call.answer 模式添加了缺失的描述。（[#1353](https://github.com/matrix-org/matrix-spec/issues/1353)）
- [ ] 修复了规范中的各种拼写错误。（[#1363](https://github.com/matrix-org/matrix-spec/issues/1363)）
- [ ] 澄清了端到端加密部分的内容。（[#1381](https://github.com/matrix-org/matrix-spec/issues/1381)）
- [ ] 将登录 API 定义移动至正确的标题下。由 @HarHarLinks 贡献。（[#1382](https://github.com/matrix-org/matrix-spec/issues/1382)）
- [ ] 澄清哪些事件会被包含在 Stripped State 中。由 @andybalaam 贡献。（[#1409](https://github.com/matrix-org/matrix-spec/issues/1409)）
- [ ] 针对三方标识（3PID）`medium` 的定义添加了规范链接。（[#1417](https://github.com/matrix-org/matrix-spec/issues/1417)）
- [ ] 更正了规范中默认覆盖推送规则顺序的描述。（[#1421](https://github.com/matrix-org/matrix-spec/issues/1421)）
- [ ] 改进了富文本部分中标签与它们属性的区分。由 Nico 贡献。（[#1433](https://github.com/matrix-org/matrix-spec/issues/1433)）

## 服务器-服务器 API

<strong>不兼容更改</strong>

- [ ] 根据 [MSC3938](https://github.com/matrix-org/matrix-spec-proposals/pull/3938) 从服务器 `/keys` 端点中移除了 `keyId`。（[#1350](https://github.com/matrix-org/matrix-spec/issues/1350)）

<strong>向后兼容的更改</strong>

- [ ] 根据 [MSC3743](https://github.com/matrix-org/matrix-spec-proposals/pull/3743) 添加了针对未知端点/方法的标准错误响应信息。（[#1347](https://github.com/matrix-org/matrix-spec/issues/1347)）
- [ ] 根据 [MSC3030](https://github.com/matrix-org/matrix-spec-proposals/pull/3030) 添加了 `/timestamp_to_event/<roomID>` 端点。（[#1366](https://github.com/matrix-org/matrix-spec/issues/1366)）
- [ ] 扩展了 `/_matrix/federation/v2/send_join`，允许省略成员事件。参见 [MSC3706](https://github.com/matrix-org/matrix-doc/pull/3706)。（[#1393](https://github.com/matrix-org/matrix-spec/issues/1393), [#1398](https://github.com/matrix-org/matrix-spec/issues/1398)）
- [ ] 根据 [MSC3943](https://github.com/matrix-org/matrix-doc/pull/3943) 说明 `/_matrix/federation/v2/send_join` 即便允许省略成员事件，也应为无名称房间包含 heroes。（[#1425](https://github.com/matrix-org/matrix-spec/issues/1425)）

<strong>规范澄清</strong>

- [ ] 在邀请端点定义中直接内嵌示例，而不再使用引用。（[#1349](https://github.com/matrix-org/matrix-spec/issues/1349)）
- [ ] 修正了 `POST _matrix/federation/v1/user/keys/claim` 响应模式。（[#1351](https://github.com/matrix-org/matrix-spec/issues/1351)）
- [ ] 更正了“收到 PDU 时执行的检查”小节中默认邀请等级的定义。（[#1371](https://github.com/matrix-org/matrix-spec/issues/1371)）
- [ ] 澄清了服务器名称可以使用 CNAME 记录。（[#1376](https://github.com/matrix-org/matrix-spec/issues/1376)）
- [ ] 修正了 EDU 示例中的 `edu_type`。（[#1383](https://github.com/matrix-org/matrix-spec/issues/1383)）

## 应用服务 API

<strong>向后兼容的更改</strong>

- [ ] 根据 [MSC3743](https://github.com/matrix-org/matrix-spec-proposals/pull/3743) 添加了针对未知端点/方法的标准错误响应信息。（[#1347](https://github.com/matrix-org/matrix-spec/issues/1347)）

## 身份服务 API

<strong>向后兼容的更改</strong>

- [ ] 根据 [MSC3743](https://github.com/matrix-org/matrix-spec-proposals/pull/3743) 添加了针对未知端点/方法的标准错误响应信息。（[#1347](https://github.com/matrix-org/matrix-spec/issues/1347)）

## 推送网关 API

<strong>向后兼容的更改</strong>

- [ ] 根据 [MSC3743](https://github.com/matrix-org/matrix-spec-proposals/pull/3743) 添加了针对未知端点/方法的标准错误响应信息。（[#1347](https://github.com/matrix-org/matrix-spec/issues/1347)）

## 房间版本

<strong>向后兼容的更改</strong>

- [ ] 根据 [MSC3904](https://github.com/matrix-org/matrix-spec-proposals/pull/3904) 更新了默认房间版本至 10。（[#1397](https://github.com/matrix-org/matrix-spec/issues/1397)）

<strong>规范澄清</strong>

- [ ] 澄清了房间版本的语法。（[#1422](https://github.com/matrix-org/matrix-spec/issues/1422)）
- [ ] 修复了规范中的各种拼写错误。（[#1423](https://github.com/matrix-org/matrix-spec/issues/1423)）

## 附录

无重大更改。

## 内部变更/工具

<strong>规范澄清</strong>

- [ ] 向 README 添加了不稳定规范的链接。（[#1357](https://github.com/matrix-org/matrix-spec/issues/1357)）
- [ ] 改进了提案检索脚本在失败情况下的安全性。（[#1368](https://github.com/matrix-org/matrix-spec/issues/1368)）
- [ ] 在内容上传的 OpenAPI 文件中，将 `<content>` 重命名为 `content`。（[#1370](https://github.com/matrix-org/matrix-spec/issues/1370)）
- [ ] 在已有示例的情况下，停止自动生成示例。（[#1384](https://github.com/matrix-org/matrix-spec/issues/1384)）
- [ ] 改进了推送通知部分定义的格式。（[#1415](https://github.com/matrix-org/matrix-spec/issues/1415)）

