Skip to content

Commit

Permalink
Preview release version bump (#3306)
Browse files Browse the repository at this point in the history
  • Loading branch information
brycewang-microsoft authored Apr 27, 2023
1 parent 01e07af commit 5c69aa7
Show file tree
Hide file tree
Showing 13 changed files with 18 additions and 16 deletions.
2 changes: 1 addition & 1 deletion iothub/device/src/Microsoft.Azure.Devices.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</PropertyGroup>

<PropertyGroup>
<Version>2.0.0-preview004</Version>
<Version>2.0.0-preview005</Version>
<Title>Microsoft Azure IoT Device Client SDK</Title>
<IncludeSource>True</IncludeSource>
<IncludeSymbols>True</IncludeSymbols>
Expand Down
4 changes: 3 additions & 1 deletion iothub/device/src/Pipeline/ClientTransportStateMachine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,15 @@ internal enum ClientStateAction
/// <summary>
/// This state machine stores the current state of the delegating pipeline and evalautes if the requested state transition is possible.
/// </summary>
#pragma warning disable CA1852 // used in debug for unit test mocking
internal class ClientTransportStateMachine
#pragma warning restore CA1852
{
/// <summary>
/// This internal class is created for the purpose of evaluating if the proposed state transition is acceptable.
/// Objects of this class are maintained in a dictionary of "acceptable" state transitions.
/// </summary>
internal class StateTransition
internal sealed class StateTransition
{
private readonly ClientTransportState _currentState;
private readonly ClientStateAction _nextAction;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace Microsoft.Azure.Devices.Client.Transport.Amqp
/// receiving link, we need a way to identify the request, when it was sent, and the task completion source to complete the
/// waiting user's task.
/// </summary>
internal class PendingAmqpTwinOperation
internal sealed class PendingAmqpTwinOperation
{
public PendingAmqpTwinOperation(TaskCompletionSource<AmqpMessage> completionTask)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace Microsoft.Azure.Devices.Client.Transport.Mqtt
/// topic, we need a way to identify the request, when it was sent, and the task completion source to complete the
/// waiting user's task.
/// </summary>
internal class PendingMqttTwinOperation
internal sealed class PendingMqttTwinOperation
{
/// <summary>
/// Constructor for get twin operations.
Expand Down
2 changes: 1 addition & 1 deletion iothub/service/src/Microsoft.Azure.Devices.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</PropertyGroup>

<PropertyGroup>
<Version>2.0.0-preview004</Version>
<Version>2.0.0-preview005</Version>
<Title>Microsoft Azure IoT Service Client SDK</Title>
<IncludeSource>True</IncludeSource>
<IncludeSymbols>True</IncludeSymbols>
Expand Down
2 changes: 1 addition & 1 deletion iothub/service/src/Query/PageableHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ internal static AsyncPageable<T> CreateAsyncEnumerable<T>(Func<int?, Task<Page<T
internal delegate Task<Page<T>> AsyncPageFunc<T>(string continuationToken = default, int? pageSizeHint = default);
internal delegate Page<T> PageFunc<T>(string continuationToken = default, int? pageSizeHint = default);

internal class FuncAsyncPageable<T> : AsyncPageable<T> where T : notnull
internal sealed class FuncAsyncPageable<T> : AsyncPageable<T> where T : notnull
{
private readonly AsyncPageFunc<T> _firstPageFunc;
private readonly AsyncPageFunc<T> _nextPageFunc;
Expand Down
2 changes: 1 addition & 1 deletion iothub/service/src/Query/QueryResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Devices
/// helper functions to instantiate the abstract class Response, but this library is not in that repo yet. Because of that,
/// we need to implement the abstract class.
/// </summary>
internal class QueryResponse : Response
internal sealed class QueryResponse : Response
{
private HttpResponseMessage _httpResponse;
private List<HttpHeader> _httpHeaders;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</PropertyGroup>

<PropertyGroup>
<Version>2.0.0-preview004</Version>
<Version>2.0.0-preview005</Version>
<Title>Microsoft Azure IoT Provisioning Device Client SDK</Title>
<IncludeSource>True</IncludeSource>
<IncludeSymbols>True</IncludeSymbols>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</PropertyGroup>

<PropertyGroup>
<Version>2.0.0-preview004</Version>
<Version>2.0.0-preview005</Version>
<Title>Microsoft Azure IoT Provisioning Service Client SDK</Title>
<IncludeSource>True</IncludeSource>
<IncludeSymbols>True</IncludeSymbols>
Expand Down
2 changes: 1 addition & 1 deletion provisioning/service/src/Models/QueryResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Devices.Provisioning.Service
/// helper functions to instantiate the abstract class Response, but this library is not in that repo yet. Because of that,
/// we need to implement the abstract class.
/// </summary>
internal class QueryResponse : Response
internal sealed class QueryResponse : Response
{
private HttpResponseMessage _httpResponse;
private List<HttpHeader> _httpHeaders;
Expand Down
2 changes: 1 addition & 1 deletion provisioning/service/src/Utilities/PageableHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ internal static AsyncPageable<T> CreateAsyncEnumerable<T>(Func<int?, Task<Page<T
internal delegate Task<Page<T>> AsyncPageFunc<T>(string continuationToken = default, int? pageSizeHint = default);
internal delegate Page<T> PageFunc<T>(string continuationToken = default, int? pageSizeHint = default);

internal class FuncAsyncPageable<T> : AsyncPageable<T> where T : notnull
internal sealed class FuncAsyncPageable<T> : AsyncPageable<T> where T : notnull
{
private readonly AsyncPageFunc<T> _firstPageFunc;
private readonly AsyncPageFunc<T> _nextPageFunc;
Expand Down
2 changes: 1 addition & 1 deletion provisioning/service/src/Utilities/QueryBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

namespace Microsoft.Azure.Devices.Provisioning.Service
{
internal class QueryBuilder
internal sealed class QueryBuilder
{
private const string ContinuationTokenHeaderKey = "x-ms-continuation";
private const string PageSizeHeaderKey = "x-ms-max-item-count";
Expand Down
8 changes: 4 additions & 4 deletions versions.csv
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AssemblyPath, Version
iothub\device\src\Microsoft.Azure.Devices.Client.csproj, 2.0.0-preview004
iothub\service\src\Microsoft.Azure.Devices.csproj, 2.0.0-preview004
provisioning\device\src\Microsoft.Azure.Devices.Provisioning.Client.csproj, 2.0.0-preview004
provisioning\service\src\Microsoft.Azure.Devices.Provisioning.Service.csproj, 2.0.0-preview004
iothub\device\src\Microsoft.Azure.Devices.Client.csproj, 2.0.0-preview005
iothub\service\src\Microsoft.Azure.Devices.csproj, 2.0.0-preview005
provisioning\device\src\Microsoft.Azure.Devices.Provisioning.Client.csproj, 2.0.0-preview005
provisioning\service\src\Microsoft.Azure.Devices.Provisioning.Service.csproj, 2.0.0-preview005

0 comments on commit 5c69aa7

Please sign in to comment.