You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,18 @@
2
2
3
3
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
* list object functions support return restore info ([#1339](https://github.com/ali-sdk/ali-oss/issues/1339)) ([986b743](https://github.com/ali-sdk/ali-oss/commit/986b7432f06b216eea24ae0f7b437aaf8786a3d4))
10
+
* support restore Deep Cold Archive object ([#1337](https://github.com/ali-sdk/ali-oss/issues/1337)) ([ac500d3](https://github.com/ali-sdk/ali-oss/commit/ac500d3d87a911ec359d9ba781006034a78c1db2))
11
+
* support PostObject policy V4 signature and restore archive object with setting of days ([#1340](https://github.com/ali-sdk/ali-oss/issues/1340)) ([ca8c027](https://github.com/ali-sdk/ali-oss/commit/ca8c027264a875e56f2740fa88b45dd562c2b809))
12
+
13
+
### Bug Fixes
14
+
15
+
* fix requestError return null and signatureUrlV4 run in Node 8.x ([#1338](https://github.com/ali-sdk/ali-oss/issues/1338)) ([439ffde](https://github.com/ali-sdk/ali-oss/commit/439ffded0bf9f8b9e73bed9a917d5265b80e8286))
@@ -2449,6 +2448,9 @@ Success will return objects list on `objects` properties.
2449
2448
- size {Number} object size, e.g.: `344606`
2450
2449
- storageClass {String} storage class type, e.g.: `Standard`
2451
2450
- owner {Object} object owner, including `id` and `displayName`
2451
+
- restoreInfo {Object|undefined} The restoration status of the object
2452
+
- ongoingRequest {Boolean} Whether the restoration is ongoing
2453
+
- expireDate {Date|undefined} The time before which the restored object can be read
2452
2454
- prefixes {Array<String>} prefix list
2453
2455
- isTruncated {Boolean} truncate or not
2454
2456
- nextMarker {String} next marker string
@@ -2515,6 +2517,9 @@ Success will return objects list on `objects` properties.
2515
2517
- size {Number} object size, e.g.: `344606`
2516
2518
- storageClass {String} storage class type, e.g.: `Standard`
2517
2519
- owner {Object|null} object owner, including `id` and `displayName`
2520
+
- restoreInfo {Object|undefined} The restoration status of the object
2521
+
- ongoingRequest {Boolean} Whether the restoration is ongoing
2522
+
- expireDate {Date|undefined} The time before which the restored object can be read
2518
2523
- prefixes {Array<String>} prefix list
2519
2524
- isTruncated {Boolean} truncate or not
2520
2525
- nextContinuationToken {String} next continuation-token string
@@ -2595,6 +2600,9 @@ Success will return objects list on `objects` properties.
2595
2600
- versionId {String} object versionId
2596
2601
- storageClass {String} storage class type, e.g.: `Standard`
2597
2602
- owner {Object} object owner, including `id` and `displayName`
2603
+
- restoreInfo {Object|undefined} The restoration status of the object
2604
+
- ongoingRequest {Boolean} Whether the restoration is ongoing
2605
+
- expireDate {Date|undefined} The time before which the restored object can be read
2598
2606
- deleteMarker {Array<ObjectDeleteMarker>} object delete marker info list
2599
2607
Each `ObjectDeleteMarker`
2600
2608
- name {String} object name on oss
@@ -2954,6 +2962,8 @@ parameters:
2954
2962
- [timeout] {Number} the operation timeout
2955
2963
- [versionId] {String} the version id of history object
2956
2964
- [type] {String} the default type is Archive
2965
+
- [Days] {number} The duration within which the object remains in the restored state. The default value is 2.
2966
+
- [JobParameters] {string} The container that stores the restoration priority. This parameter is valid only when you restore Cold Archive or Deep Cold Archive objects. The default value is Standard.
2957
2967
2958
2968
Success will return:
2959
2969
@@ -2965,27 +2975,54 @@ Success will return:
2965
2975
2966
2976
example:
2967
2977
2968
-
- Restore an object with Archive type
2978
+
- Restore an Archive object
2969
2979
2970
2980
```js
2971
2981
const result = await store.restore('ossdemo.txt');
2972
2982
console.log(result.status);
2973
2983
```
2974
2984
2975
-
- Restore an object with ColdArchive type
2985
+
- Restore a Cold Archive object
2976
2986
2977
2987
```js
2978
2988
const result = await store.restore('ossdemo.txt', { type: 'ColdArchive' });
2979
2989
console.log(result.status);
2980
2990
```
2981
2991
2982
-
- Days for unfreezing Specifies the days for unfreezing
- policy {string | Object} The policy form field in a PostObject request is used to specify the expiration time and conditions of the PostObject request that you initiate to upload an object by using an HTML form. The value of the policy form field is a JSON string or an object.
3863
+
- date {Date} The time when the request was initiated.
3864
+
3865
+
Success will return a V4 signature of the PostObject request.
0 commit comments