--- title: v1.4 更新日志 linkTitle: v1.4 type: docs layout: changelog outputs: - html - checklist date: 2022-09-29 --- {{< boxes/warning >}} 本页面的翻译未经核对,可能存在翻译质量不佳、错翻、漏翻等情况。您可以在 Forgejo 存储库 打开 Issue、提交 Pull Request 或邮件联系我们提出改进建议和参与翻译与核对。 {{< /boxes/warning >}} ## 客户端-服务器 API 移除的端点 - 移除未使用的策略房间共享机制,详见 [MSC3844](https://github.com/matrix-org/matrix-spec-proposals/pull/3844)。([#1196](https://github.com/matrix-org/matrix-spec/issues/1196)) 向后兼容的变更 - 增加 `.m.rule.room.server_acl` 推送规则,以匹配 `m.room.server_acl` 事件,详见 [MSC3786](https://github.com/matrix-org/matrix-spec-proposals/pull/3786)。([#1190](https://github.com/matrix-org/matrix-spec/issues/1190), [#1201](https://github.com/matrix-org/matrix-spec/issues/1201)) - 向媒体仓库添加 `Cross-Origin-Resource-Policy` (CORP) 响应头,详见 [MSC3828](https://github.com/matrix-org/matrix-spec-proposals/pull/3828)。([#1197](https://github.com/matrix-org/matrix-spec/issues/1197)) - 房间升级时复制房间的 `type`,详见 [MSC3818](https://github.com/matrix-org/matrix-spec-proposals/pull/3818)。([#1198](https://github.com/matrix-org/matrix-spec/issues/1198)) - 在 `/publicRooms` 端点新增 `room_types` 过滤参数和 `room_type` 响应字段,详见 [MSC3827](https://github.com/matrix-org/matrix-spec-proposals/pull/3827)。([#1199](https://github.com/matrix-org/matrix-spec/issues/1199)) - 新增 `m.replace` 关联(事件编辑),详见 [MSC2676](https://github.com/matrix-org/matrix-spec-proposals/pull/2676)。([#1211](https://github.com/matrix-org/matrix-spec/issues/1211)) - 新增 `m.read.private` 已读回执,详见 [MSC2285](https://github.com/matrix-org/matrix-spec-proposals/pull/2285)。([#1216](https://github.com/matrix-org/matrix-spec/issues/1216)) - 在 `/read_markers` 端点中将 `m.fully_read` 设置为可选,详见 [MSC2285](https://github.com/matrix-org/matrix-spec-proposals/pull/2285)。([#1216](https://github.com/matrix-org/matrix-spec/issues/1216)) - 允许通过 `/receipts` 设置 `m.fully_read` 标记,详见 [MSC2285](https://github.com/matrix-org/matrix-spec-proposals/pull/2285)。([#1216](https://github.com/matrix-org/matrix-spec/issues/1216)) - 通过 `m.thread` 关联新增线程支持,详见 [MSC3440](https://github.com/matrix-org/matrix-spec-proposals/pull/3440)、[MSC3816](https://github.com/matrix-org/matrix-spec-proposals/pull/3816)、[MSC3856](https://github.com/matrix-org/matrix-spec-proposals/pull/3856)、[MSC3715](https://github.com/matrix-org/matrix-spec-proposals/pull/3715)。([#1254](https://github.com/matrix-org/matrix-spec/issues/1254)) - 新增线程级别的通知与已读回执,详见 [MSC3771](https://github.com/matrix-org/matrix-spec-proposals/pull/3771) 和 [MSC3773](https://github.com/matrix-org/matrix-spec-proposals/pull/3773)。([#1255](https://github.com/matrix-org/matrix-spec/issues/1255)) - 在 `/receipt` 端点中新增 `thread_id` 字段,详见 [MSC3771](https://github.com/matrix-org/matrix-spec-proposals/pull/3771)。([#1261](https://github.com/matrix-org/matrix-spec/issues/1261)) 规范澄清 - 说明 `/rooms/{roomId}/invite` 端点在用户已被邀请时会返回 200 响应码。([#1084](https://github.com/matrix-org/matrix-spec/issues/1084)) - 修正规范内的各种拼写错误。([#1135](https://github.com/matrix-org/matrix-spec/issues/1135), [#1161](https://github.com/matrix-org/matrix-spec/issues/1161), [#1164](https://github.com/matrix-org/matrix-spec/issues/1164), [#1170](https://github.com/matrix-org/matrix-spec/issues/1170), [#1180](https://github.com/matrix-org/matrix-spec/issues/1180), [#1215](https://github.com/matrix-org/matrix-spec/issues/1215), [#1238](https://github.com/matrix-org/matrix-spec/issues/1238), [#1243](https://github.com/matrix-org/matrix-spec/issues/1243), [#1263](https://github.com/matrix-org/matrix-spec/issues/1263)) - 说明账户数据端点的返回码,并阐明房间级数据不会继承全局数据。([#1155](https://github.com/matrix-org/matrix-spec/issues/1155)) - 澄清策略规则通配符与 ACL 通配符工作方式一致。由 Nico 贡献。([#1165](https://github.com/matrix-org/matrix-spec/issues/1165)) - 澄清端到端加密模块中部分结构体的格式。([#1166](https://github.com/matrix-org/matrix-spec/issues/1166)) - 为规范中对象定义添加 HTML 锚点。([#1174](https://github.com/matrix-org/matrix-spec/issues/1174)) - 调整由 OpenAPI 定义渲染的表格中 `` 代码片段的样式。([#1179](https://github.com/matrix-org/matrix-spec/issues/1179)) - 更新“API 标准”章节,澄清 JSON 的使用方式。([#1185](https://github.com/matrix-org/matrix-spec/issues/1185)) - 澄清 `POST /_matrix/client/v3/login` 响应体中 "device_id"、"user_id" 和 "access_token" 字段为必需项。([#1210](https://github.com/matrix-org/matrix-spec/issues/1210)) - 强化刷新访问令牌与事务 ID 的关系。([#1236](https://github.com/matrix-org/matrix-spec/issues/1236)) - 通过用逗号分隔可能值的方式,澄清枚举值定义。([#1240](https://github.com/matrix-org/matrix-spec/issues/1240)) ## 服务器-服务器 API 向后兼容的变更 - 新增线程级别的通知与已读回执,详见 [MSC3771](https://github.com/matrix-org/matrix-spec-proposals/pull/3771) 和 [MSC3773](https://github.com/matrix-org/matrix-spec-proposals/pull/3773)。([#1255](https://github.com/matrix-org/matrix-spec/issues/1255)) 规范澄清 - 为规范中对象定义添加 HTML 锚点。([#1174](https://github.com/matrix-org/matrix-spec/issues/1174)) - 调整由 OpenAPI 定义渲染的表格中 `` 代码片段的样式。([#1179](https://github.com/matrix-org/matrix-spec/issues/1179)) - 更新“API 标准”章节,澄清 JSON 的使用方式。([#1185](https://github.com/matrix-org/matrix-spec/issues/1185)) ## 应用服务 API 重大变更 - 主服务器授权方式变更为通过 `Authorization` 请求头完成,而不再使用 `access_token`,详见 [MSC2832](https://github.com/matrix-org/matrix-spec-proposals/pull/2832)。([#1200](https://github.com/matrix-org/matrix-spec/issues/1200)) 规范澄清 - 为规范中对象定义添加 HTML 锚点。([#1174](https://github.com/matrix-org/matrix-spec/issues/1174)) ## 身份服务 API 规范澄清 - 为规范中对象定义添加 HTML 锚点。([#1174](https://github.com/matrix-org/matrix-spec/issues/1174)) - 更新“API 标准”章节,澄清 JSON 的使用方式。([#1185](https://github.com/matrix-org/matrix-spec/issues/1185)) ## 推送网关 API 规范澄清 - 为规范中对象定义添加 HTML 锚点。([#1174](https://github.com/matrix-org/matrix-spec/issues/1174)) ## 房间版本 规范澄清 - 对于房间版本 1 至 10,明确规定含有被拒绝 `auth_events` 的事件必须被拒绝。([#1137](https://github.com/matrix-org/matrix-spec/issues/1137)) - 对于房间版本 2-10:修正对状态解析算法的错误澄清说明。([#1158](https://github.com/matrix-org/matrix-spec/issues/1158)) - 对于房间版本 7 至 10:明确指出 `invite->knock` 实际上是一个合法的状态转换。([#1175](https://github.com/matrix-org/matrix-spec/issues/1175)) ## 附录 无重大变更。 ## 内部变更/工具 向后兼容的变更 - 新增内部变更更新日志章节。([#1194](https://github.com/matrix-org/matrix-spec/issues/1194)) 规范澄清 - 渲染对象定义表格时输出 HTML 锚点。([#1191](https://github.com/matrix-org/matrix-spec/issues/1191)) - 为渲染数据区域添加背景色和内边距。([#1195](https://github.com/matrix-org/matrix-spec/issues/1195)) - 修复客户端-服务器 API 中 shortcodes 的渲染问题。([#1205](https://github.com/matrix-org/matrix-spec/issues/1205)) - 修复由 OpenAPI 规范生成的映射类型的空白问题。([#1230](https://github.com/matrix-org/matrix-spec/issues/1230))