Skip to content

Commit

Permalink
Storage STG 91 (Azure#38839)
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmcc-msft authored and yaotongms committed Oct 12, 2023
1 parent 4c642a7 commit aa50f61
Show file tree
Hide file tree
Showing 33 changed files with 58 additions and 68 deletions.
9 changes: 1 addition & 8 deletions sdk/storage/Azure.Storage.Blobs.Batch/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
# Release History

## 12.16.0-beta.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes
- Added support for service version 2023-11-03.

## 12.15.0 (2023-09-12)
- Includes all features from 12.15.0-beta.1.
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/Azure.Storage.Blobs.Batch/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "net",
"TagPrefix": "net/storage/Azure.Storage.Blobs.Batch",
"Tag": "net/storage/Azure.Storage.Blobs.Batch_1fae8eec10"
"Tag": "net/storage/Azure.Storage.Blobs.Batch_2e81e3676c"
}
9 changes: 1 addition & 8 deletions sdk/storage/Azure.Storage.Blobs.ChangeFeed/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
# Release History

## 12.0.0-preview.39 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes
- Added support for service version 2023-11-03.

## 12.0.0-preview.38 (2023-09-12)
- This release contains bug fixes to improve quality.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ namespace Azure.Storage.Blobs.ChangeFeed.Tests
BlobClientOptions.ServiceVersion.V2023_01_03,
BlobClientOptions.ServiceVersion.V2023_05_03,
BlobClientOptions.ServiceVersion.V2023_08_03,
BlobClientOptions.ServiceVersion.V2023_11_03,
StorageVersionExtensions.LatestVersion,
StorageVersionExtensions.MaxVersion,
RecordingServiceVersion = StorageVersionExtensions.MaxVersion,
Expand Down
9 changes: 1 addition & 8 deletions sdk/storage/Azure.Storage.Blobs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
# Release History

## 12.19.0-beta.1 (Unreleased)

### Features Added
- Added support for service version 2023-11-03.
- Added support for BlobClientOptions.Audience

### Breaking Changes

### Bugs Fixed

### Other Changes

## 12.18.0 (2023-09-12)
- Includes all features from 12.18.0-beta.1.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ public enum ServiceVersion
V2023_01_03 = 17,
V2023_05_03 = 18,
V2023_08_03 = 19,
V2023_11_03 = 20,
}
}
public partial class BlobContainerClient
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ public enum ServiceVersion
V2023_01_03 = 17,
V2023_05_03 = 18,
V2023_08_03 = 19,
V2023_11_03 = 20,
}
}
public partial class BlobContainerClient
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ public enum ServiceVersion
V2023_01_03 = 17,
V2023_05_03 = 18,
V2023_08_03 = 19,
V2023_11_03 = 20,
}
}
public partial class BlobContainerClient
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/Azure.Storage.Blobs/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "net",
"TagPrefix": "net/storage/Azure.Storage.Blobs",
"Tag": "net/storage/Azure.Storage.Blobs_c772765837"
"Tag": "net/storage/Azure.Storage.Blobs_2af1298628"
}
7 changes: 6 additions & 1 deletion sdk/storage/Azure.Storage.Blobs/src/BlobClientOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,12 @@ public enum ServiceVersion
/// <summary>
/// The 2023-08-03 service version.
/// </summary>
V2023_08_03 = 19
V2023_08_03 = 19,

/// <summary>
/// The 2023-11-03 service version.
/// </summary>
V2023_11_03 = 20
#pragma warning restore CA1707 // Identifiers should not contain underscores
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public BlobsClientTestFixtureAttribute(params object[] additionalParameters)
BlobClientOptions.ServiceVersion.V2023_01_03,
BlobClientOptions.ServiceVersion.V2023_05_03,
BlobClientOptions.ServiceVersion.V2023_08_03,
BlobClientOptions.ServiceVersion.V2023_11_03,
StorageVersionExtensions.LatestVersion,
StorageVersionExtensions.MaxVersion
},
Expand Down
9 changes: 1 addition & 8 deletions sdk/storage/Azure.Storage.Common/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
# Release History

## 12.18.0-beta.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes
- This release contains bug fixes to improve quality.

