Skip to content

Commit 871a586

Browse files
authored
Add files via upload
1 parent d65cc8e commit 871a586

File tree

2 files changed

+124
-0
lines changed

2 files changed

+124
-0
lines changed

README.MD

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
Version 3.19.5
2+
Updated the version ID format. The new version ID is named in the following format: Main version ID.Year ID.Month ID.
3+
4+
New features:
5+
1. Additional header field is added to the resumable upload API uploadFile. You can set parameters such as acl, storageClass in the header.
6+
2. By default, error-level logs are added to the non-2xx response statuses of OBS.
7+
8+
Documentation & Demo
9+
1. Added the description of the additional header fields for resumable upload in the section about data types in the API Reference.
10+
2. Added the section about predefined constant in the API Reference. The value of BUCKET_OWNER_FULL_CONTROL is added to the predefined access control policies.
11+
3. Added the creation and usage of temporary access keys in the "Getting Started" section of the Developer Guide.
12+
13+
Resolved issues:
14+
1. When the GET request is initiated and the server returns 302 redirection, the issue that new request does not extract the complete location information is fixed.
15+
2. Fixed the issue that the process exits abnormally due to logrotate in special scenarios.
16+
3. Optimized the resumable upload API uploadFile. The default part size is changed to 9 MB.
17+
4. Fixed the issue that bucketClient does not support bucket encryption APIs.
18+
-------------------------------------------------------------------------------------------------
19+
20+
Version 3.1.4
21+
New features:
22+
23+
Documentation & Demo
24+
25+
Resolved issues:
26+
1. Fixed the issue that uploading objects in chunk mode does not comply with HTTP regulations.
27+
2. Fixed the issue that the progress is not cleared immediately in an error scenario if the progress bar is enabled for the following APIs: ObsClient.putContent, ObsClient.putObject, ObsClient.putFile, ObsClient.appendObject, and ObsClient.uploadPart.
28+
3. Fixed the issue that ObsClient.initLog may cause log conflicts by modifying that the logging of ObsClient does not inherit the parent configuration.
29+
4. Fixed the issue that ObsClient.close fails to close the log file handle correctly.
30+
31+
-------------------------------------------------------------------------------------------------
32+
33+
Version 3.1.2.1
34+
New features:
35+
1. Added bucket encryption APIs: ObsClient.setBucketEncryption, ObsClient.getBucketEncryption, and ObsClient.deleteBucketEncryption. Currently, only the SSE-KMS encryption is supported.
36+
2. Added the identifier indicating whether to automatically close the input stream in the following APIs: ObsClient.putContent, ObsClient.putObject, ObsClient.appendObject, and ObsClient.uploadPart. The default value is true.
37+
38+
Documentation & Demo
39+
40+
Resolved issues:
41+
1. Fixed the issue that multiple subprocesses are forked when ObsClient is initialized for multiple times in the Linux OS.
42+
43+
44+
-------------------------------------------------------------------------------------------------
45+
Version 3.1.2
46+
New features:
47+
1. FunctionGraph configuration and query are supported in the bucket event notification APIs: ObsClient.setBucketNotification and ObsClient.getBucketNotification.
48+
2. Added the image processing parameters to the resumable download API ObsClient.downloadFile.
49+
3. Added the batch download API ObsClient.downloadFiles to support download of objects by specified prefix, progress return, automatic multipart download of large files, and resumable download.
50+
51+
Documentation & Demo
52+
1. Added the description of FunctionGraph configuration in the section about event notification in the Developer Guide.
53+
2. Added the parameter description of FunctionGraph configuration in sections related to configuring and obtaining bucket notification in the API Reference.
54+
3. Modified the sample code for enabling the bucket logging in the section related to access logs in the Developer Guide.
55+
56+
Resolved issues:
57+
1. Fixed the issue that the error information reported by the bucket creation API ObsClient.createBucket is incorrect due to protocol negotiation.
58+
2. Rectified the error of the SetBucketLogging function in the sample code examples/obs_python_sample.py.
59+
3. Fixed the issue that the contentDisposition parameter is incorrectly processed by the object upload API ObsClient.setObjectMetadata in the SDK.
60+
4. Modified the coding policy of special characters in the object temporary authentication access API ObsClient.createSignedUrl. Tilde (~) is used as the reserved character of the URL encoding to solve the problem that results are inconsistent in the Python2.x and 3.x environments.
61+
5. Optimized the bottom-layer code to improve the SDK performance in uploading and downloading small files in the Python2.x environment.
62+
6. Fixed the issue that the process is forked when the OBS package is imported to the Linux OS.

