File tree Expand file tree Collapse file tree 5 files changed +11
-6
lines changed
test/java/test/com/qiniu/storage Expand file tree Collapse file tree 5 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 11# Changelog
2+ ## 7.15.0(2023-12-25)
3+ * 区域缓存支持磁盘缓存
4+ * 提供快速生成公有云的区域实例的方法
5+ * batch 操作接口增强
6+ * 支持归档直读
7+
28## 7.14.0(2023-07-18)
39* Region 移除亚太首尔区域
410* BucketManager 的部分 Bucket 级别接口支持主备重试
Original file line number Diff line number Diff line change 1313<dependency >
1414 <groupId >com.qiniu</groupId >
1515 <artifactId >qiniu-java-sdk</artifactId >
16- <version >[7.14 .0, 7.14 .99]</version >
16+ <version >[7.15 .0, 7.15 .99]</version >
1717</dependency >
1818```
1919或者 Gradle:
2020``` groovy
21- implementation 'com.qiniu:qiniu-java-sdk:7.14 .+'
21+ implementation 'com.qiniu:qiniu-java-sdk:7.15 .+'
2222```
2323
2424## 运行环境
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ public final class Constants {
1010 /**
1111 * 版本号
1212 */
13- public static final String VERSION = "7.14 .0" ;
13+ public static final String VERSION = "7.15 .0" ;
1414 /**
1515 * 块大小,不能改变
1616 */
Original file line number Diff line number Diff line change 55import java .text .DateFormat ;
66import java .text .SimpleDateFormat ;
77import java .util .Date ;
8+ import java .util .Locale ;
89import java .util .TimeZone ;
910
1011public final class DefaultHeader {
@@ -35,7 +36,7 @@ private static boolean isDisableQiniuTimestampSignature() {
3536 }
3637
3738 private static String xQiniuDate () {
38- DateFormat format = new SimpleDateFormat ("yyyyMMdd'T'HHmmss'Z'" );
39+ DateFormat format = new SimpleDateFormat ("yyyyMMdd'T'HHmmss'Z'" , Locale . US );
3940 format .setTimeZone (TimeZone .getTimeZone ("UTC" ));
4041 return format .format (new Date ());
4142 }
Original file line number Diff line number Diff line change 66import com .qiniu .http .Response ;
77import com .qiniu .storage .BucketManager ;
88import com .qiniu .storage .Configuration ;
9- import com .qiniu .storage .Region ;
109import com .qiniu .storage .model .*;
11- import com .qiniu .util .Auth ;
1210import com .qiniu .util .Json ;
1311import com .qiniu .util .StringUtils ;
1412import okhttp3 .Call ;
You can’t perform that action at this time.
0 commit comments