Skip to content

Commit

Permalink
Upgrade API version to STG77 2020-08-04, and version to 3.13.0 (#800)
Browse files Browse the repository at this point in the history
* Upgrade API version to STG77 2020-08-04, and update changelog for new release

* Upgrade version to 3.13.0

* Add missing changelog
  • Loading branch information
blueww authored Jun 8, 2021
1 parent 51baf44 commit 4a0f7f9
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 24 deletions.
18 changes: 12 additions & 6 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,26 @@
## Upcoming Release

## 2021.6 Version 3.13.0

General:

- updated typescript to 4.2.4
- Bump up Azure Storage service API version to 2020-08-04.
- Updated typescript to 4.2.4.

Blob:

- added check for invalid container name
- Added check for invalid container name.

Table:

- added check for invalid etag format
- added tests for invalid etag format
- corrected code to support typescript 4.2.4 update
- added check for invalid table name
- Added check for invalid etag format.
- Added tests for invalid etag format.
- Corrected code to support typescript 4.2.4 update.
- Supported Table Service in Visual Studio Code extension.
- Fix an issue that query for Long Int fail in Metadata layer.
- Fix an issue of axios dependency.
- Added check for invalid table name.

## 2021.4 Version 3.12.0

Expand Down
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
| Version | Azure Storage API Version | Service Support | Description | Reference Links |
| ------------------------------------------------------------------ | ------------------------- | ------------------------------ | ------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 3.12.0 | 2020-06-12 | 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.13.0 | 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) |
| [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
Expand All @@ -25,19 +25,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-06-12 (Refer to support matrix section below)
- Blob storage features align with Azure Storage API version 2020-08-04 (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-06-12 (Refer to support matrix section below)
- Queue storage features align with Azure Storage API version 2020-08-04 (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-06-12 (Refer to support matrix section below)
- Table storage features align with Azure Storage API version 2020-08-04 (Refer to support matrix section below)
- SharedKey/Account SAS/Service SAS
- Create/List/Delete Tables
- Insert/Update/Query/Delete Table Entities
Expand Down Expand Up @@ -127,7 +127,7 @@ Extension supports following Visual Studio Code commands:
- `Azurite: Start Table Service` Start table service
- `Azurite: Close Table Service` Close table service
- `Azurite: Clean Table Service` Clean table service

Following extension configurations are supported:

- `azurite.blobHost` Blob service listening endpoint, by default 127.0.0.1
Expand Down Expand Up @@ -783,7 +783,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-06-12, 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-08-04, 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 @@ -794,7 +794,7 @@ All the generated code is kept in `generated` folder, including the generated mi

## Support Matrix

Latest release targets **2020-06-12** API version **blob** service.
Latest release targets **2020-08-04** API version **blob** service.

Detailed support matrix:

Expand Down Expand Up @@ -848,8 +848,9 @@ Detailed support matrix:
- Blob Expiry
- Object Replication Service
- Put Blob From URL
- Version Level Worm

Latest version supports for **2020-06-12** API version **queue** service.
Latest version supports for **2020-08-04** API version **queue** service.
Detailed support matrix:

- Supported Vertical Features
Expand Down Expand Up @@ -879,7 +880,7 @@ Detailed support matrix:
- SharedKey Lite
- Delegation SAS

Latest version supports for **2020-06-12** API version **table** service (preview).
Latest version supports for **2020-08-04** API version **table** service (preview).
Detailed support matrix:

- Supported Vertical Features
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

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

4 changes: 2 additions & 2 deletions 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.12.0",
"version": "3.13.0",
"publisher": "Azurite",
"categories": [
"Other"
Expand Down Expand Up @@ -293,4 +293,4 @@
"url": "https://github.com/azure/azurite/issues"
},
"homepage": "https://github.com/azure/azurite#readme"
}
}
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.12.0";
export const BLOB_API_VERSION = "2020-06-12";
export const VERSION = "3.13.0";
export const BLOB_API_VERSION = "2020-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;
Expand Down Expand Up @@ -96,6 +96,7 @@ export const DEFAULT_BLOB_PERSISTENCE_ARRAY: StoreDestinationArray = [
];

export const ValidAPIVersions = [
"2020-08-04",
"2020-06-12",
"2020-04-08",
"2020-02-10",
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.12.0";
export const QUEUE_API_VERSION = "2020-06-12";
export const VERSION = "3.13.0";
export const QUEUE_API_VERSION = "2020-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";
Expand Down Expand Up @@ -90,6 +90,7 @@ export const DEFAULT_QUEUE_PERSISTENCE_ARRAY: StoreDestinationArray = [
];

export const ValidAPIVersions = [
"2020-08-04",
"2020-06-12",
"2020-04-08",
"2020-02-10",
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 @@ -13,8 +13,8 @@ export enum TABLE_STATUSCODE {
}

export const DEFAULT_TABLE_CONTEXT_PATH = "azurite_table_context";
export const TABLE_API_VERSION = "2020-06-12";
export const VERSION = "3.12.0";
export const TABLE_API_VERSION = "2020-08-04";
export const VERSION = "3.13.0";

export const HeaderConstants = {
SERVER: "Server",
Expand Down Expand Up @@ -43,6 +43,7 @@ export const RETURN_CONTENT = "return-content";

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

0 comments on commit 4a0f7f9

Please sign in to comment.