Skip to content

Commit

Permalink
Merge pull request #600 from YangSen-qn:master
Browse files Browse the repository at this point in the history
version to v7.15.0
  • Loading branch information
bachue authored Dec 27, 2023
2 parents f784a07 + 7a951c6 commit 9440857
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# Changelog
## 7.15.0(2023-12-25)
* 区域缓存支持磁盘缓存
* 提供快速生成公有云的区域实例的方法
* batch 操作接口增强
* 支持归档直读

## 7.14.0(2023-07-18)
* Region 移除亚太首尔区域
* BucketManager 的部分 Bucket 级别接口支持主备重试
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
<dependency>
<groupId>com.qiniu</groupId>
<artifactId>qiniu-java-sdk</artifactId>
<version>[7.14.0, 7.14.99]</version>
<version>[7.15.0, 7.15.99]</version>
</dependency>
```
或者 Gradle:
```groovy
implementation 'com.qiniu:qiniu-java-sdk:7.14.+'
implementation 'com.qiniu:qiniu-java-sdk:7.15.+'
```

## 运行环境
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/qiniu/common/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public final class Constants {
/**
* 版本号
*/
public static final String VERSION = "7.14.0";
public static final String VERSION = "7.15.0";
/**
* 块大小,不能改变
*/
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/com/qiniu/util/DefaultHeader.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
import java.util.TimeZone;

public final class DefaultHeader {
Expand Down Expand Up @@ -35,7 +36,7 @@ private static boolean isDisableQiniuTimestampSignature() {
}

private static String xQiniuDate() {
DateFormat format = new SimpleDateFormat("yyyyMMdd'T'HHmmss'Z'");
DateFormat format = new SimpleDateFormat("yyyyMMdd'T'HHmmss'Z'", Locale.US);
format.setTimeZone(TimeZone.getTimeZone("UTC"));
return format.format(new Date());
}
Expand Down
2 changes: 0 additions & 2 deletions src/test/java/test/com/qiniu/storage/BucketTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
import com.qiniu.http.Response;
import com.qiniu.storage.BucketManager;
import com.qiniu.storage.Configuration;
import com.qiniu.storage.Region;
import com.qiniu.storage.model.*;
import com.qiniu.util.Auth;
import com.qiniu.util.Json;
import com.qiniu.util.StringUtils;
import okhttp3.Call;
Expand Down

0 comments on commit 9440857

Please sign in to comment.