github Azure/azure-sdk-for-python azure-cosmos_4.16.0b1

pre-release9 hours ago

4.16.0b1 (2026-03-21)

Features Added

  • Added support for Query Advisor feature - See PR 45331
  • Added get_response_headers() and get_last_response_headers() methods to the CosmosItemPaged and CosmosAsyncItemPaged objects returned by query_items(), allowing access to response headers from query operations. See PR 44593
  • Added InferenceRequestTimeout property for HttpTimeout Policy to Reranking API. See 45469
  • Added full_text_score_scope parameter to query_items() for controlling BM25 statistics scope in hybrid search queries. Supports "Local" and "Global" (default) scopes. See 45686

Bugs Fixed

  • Fixed bug where a compound session token (containing multiple partition tokens) was sent for single-partition feed range queries. See PR 44484
  • Fixed regression where user_agent_overwrite kwarg was not cleaned up properly, causing TypeError crash on sync client construction. See PR 45653
  • Fixed bug where client-level read_timeout configuration was not being automatically applied to all queries. See PR 44472

Other Changes

  • Enhanced error logging by attaching endpoint information to exceptions during database account retrieval. See PR 44484

Don't miss a new azure-sdk-for-python release

NewReleases is sending notifications on new releases.