Skip to content

Release: Adds version 3.58.0#5698

Closed
aavasthy wants to merge 5 commits intomasterfrom
release-3.58.0-v2
Closed

Release: Adds version 3.58.0#5698
aavasthy wants to merge 5 commits intomasterfrom
release-3.58.0-v2

Conversation

@aavasthy
Copy link
Copy Markdown
Contributor

@aavasthy aavasthy commented Mar 17, 2026

Release 3.58.0

Version Changes

  • ClientOfficialVersion: 3.57.0 3.58.0
  • ClientPreviewVersion: 3.58.0 3.59.0
  • ClientPreviewSuffixVersion: preview.0 preview.0

Changelog (GA 3.58.0)

Added

  • 5447 Per Partition Automatic Failover: Adds Hub Region Processing Only While Routing Requests Failed with 404/1002 for single master accounts
  • 5582 Query: Adds ability to choose global vs local/focused statistics for FullTextScore
  • 5693 ThinClient Integration: Adds Enable Multiple Http2 connection on SocketsHttpHandler
  • 5610 Fixes EnableNRegionSynchronousCommit flag

Fixed

  • 5597 CosmosClient: Fixes ObjectDisposedException message when client is disposed during request
  • 5650 Batch: Fixes null ErrorMessage when promoting status from MultiStatus response
  • 5651 Serializer: Fixes unsafe stream cast in FromStream

Changelog (Preview 3.59.0-preview.0)

Added

  • 5685 Read Consistency Strategy: Adds Read Consistency Strategy option for read requests
  • 5634 Semantic Reranking: Adds response body in semantic reranking error responses
  • 5502 VectorIndex Policy: Adds support for QuantizerType in IndexingPolicy

API Contract Diff (GA)

diff --git "a/Microsoft.Azure.Cosmos\\contracts\\API_3.57.0.txt" "b/Microsoft.Azure.Cosmos\\contracts\\API_3.58.0.txt"
index a1fa19e40..1b74a6908 100644
--- "a/Microsoft.Azure.Cosmos\\contracts\\API_3.57.0.txt"
+++ "b/Microsoft.Azure.Cosmos\\contracts\\API_3.58.0.txt"
@@ -639,6 +639,11 @@ namespace Microsoft.Azure.Cosmos
         public string DefaultLanguage { get; set; }
         public Collection<FullTextPath> FullTextPaths { get; set; }
     }
+    public enum FullTextScoreScope
+    {
+        Global = 0,
+        Local = 1,
+    }
     public sealed class GeospatialConfig
     {
         public GeospatialConfig();
@@ -869,6 +874,7 @@ namespace Microsoft.Azure.Cosmos
         public Nullable<bool> EnableLowPrecisionOrderBy { get; set; }
         public bool EnableOptimisticDirectExecution { get; set; }
         public Nullable<bool> EnableScanInQuery { get; set; }
+        public FullTextScoreScope FullTextScoreScope { get; set; }
         public Nullable<int> MaxBufferedItemCount { get; set; }
         public Nullable<int> MaxConcurrency { get; set; }
         public Nullable<int> MaxItemCount { get; set; }

API Contract Diff (Preview)

diff --git "a/Microsoft.Azure.Cosmos\\contracts\\API_3.58.0-preview.0.txt" "b/Microsoft.Azure.Cosmos\\contracts\\API_3.59.0-preview.0.txt"
index af57dd835..1ae52c059 100644
--- "a/Microsoft.Azure.Cosmos\\contracts\\API_3.58.0-preview.0.txt"
+++ "b/Microsoft.Azure.Cosmos\\contracts\\API_3.59.0-preview.0.txt"
@@ -128,6 +128,7 @@ namespace Microsoft.Azure.Cosmos
         public new string IfMatchEtag { get; set; }
         public new string IfNoneMatchEtag { get; set; }
         public Nullable<int> PageSizeHint { get; set; }
+        public Nullable<ReadConsistencyStrategy> ReadConsistencyStrategy { get; set; }
     }
     public abstract class ChangeFeedStartFrom
     {
@@ -414,6 +415,7 @@ namespace Microsoft.Azure.Cosmos
         public Nullable<TimeSpan> OpenTcpConnectionTimeout { get; set; }
         public Nullable<PortReuseMode> PortReuseMode { get; set; }
         public Nullable<PriorityLevel> PriorityLevel { get; set; }
+        public Nullable<ReadConsistencyStrategy> ReadConsistencyStrategy { get; set; }
         public TimeSpan RequestTimeout { get; set; }
         public CosmosSerializer Serializer { get; set; }
         public CosmosSerializationOptions SerializerOptions { get; set; }
@@ -746,6 +748,11 @@ namespace Microsoft.Azure.Cosmos
         public string DefaultLanguage { get; set; }
         public Collection<FullTextPath> FullTextPaths { get; set; }
     }
