Skip to content

Commit

Permalink
3.23.0: Adds changelog and bumps SDK version (#2864)
Browse files Browse the repository at this point in the history
This bumps the SDK version to 3.23.0, and updates the changelog.
  • Loading branch information
j82w authored Nov 12, 2021
1 parent ad631a5 commit 756659b
Show file tree
Hide file tree
Showing 5 changed files with 2,871 additions and 85 deletions.
4 changes: 2 additions & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ClientOfficialVersion>3.22.0</ClientOfficialVersion>
<ClientPreviewVersion>3.22.1</ClientPreviewVersion>
<ClientOfficialVersion>3.23.0</ClientOfficialVersion>
<ClientPreviewVersion>3.23.0</ClientPreviewVersion>
<ClientPreviewSuffixVersion>preview</ClientPreviewSuffixVersion>
<DirectVersion>3.23.1</DirectVersion>
<EncryptionVersion>1.0.0-previewV18</EncryptionVersion>
Expand Down
85 changes: 2 additions & 83 deletions Microsoft.Azure.Cosmos/contracts/API_3.22.0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -93,56 +93,6 @@ namespace Microsoft.Azure.Cosmos
public static ChangeFeedStartFrom Time(DateTime dateTimeUtc);
public static ChangeFeedStartFrom Time(DateTime dateTimeUtc, FeedRange feedRange);
}
public sealed class ClientEncryptionIncludedPath
{
public ClientEncryptionIncludedPath();
public string ClientEncryptionKeyId { get; set; }
public string EncryptionAlgorithm { get; set; }
public string EncryptionType { get; set; }
public string Path { get; set; }
}
public abstract class ClientEncryptionKey
{
protected ClientEncryptionKey();
public abstract string Id { get; }
public abstract Task<ClientEncryptionKeyResponse> ReadAsync(RequestOptions requestOptions=null, CancellationToken cancellationToken=default(CancellationToken));
public abstract Task<ClientEncryptionKeyResponse> ReplaceAsync(ClientEncryptionKeyProperties clientEncryptionKeyProperties, RequestOptions requestOptions=null, CancellationToken cancellationToken=default(CancellationToken));
}
public class ClientEncryptionKeyProperties : IEquatable<ClientEncryptionKeyProperties>
{
protected ClientEncryptionKeyProperties();
public ClientEncryptionKeyProperties(string id, string encryptionAlgorithm, byte[] wrappedDataEncryptionKey, EncryptionKeyWrapMetadata encryptionKeyWrapMetadata);
public Nullable<DateTime> CreatedTime { get; }
public string EncryptionAlgorithm { get; }
public EncryptionKeyWrapMetadata EncryptionKeyWrapMetadata { get; }
public string ETag { get; }
public string Id { get; }
public Nullable<DateTime> LastModified { get; }
public virtual string SelfLink { get; }
public byte[] WrappedDataEncryptionKey { get; }
public bool Equals(ClientEncryptionKeyProperties other);
public override bool Equals(object obj);
public override int GetHashCode();
}
public class ClientEncryptionKeyResponse : Response<ClientEncryptionKeyProperties>
{
protected ClientEncryptionKeyResponse();
public override string ActivityId { get; }
public virtual ClientEncryptionKey ClientEncryptionKey { get; }
public override CosmosDiagnostics Diagnostics { get; }
public override string ETag { get; }
public override Headers Headers { get; }
public override double RequestCharge { get; }
public override ClientEncryptionKeyProperties Resource { get; }
public override HttpStatusCode StatusCode { get; }
public static implicit operator ClientEncryptionKey (ClientEncryptionKeyResponse response);
}
public sealed class ClientEncryptionPolicy
{
public ClientEncryptionPolicy(IEnumerable<ClientEncryptionIncludedPath> includedPaths);
public IEnumerable<ClientEncryptionIncludedPath> IncludedPaths { get; }
public int PolicyFormatVersion { get; }
}
public sealed class CompositePath
{
public CompositePath();
Expand Down Expand Up @@ -257,7 +207,6 @@ namespace Microsoft.Azure.Cosmos
public ContainerProperties();
public ContainerProperties(string id, string partitionKeyPath);
public Nullable<int> AnalyticalStoreTimeToLiveInSeconds { get; set; }
public ClientEncryptionPolicy ClientEncryptionPolicy { get; set; }
public ConflictResolutionPolicy ConflictResolutionPolicy { get; set; }
public Nullable<int> DefaultTimeToLive { get; set; }
public string ETag { get; }
Expand Down Expand Up @@ -297,7 +246,6 @@ namespace Microsoft.Azure.Cosmos
public CosmosClient(string accountEndpoint, string authKeyOrResourceToken, CosmosClientOptions clientOptions=null);
public virtual CosmosClientOptions ClientOptions { get; }
public virtual Uri Endpoint { get; }
public virtual CosmosResponseFactory ResponseFactory { get; }
public static Task<CosmosClient> CreateAndInitializeAsync(string accountEndpoint, TokenCredential tokenCredential, IReadOnlyList<ValueTuple<string, string>> containers, CosmosClientOptions cosmosClientOptions=null, CancellationToken cancellationToken=default(CancellationToken));
public static Task<CosmosClient> CreateAndInitializeAsync(string connectionString, IReadOnlyList<ValueTuple<string, string>> containers, CosmosClientOptions cosmosClientOptions=null, CancellationToken cancellationToken=default(CancellationToken));
public static Task<CosmosClient> CreateAndInitializeAsync(string accountEndpoint, string authKeyOrResourceToken, IReadOnlyList<ValueTuple<string, string>> containers, CosmosClientOptions cosmosClientOptions=null, CancellationToken cancellationToken=default(CancellationToken));
Expand Down Expand Up @@ -389,13 +337,6 @@ namespace Microsoft.Azure.Cosmos
CamelCase = 1,
Default = 0,
}
public abstract class CosmosResponseFactory
{
protected CosmosResponseFactory();
public abstract FeedResponse<T> CreateItemFeedResponse<T>(ResponseMessage responseMessage);
public abstract ItemResponse<T> CreateItemResponse<T>(ResponseMessage responseMessage);
public abstract StoredProcedureExecuteResponse<T> CreateStoredProcedureExecuteResponse<T>(ResponseMessage responseMessage);
}
public sealed class CosmosSerializationOptions
{
public CosmosSerializationOptions();
Expand All @@ -414,7 +355,6 @@ namespace Microsoft.Azure.Cosmos
protected Database();
public abstract CosmosClient Client { get; }
public abstract string Id { get; }
public abstract Task<ClientEncryptionKeyResponse> CreateClientEncryptionKeyAsync(ClientEncryptionKeyProperties clientEncryptionKeyProperties, RequestOptions requestOptions=null, CancellationToken cancellationToken=default(CancellationToken));
public abstract Task<ContainerResponse> CreateContainerAsync(ContainerProperties containerProperties, ThroughputProperties throughputProperties, RequestOptions requestOptions=null, CancellationToken cancellationToken=default(CancellationToken));
public abstract Task<ContainerResponse> CreateContainerAsync(ContainerProperties containerProperties, Nullable<int> throughput=default(Nullable<int>), RequestOptions requestOptions=null, CancellationToken cancellationToken=default(CancellationToken));
public abstract Task<ContainerResponse> CreateContainerAsync(string id, string partitionKeyPath, Nullable<int> throughput=default(Nullable<int>), RequestOptions requestOptions=null, CancellationToken cancellationToken=default(CancellationToken));
Expand All @@ -427,8 +367,6 @@ namespace Microsoft.Azure.Cosmos
public abstract ContainerBuilder DefineContainer(string name, string partitionKeyPath);
public abstract Task<DatabaseResponse> DeleteAsync(RequestOptions requestOptions=null, CancellationToken cancellationToken=default(CancellationToken));
public abstract Task<ResponseMessage> DeleteStreamAsync(RequestOptions requestOptions=null, CancellationToken cancellationToken=default(CancellationToken));
public abstract ClientEncryptionKey GetClientEncryptionKey(string id);
public abstract FeedIterator<ClientEncryptionKeyProperties> GetClientEncryptionKeyQueryIterator(QueryDefinition queryDefinition, string continuationToken=null, QueryRequestOptions requestOptions=null);
public abstract Container GetContainer(string id);
public abstract FeedIterator<T> GetContainerQueryIterator<T>(QueryDefinition queryDefinition, string continuationToken=null, QueryRequestOptions requestOptions=null);
public abstract FeedIterator<T> GetContainerQueryIterator<T>(string queryText=null, string continuationToken=null, QueryRequestOptions requestOptions=null);
Expand Down Expand Up @@ -476,17 +414,6 @@ namespace Microsoft.Azure.Cosmos
Polygon = 4,
String = 1,
}
public class EncryptionKeyWrapMetadata : IEquatable<EncryptionKeyWrapMetadata>
{
public EncryptionKeyWrapMetadata(EncryptionKeyWrapMetadata source);
public EncryptionKeyWrapMetadata(string type, string name, string value);
public string Name { get; }
public string Type { get; }
public string Value { get; }
public bool Equals(EncryptionKeyWrapMetadata other);
public override bool Equals(object obj);
public override int GetHashCode();
}
public sealed class ExcludedPath
{
public ExcludedPath();
Expand Down Expand Up @@ -805,19 +732,17 @@ namespace Microsoft.Azure.Cosmos
public class RequestOptions
{
public RequestOptions();
public Action<Headers> AddRequestHeaders { get; set; }
public string IfMatchEtag { get; set; }
public string IfNoneMatchEtag { get; set; }
public IReadOnlyDictionary<string, object> Properties { get; set; }
public RequestOptions ShallowCopy();
}
public class ResponseMessage : IDisposable
{
public ResponseMessage();
public ResponseMessage(HttpStatusCode statusCode, RequestMessage requestMessage=null, string errorMessage=null);
public virtual Stream Content { get; set; }
public virtual string ContinuationToken { get; }
public virtual CosmosDiagnostics Diagnostics { get; set; }
public virtual CosmosDiagnostics Diagnostics { get; }
public virtual string ErrorMessage { get; }
public virtual Headers Headers { get; }
public virtual bool IsSuccessStatusCode { get; }
Expand Down Expand Up @@ -984,11 +909,6 @@ namespace Microsoft.Azure.Cosmos
}
namespace Microsoft.Azure.Cosmos.Fluent
{
public sealed class ClientEncryptionPolicyDefinition
{
public ContainerBuilder Attach();
public ClientEncryptionPolicyDefinition WithIncludedPath(ClientEncryptionIncludedPath path);
}
public class CompositeIndexDefinition<T>
{
public T Attach();
Expand All @@ -1010,7 +930,6 @@ namespace Microsoft.Azure.Cosmos.Fluent
public Task<ContainerResponse> CreateAsync(Nullable<int> throughput=default(Nullable<int>), CancellationToken cancellationToken=default(CancellationToken));
public Task<ContainerResponse> CreateIfNotExistsAsync(ThroughputProperties throughputProperties, CancellationToken cancellationToken=default(CancellationToken));
public Task<ContainerResponse> CreateIfNotExistsAsync(Nullable<int> throughput=default(Nullable<int>), CancellationToken cancellationToken=default(CancellationToken));
public ClientEncryptionPolicyDefinition WithClientEncryptionPolicy();
public ConflictResolutionDefinition WithConflictResolution();
public UniqueKeyDefinition WithUniqueKey();
}
Expand Down Expand Up @@ -1403,4 +1322,4 @@ namespace Microsoft.Azure.Cosmos.Spatial
public override bool Equals(object obj);
public override int GetHashCode();
}
}
}
Loading

0 comments on commit 756659b

Please sign in to comment.