README_CN.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
Version 3.19.5
2+
更新发布版本号,新的版本号命名方式:主版本号.年标识.月标识。
3+
4+
新特性:
5+
1. 断点续传上传接口(uploadFile)新增header附加头域,可在头域中设置acl, storageClass等参数;
6+
2. OBS非2xx的状态响应默认增加error级别的日志记录;
7+
8+
资料&demo:
9+
1. 接口参考数据类型章节新增对断点续传上传附加头域的参数描述;
10+
2. 接口参考预定义常量章节,预定义访问策略新增BUCKET_OWNER_FULL_CONTROL值;
11+
3. 开发指南快速入门章节新增临时访问密钥的创建和使用;
12+
13+
修复问题:
14+
1. 修复GET请求,服务端返回302重定向时,新的请求没有提取Location完整信息的问题;
15+
2. 修复特殊场景下,日志切割引发进程异常退出的问题;
16+
3. 优化断点续传上传接口(uploadFile),将默认分段大小更新为9MB;
17+
4. 修复bucketClient不支持桶加密相关接口的问题;
18+
-------------------------------------------------------------------------------------------------
19+
20+
Version 3.1.4
21+
新特性:
22+
23+
资料&demo:
24+
25+
修复问题:
26+
1. 修复使用chunk模式上传对象时,不符合HTTP规范的问题;
27+
2. 修复ObsClient.putContent/ObsClient.putObject/ObsClient.putFile/ObsClient.appendObject/ObsClient.uploadPart开启进度条后,在报错场景下未及时清理进度的问题;
28+
3. 修复ObsClient.initLog可能导致日志冲突的问题,修改为不继承父配置;
29+
4. 修复ObsClient.close方法未正常关闭日志文件句柄的问题;
30+
31+
-------------------------------------------------------------------------------------------------
32+
33+
Version 3.1.2.1
34+
新特性:
35+
1. 新增桶加密接口(ObsClient.setBucketEncryption/ObsClient.getBucketEncryption/ObsClient.deleteBucketEncryption),目前仅支持SSE-KMS的服务端加密方式;
36+
2. 对象上传相关接口(ObsClient.putContent/ObsClient.putObject/ObsClient.appendObject/ObsClient.uploadPart)新增是否自动关闭输入流标识符,默认为 True;
37+
38+
资料&demo:
39+
40+
修复问题:
41+
1. 修复linux操作系统下,多次初始化ObsClient导致的fork多个子进程的问题。
42+
43+
44+
-------------------------------------------------------------------------------------------------
45+
Version 3.1.2
46+
新特性:
47+
1. 桶事件通知接口(ObsClient.setBucketNotification/ObsClient.getBucketNotification)新增对函数工作流服务配置和查询的支持;
48+
2. 断点续传下载接口(ObsClient.downloadFile)新增图片转码参数;
49+
3. 新增批量下载接口(ObsClient.downloadFiles), 支持按指定前缀下载对象,支持进度返回、大文件自动分段下载和断点续传下载;
50+
51+
资料&demo:
52+
1. 开发指南事件通知章节,新增对函数工作流服务配置的介绍;
53+
2. 接口参考设置/获取桶的时间通知配置章节,新增函数工作流服务配置的参数描述;
54+
3. 开发指南访问日志章节,修改开启桶日志小节的代码示例;
55+
56+
修复问题:
57+
1. 修复创建桶接口(ObsClient.createBucket)由于协议协商导致报错信息不准确的问题;
58+
2. 修复示例代码 examples/obs_python_sample.py中 SetBucketLogging函数的错误;
59+
3. 修复SDK上传对象接口(ObsClient.setObjectMetadata)接口对contentDisposition参数处理有误的问题;
60+
4. 修改对象临时鉴权访问接口(ObsClient.createSignedUrl)对特殊字符的编码策略,将'~'符号作为URL编码保留字符,解决Python2.x/3.x环境结果不一致的问题;
61+
5. 优化底层代码,提升SDK在Python2.x环境下小文件上传/下载的性能;
62+
6. 修复在linux操作系统下,引入obs包会fork进程的问题;

0 commit comments

Comments
 (0)