+    public enum FullTextScoreScope
+    {
+        Global = 0,
+        Local = 1,
+    }
     public sealed class GeospatialConfig
     {
         public GeospatialConfig();
@@ -825,6 +832,7 @@ namespace Microsoft.Azure.Cosmos
         public Nullable<IndexingDirective> IndexingDirective { get; set; }
         public IEnumerable<string> PostTriggers { get; set; }
         public IEnumerable<string> PreTriggers { get; set; }
+        public Nullable<ReadConsistencyStrategy> ReadConsistencyStrategy { get; set; }
         public string SessionToken { get; set; }
     }
     public class ItemResponse<T> : Response<T>
@@ -972,6 +980,11 @@ namespace Microsoft.Azure.Cosmos
         High = 1,
         Low = 2,
     }
+    public enum QuantizerType
+    {
+        Product = 0,
+        Spherical = 1,
+    }
     public class QueryDefinition
     {
         public QueryDefinition(string query);
@@ -988,6 +1001,7 @@ namespace Microsoft.Azure.Cosmos
         public Nullable<bool> EnableLowPrecisionOrderBy { get; set; }
         public bool EnableOptimisticDirectExecution { get; set; }
         public Nullable<bool> EnableScanInQuery { get; set; }
+        public FullTextScoreScope FullTextScoreScope { get; set; }
         public Nullable<int> MaxBufferedItemCount { get; set; }
         public Nullable<int> MaxConcurrency { get; set; }
         public Nullable<int> MaxItemCount { get; set; }
@@ -995,6 +1009,7 @@ namespace Microsoft.Azure.Cosmos
         public Nullable<bool> PopulateIndexMetrics { get; set; }
         public Nullable<bool> PopulateQueryAdvice { get; set; }
         public QueryTextMode QueryTextMode { get; set; }
+        public Nullable<ReadConsistencyStrategy> ReadConsistencyStrategy { get; set; }
         public Nullable<int> ResponseContinuationTokenLimitInKb { get; set; }
         public string SessionToken { get; set; }
     }
@@ -1004,10 +1019,18 @@ namespace Microsoft.Azure.Cosmos
         None = 0,
         ParameterizedOnly = 1,
     }
+    public enum ReadConsistencyStrategy
+    {
+        Eventual = 1,
+        GlobalStrong = 4,
+        LatestCommitted = 3,
+        Session = 2,
+    }
     public class ReadManyRequestOptions : RequestOptions
     {
         public ReadManyRequestOptions();
         public Nullable<ConsistencyLevel> ConsistencyLevel { get; set; }
+        public Nullable<ReadConsistencyStrategy> ReadConsistencyStrategy { get; set; }
         public string SessionToken { get; set; }
     }
     public static class Regions
@@ -1383,6 +1406,7 @@ namespace Microsoft.Azure.Cosmos
         public int IndexingSearchListSize { get; set; }
         public string Path { get; set; }
         public int QuantizationByteSize { get; set; }
+        public Nullable<QuantizerType> QuantizerType { get; set; }
         public VectorIndexType Type { get; set; }
         public string[] VectorIndexShardKey { get; set; }
     }
@@ -1482,6 +1506,7 @@ namespace Microsoft.Azure.Cosmos.Fluent
         public CosmosClientBuilder WithHttpClientFactory(Func<HttpClient> httpClientFactory);
         public CosmosClientBuilder WithLimitToEndpoint(bool limitToEndpoint);
         public CosmosClientBuilder WithPriorityLevel(PriorityLevel priorityLevel);
+        public CosmosClientBuilder WithReadConsistencyStrategy(ReadConsistencyStrategy readConsistencyStrategy);
         public CosmosClientBuilder WithRequestTimeout(TimeSpan requestTimeout);
         public CosmosClientBuilder WithSerializerOptions(CosmosSerializationOptions cosmosSerializerOptions);
         public CosmosClientBuilder WithSystemTextJsonSerializerOptions(JsonSerializerOptions serializerOptions);