## 12.17.0 (2023-09-12)
- Includes all features from 12.17.0-beta.1.
Expand Down
1 change: 1 addition & 0 deletions sdk/storage/Azure.Storage.Common/src/Shared/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ internal static class Constants
/// <summary>
/// Gets the default service version to use when building shared access
/// signatures.
/// TODO https://github.com/Azure/azure-sdk-for-net/issues/38841.
/// </summary>
public const string DefaultSasVersion = "2023-08-03";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ internal static class StorageVersionExtensions
/// </summary>
internal const ServiceVersion MaxVersion =
#if BlobSDK || QueueSDK || FileSDK || DataLakeSDK || ChangeFeedSDK || DataMovementSDK|| BlobDataMovementSDK
ServiceVersion.V2023_08_03;
ServiceVersion.V2023_11_03;
#else
ERROR_STORAGE_SERVICE_NOT_DEFINED;
#endif
Expand Down Expand Up @@ -83,6 +83,7 @@ public static string ToVersionString(this ServiceVersion version) =>
ServiceVersion.V2023_01_03 => "2023-01-03",
ServiceVersion.V2023_05_03 => "2023-05-03",
ServiceVersion.V2023_08_03 => "2023-08-03",
ServiceVersion.V2023_11_03 => "2023-11-03",
#elif QueueSDK
// Queues just bumped the version number without changing the swagger
ServiceVersion.V2019_02_02 => "2018-11-09",
Expand All @@ -104,6 +105,7 @@ public static string ToVersionString(this ServiceVersion version) =>
ServiceVersion.V2023_01_03 => "2018-11-09",
ServiceVersion.V2023_05_03 => "2018-11-09",
ServiceVersion.V2023_08_03 => "2018-11-09",
ServiceVersion.V2023_11_03 => "2018-11-09",
#endif
_ => throw Errors.VersionNotSupported(nameof(version))
};
Expand Down Expand Up @@ -155,6 +157,8 @@ public static Azure.Storage.Blobs.BlobClientOptions.ServiceVersion AsBlobsVersio
Azure.Storage.Blobs.BlobClientOptions.ServiceVersion.V2023_05_03,
Azure.Storage.Files.DataLake.DataLakeClientOptions.ServiceVersion.V2023_08_03 =>
Azure.Storage.Blobs.BlobClientOptions.ServiceVersion.V2023_08_03,
Azure.Storage.Files.DataLake.DataLakeClientOptions.ServiceVersion.V2023_11_03 =>
Azure.Storage.Blobs.BlobClientOptions.ServiceVersion.V2023_11_03,
_ => throw Errors.VersionNotSupported(nameof(version))
};
#endif
Expand Down
5 changes: 3 additions & 2 deletions sdk/storage/Azure.Storage.Common/tests/CommonTestBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ namespace Azure.Storage.Test
BlobClientOptions.ServiceVersion.V2023_01_03,
BlobClientOptions.ServiceVersion.V2023_05_03,
BlobClientOptions.ServiceVersion.V2023_08_03,
RecordingServiceVersion = BlobClientOptions.ServiceVersion.V2023_08_03,
LiveServiceVersions = new object[] { BlobClientOptions.ServiceVersion.V2023_01_03 })]
BlobClientOptions.ServiceVersion.V2023_11_03,
RecordingServiceVersion = BlobClientOptions.ServiceVersion.V2023_11_03,
LiveServiceVersions = new object[] { BlobClientOptions.ServiceVersion.V2023_08_03 })]
public abstract class CommonTestBase : StorageTestBase<StorageTestEnvironment>
{
protected readonly BlobClientOptions.ServiceVersion _serviceVersion;
Expand Down
9 changes: 1 addition & 8 deletions sdk/storage/Azure.Storage.Files.DataLake/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
# Release History

## 12.17.0-beta.1 (Unreleased)

### Features Added
- Added support for service version 2023-11-03.
- Added support for DataLakeClientOptions.Audience

### Breaking Changes

### Bugs Fixed

### Other Changes

## 12.16.0 (2023-09-12)
- Includes all features from 12.16.0-beta.1.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public enum ServiceVersion
V2023_01_03 = 17,
V2023_05_03 = 18,
V2023_08_03 = 19,
V2023_11_03 = 20,
}
}
public partial class DataLakeDirectoryClient : Azure.Storage.Files.DataLake.DataLakePathClient
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public enum ServiceVersion
V2023_01_03 = 17,
V2023_05_03 = 18,
V2023_08_03 = 19,
V2023_11_03 = 20,
}
}
public partial class DataLakeDirectoryClient : Azure.Storage.Files.DataLake.DataLakePathClient
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/Azure.Storage.Files.DataLake/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "net",
"TagPrefix": "net/storage/Azure.Storage.Files.DataLake",
"Tag": "net/storage/Azure.Storage.Files.DataLake_441f7e2d96"
"Tag": "net/storage/Azure.Storage.Files.DataLake_6bcfabcd30"
}
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,12 @@ public enum ServiceVersion
/// <summary>
/// The 2023-08-03 service version.
/// </summary>
V2023_08_03 = 19
V2023_08_03 = 19,

