Skip to content

Commit

Permalink
bump version to v7.12.0 and update CHANGELOG.md (#425)
Browse files Browse the repository at this point in the history
* bump version to v7.12.0 and update CHANGELOG.md

* Revert "pending server update"

This reverts commit d653fff.
  • Loading branch information
lihsai0 committed Dec 25, 2023
1 parent 8074af5 commit 96971af
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,9 @@
# Changelog

## 7.12.0 (2023-12-11)
* 对象存储,支持归档直读存储
* 对象存储,批量操作支持自动查询 rs 服务域名

## 7.11.0 (2023-09-05)
* 支持代理

Expand Down
2 changes: 1 addition & 1 deletion src/Qiniu/Config.php
Expand Up @@ -4,7 +4,7 @@

final class Config
{
const SDK_VER = '7.11.0';
const SDK_VER = '7.12.0';

const BLOCK_SIZE = 4194304; //4*1024*1024 分块上传块大小,该参数为接口规格,不能修改

Expand Down
8 changes: 4 additions & 4 deletions tests/Qiniu/Tests/BucketTest.php
Expand Up @@ -193,7 +193,7 @@ public function testBucketLifecycleRule()
$this->assertEquals(self::$bucketLifeRulePrefix, $rule["prefix"]);
$this->assertEquals(80, $rule["delete_after_days"]);
$this->assertEquals(70, $rule["to_line_after_days"]);
//$this->assertEquals(71, $rule["to_archive_ir_after_days"]);
$this->assertEquals(71, $rule["to_archive_ir_after_days"]);
$this->assertEquals(72, $rule["to_archive_after_days"]);
$this->assertEquals(74, $rule["to_deep_archive_after_days"]);

Expand Down Expand Up @@ -226,7 +226,7 @@ public function testBucketLifecycleRule()
$this->assertEquals('update-' . self::$bucketLifeRulePrefix, $rule["prefix"]);
$this->assertEquals(90, $rule["delete_after_days"]);
$this->assertEquals(75, $rule["to_line_after_days"]);
//$this->assertEquals(78, $rule["to_archive_ir_after_days"]);
$this->assertEquals(78, $rule["to_archive_ir_after_days"]);
$this->assertEquals(80, $rule["to_archive_after_days"]);
$this->assertEquals(85, $rule["to_deep_archive_after_days"]);

Expand Down Expand Up @@ -561,7 +561,7 @@ public function testSetObjectLifecycle()
list($ret, $error) = self::$bucketManager->stat(self::$bucketName, $key);
$this->assertNull($error);
$this->assertNotNull($ret['transitionToIA']);
//$this->assertNotNull($ret['transitionToArchiveIR']);
$this->assertNotNull($ret['transitionToArchiveIR']);
$this->assertNotNull($ret['transitionToARCHIVE']);
$this->assertNotNull($ret['transitionToDeepArchive']);
$this->assertNotNull($ret['expiration']);
Expand Down Expand Up @@ -594,7 +594,7 @@ public function testSetObjectLifecycleWithCond()
list($ret, $error) = self::$bucketManager->stat(self::$bucketName, $key);
$this->assertNull($error);
$this->assertNotNull($ret['transitionToIA']);
//$this->assertNotNull($ret['transitionToArchiveIR']);
$this->assertNotNull($ret['transitionToArchiveIR']);
$this->assertNotNull($ret['transitionToARCHIVE']);
$this->assertNotNull($ret['transitionToDeepArchive']);
$this->assertNotNull($ret['expiration']);
Expand Down

0 comments on commit 96971af

Please sign in to comment.