File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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)
Original file line number Diff line number Diff line change 33## 0.3.4
44
55A 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
You can’t perform that action at this time.
0 commit comments