Skip to content

Commit

Permalink
added general breaking changes section
Browse files Browse the repository at this point in the history
  • Loading branch information
zikalino committed Aug 20, 2019
1 parent 3bfe489 commit 0191adf
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions sdk/cosmos/azure-mgmt-cosmosdb/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,18 @@ Release History
- Model DatabaseAccountCreateUpdateParameters has a new parameter enable_cassandra_connector
- Model DatabaseAccountCreateUpdateParameters has a new parameter connector_offer

**General breaking changes**

This version uses a next-generation code generator that *might* introduce breaking changes if from some import.
In summary, some modules were incorrectly visible/importable and have been renamed. This fixed several issues caused by usage of classes that were not supposed to be used in the first place.

- CosmosDB cannot be imported from `azure.mgmt.cosmosdb.cosmos_db` anymore (import from `azure.mgmt.cosmosdb` works like before)
- CosmosDBConfiguration import has been moved from `azure.mgmt.cosmosdb.cosmos_db_client` to `azure.mgmt.cosmosdb`
- A model `MyClass` from a "models" sub-module cannot be imported anymore using `azure.mgmt.cosmosdb.models.my_class` (import from `azure.mgmt.cosmosdb.models` works like before)
- An operation class `MyClassOperations` from an `operations` sub-module cannot be imported anymore using `azure.mgmt.cosmosdb.operations.my_class_operations` (import from `azure.mgmt.cosmosdb.operations` works like before)

Last but not least, HTTP connection pooling is now enabled by default. You should always use a client as a context manager, or call close(), or use no more than one client per process.

0.7.0 (2019-06-07)
++++++++++++++++++

Expand Down

0 comments on commit 0191adf

Please sign in to comment.