From 2a0eabad0a7f5bf88ecbe21f50ed9020c553a112 Mon Sep 17 00:00:00 2001 From: Emma Zhu Date: Tue, 6 Jun 2023 10:36:57 +0800 Subject: [PATCH] Update service version to 2023-01-03 Update package version to 3.24.0 --- ChangeLog.md | 7 +++++++ README.md | 16 ++++++++-------- package-lock.json | 6 +++--- package.json | 2 +- src/blob/utils/constants.ts | 7 ++++--- src/queue/utils/constants.ts | 5 +++-- src/table/utils/constants.ts | 5 +++-- 7 files changed, 29 insertions(+), 19 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index 6e738113f..9839aa64b 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -4,6 +4,12 @@ ## Upcoming Release +## 2023.06 Version 3.24.0 + +General: + +- Bump up service API version to 2023-01-03 + Blob: - Fixed issue of: blob batch subresponse is slightly different from the on from Azure serivce, which causes exception in CPP SDK. @@ -11,6 +17,7 @@ Blob: - Supported rest API GetBlobTag, SetBlobTag. - Supported set Blob Tags in upload blob, copy blob. - Supported get Blob Tags (count) in download blob, get blob properties, list blobs. +- Added support for large append blob with bumping block size limitation to 100MB. Table: diff --git a/README.md b/README.md index e4d01c416..4c6d688aa 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ | Version | Azure Storage API Version | Service Support | Description | Reference Links | | ------------------------------------------------------------------ | ------------------------- | ------------------------------ | ------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| 3.23.0 | 2022-11-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) | +| 3.24.0 | 2023-01-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 2022-11-02 (Refer to support matrix section below) +- Blob storage features align with Azure Storage API version 2023-01-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 2022-11-02 (Refer to support matrix section below) +- Queue storage features align with Azure Storage API version 2023-01-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 2022-11-02 (Refer to support matrix section below) +- Table storage features align with Azure Storage API version 2023-01-03 (Refer to support matrix section below) - SharedKey/Account SAS/Service SAS/OAuth - Create/List/Delete Tables - Insert/Update/Query/Delete Table Entities @@ -909,7 +909,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 2022-11-02, 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 2023-01-03, and will maintain parity with the latest API versions, in a more frequent update frequency than legacy Azurite V2. ## TypeScript Server Code Generator @@ -920,7 +920,7 @@ All the generated code is kept in `generated` folder, including the generated mi ## Support Matrix -Latest release targets **2022-11-02** API version **blob** service. +Latest release targets **2023-01-03** API version **blob** service. Detailed support matrix: @@ -979,7 +979,7 @@ Detailed support matrix: - Get Page Ranges Continuation Token - Cold Tier -Latest version supports for **2022-11-02** API version **queue** service. +Latest version supports for **2023-01-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 **2022-11-02** API version **table** service (preview). +Latest version supports for **2023-01-03** API version **table** service (preview). Detailed support matrix: - Supported Vertical Features diff --git a/package-lock.json b/package-lock.json index ffc4e875e..ef0ac2f15 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "azurite", - "version": "3.23.0", + "version": "3.24.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "azurite", - "version": "3.23.0", + "version": "3.24.0", "license": "MIT", "dependencies": { "@azure/ms-rest-js": "^1.5.0", @@ -17913,4 +17913,4 @@ "dev": true } } -} +} \ No newline at end of file diff --git a/package.json b/package.json index d81c70baf..85ab38779 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.23.0", + "version": "3.24.0", "publisher": "Azurite", "categories": [ "Other" diff --git a/src/blob/utils/constants.ts b/src/blob/utils/constants.ts index 32f6f2f13..ee48235ad 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.23.0"; -export const BLOB_API_VERSION = "2022-11-02"; +export const VERSION = "3.24.0"; +export const BLOB_API_VERSION = "2023-01-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; @@ -96,6 +96,7 @@ export const DEFAULT_BLOB_PERSISTENCE_ARRAY: StoreDestinationArray = [ ]; export const ValidAPIVersions = [ + "2023-01-03", "2022-11-02", "2021-12-02", "2021-10-04", @@ -132,7 +133,7 @@ export const ValidAPIVersions = [ "2009-04-14" ]; -export const MAX_APPEND_BLOB_BLOCK_SIZE = 4 * 1024 * 1024; // 4MB +export const MAX_APPEND_BLOB_BLOCK_SIZE = 100 * 1024 * 1024; // 100MB export const MAX_APPEND_BLOB_BLOCK_COUNT = 50000; // Validate audience, accept following audience patterns diff --git a/src/queue/utils/constants.ts b/src/queue/utils/constants.ts index 74afe3e32..618e398e3 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.23.0"; -export const QUEUE_API_VERSION = "2022-11-02"; +export const VERSION = "3.24.0"; +export const QUEUE_API_VERSION = "2023-01-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-01-03", "2022-11-02", "2021-12-02", "2021-10-04", diff --git a/src/table/utils/constants.ts b/src/table/utils/constants.ts index 673f10f31..a8a738363 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 = "2022-11-02"; -export const VERSION = "3.23.0"; +export const TABLE_API_VERSION = "2023-01-03"; +export const VERSION = "3.24.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-01-03", "2022-11-02", "2021-12-02", "2021-10-04",