Skip to content

Commit a0ca627

Browse files
authored
[Tables] Post-release updates (Azure#40936)
- Increment version - Update AAD -> Entra ID - Drop Python 3.8 support Signed-off-by: Paul Van Eck <[email protected]>
1 parent 05efc2a commit a0ca627

File tree

7 files changed

+33
-21
lines changed

7 files changed

+33
-21
lines changed

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

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,32 @@
11
# Release History
22

3-
## 12.7.0b1 (Unreleased)
3+
## 12.8.0b1 (Unreleased)
44

55
### Features Added
6+
67
* Added to support customized encoding and decoding in entity CRUD operations.
78
* Added to support Entity property in Tuple and Enum types.
89
* Added to support flatten Entity metadata in entity deserialization by passing kwarg `flatten_result_entity` when creating clients.
9-
* Added support for configuring custom audiences for `TokenCredential` authentication when initializing a `TableClient` or `TableServiceClient`. ([#40487](https://github.com/Azure/azure-sdk-for-python/pull/40487))
1010

1111
### Bugs Fixed
12+
1213
* Fixed duplicate odata tag bug in encoder when Entity property has "@odata.type" provided.
1314
* Fixed a bug in encoder that int32 and int64 are mapped to int32 when no "@odata.type" provided.
1415

1516
### Other Changes
17+
1618
* Removed value range validation for Entity property in int64.
1719

20+
## 12.7.0 (2025-05-06)
21+
22+
### Features Added
23+
24+
* Added support for configuring custom audiences for `TokenCredential` authentication when initializing a `TableClient` or `TableServiceClient`. ([#40487](https://github.com/Azure/azure-sdk-for-python/pull/40487))
25+
26+
### Other Changes
27+
28+
* Python 3.8 is no longer supported. Please use Python version 3.9 or later.
29+
1830
## 12.6.0 (2024-11-21)
1931

2032
### Features Added

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ def _get_canonicalized_resource_query(self, request):
160160
class BearerTokenChallengePolicy(BearerTokenCredentialPolicy):
161161
"""Adds a bearer token Authorization header to requests, for the tenant provided in authentication challenges.
162162
163-
See https://learn.microsoft.com/azure/active-directory/develop/claims-challenge for documentation on AAD
164-
authentication challenges.
163+
See https://learn.microsoft.com/azure/active-directory/develop/claims-challenge for documentation on Microsoft
164+
Entra authentication challenges.
165165
166166
:param credential: The credential.
167167
:type credential: ~azure.core.TokenCredential

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
# license information.
55
# --------------------------------------------------------------------------
66

7-
VERSION = "12.7.0b1"
7+
VERSION = "12.8.0b1"

sdk/tables/azure-data-tables/azure/data/tables/aio/_authentication_async.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
class AsyncBearerTokenChallengePolicy(AsyncBearerTokenCredentialPolicy):
1818
"""Adds a bearer token Authorization header to requests, for the tenant provided in authentication challenges.
1919
20-
See https://learn.microsoft.com/azure/active-directory/develop/claims-challenge for documentation on AAD
21-
authentication challenges.
20+
See https://learn.microsoft.com/azure/active-directory/develop/claims-challenge for documentation on Microsoft
21+
Entra authentication challenges.
2222
2323
:param credential: The credential.
2424
:type credential: ~azure.core.credentials_async.AsyncTokenCredential

sdk/tables/azure-data-tables/samples/async_samples/sample_authentication_async.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* shared access key
1616
* generating a sas token with which the returned signature can be used with
1717
the credential parameter of any TableServiceClient or TableClient
18-
* Azure Active Directory(AAD)
18+
* Microsoft Entra ID
1919
2020
USAGE:
2121
python sample_authentication_async.py
@@ -27,7 +27,7 @@
2727
The following environment variables are required for using azure-identity's DefaultAzureCredential.
2828
For more information, please refer to https://aka.ms/azsdk/python/identity/docs#azure.identity.DefaultAzureCredential
2929
4) AZURE_TENANT_ID - the tenant ID in Azure Active Directory
30-
5) AZURE_CLIENT_ID - the application (client) ID registered in the AAD tenant
30+
5) AZURE_CLIENT_ID - the application (client) ID registered in the Microsoft Entra tenant
3131
6) AZURE_CLIENT_SECRET - the client secret for the registered application
3232
"""
3333

@@ -91,9 +91,9 @@ async def authentication_by_shared_access_signature(self):
9191
print(f"{properties}")
9292
# [END auth_by_sas]
9393

94-
async def authentication_by_AAD(self):
94+
async def authentication_by_entra(self):
9595
print("Instantiate a TableServiceClient using a TokenCredential")
96-
# [START auth_from_aad]
96+
# [START auth_from_entra]
9797
from azure.data.tables.aio import TableServiceClient
9898
from azure.identity.aio import DefaultAzureCredential
9999

@@ -102,15 +102,15 @@ async def authentication_by_AAD(self):
102102
) as table_service_client:
103103
properties = await table_service_client.get_service_properties()
104104
print(f"{properties}")
105-
# [END auth_from_aad]
105+
# [END auth_from_entra]
106106

107107

108108
async def main():
109109
sample = TableAuthSamples()
110110
await sample.authentication_by_connection_string()
111111
await sample.authentication_by_shared_key()
112112
await sample.authentication_by_shared_access_signature()
113-
await sample.authentication_by_AAD()
113+
await sample.authentication_by_entra()
114114

115115

116116
if __name__ == "__main__":

sdk/tables/azure-data-tables/samples/sample_authentication.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* shared access key
1616
* generating a sas token with which the returned signature can be used with
1717
the credential parameter of any TableServiceClient or TableClient
18-
* Azure Active Directory(AAD)
18+
* Microsoft Entra ID
1919
2020
USAGE:
2121
python sample_authentication.py
@@ -27,7 +27,7 @@
2727
The following environment variables are required for using azure-identity's DefaultAzureCredential.
2828
For more information, please refer to https://aka.ms/azsdk/python/identity/docs#azure.identity.DefaultAzureCredential
2929
4) AZURE_TENANT_ID - the tenant ID in Azure Active Directory
30-
5) AZURE_CLIENT_ID - the application (client) ID registered in the AAD tenant
30+
5) AZURE_CLIENT_ID - the application (client) ID registered in the Microsoft Entra tenant
3131
6) AZURE_CLIENT_SECRET - the client secret for the registered application
3232
"""
3333

@@ -89,21 +89,21 @@ def authentication_by_shared_access_signature(self):
8989
print(f"{properties}")
9090
# [END auth_from_sas]
9191

92-
def authentication_by_AAD(self):
92+
def authentication_by_entra(self):
9393
print("Instantiate a TableServiceClient using a TokenCredential")
94-
# [START auth_from_aad]
94+
# [START auth_from_entra]
9595
from azure.data.tables import TableServiceClient
9696
from azure.identity import DefaultAzureCredential
9797

9898
with TableServiceClient(endpoint=self.endpoint, credential=DefaultAzureCredential()) as table_service_client:
9999
properties = table_service_client.get_service_properties()
100100
print(f"{properties}")
101-
# [END auth_from_aad]
101+
# [END auth_from_entra]
102102

103103

104104
if __name__ == "__main__":
105105
sample = TableAuthSamples()
106106
sample.authentication_by_connection_string()
107107
sample.authentication_by_shared_key()
108108
sample.authentication_by_shared_access_signature()
109-
sample.authentication_by_AAD()
109+
sample.authentication_by_entra()

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@
4949
"Programming Language :: Python",
5050
"Programming Language :: Python :: 3 :: Only",
5151
"Programming Language :: Python :: 3",
52-
"Programming Language :: Python :: 3.8",
5352
"Programming Language :: Python :: 3.9",
5453
"Programming Language :: Python :: 3.10",
5554
"Programming Language :: Python :: 3.11",
5655
"Programming Language :: Python :: 3.12",
56+
"Programming Language :: Python :: 3.13",
5757
"License :: OSI Approved :: MIT License",
5858
],
5959
zip_safe=False,
@@ -65,7 +65,7 @@
6565
"azure.data",
6666
]
6767
),
68-
python_requires=">=3.8",
68+
python_requires=">=3.9",
6969
install_requires=[
7070
"azure-core>=1.29.4",
7171
"yarl>=1.0",

0 commit comments

Comments
 (0)