Skip to content

Commit 217016d

Browse files
committed
Merge branch 'master' into dev/strictSign
2 parents b077ece + ba6959c commit 217016d

File tree

2 files changed

+53
-8
lines changed

2 files changed

+53
-8
lines changed

CHANGELOG.md

Lines changed: 49 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,57 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
99

10-
## [v2.14.5](https://github.com/tencentyun/cos-nodejs-sdk-v5/compare/v2.14.4...v2.14.5) - 2024-08-12
10+
## [v2.16.0-beta.0](https://github.com/tencentyun/cos-nodejs-sdk-v5/compare/v2.15.0...v2.16.0-beta.0) - 2025-04-24
11+
12+
### **BETA**
13+
- content-type、content-length加入签名计算
14+
- 优化 xml 解析,不做默认 trim
15+
- 去掉依赖库 request,改为自行维护的 cos-request
16+
- 优化 npm 发布包
17+
- nodejs 版本需要>= **9.0.0**
18+
19+
### Commits
20+
21+
- feat: 支持严格签名 [`f3a0f0f`](https://github.com/tencentyun/cos-nodejs-sdk-v5/commit/f3a0f0fe5f47f206ed69088fa4294b2d4a71ad30)
22+
- fix: 修改注释 [`271ee61`](https://github.com/tencentyun/cos-nodejs-sdk-v5/commit/271ee610839acbeaf3b5a469938fdc6bf1390492)
23+
- feat: 支持严格签名 [`cd06187`](https://github.com/tencentyun/cos-nodejs-sdk-v5/commit/cd061879fb4ff24697f851023f2eb63be2229f0e)
24+
25+
## [v2.15.0](https://github.com/tencentyun/cos-nodejs-sdk-v5/compare/v2.14.5...v2.15.0) - 2025-05-14
1126

1227
feat
13-
- 更新fast-xml-parser 版本
28+
- 优化重试逻辑
29+
- 优化 xml 解析,不做默认 trim
30+
- 优化 npm 发布包
31+
32+
### Merged
33+
34+
- feat: 优化 d.ts [`#224`](https://github.com/tencentyun/cos-nodejs-sdk-v5/pull/224)
35+
- upd: lock version [`#218`](https://github.com/tencentyun/cos-nodejs-sdk-v5/pull/218)
36+
37+
### Commits
38+
39+
- fix: 优化重试逻辑 [`8cc79e7`](https://github.com/tencentyun/cos-nodejs-sdk-v5/commit/8cc79e71ddb6db4b18bb7f2204b11964be38fa4c)
40+
- fix: 优化单测 [`22dac3d`](https://github.com/tencentyun/cos-nodejs-sdk-v5/commit/22dac3d9ae6f16fb1a687e8a4627ce8b2e0a1c8f)
41+
- fix: 支持严格签名 [`c74df48`](https://github.com/tencentyun/cos-nodejs-sdk-v5/commit/c74df482f71ad54e919318c6cd9cff7957ce6251)
42+
- feat: 2.15.0 [`313d6fe`](https://github.com/tencentyun/cos-nodejs-sdk-v5/commit/313d6fec81954891e2e0bd0eaf2ab56cbaedd515)
43+
- fix: 上传接口补充默认 contentType [`b138ff9`](https://github.com/tencentyun/cos-nodejs-sdk-v5/commit/b138ff966357f9bb07389ee25f9d888f38117e12)
44+
- fix: 支持严格签名 [`1270256`](https://github.com/tencentyun/cos-nodejs-sdk-v5/commit/1270256f61b86fb631a793d16fbedfca062b2d79)
45+
- fix: 优化单测 [`f0d72a4`](https://github.com/tencentyun/cos-nodejs-sdk-v5/commit/f0d72a43204950efd5e8b08d092c8beb4a286a91)
46+
- fix: 优化单测 [`841b934`](https://github.com/tencentyun/cos-nodejs-sdk-v5/commit/841b9347572d78c0e1cc4203ce1585b174a8302a)
47+
- fix: 优化单测 [`24667f1`](https://github.com/tencentyun/cos-nodejs-sdk-v5/commit/24667f1ac8efff309162cbba92eb85cf47352ad2)
48+
- fix: 修复单测 [`c362e6a`](https://github.com/tencentyun/cos-nodejs-sdk-v5/commit/c362e6ac46a8262b3e0bc70f0483639c6d88dbcc)
49+
- Updated CHANGELOG.md [`3d34a60`](https://github.com/tencentyun/cos-nodejs-sdk-v5/commit/3d34a607871199406fe17171a2bca0fb06ff90b1)
50+
- fix: 优化单测 [`572d893`](https://github.com/tencentyun/cos-nodejs-sdk-v5/commit/572d893c8742a59b0aa74c4db97227a5af270215)
51+
- fix: 更新依赖 [`ac9bfea`](https://github.com/tencentyun/cos-nodejs-sdk-v5/commit/ac9bfea2328f45d104c3bedb5ca04a424a020bb1)
52+
- fix: 优化单测 [`463695c`](https://github.com/tencentyun/cos-nodejs-sdk-v5/commit/463695c5107bbe9ba55e50d38eaa7451feb33113)
53+
- fix: 优化单测 [`42e052a`](https://github.com/tencentyun/cos-nodejs-sdk-v5/commit/42e052ab44bd9254bd32bf9e9049a37403b48289)
54+
- upd: 修改版本号 [`c9dc17b`](https://github.com/tencentyun/cos-nodejs-sdk-v5/commit/c9dc17bf9db4fc16656d572c76a0fb16cdee2ba2)
55+
- fix: 更换 request [`bda825d`](https://github.com/tencentyun/cos-nodejs-sdk-v5/commit/bda825d3f63790a2493d7579c0701757b18d557f)
56+
- fix: 优化单测 [`e3e34cf`](https://github.com/tencentyun/cos-nodejs-sdk-v5/commit/e3e34cfd4fe579676a2960a0c4d842b44e40d93a)
57+
- fix: 优化单测 [`092ba38`](https://github.com/tencentyun/cos-nodejs-sdk-v5/commit/092ba384c33c44abfdfd16275aa7317d8631e2cd)
58+
- fix: 优化单测 [`5415a34`](https://github.com/tencentyun/cos-nodejs-sdk-v5/commit/5415a340fb3a7823e54d04661c0fa6e3a2058a6d)
59+
60+
## [v2.14.5](https://github.com/tencentyun/cos-nodejs-sdk-v5/compare/v2.14.4...v2.14.5) - 2024-08-12
1461

1562
### Merged
1663

@@ -464,8 +511,6 @@ fix:修复host签名时不兼容全球加速域名
464511

465512
## [v2.11.2](https://github.com/tencentyun/cos-nodejs-sdk-v5/compare/v2.11.1...v2.11.2) - 2021-11-18
466513

467-
fix:CIHost兼容处理
468-
469514
### Commits
470515

471516
- Updated CHANGELOG.md [`fa1259a`](https://github.com/tencentyun/cos-nodejs-sdk-v5/commit/fa1259a0fc833ccd5982c2515954726747f2bc49)

index.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1258,9 +1258,9 @@ declare namespace COS {
12581258
ResponseContentEncoding?: string;
12591259
/** 设置响应中的 Content-Language 头部的值 */
12601260
ResponseContentLanguage?: string;
1261-
/** 设置响应中的 Content-Type 头部的值 */
1262-
ResponseExpires?: string;
12631261
/** 设置响应中的 Expires 头部的值 */
1262+
ResponseExpires?: string;
1263+
/** 设置响应中的 Content-Type 头部的值 */
12641264
ResponseContentType?: string;
12651265
/** RFC 2616 中定义的字节范围,范围值必须使用 bytes=first-last 格式,first 和 last 都是基于0开始的偏移量。例如 bytes=0-9 表示下载对象的开头10个字节的数据 ,如果不指定,则表示下载整个对象 */
12661266
Range?: string;
@@ -2171,7 +2171,7 @@ declare class COS {
21712171
): void;
21722172
getBucketLocation(params: COS.GetBucketLocationParams): Promise<COS.GetBucketLocationResult>;
21732173

2174-
/** 获取 Bucket 的读取权限策略 @see https://cloud.tencent.com/document/product/436/8282 */
2174+
/** 设置 Bucket 的读取权限策略 @see https://cloud.tencent.com/document/product/436/8282 */
21752175
putBucketPolicy(
21762176
params: COS.PutBucketPolicyParams,
21772177
callback: (err: COS.CosError, data: COS.PutBucketPolicyResult) => void
@@ -2185,7 +2185,7 @@ declare class COS {
21852185
): void;
21862186
getBucketPolicy(params: COS.GetBucketPolicyParams): Promise<COS.GetBucketPolicyResult>;
21872187

2188-
/** 删除 Bucket 的 跨域设置 @see https://cloud.tencent.com/document/product/436/8285 */
2188+
/** 删除 Bucket 的读取权限策略 @see https://cloud.tencent.com/document/product/436/8285 */
21892189
deleteBucketPolicy(
21902190
params: COS.DeleteBucketPolicyParams,
21912191
callback: (err: COS.CosError, data: COS.DeleteBucketPolicyResult) => void

0 commit comments

Comments
 (0)