From 9c736660b13155a6302c36f3d503012b798fc1f8 Mon Sep 17 00:00:00 2001 From: Wei Wei Date: Tue, 27 Jul 2021 15:30:07 +0800 Subject: [PATCH] Upgrade API version to 2020-10-02 and version to 3.14.0 (#882) --- ChangeLog.md | 21 ++++++++++++++------- README.md | 17 +++++++++-------- package-lock.json | 2 +- package.json | 2 +- src/blob/utils/constants.ts | 5 +++-- src/queue/utils/constants.ts | 5 +++-- src/table/utils/constants.ts | 5 +++-- 7 files changed, 34 insertions(+), 23 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index 9c6b7710e..6c85733da 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -4,14 +4,12 @@ ## Upcoming Release -Table: +## 2021.7 Version 3.14.0 -- Added test for URI path parser and updated regex to allow for non standard dev store account names. -- Corrected serialization of errors during Entity Group Transactions. -- Correct entity tests using invalid eTag formats. -- Added support for PATCH Verb in Table Batch Operations / Entity Group Transactions. -- Added /@Element to the odata.metadata response. -- Allowed use of empty string for partitionKey and rowKey on InsertEntity. +General: + +- Bump up service API version to 2020-10-02 +- Added an example for run Azurite with https in docker in Readme Blob: @@ -19,6 +17,15 @@ Blob: - Return `x-ms-copy-status` header from syncCopyFromURL. - Fixed continuation token not work correctly when blob names are only number +Table: + +- Added test for URI path parser and updated regex to allow for non standard dev store account names. +- Corrected serialization of errors during Entity Group Transactions. +- Corrected entity tests using invalid eTag formats. +- Added support for PATCH Verb in Table Batch Operations / Entity Group Transactions. +- Added /@Element to the odata.metadata response. +- Allowed use of empty string for partitionKey and rowKey on InsertEntity. + ## 2021.6 Version 3.13.1 Blob: diff --git a/README.md b/README.md index 1c8af8845..5c643100b 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ | Version | Azure Storage API Version | Service Support | Description | Reference Links | | ------------------------------------------------------------------ | ------------------------- | ------------------------------ | ------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| 3.13.1 | 2020-08-04 | Blob, Queue and Table(preview) | Azurite V3 based on TypeScript & New Architecture | [NPM](https://www.npmjs.com/package/azurite) - [Docker](https://hub.docker.com/_/microsoft-azure-storage-azurite) - [Visual Studio Code Extension](https://marketplace.visualstudio.com/items?itemName=Azurite.azurite) | +| 3.14.0 | 2020-10-02 | Blob, Queue and Table(preview) | Azurite V3 based on TypeScript & New Architecture | [NPM](https://www.npmjs.com/package/azurite) - [Docker](https://hub.docker.com/_/microsoft-azure-storage-azurite) - [Visual Studio Code Extension](https://marketplace.visualstudio.com/items?itemName=Azurite.azurite) | | [Legacy (v2)](https://github.com/Azure/Azurite/tree/legacy-master) | 2016-05-31 | Blob, Queue and Table | Legacy Azurite V2 | [NPM](https://www.npmjs.com/package/azurite) | ## Introduction @@ -24,19 +24,19 @@ Compared to V2, Azurite V3 implements a new architecture leveraging code generat ## Features & Key Changes in Azurite V3 -- Blob storage features align with Azure Storage API version 2020-08-04 (Refer to support matrix section below) +- Blob storage features align with Azure Storage API version 2020-10-02 (Refer to support matrix section below) - SharedKey/Account SAS/Service SAS/Public Access Authentications - Get/Set Blob Service Properties - Create/List/Delete Containers - Create/Read/List/Update/Delete Block Blobs - Create/Read/List/Update/Delete Page Blobs -- Queue storage features align with Azure Storage API version 2020-08-04 (Refer to support matrix section below) +- Queue storage features align with Azure Storage API version 2020-10-02 (Refer to support matrix section below) - SharedKey/Account SAS/Service SAS - Get/Set Queue Service Properties - Preflight Request - Create/List/Delete Queues - Put/Get/Peek/Updata/Deleta/Clear Messages -- Table storage features align with Azure Storage API version 2020-08-04 (Refer to support matrix section below) +- Table storage features align with Azure Storage API version 2020-10-02 (Refer to support matrix section below) - SharedKey/Account SAS/Service SAS - Create/List/Delete Tables - Insert/Update/Query/Delete Table Entities @@ -788,7 +788,7 @@ Legacy Azurite V2 supports Azure Storage Blob, Queue and Table services. Azurite V3 currently only supports Azure Storage blob service. Queue service is supported after V3.2.0-preview. Table service support is currently under discussion. -Azurite V3 supports features from Azure Storage API version 2020-08-04, and will maintain parity with the latest API versions, in a more frequent update frequency than legacy Azurite V2. +Azurite V3 supports features from Azure Storage API version 2020-10-02, and will maintain parity with the latest API versions, in a more frequent update frequency than legacy Azurite V2. ## TypeScript Server Code Generator @@ -799,7 +799,7 @@ All the generated code is kept in `generated` folder, including the generated mi ## Support Matrix -Latest release targets **2020-08-04** API version **blob** service. +Latest release targets **2020-10-02** API version **blob** service. Detailed support matrix: @@ -854,8 +854,9 @@ Detailed support matrix: - Object Replication Service - Put Blob From URL - Version Level Worm + - Sync copy blob by access source with oauth -Latest version supports for **2020-08-04** API version **queue** service. +Latest version supports for **2020-10-02** API version **queue** service. Detailed support matrix: - Supported Vertical Features @@ -885,7 +886,7 @@ Detailed support matrix: - SharedKey Lite - Delegation SAS -Latest version supports for **2020-08-04** API version **table** service (preview). +Latest version supports for **2020-10-02** API version **table** service (preview). Detailed support matrix: - Supported Vertical Features diff --git a/package-lock.json b/package-lock.json index f010d30ed..cc6556475 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "azurite", - "version": "3.13.1", + "version": "3.14.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index d4ad56fb8..d9beb54a5 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "displayName": "Azurite", "description": "An open source Azure Storage API compatible server", "icon": "icon.png", - "version": "3.13.1", + "version": "3.14.0", "publisher": "Azurite", "categories": [ "Other" diff --git a/src/blob/utils/constants.ts b/src/blob/utils/constants.ts index 779fb2a0d..2893e8678 100644 --- a/src/blob/utils/constants.ts +++ b/src/blob/utils/constants.ts @@ -1,8 +1,8 @@ import { StoreDestinationArray } from "../../common/persistence/IExtentStore"; import * as Models from "../generated/artifacts/models"; -export const VERSION = "3.13.1"; -export const BLOB_API_VERSION = "2020-08-04"; +export const VERSION = "3.14.0"; +export const BLOB_API_VERSION = "2020-10-02"; export const DEFAULT_BLOB_SERVER_HOST_NAME = "127.0.0.1"; // Change to 0.0.0.0 when needs external access export const DEFAULT_LIST_BLOBS_MAX_RESULTS = 5000; export const DEFAULT_LIST_CONTAINERS_MAX_RESULTS = 5000; @@ -96,6 +96,7 @@ export const DEFAULT_BLOB_PERSISTENCE_ARRAY: StoreDestinationArray = [ ]; export const ValidAPIVersions = [ + "2020-10-02", "2020-08-04", "2020-06-12", "2020-04-08", diff --git a/src/queue/utils/constants.ts b/src/queue/utils/constants.ts index 9d1836fa6..f96ec35f5 100644 --- a/src/queue/utils/constants.ts +++ b/src/queue/utils/constants.ts @@ -1,7 +1,7 @@ import { StoreDestinationArray } from "../../common/persistence/IExtentStore"; -export const VERSION = "3.13.1"; -export const QUEUE_API_VERSION = "2020-08-04"; +export const VERSION = "3.14.0"; +export const QUEUE_API_VERSION = "2020-10-02"; export const DEFAULT_QUEUE_SERVER_HOST_NAME = "127.0.0.1"; // Change to 0.0.0.0 when needs external access export const DEFAULT_QUEUE_LISTENING_PORT = 10001; export const IS_PRODUCTION = process.env.NODE_ENV === "production"; @@ -90,6 +90,7 @@ export const DEFAULT_QUEUE_PERSISTENCE_ARRAY: StoreDestinationArray = [ ]; export const ValidAPIVersions = [ + "2020-10-02", "2020-08-04", "2020-06-12", "2020-04-08", diff --git a/src/table/utils/constants.ts b/src/table/utils/constants.ts index 7870ee44a..a40a28567 100644 --- a/src/table/utils/constants.ts +++ b/src/table/utils/constants.ts @@ -13,8 +13,8 @@ export enum TABLE_STATUSCODE { } export const DEFAULT_TABLE_CONTEXT_PATH = "azurite_table_context"; -export const TABLE_API_VERSION = "2020-08-04"; -export const VERSION = "3.13.1"; +export const TABLE_API_VERSION = "2020-10-02"; +export const VERSION = "3.14.0"; export const HeaderConstants = { SERVER: "Server", @@ -43,6 +43,7 @@ export const RETURN_CONTENT = "return-content"; export const QUERY_RESULT_MAX_NUM = 1000; export const ValidAPIVersions = [ + "2020-10-02", "2020-08-04", "2020-06-12", "2020-04-08",