# Matrix Specification v1.5 变更日志

|   |   | 
|---|---|
| Git commit | https://github.com/matrix-org/matrix-spec/tree/v1.5 |
| Release date | 2022年11月17日 |

{{< 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>

- [ ] 按照 [MSC3267](https://github.com/matrix-org/matrix-spec-proposals/pull/3267) 添加 `m.reference` 关系。([#1206](https://github.com/matrix-org/matrix-spec/issues/1206))
- [ ] 为房间内验证补充缺失的 `m.key.verification.request` 消息类型文档。([#1271](https://github.com/matrix-org/matrix-spec/issues/1271))

<strong>规范澄清</strong>

- [ ] 修正规范中的各种拼写错误。([#1260](https://github.com/matrix-org/matrix-spec/issues/1260), [#1265](https://github.com/matrix-org/matrix-spec/issues/1265), [#1276](https://github.com/matrix-org/matrix-spec/issues/1276))
- [ ] 修正 `/sync` 中 `device_one_time_keys_count` 的命名。([#1266](https://github.com/matrix-org/matrix-spec/issues/1266))
- [ ] 改进事件子类型的显示。([#1283](https://github.com/matrix-org/matrix-spec/issues/1283))
- [ ] 改进对临时事件的文档说明。([#1284](https://github.com/matrix-org/matrix-spec/issues/1284))
- [ ] 明确 `/_matrix/client/v3/directory/rooms/{roomAlias}` 中 400 响应的定义。([#1286](https://github.com/matrix-org/matrix-spec/issues/1286))
- [ ] 对端到端加密部分的内容进行了澄清。([#1294](https://github.com/matrix-org/matrix-spec/issues/1294), [#1345](https://github.com/matrix-org/matrix-spec/issues/1345))
- [ ] 规范中多处进行了澄清。([#1306](https://github.com/matrix-org/matrix-spec/issues/1306))
- [ ] 用 `set_tweak` 替换了推送规则动作 `set_sound`。([#1318](https://github.com/matrix-org/matrix-spec/issues/1318))
- [ ] 明确 `PUT /_matrix/client/v3/pushrules/{scope}/{kind}/{ruleId}` 的行为。([#1319](https://github.com/matrix-org/matrix-spec/issues/1319))
- [ ] 明确 `.m.rule.master` 优先级高于任何推送规则。([#1320](https://github.com/matrix-org/matrix-spec/issues/1320))
- [ ] 在 `POST /_matrix/client/v3/refresh` 端点要求请求字段 `refresh_token`。([#1323](https://github.com/matrix-org/matrix-spec/issues/1323))
- [ ] 修复规范中多处失效链接。([#1330](https://github.com/matrix-org/matrix-spec/issues/1330))
- [ ] 在 `GET /_matrix/client/v3/sync` 响应示例中加入已读回执的示例。([#1341](https://github.com/matrix-org/matrix-spec/issues/1341))

## 服务器-服务器 API

<strong>规范澄清</strong>

- [ ] 修复规范中多处失效链接。([#1330](https://github.com/matrix-org/matrix-spec/issues/1330))

## 应用服务 API

<strong>规范澄清</strong>

- [ ] 按照 [MSC3905](https://github.com/matrix-org/matrix-spec-proposals/issues/3905) 澄清应用服务只能对本地用户注册关注。([#1305](https://github.com/matrix-org/matrix-spec/issues/1305))

## 身份服务 API

<strong>规范澄清</strong>

- [ ] 修复规范中多处失效链接。([#1330](https://github.com/matrix-org/matrix-spec/issues/1330))

## 推送网关 API

无重大变更。

## 房间版本

<strong>规范澄清</strong>

- [ ] 调整事件认证规则文本，明确用户无法降权电平相同的其他用户。([#1269](https://github.com/matrix-org/matrix-spec/issues/1269))
- [ ] 对事件授权规则文本进行了多处澄清。([#1270](https://github.com/matrix-org/matrix-spec/issues/1270))
- [ ] 修复规范中多处失效链接。([#1330](https://github.com/matrix-org/matrix-spec/issues/1330))

## 附录

无重大变更。

## 内部更改/工具

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

- [ ] 更新 docsy 主题至 v0.5.0，并应用 matrix.org 的修改 (https://github.com/matrix-org/docsy/commit/a0032f8db919a6c67ba6cdef2c455f105b6272a2)。([#1295](https://github.com/matrix-org/matrix-spec/issues/1295))

<strong>规范澄清</strong>

- [ ] 改进 `resolve-additional-types` 模板输出的错误信息。([#1303](https://github.com/matrix-org/matrix-spec/issues/1303))
- [ ] 修复 API 查看器的链接。([#1308](https://github.com/matrix-org/matrix-spec/issues/1308))
- [ ] 停止将客户端-服务器 API 和房间版本规范的子部分渲染为独立页面。([#1317](https://github.com/matrix-org/matrix-spec/issues/1317))
- [ ] 使用链接检查器确保文档无失效链接。([#1329](https://github.com/matrix-org/matrix-spec/issues/1329), [#1338](https://github.com/matrix-org/matrix-spec/issues/1338))
- [ ] 更新 Swagger 定义预览说明。([#1331](https://github.com/matrix-org/matrix-spec/issues/1331))
- [ ] 使锚点定义更具唯一性。([#1339](https://github.com/matrix-org/matrix-spec/issues/1339))
- [ ] 用 towncrier 生成不稳定的变更日志，实现一致性。([#1340](https://github.com/matrix-org/matrix-spec/issues/1340))
- [ ] 更新 CONTRIBUTING.md，指出本仓库的非内容更改需加注明“internal”类型的变更日志。([#1342](https://github.com/matrix-org/matrix-spec/issues/1342))
- [ ] 在模块汇总表中补充新模块：事件替换、线程与引用关系。([#1344](https://github.com/matrix-org/matrix-spec/issues/1344))
- [ ] 禁用规范的 RSS 生成。([#1346](https://github.com/matrix-org/matrix-spec/issues/1346))

