docs-matrix-spec/locales/zh-Hans/changelog/v1.14.md
2025-04-20 16:13:37 +08:00

98 lines
5.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: v1.14 变更日志
linkTitle: v1.14
type: docs
layout: changelog
outputs:
- html
- checklist
date: 2025-03-27
---
{{< 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
**新增端点**
- 按照 [MSC4260](https://github.com/matrix-org/matrix-spec-proposals/pull/4260) 添加 `POST /_matrix/client/v3/users/{userId}/report`。([#2093](https://github.com/matrix-org/matrix-spec/issues/2093))
**移除端点**
- 按照 [MSC4213](https://github.com/matrix-org/matrix-spec-proposals/pull/4213),从 `/_matrix/client/v3/join/{roomIdOrAlias}``/_matrix/client/v3/knock/{roomIdOrAlias}` 中移除 `server_name` 参数。([#2059](https://github.com/matrix-org/matrix-spec/issues/2059))
**规范澄清**
- `POST /_matrix/client/v3/rooms/{roomId}/initialSync` 端点不再弃用,因为它仍用于窥视。([#2036](https://github.com/matrix-org/matrix-spec/issues/2036))
- 明确 `/join` 端点摘要和描述中的措辞。贡献者:@HarHarLinks。([#2038](https://github.com/matrix-org/matrix-spec/issues/2038))
- 明确字符串类型的格式。([#2046](https://github.com/matrix-org/matrix-spec/issues/2046))
- 修正规范中的各种拼写错误。([#2047](https://github.com/matrix-org/matrix-spec/issues/2047)、[#2048](https://github.com/matrix-org/matrix-spec/issues/2048)、[#2080](https://github.com/matrix-org/matrix-spec/issues/2080)、[#2091](https://github.com/matrix-org/matrix-spec/issues/2091))
-`GET /_matrix/client/v3/thirdparty/protocols``GET /_matrix/client/v3/thirdparty/protocol/{protocol}` 的响应中,记录 `Protocol Instance``instance_id` 字段。([#2051](https://github.com/matrix-org/matrix-spec/issues/2051))
- 客户端对擦除redaction的应用为 SHOULD。([#2055](https://github.com/matrix-org/matrix-spec/issues/2055))
- 明确 `/hierarchy` 返回了哪些房间。([#2064](https://github.com/matrix-org/matrix-spec/issues/2064))
- 创建房间时,客户端可自行决定向用户提供哪些历史可见性选项。([#2072](https://github.com/matrix-org/matrix-spec/issues/2072))
## 服务器-服务器 API
**规范澄清**
- 移除 `PUT /send_join` 响应中的 `origin` 字段,因为它从未实际发送过。([#2050](https://github.com/matrix-org/matrix-spec/issues/2050))
- 明确 `m.join_rules` 应包含于 `membership``knock``m.room.member` 事件的 `auth_events` 中。([#2063](https://github.com/matrix-org/matrix-spec/issues/2063))
- 移除部分示例中错误的 `room_id` 字段。([#2076](https://github.com/matrix-org/matrix-spec/issues/2076))
## 应用服务 API
无重大变化。
## 身份服务 API
无重大变化。
## 推送网关 API
无重大变化。
## 房间版本
**向后兼容的更改**
- 按照 [MSC4239](https://github.com/matrix-org/matrix-spec-proposals/pull/4239),将默认房间版本更新为 11。[#2105](https://github.com/matrix-org/matrix-spec/issues/2105)
**规范澄清**
- 针对房间版本 6 和 7在授权规则中明确必须检查 `m.federate` 且对于包含被拒绝的授权事件的事件也须拒绝,以符合其他所有房间版本的标准。([#2065](https://github.com/matrix-org/matrix-spec/issues/2065))
- 修正规范中的各种拼写错误。([#2066](https://github.com/matrix-org/matrix-spec/issues/2066))
- 重构 PDU 定义以减少重复。([#2070](https://github.com/matrix-org/matrix-spec/issues/2070))
- 明确房间版本 6、7、8、9、10 和 11 的最大 `depth` 值。([#2114](https://github.com/matrix-org/matrix-spec/issues/2114))
## 附录
**规范澄清**
- 明确用户/房间 ID 及房间别名中允许使用任意 Unicode 字符。([#1506](https://github.com/matrix-org/matrix-spec/issues/1506))
## 内部更改/工具支持
**规范澄清**
- 使用 Hugo 生成变更日志的发布信息,取代原有的变更日志生成脚本。([#2033](https://github.com/matrix-org/matrix-spec/issues/2033))
- 更新发布步骤相关文档。([#2041](https://github.com/matrix-org/matrix-spec/issues/2041))
- 从 Hugo 配置中移除未使用的 `release_date`。([#2042](https://github.com/matrix-org/matrix-spec/issues/2042))
- 明确 Matrix v1.0 是在现有全局版本管理系统之前的一个发布版本。([#2045](https://github.com/matrix-org/matrix-spec/issues/2045))
- 修复通过消除多余 CSS 来提升代码块语法高亮和一键复制按钮体验。([#2049](https://github.com/matrix-org/matrix-spec/issues/2049))
- 修复 Matrix 1.0 引入时身份服务 API 的版本问题。([#2061](https://github.com/matrix-org/matrix-spec/issues/2061))
- 修复 `resolve-refs``resolve-allof` 局部处理中的嵌套切片解析。([#2069](https://github.com/matrix-org/matrix-spec/issues/2069))
-`RoomKeysUpdateResponse` 的定义去重。([#2073](https://github.com/matrix-org/matrix-spec/issues/2073))
-`Invite3pid` 的定义去重。([#2074](https://github.com/matrix-org/matrix-spec/issues/2074))
- 支持在 OpenAPI 定义及 JSON schema 中更灵活地放置示例。([#2076](https://github.com/matrix-org/matrix-spec/issues/2076))
- 为不稳定变更日志添加指向 Git 提交的链接。([#2078](https://github.com/matrix-org/matrix-spec/issues/2078))