/// <summary>
/// The 2023-11-03 service version.
/// </summary>
V2023_11_03 = 20
#pragma warning restore CA1707 // Identifiers should not contain underscores
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public DataLakeClientTestFixtureAttribute()
DataLakeClientOptions.ServiceVersion.V2023_01_03,
DataLakeClientOptions.ServiceVersion.V2023_05_03,
DataLakeClientOptions.ServiceVersion.V2023_08_03,
DataLakeClientOptions.ServiceVersion.V2023_11_03,
StorageVersionExtensions.LatestVersion,
StorageVersionExtensions.MaxVersion)
{
Expand Down
9 changes: 1 addition & 8 deletions sdk/storage/Azure.Storage.Files.Shares/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
# Release History

## 12.17.0-beta.1 (Unreleased)

### Features Added
- Added support for service version 2023-11-03.
- Added support for ShareClientOptions.Audience

### Breaking Changes

### Bugs Fixed

### Other Changes

## 12.16.0 (2023-09-12)
- Includes all features from 12.16.0-beta.1.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ public enum ServiceVersion
V2023_01_03 = 17,
V2023_05_03 = 18,
V2023_08_03 = 19,
V2023_11_03 = 20,
}
}
public partial class ShareDirectoryClient
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ public enum ServiceVersion
V2023_01_03 = 17,
V2023_05_03 = 18,
V2023_08_03 = 19,
V2023_11_03 = 20,
}
}
public partial class ShareDirectoryClient
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/Azure.Storage.Files.Shares/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "net",
"TagPrefix": "net/storage/Azure.Storage.Files.Shares",
"Tag": "net/storage/Azure.Storage.Files.Shares_7cb987c9c8"
"Tag": "net/storage/Azure.Storage.Files.Shares_29361a65db"
}
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,12 @@ public enum ServiceVersion
/// <summary>
/// The 2023-08-03 service version.
/// </summary>
V2023_08_03 = 19
V2023_08_03 = 19,

/// <summary>
/// The 2023-11-03 service version.
/// </summary>
V2023_11_03 = 20
#pragma warning restore CA1707 // Identifiers should not contain underscores
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public ShareClientTestFixtureAttribute()
ShareClientOptions.ServiceVersion.V2023_01_03,
ShareClientOptions.ServiceVersion.V2023_05_03,
ShareClientOptions.ServiceVersion.V2023_08_03,
ShareClientOptions.ServiceVersion.V2023_11_03,
StorageVersionExtensions.LatestVersion,
StorageVersionExtensions.MaxVersion)
{
Expand Down
8 changes: 0 additions & 8 deletions sdk/storage/Azure.Storage.Queues/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
# Release History

## 12.17.0-beta.1 (Unreleased)

### Features Added
- Added support for QueueClientOptions.Audience

### Breaking Changes

### Bugs Fixed

### Other Changes

## 12.16.0 (2023-09-12)
- Includes all features from 12.16.0-beta.1.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ public enum ServiceVersion
V2023_01_03 = 17,
V2023_05_03 = 18,
V2023_08_03 = 19,
V2023_11_03 = 20,
}
}
public partial class QueueMessageDecodingFailedEventArgs : Azure.SyncAsyncEventArgs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ public enum ServiceVersion
V2023_01_03 = 17,
V2023_05_03 = 18,
V2023_08_03 = 19,
V2023_11_03 = 20,
}
}
public partial class QueueMessageDecodingFailedEventArgs : Azure.SyncAsyncEventArgs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ public enum ServiceVersion
V2023_01_03 = 17,
V2023_05_03 = 18,
V2023_08_03 = 19,
V2023_11_03 = 20,
}
}
public partial class QueueMessageDecodingFailedEventArgs : Azure.SyncAsyncEventArgs
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/Azure.Storage.Queues/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "net",
"TagPrefix": "net/storage/Azure.Storage.Queues",
"Tag": "net/storage/Azure.Storage.Queues_03962ffb14"
"Tag": "net/storage/Azure.Storage.Queues_55be873687"
}
7 changes: 6 additions & 1 deletion sdk/storage/Azure.Storage.Queues/src/QueueClientOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,12 @@ public enum ServiceVersion
/// <summary>
/// The 2023-08-03 service version.
/// </summary>
V2023_08_03 = 19
V2023_08_03 = 19,

/// <summary>
/// The 2023-11-03 service version.
/// </summary>
V2023_11_03 = 20
#pragma warning restore CA1707 // Identifiers should not contain underscores
}

Expand Down

0 comments on commit aa50f61

Please sign in to comment.