You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: Azure Cosmos DB SQL Python API, SDK & resources
3
3
description: Learn all about the SQL Python API and SDK including release dates, retirement dates, and changes made between each version of the Azure Cosmos DB Python SDK.
4
4
author: SnehaGunda
5
5
ms.service: cosmos-db
6
6
ms.subservice: cosmosdb-sql
7
7
ms.devlang: python
8
8
ms.topic: reference
9
-
ms.date: 11/29/2018
9
+
ms.date: 05/20/2020
10
10
ms.author: sngun
11
-
12
-
13
11
---
14
12
# Azure Cosmos DB Python SDK for SQL API: Release notes and resources
|**Get started**|[Get started with the Python SDK](create-sql-api-python.md)|
34
+
|**Current supported platform**|[Python 2.7](https://www.python.org/downloads/) and [Python 3.5.3+](https://www.python.org/downloads/)|
97
35
98
-
### <aname="1.9.0"/>1.9.0
99
-
* Added retry policy support for throttled requests. (Throttled requests receive a request rate too large exception, error code 429.) By default, Azure Cosmos DB retries nine times for each request when error code 429 is encountered, honoring the retryAfter time in the response header. A fixed retry interval time can now be set as part of the RetryOptions property on the ConnectionPolicy object if you want to ignore the retryAfter time returned by server between the retries. Azure Cosmos DB now waits for a maximum of 30 seconds for each request that is being throttled (irrespective of retry count) and returns the response with error code 429. This time can also be overridden in the RetryOptions property on ConnectionPolicy object.
100
-
* Cosmos DB now returns x-ms-throttle-retry-count and x-ms-throttle-retry-wait-time-ms as the response headers in every request to denote the throttle retry count and the cumulative time the request waited between the retries.
101
-
* Removed the RetryPolicy class and the corresponding property (retry_policy) exposed on the document_client class and instead introduced a RetryOptions class exposing the RetryOptions property on ConnectionPolicy class that can be used to override some of the default retry options.
102
-
103
-
### <aname="1.8.0"/>1.8.0
104
-
* Added the support for multi-region database accounts.
105
-
106
-
### <aname="1.7.0"/>1.7.0
107
-
* Added the support for Time To Live(TTL) feature for documents.
108
-
109
-
### <aname="1.6.1"/>1.6.1
110
-
* Bug fixes related to server-side partitioning to allow special characters in partition key path.
111
-
112
-
### <aname="1.6.0"/>1.6.0
113
-
* Implemented [partitioned collections](partition-data.md) and [user-defined performance levels](performance-levels.md).
114
-
115
-
### <aname="1.5.0"/>1.5.0
116
-
* Add Hash & Range partition resolvers to assist with sharding applications across multiple partitions.
117
-
118
-
### <aname="1.4.2"/>1.4.2
119
-
* Implement Upsert. New UpsertXXX methods added to support Upsert feature.
120
-
* Implement ID Based Routing. No public API changes, all changes internal.
121
-
122
-
### <aname="1.2.0"/>1.2.0
123
-
* Supports GeoSpatial index.
124
-
* Validates id property for all resources. Ids for resources cannot contain ?, /, #, \, characters or end with a space.
125
-
* Adds new header "index transformation progress" to ResourceResponse.
Microsoft provides notification at least **12 months** in advance of retiring an SDK in order to smooth the transition to a newer/supported version.
138
39
139
-
New features and functionality and optimizations are only added to the current SDK, as such it is recommend that you always upgrade to the latest SDK version as early as possible.
40
+
Microsoft provides notification at least **12 months** in advance of retiring an SDK in order to smooth the transition to a newer/supported version. New features and functionality and optimizations are only added to the current SDK, as such it is recommend that you always upgrade to the latest SDK version as early as possible.
140
41
141
-
Any request to Cosmos DB using a retired SDK are rejected by the service.
142
-
143
-
> [!WARNING]
144
-
> All versions of the Python SDK for SQL API prior to version **1.0.0** were retired on **February 29, 2016**.
145
-
>
146
-
>
42
+
Any request to Azure Cosmos DB using a retired SDK are rejected by the service.
147
43
148
44
> [!WARNING]
149
-
> All versions 1.x and 2.x of the Python SDK for SQL API will be retired on **August 30, 2020**.
150
-
>
151
-
>
152
-
153
-
<br/>
45
+
> All versions of the Python SDK for SQL API prior to version **1.0.0** were retired on **February 29, 2016**. And, all versions 1.x and 2.x of the Python SDK for SQL API will be retired on **August 30, 2020**.
154
46
155
47
| Version | Release Date | Retirement Date |
156
48
| --- | --- | --- |
@@ -184,8 +76,9 @@ Any request to Cosmos DB using a retired SDK are rejected by the service.
0 commit comments