Skip to content

Commit c1c5628

Browse files
simorenohannatischgahl-levytjprescott
authored
[Cosmos] release script changes (#22153)
* initial commit * Client Constructor (#20310) * Removed some stuff * Looking at constructors * Updated request * Added client close * working client creation Co-authored-by: simorenoh <[email protected]> * read database database read works, but ignored exception is returned: Fatal error on SSL transport NoneType has no attribute 'send' (_loop._proactor.send) RuntimeError: Event loop is closed Unclosed connector/ connection * Update simon_testfile.py * with coroutine Added methods needed to use async with when initializing client, but logs output "Exception ignored... Runtime Error: Event loop is closed" * Update simon_testfile.py * small changes * async with returns no exceptions * async read container * async item read * cleaning up * create item/ database methods * item delete working * docs replace functionality missing upsert and other resources * upsert functionality missing read_all_items and both query methods for container class * missing query methods * CRUD for udf, sproc, triggers * initial query logic + container methods * missing some execution logic and tests * oops * fully working queries * small fix to query_items() also fixed README and added examples_async * Update _cosmos_client_connection_async.py * Update _cosmos_client_connection.py * documentation update * updated MIT dates and get_user_client() description * Update CHANGELOG.md * Delete simon_testfile.py * leftover retry utility * Update README.md * docs and removed six package * changes based on comments still missing discussion resolution on SSL verification and tests for async functionality under test module (apart from samples which are basically end to end tests) * small change in type hints * updated readme * fixes based on conversations * added missing type comments * update changelog for ci pipeline * added typehints, moved params into keywords, added decorators, made _connection_policy private * changes based on sync with central sdk * remove is_system_key from scripts (only used in execute_sproc) is_system_key verifies that an empty partition key is properly dealt with if ['partitionKey']['systemKey'] exists in the container options - however, we do not allow containers to be created with empty partition key values in the python sdk, so the functionality is needless * Revert "remove is_system_key from scripts (only used in execute_sproc)" Reverting last commit, will find way to init is_system_key for now * async script proxy using composition * pylint * capitalized constants * Apply suggestions from code review Clarifying comments for README Co-authored-by: Gahl Levy <[email protected]> * closing python code snippet * last doc updates * Update sdk/cosmos/azure-cosmos/CHANGELOG.md Co-authored-by: Simon Moreno <[email protected]> * version update * cosmos updates for release Co-authored-by: annatisch <[email protected]> Co-authored-by: Gahl Levy <[email protected]> Co-authored-by: Travis Prescott <[email protected]>
1 parent a7d7397 commit c1c5628

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

sdk/cosmos/azure-cosmos/CHANGELOG.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
## 4.3.0b1 (Unreleased)
1+
## Release History
2+
3+
### 4.3.0b1 (2021-12-14)
24
**New features**
35
- Added language native async i/o client
46

5-
## 4.2.0 (2020-10-08)
7+
### 4.2.0 (2020-10-08)
68

79
**Bug fixes**
810
- Fixed bug where continuation token is not honored when query_iterable is used to get results by page. Issue #13265.
@@ -11,7 +13,7 @@
1113
**New features**
1214
- Added support for passing partitionKey while querying changefeed. Issue #11689.
1315

14-
## 4.1.0 (2020-08-10)
16+
### 4.1.0 (2020-08-10)
1517

1618
- Added deprecation warning for "lazy" indexing mode. The backend no longer allows creating containers with this mode and will set them to consistent instead.
1719

@@ -26,7 +28,7 @@
2628
- Fixed error raised when a non string ID is used in an item. It now raises TypeError rather than AttributeError. Issue #11793 - thank you @Rabbit994.
2729

2830

29-
## 4.0.0 (2020-05-20)
31+
### 4.0.0 (2020-05-20)
3032

3133
- Stable release.
3234
- Added HttpLoggingPolicy to pipeline to enable passing in a custom logger for request and response headers.

sdk/cosmos/azure-cosmos/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
maintainer_email="[email protected]",
4444
url="https://github.com/Azure/azure-sdk-for-python",
4545
classifiers=[
46-
"Development Status :: 5 - Production/Stable",
46+
"Development Status :: 4 - Beta",
4747
"Intended Audience :: Developers",
4848
"Natural Language :: English",
4949
"Operating System :: OS Independent",

0 commit comments

Comments
 (0)