Skip to content

Commit

Permalink
Merge pull request #1879 from EmmaZhu/bump_version_stg87
Browse files Browse the repository at this point in the history
Upgrade API version to 2022-11-02
  • Loading branch information
EmmaZhu committed Mar 30, 2023
2 parents a1527fc + 3b7a88d commit e13e24e
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 17 deletions.
3 changes: 3 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@
## Upcoming Release

## 2023.03 Version 3.23.0

General:

- Return 404 StatusCode when Storage account not exist
- Migrated tslint to eslint.
- Typescript upgraded from 4.2.4 to 4.9.5.
- Migrated test pipeline from Node.js 10/12 to Node.js 14/16/18.
- Bump up service API version to 2022-11-02

Blob:

Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
| Version | Azure Storage API Version | Service Support | Description | Reference Links |
| ------------------------------------------------------------------ | ------------------------- | ------------------------------ | ------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 3.22.0 | 2021-12-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.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) |
| [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)
Expand Down Expand Up @@ -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 2021-12-02 (Refer to support matrix section below)
- Blob storage features align with Azure Storage API version 2022-11-02 (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 2021-12-02 (Refer to support matrix section below)
- Queue storage features align with Azure Storage API version 2022-11-02 (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 2021-12-02 (Refer to support matrix section below)
- Table storage features align with Azure Storage API version 2022-11-02 (Refer to support matrix section below)
- SharedKey/Account SAS/Service SAS/OAuth
- Create/List/Delete Tables
- Insert/Update/Query/Delete Table Entities
Expand Down Expand Up @@ -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 2021-12-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 2022-11-02, and will maintain parity with the latest API versions, in a more frequent update frequency than legacy Azurite V2.

## TypeScript Server Code Generator

Expand All @@ -920,7 +920,7 @@ All the generated code is kept in `generated` folder, including the generated mi

## Support Matrix

Latest release targets **2021-12-02** API version **blob** service.
Latest release targets **2022-11-02** API version **blob** service.

Detailed support matrix:

Expand Down Expand Up @@ -979,7 +979,7 @@ Detailed support matrix:
- Get Page Ranges Continuation Token
- Cold Tier

Latest version supports for **2021-12-02** API version **queue** service.
Latest version supports for **2022-11-02** API version **queue** service.
Detailed support matrix:

- Supported Vertical Features
Expand Down Expand Up @@ -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 **2021-12-02** API version **table** service (preview).
Latest version supports for **2022-11-02** API version **table** service (preview).
Detailed support matrix:

- Supported Vertical Features
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "Azurite",
"description": "An open source Azure Storage API compatible server",
"icon": "icon.png",
"version": "3.22.0",
"version": "3.23.0",
"publisher": "Azurite",
"categories": [
"Other"
Expand Down
5 changes: 3 additions & 2 deletions src/blob/utils/constants.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { StoreDestinationArray } from "../../common/persistence/IExtentStore";
import * as Models from "../generated/artifacts/models";

export const VERSION = "3.22.0";
export const BLOB_API_VERSION = "2021-12-02";
export const VERSION = "3.23.0";
export const BLOB_API_VERSION = "2022-11-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;
Expand Down Expand Up @@ -96,6 +96,7 @@ export const DEFAULT_BLOB_PERSISTENCE_ARRAY: StoreDestinationArray = [
];

export const ValidAPIVersions = [
"2022-11-02",
"2021-12-02",
"2021-10-04",
"2021-08-06",
Expand Down
5 changes: 3 additions & 2 deletions src/queue/utils/constants.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { StoreDestinationArray } from "../../common/persistence/IExtentStore";

export const VERSION = "3.22.0";
export const QUEUE_API_VERSION = "2021-10-04";
export const VERSION = "3.23.0";
export const QUEUE_API_VERSION = "2022-11-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";
Expand Down Expand Up @@ -90,6 +90,7 @@ export const DEFAULT_QUEUE_PERSISTENCE_ARRAY: StoreDestinationArray = [
];

export const ValidAPIVersions = [
"2022-11-02",
"2021-12-02",
"2021-10-04",
"2021-08-06",
Expand Down
5 changes: 3 additions & 2 deletions src/table/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ export enum TABLE_STATUSCODE {
}

export const DEFAULT_TABLE_CONTEXT_PATH = "azurite_table_context";
export const TABLE_API_VERSION = "2021-12-02";
export const VERSION = "3.22.0";
export const TABLE_API_VERSION = "2022-11-02";
export const VERSION = "3.23.0";
// Max Body size is 4 MB
export const BODY_SIZE_MAX = 1024 * 1024 * 4;
// Max Entity sizxe is 1 MB
Expand Down Expand Up @@ -73,6 +73,7 @@ export const DEFAULT_TABLE_PERSISTENCE_ARRAY: StoreDestinationArray = [

export const QUERY_RESULT_MAX_NUM = 1000;
export const ValidAPIVersions = [
"2022-11-02",
"2021-12-02",
"2021-10-04",
"2021-08-06",
Expand Down

0 comments on commit e13e24e

Please sign in to comment.