Skip to content

Commit

Permalink
[Tables] Release cosmos entra auth support (#38619)
Browse files Browse the repository at this point in the history
  • Loading branch information
YalinLi0312 authored Nov 21, 2024
1 parent a945403 commit e0c3319
Show file tree
Hide file tree
Showing 21 changed files with 2,167 additions and 9,123 deletions.
12 changes: 1 addition & 11 deletions sdk/tables/azure-data-tables/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,10 @@
# Release History

## 12.6.0b1 (Unreleased)
## 12.6.0 (2024-11-21)

### Features Added
* Added to support custom encoder in entity CRUD operations.
* Added to support custom Entity type.
* Added to support Entity property in Tuple and Enum types.
* Added support for Microsoft Entra auth with Azure Cosmos DB for Table's OAuth scope (`https://cosmos.azure.com/.default`).

### Bugs Fixed
* Fixed a bug in encoder when Entity property has "@odata.type" provided.
* Fixed a bug in encoder that int32 and int64 are mapped to int32 when no "@odata.type" provided.

### Other Changes
* Removed value range validation for Entity property in int32 and int64.

## 12.5.0 (2024-01-10)

### Bugs Fixed
Expand Down
2 changes: 1 addition & 1 deletion sdk/tables/azure-data-tables/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "python",
"TagPrefix": "python/tables/azure-data-tables",
"Tag": "python/tables/azure-data-tables_032477adf3"
"Tag": "python/tables/azure-data-tables_4b2225ae2f"
}
3 changes: 0 additions & 3 deletions sdk/tables/azure-data-tables/azure/data/tables/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# --------------------------------------------------------------------------
from ._encoder import TableEntityEncoder, TableEntityEncoderABC
from ._entity import TableEntity, EntityProperty, EdmType, EntityMetadata
from ._error import RequestTooLargeError, TableTransactionError, TableErrorCode
from ._table_shared_access_signature import generate_table_sas, generate_account_sas
Expand Down Expand Up @@ -32,8 +31,6 @@
"TableServiceClient",
"ResourceTypes",
"AccountSasPermissions",
"TableEntityEncoder",
"TableEntityEncoderABC",
"TableErrorCode",
"TableSasPermissions",
"TableAccessPolicy",
Expand Down
184 changes: 0 additions & 184 deletions sdk/tables/azure-data-tables/azure/data/tables/_encoder.py

This file was deleted.

2 changes: 2 additions & 0 deletions sdk/tables/azure-data-tables/azure/data/tables/_error.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
from azure.core.pipeline.policies import ContentDecodePolicy


_ERROR_TYPE_NOT_SUPPORTED = "Type not supported when sending data to the service: {0}."
_ERROR_VALUE_TOO_LARGE = "{0} is too large to be cast to type {1}."
_ERROR_UNKNOWN = "Unknown error ({0})"
_ERROR_VALUE_NONE = "{0} should not be None."

Expand Down
Loading

0 comments on commit e0c3319

Please sign in to comment.