From afa2c37579b9a8c9506ded4b6c545f9d5fb80812 Mon Sep 17 00:00:00 2001 From: EmmaZhu-MSFT Date: Tue, 18 Jun 2024 21:21:11 -0700 Subject: [PATCH] Bump API version to 2024-08-04 (#2414) --- ChangeLog.md | 6 ++++++ README.md | 14 +++++++------- package-lock.json | 4 ++-- package.json | 2 +- src/blob/utils/constants.ts | 5 +++-- src/queue/utils/constants.ts | 5 +++-- src/table/utils/constants.ts | 5 +++-- 7 files changed, 25 insertions(+), 16 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index 4c04286e0..f13fee0be 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -4,6 +4,12 @@ ## Upcoming Release +## 2024.06 Version 3.31.0 + +General: + +- Bump up service API version to 2024-08-04 + Blob: - Fix issue of not refreshing lease state within block blob/append blob upload operation. (issue #2352) diff --git a/README.md b/README.md index 1a622780b..822d4464a 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ | Version | Azure Storage API Version | Service Support | Description | Reference Links | | ------------------------------------------------------------------ | ------------------------- | ------------------------------ | ------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| 3.30.0 | 2024-05-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.31.0 | 2024-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) | | [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) @@ -78,19 +78,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 2024-05-04 (Refer to support matrix section below) +- Blob storage features align with Azure Storage API version 2024-08-04 (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 2024-05-04 (Refer to support matrix section below) +- Queue storage features align with Azure Storage API version 2024-08-04 (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/Update/Delete/Clear Messages -- Table storage features align with Azure Storage API version 2024-05-04 (Refer to support matrix section below) +- Table storage features align with Azure Storage API version 2024-08-04 (Refer to support matrix section below) - SharedKey/Account SAS/Service SAS/OAuth - Create/List/Delete Tables - Insert/Update/Query/Delete Table Entities @@ -971,7 +971,7 @@ All the generated code is kept in `generated` folder, including the generated mi ## Support Matrix -Latest release targets **2024-05-04** API version **blob** service. +Latest release targets **2024-08-04** API version **blob** service. Detailed support matrix: @@ -1030,7 +1030,7 @@ Detailed support matrix: - Encryption Scope - Get Page Ranges Continuation Token -Latest version supports for **2024-05-04** API version **queue** service. +Latest version supports for **2024-08-04** API version **queue** service. Detailed support matrix: - Supported Vertical Features @@ -1059,7 +1059,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 **2024-05-04** API version **table** service (preview). +Latest version supports for **2024-08-04** API version **table** service (preview). Detailed support matrix: - Supported Vertical Features diff --git a/package-lock.json b/package-lock.json index 9347b9438..1e64dbf43 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "azurite", - "version": "3.30.0", + "version": "3.31.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "azurite", - "version": "3.30.0", + "version": "3.31.0", "license": "MIT", "dependencies": { "@azure/ms-rest-js": "^1.5.0", diff --git a/package.json b/package.json index 20cf3c65c..634dbe72b 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.30.0", + "version": "3.31.0", "publisher": "Azurite", "categories": [ "Other" diff --git a/src/blob/utils/constants.ts b/src/blob/utils/constants.ts index 4b8c64cb6..b92815a92 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.30.0"; -export const BLOB_API_VERSION = "2024-05-04"; +export const VERSION = "3.31.0"; +export const BLOB_API_VERSION = "2024-08-04"; 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 = [ + "2024-08-04", "2024-05-04", "2024-02-04", "2023-11-03", diff --git a/src/queue/utils/constants.ts b/src/queue/utils/constants.ts index 427870538..b990bc6f3 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.30.0"; -export const QUEUE_API_VERSION = "2024-05-04"; +export const VERSION = "3.31.0"; +export const QUEUE_API_VERSION = "2024-08-04"; 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 = [ + "2024-08-04", "2024-05-04", "2024-02-04", "2023-11-03", diff --git a/src/table/utils/constants.ts b/src/table/utils/constants.ts index a2dbf75ba..3dc443a2d 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 = "2024-05-04"; -export const VERSION = "3.30.0"; +export const TABLE_API_VERSION = "2024-08-04"; +export const VERSION = "3.31.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 = [ + "2024-08-04", "2024-05-04", "2024-02-04", "2023-11-03",