@@ -1540,6 +1565,7 @@ namespace Microsoft.Azure.Cosmos.Fluent
         public VectorIndexDefinition<T> Path(string path, VectorIndexType indexType);
         public VectorIndexDefinition<T> WithIndexingSearchListSize(int indexingSearchListSize);
         public VectorIndexDefinition<T> WithQuantizationByteSize(int quantizationByteSize);
+        public VectorIndexDefinition<T> WithQuantizerType(QuantizerType quantizerType);
         public VectorIndexDefinition<T> WithVectorIndexShardKey(string[] vectorIndexShardKey);
     }
 }

Checklist

  • Changelog entries reviewed by team
  • API contract diff reviewed by Kiran and Kirill
  • Preview APIs reviewed (email sent to azurecosmossdkdotnet@microsoft.com)
  • Kiran sign-off obtained

aavasthy and others added 2 commits March 17, 2026 16:11
- Updates ClientOfficialVersion to 3.58.0
- Updates ClientPreviewVersion to 3.59.0
- Updates ClientPreviewSuffixVersion to preview.0
- Adds changelog entries for 3.58.0 and 3.59.0-preview.0
- Adds API contract files for 3.58.0 and 3.59.0-preview.0

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Comment thread changelog.md Outdated
@NaluTripician
Copy link
Copy Markdown
Contributor

LGTM- just a note, we might want to tweak the agent to have the branch be named users//release- to follow that standard, then have them cut off the release branches under releases/ once this PR created by the agent is merged. I already have this in my local copilot instructions I think, but might be good to have for the agent as a whole.

@Praveen-Msft
Copy link
Copy Markdown
Contributor

@copilot in the description following section needs corrections. better to add from and to
Version Changes
ClientOfficialVersion: 3.57.0 3.58.0
ClientPreviewVersion: 3.58.0 3.59.0
ClientPreviewSuffixVersion: preview.0 preview.0

Copilot AI mentioned this pull request Mar 18, 2026
4 tasks
Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 18, 2026

@Praveen-Msft I've opened a new pull request, #5700, to work on those changes. Once the pull request is ready, I'll request review from you.

Comment thread changelog.md Outdated
Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 18, 2026

@NaluTripician I've opened a new pull request, #5701, to work on those changes. Once the pull request is ready, I'll request review from you.

NaluTripician
NaluTripician previously approved these changes Mar 18, 2026
@aavasthy aavasthy self-assigned this Mar 18, 2026
@aavasthy aavasthy added the auto-merge Enables automation to merge PRs label Mar 18, 2026
@microsoft-github-policy-service microsoft-github-policy-service Bot enabled auto-merge (squash) March 18, 2026 20:48
The minimum recommended version in `changelog.md` was stale at `3.51.0`
and needed to be bumped to reflect the current release baseline.

## Changes
- **`changelog.md`**: Updated minimum recommended version reference from
`3.51.0` → `3.57.0`

<!-- START COPILOT CODING AGENT TIPS -->
---

💬 Send tasks to Copilot coding agent from
[Slack](https://gh.io/cca-slack-docs) and
[Teams](https://gh.io/cca-teams-docs) to turn conversations into code.
Copilot posts an update in your thread when it's finished.

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NaluTripician <27316859+NaluTripician@users.noreply.github.com>
Comment thread changelog.md Outdated
# Pull Request Template

## Description

Update the changelog and remove internal package and direct package
information.
@aavasthy aavasthy closed this Mar 19, 2026
auto-merge was automatically disabled March 19, 2026 18:53

Pull request was closed

…5710)

## Summary

Merges latest master commits into the release-3.58.0-v2 branch to
include:

- [#5614](#5614)
**ThinClient Integration**: Adds support for QueryPlan in thinclient
mode
- [#5682](#5682)
**[Internal] Query**: Adds
SubstringAfter/LastSubstringAfter/SubstringBefore/LastSubstringBefore to
SDK
- [#5681](#5681)
**[Internal] Tooling**: Adds msdata/direct sync Copilot agent and helper
script

### Changelog Update
- Added PR #5614 to 3.58.0 changelog under **Added** section

This updates the existing release PR #5698.

---------

Co-authored-by: Nalu Tripician <27316859+NaluTripician@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Kiran Kumar Kolli <kirankk@microsoft.com>
Co-authored-by: yaoce <139432479+yaoce-YC@users.noreply.github.com>
@aavasthy aavasthy reopened this Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge Enables automation to merge PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants