Skip to content

Commit

Permalink
Upgrade API version to 2020-10-02 and version to 3.14.0 (#882)
Browse files Browse the repository at this point in the history
  • Loading branch information
blueww authored Jul 27, 2021
1 parent a077777 commit 9c73666
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 23 deletions.
21 changes: 14 additions & 7 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,28 @@
## Upcoming Release

Table:
## 2021.7 Version 3.14.0

- Added test for URI path parser and updated regex to allow for non standard dev store account names.
- Corrected serialization of errors during Entity Group Transactions.
- Correct entity tests using invalid eTag formats.
- Added support for PATCH Verb in Table Batch Operations / Entity Group Transactions.
- Added /@Element to the odata.metadata response.
- Allowed use of empty string for partitionKey and rowKey on InsertEntity.
General:

- Bump up service API version to 2020-10-02
- Added an example for run Azurite with https in docker in Readme

Blob:

- Fixed SAS-token validation for requests with Content-Encoding/Content-Language headers.
- Return `x-ms-copy-status` header from syncCopyFromURL.
- Fixed continuation token not work correctly when blob names are only number

Table:

- Added test for URI path parser and updated regex to allow for non standard dev store account names.
- Corrected serialization of errors during Entity Group Transactions.
- Corrected entity tests using invalid eTag formats.
- Added support for PATCH Verb in Table Batch Operations / Entity Group Transactions.
- Added /@Element to the odata.metadata response.
- Allowed use of empty string for partitionKey and rowKey on InsertEntity.

## 2021.6 Version 3.13.1

Blob:
Expand Down
17 changes: 9 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.13.1 | 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) |
| 3.14.0 | 2020-10-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) |

## Introduction
Expand All @@ -24,19 +24,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-08-04 (Refer to support matrix section below)
- Blob storage features align with Azure Storage API version 2020-10-02 (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-08-04 (Refer to support matrix section below)
- Queue storage features align with Azure Storage API version 2020-10-02 (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-08-04 (Refer to support matrix section below)
- Table storage features align with Azure Storage API version 2020-10-02 (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 @@ -788,7 +788,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-08-04, 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-10-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 @@ -799,7 +799,7 @@ All the generated code is kept in `generated` folder, including the generated mi

## Support Matrix

Latest release targets **2020-08-04** API version **blob** service.
Latest release targets **2020-10-02** API version **blob** service.

Detailed support matrix:

Expand Down Expand Up @@ -854,8 +854,9 @@ Detailed support matrix:
- Object Replication Service
- Put Blob From URL
- Version Level Worm
- Sync copy blob by access source with oauth

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

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

Latest version supports for **2020-08-04** API version **table** service (preview).
Latest version supports for **2020-10-02** 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.

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.13.1",
"version": "3.14.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.13.1";
export const BLOB_API_VERSION = "2020-08-04";
export const VERSION = "3.14.0";
export const BLOB_API_VERSION = "2020-10-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 = [
"2020-10-02",
"2020-08-04",
"2020-06-12",
"2020-04-08",
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.13.1";
export const QUEUE_API_VERSION = "2020-08-04";
export const VERSION = "3.14.0";
export const QUEUE_API_VERSION = "2020-10-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 = [
"2020-10-02",
"2020-08-04",
"2020-06-12",
"2020-04-08",
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-08-04";
export const VERSION = "3.13.1";
export const TABLE_API_VERSION = "2020-10-02";
export const VERSION = "3.14.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-10-02",
"2020-08-04",
"2020-06-12",
"2020-04-08",
Expand Down

0 comments on commit 9c73666

Please sign in to comment.