Skip to content

Commit e0c3319

Browse files
author
Yalin Li
authored
[Tables] Release cosmos entra auth support (#38619)
1 parent a945403 commit e0c3319

21 files changed

Lines changed: 2167 additions & 9123 deletions

sdk/tables/azure-data-tables/CHANGELOG.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,10 @@
11
# Release History
22

3-
## 12.6.0b1 (Unreleased)
3+
## 12.6.0 (2024-11-21)
44

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

11-
### Bugs Fixed
12-
* Fixed a bug in encoder when Entity property has "@odata.type" provided.
13-
* Fixed a bug in encoder that int32 and int64 are mapped to int32 when no "@odata.type" provided.
14-
15-
### Other Changes
16-
* Removed value range validation for Entity property in int32 and int64.
17-
188
## 12.5.0 (2024-01-10)
199

2010
### Bugs Fixed

sdk/tables/azure-data-tables/assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"AssetsRepo": "Azure/azure-sdk-assets",
33
"AssetsRepoPrefixPath": "python",
44
"TagPrefix": "python/tables/azure-data-tables",
5-
"Tag": "python/tables/azure-data-tables_032477adf3"
5+
"Tag": "python/tables/azure-data-tables_4b2225ae2f"
66
}

sdk/tables/azure-data-tables/azure/data/tables/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# Licensed under the MIT License. See License.txt in the project root for
44
# license information.
55
# --------------------------------------------------------------------------
6-
from ._encoder import TableEntityEncoder, TableEntityEncoderABC
76
from ._entity import TableEntity, EntityProperty, EdmType, EntityMetadata
87
from ._error import RequestTooLargeError, TableTransactionError, TableErrorCode
98
from ._table_shared_access_signature import generate_table_sas, generate_account_sas
@@ -32,8 +31,6 @@
3231
"TableServiceClient",
3332
"ResourceTypes",
3433
"AccountSasPermissions",
35-
"TableEntityEncoder",
36-
"TableEntityEncoderABC",
3734
"TableErrorCode",
3835
"TableSasPermissions",
3936
"TableAccessPolicy",

sdk/tables/azure-data-tables/azure/data/tables/_encoder.py

Lines changed: 0 additions & 184 deletions
This file was deleted.

sdk/tables/azure-data-tables/azure/data/tables/_error.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
from azure.core.pipeline.policies import ContentDecodePolicy
2020

2121

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

0 commit comments

Comments
 (0)