From ad06a0201421fb30666180b508119258e640c760 Mon Sep 17 00:00:00 2001 From: EmmaZhu-MSFT Date: Wed, 25 Oct 2023 15:39:46 +0800 Subject: [PATCH] Bump REST API version to 2023-11-03, package version to 3.27.0 (#2263) --- ChangeLog.md | 8 +++++++- README.md | 14 +++++++------- package-lock.json | 6 +++--- package.json | 2 +- src/blob/utils/constants.ts | 5 +++-- src/queue/utils/constants.ts | 5 +++-- src/table/utils/constants.ts | 5 +++-- 7 files changed, 27 insertions(+), 18 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index ec049c173..1d873e9ae 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -4,6 +4,12 @@ ## Upcoming Release +## 2023.10 Version 3.27.0 + +General: + +- Bump up service API version to 2023-11-03 + Blob: - Fix validation of Blob SAS token when using the second key for an account in `AZURITE_ACCOUNTS` @@ -11,7 +17,7 @@ Blob: - Support blob new access tier Cold - Fixed startCopyFromURL, copyFromURL API to return 400 (InvalidHeaderValue) when copy source has invalid format. (issue #1954) - Fixed CommitBlockList API to return 400 (InvalidXmlDocument) when the request is sent with JSON body. (issue #1955) -- Added "x-ms-is-hns-enabled" header in x-ms-is-hns-enabled API responds (issue #1810) +- Added "x-ms-is-hns-enabled" header in GetAccountInfo API responds (issue #1810) - Fixed authentication error in production style URL for secondary location (issue #2208) - Fixed issue of failures for blob batch requests in product style. diff --git a/README.md b/README.md index 8db16d5ba..559d16c3e 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ | Version | Azure Storage API Version | Service Support | Description | Reference Links | | ------------------------------------------------------------------ | ------------------------- | ------------------------------ | ------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| 3.26.0 | 2023-08-03 | 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.27.0 | 2023-11-03 | 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) | - [Azurite V3](#azurite-v3) @@ -76,19 +76,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 2023-08-03 (Refer to support matrix section below) +- Blob storage features align with Azure Storage API version 2023-11-03 (Refer to support matrix section below) - SharedKey/Account SAS/Service SAS/Public Access Authentications/OAuth - 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 2023-08-03 (Refer to support matrix section below) +- Queue storage features align with Azure Storage API version 2023-11-03 (Refer to support matrix section below) - SharedKey/Account SAS/Service SAS/OAuth - 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 2023-08-03 (Refer to support matrix section below) +- Table storage features align with Azure Storage API version 2023-11-03 (Refer to support matrix section below) - SharedKey/Account SAS/Service SAS/OAuth - Create/List/Delete Tables - Insert/Update/Query/Delete Table Entities @@ -921,7 +921,7 @@ All the generated code is kept in `generated` folder, including the generated mi ## Support Matrix -Latest release targets **2023-08-03** API version **blob** service. +Latest release targets **2023-11-03** API version **blob** service. Detailed support matrix: @@ -979,7 +979,7 @@ Detailed support matrix: - Encryption Scope - Get Page Ranges Continuation Token -Latest version supports for **2023-08-03** API version **queue** service. +Latest version supports for **2023-11-03** API version **queue** service. Detailed support matrix: - Supported Vertical Features @@ -1008,7 +1008,7 @@ Detailed support matrix: - Following features or REST APIs are NOT supported or limited supported in this release (will support more features per customers feedback in future releases) - SharedKey Lite -Latest version supports for **2023-08-03** API version **table** service (preview). +Latest version supports for **2023-11-03** API version **table** service (preview). Detailed support matrix: - Supported Vertical Features diff --git a/package-lock.json b/package-lock.json index 235d6b988..851b0acb9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "azurite", - "version": "3.26.0", + "version": "3.27.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "azurite", - "version": "3.26.0", + "version": "3.27.0", "license": "MIT", "dependencies": { "@azure/ms-rest-js": "^1.5.0", @@ -18190,4 +18190,4 @@ "dev": true } } -} +} \ No newline at end of file diff --git a/package.json b/package.json index df7ae2738..4704c8347 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.26.0", + "version": "3.27.0", "publisher": "Azurite", "categories": [ "Other" diff --git a/src/blob/utils/constants.ts b/src/blob/utils/constants.ts index 2ff60262a..971f35750 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.26.0"; -export const BLOB_API_VERSION = "2023-08-03"; +export const VERSION = "3.27.0"; +export const BLOB_API_VERSION = "2023-11-03"; 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; @@ -97,6 +97,7 @@ export const DEFAULT_BLOB_PERSISTENCE_ARRAY: StoreDestinationArray = [ ]; export const ValidAPIVersions = [ + "2023-11-03", "2023-08-03", "2023-01-03", "2022-11-02", diff --git a/src/queue/utils/constants.ts b/src/queue/utils/constants.ts index 20cbf507c..77ca49225 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.26.0"; -export const QUEUE_API_VERSION = "2023-08-03"; +export const VERSION = "3.27.0"; +export const QUEUE_API_VERSION = "2023-11-03"; 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 = [ + "2023-11-03", "2023-08-03", "2023-01-03", "2022-11-02", diff --git a/src/table/utils/constants.ts b/src/table/utils/constants.ts index 2472f51c9..73238da2b 100644 --- a/src/table/utils/constants.ts +++ b/src/table/utils/constants.ts @@ -17,8 +17,8 @@ export enum TABLE_STATUSCODE { } export const DEFAULT_TABLE_CONTEXT_PATH = "azurite_table_context"; -export const TABLE_API_VERSION = "2023-08-03"; -export const VERSION = "3.26.0"; +export const TABLE_API_VERSION = "2023-11-03"; +export const VERSION = "3.27.0"; // Max Body size is 4 MB export const BODY_SIZE_MAX = 1024 * 1024 * 4; // Max Entity sizxe is 1 MB @@ -73,6 +73,7 @@ export const DEFAULT_TABLE_PERSISTENCE_ARRAY: StoreDestinationArray = [ export const QUERY_RESULT_MAX_NUM = 1000; export const ValidAPIVersions = [ + "2023-11-03", "2023-08-03", "2023-01-03", "2022-11-02",