Skip to content

Commit 2cc7310

Browse files
committed
CHANGELOG: 0.3.4 reaches a caret range, not a bare version; record the release in the plan
A bare version is exact in mcpp, and "0.3.x" is not a form it accepts; measured against the published index, "^0.3.1" resolves to 0.3.4 under both mirrors and "0.3.1" stays at 0.3.1.
1 parent 156edeb commit 2cc7310

2 files changed

Lines changed: 10 additions & 9 deletions

File tree

‎.agents/docs/exec-plan-0.3.4-cancel.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
## 0. 为什么是 0.3.4
1414

1515
- 只新增,不改已有行为:`send`、`send_stream`、`download_to_file` 都只加了尾部默认参数;`HttpResponse` 和 `DownloadToFileResult` 各在末尾追加一个字段;不传 token 时逐字节不变(不变式 I3)。
16-
- 依赖写成 `tinyhttps = "0.3.x"` 的项目会自动解析到它,这是 0.3.3 立下的规则:让现有依赖不改清单就能收到。mcpp-index 的 `tests/examples/tinyhttps` 写的是 `0.3.1`,也会解析到它。
16+
- 依赖写成 caret 范围 `tinyhttps = "^0.3.0"` 的项目会自动解析到它。**更正(发布后实测):** mcpp 里裸写的 `"0.3.1"` 是精确版本,不会解析到 0.3.4;`"0.3.x"` 不是 mcpp 的合法写法。0.3.3 的发布说明里也沿用了这个说法。已用已发布的 index 实测:`"^0.3.1"` 在 GLOBAL 和 CN 两个源下都解析到 0.3.4。
1717
- 唯一的源码不兼容点是对 `&HttpClient::send` 取成员函数指针(参数个数变了)。在 CHANGELOG 里点名说明。
1818

1919
## 1. 八个视角
@@ -93,9 +93,9 @@ T0 计划(本文)+ 设计文档纳入 PR
9393

9494
## 6. 验收
9595

96-
- [ ] PR #23 的 CI 全绿(上表全部 job)
97-
- [ ] 自审:H1、M1、M2、D1、D2 全部落地;PR 描述更新
98-
- [ ] squash 合入;tag `0.3.4`;GitHub release
99-
- [ ] gitcode 上的 `tinyhttps-0.3.4.tar.gz` 与 GitHub archive 的 sha256 一致
100-
- [ ] mcpp-index 合入;`validate` 和 `openkal-compat`(tinyhttps 这一项)通过
101-
- [ ] 新建项目用已发布的 index 解析到 0.3.4,GLOBAL 和 CN 两个源都能构建并运行
96+
- [x] PR #23 的 CI 全绿(10 个 job,`10e28b0`)
97+
- [x] 自审:H1、M1、M2、D1、D2 全部落地;PR 描述更新
98+
- [x] squash 合入(`156edeb`);tag `0.3.4`;GitHub release
99+
- [x] gitcode 上的 `tinyhttps-0.3.4.tar.gz` 与 GitHub archive 的 sha256 一致(`26e0e496…41e9`)
100+
- [x] mcpp-index 合入(mcpplibs/mcpp-index#504);`validate` 和 `openkal-compat`(tinyhttps 这一项,四个 target 均为 runs)通过
101+
- [x] 新建项目用已发布的 index 解析到 0.3.4(`"^0.3.1"`),GLOBAL 和 CN 两个源都能构建并运行,并对 httpbin 做了真实的进行中取消(301 ms)

‎CHANGELOG.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
## 0.3.4
44

55
A request in flight can be abandoned from another thread. Everything is added
6-
and nothing changes without a token, so it is a patch release that every
7-
dependency written `tinyhttps = "0.3.x"` receives.
6+
and nothing changes without a token, so it is a patch release: a dependency
7+
written as a caret range, `tinyhttps = "^0.3.0"`, resolves to it. A bare version
8+
such as `"0.3.3"` is exact in mcpp and stays where it is.
89

910
### Cancellation
1011

0 commit comments

Comments
 (0)