Download Latest Version azure-cosmos_4.16.2 source code.zip (222.6 MB)
Email in envelope

Get an email when there's a new version of Azure SDK for Python

Home / azure-cosmos_4.16.2
Name Modified Size InfoDownloads / Week
Parent folder
azure-cosmos_4.16.2 source code.tar.gz 2026-07-15 173.7 MB
azure-cosmos_4.16.2 source code.zip 2026-07-15 222.6 MB
README.md 2026-07-15 1.0 kB
Totals: 3 Items   396.2 MB 0

4.16.2 (2026-07-15)

Features Added

  • Added GlobalSecondaryIndexDefinition class and global_secondary_index keyword to create_container, create_container_if_not_exists, and replace_container methods for creating Global Secondary Index (GSI) containers. See PR 47468.

Bugs Fixed

  • Fixed KeyError: 'version' in SessionContainer.get_session_token (sync and async) when the container's partitionKey definition returned by the service does not include the optional version field. The error was silently swallowed by a broad except, causing the client to send no x-ms-session-token header on subsequent reads. Against the Dedicated Gateway, this turned every Session-consistency read into an Integrated Cache miss. partitionKey.version is now treated as optional and defaults to 1, matching how PartitionKey handles a missing version. See PR 47143
Source: README.md, updated 2026-07-15