From 11165ee3c3172fdf2bc7439bb70b1ec7b0134a3e Mon Sep 17 00:00:00 2001 From: pemari-msft Date: Tue, 1 Sep 2015 15:01:59 -0700 Subject: [PATCH] Storage Client Library 5.0.2 --- Lib/AspNet/Microsoft.WindowsAzure.Storage/AssemblyInfo.cs | 6 +++--- .../WindowsAzure.StorageK.nuspec | 2 +- Lib/AspNet/Microsoft.WindowsAzure.Storage/project.json | 2 +- Lib/ClassLibraryCommon/Blob/CloudAppendBlob.cs | 2 +- Lib/Common/Shared/Protocol/Constants.cs | 4 ++-- Lib/Portable/Properties/AssemblyInfo.cs | 6 +++--- Lib/WindowsDesktop/Properties/AssemblyInfo.cs | 4 ++-- Lib/WindowsDesktop/WindowsAzure.Storage.nuspec | 2 +- Lib/WindowsPhone/Properties/AssemblyInfo.cs | 4 ++-- Lib/WindowsPhoneRT/Properties/AssemblyInfo.cs | 4 ++-- Lib/WindowsRuntime/Properties/AssemblyInfo.cs | 4 ++-- README.md | 2 +- .../AspNet/Microsoft.WindowsAzure.Storage.Test/project.json | 2 +- Test/WindowsDesktop/Properties/AssemblyInfo.cs | 4 ++-- Test/WindowsPhone/Properties/AssemblyInfo.cs | 4 ++-- Test/WindowsPhone81/Properties/AssemblyInfo.cs | 4 ++-- Test/WindowsPhoneRT.Test/Properties/AssemblyInfo.cs | 4 ++-- Test/WindowsRuntime/Properties/AssemblyInfo.cs | 4 ++-- changelog.txt | 5 ++++- 19 files changed, 36 insertions(+), 33 deletions(-) diff --git a/Lib/AspNet/Microsoft.WindowsAzure.Storage/AssemblyInfo.cs b/Lib/AspNet/Microsoft.WindowsAzure.Storage/AssemblyInfo.cs index a0500d921..7786b150f 100644 --- a/Lib/AspNet/Microsoft.WindowsAzure.Storage/AssemblyInfo.cs +++ b/Lib/AspNet/Microsoft.WindowsAzure.Storage/AssemblyInfo.cs @@ -33,8 +33,8 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("5.0.1.0")] -[assembly: AssemblyFileVersion("5.0.1.0")] -[assembly: AssemblyInformationalVersion("5.0.1.0-preview")] +[assembly: AssemblyVersion("5.0.3.0")] +[assembly: AssemblyFileVersion("5.0.3.0")] +[assembly: AssemblyInformationalVersion("5.0.3.0-preview")] [assembly: InternalsVisibleTo("Microsoft.WindowsAzure.Storage.Test")] diff --git a/Lib/AspNet/Microsoft.WindowsAzure.Storage/WindowsAzure.StorageK.nuspec b/Lib/AspNet/Microsoft.WindowsAzure.Storage/WindowsAzure.StorageK.nuspec index 35ae14aac..714eff202 100644 --- a/Lib/AspNet/Microsoft.WindowsAzure.Storage/WindowsAzure.StorageK.nuspec +++ b/Lib/AspNet/Microsoft.WindowsAzure.Storage/WindowsAzure.StorageK.nuspec @@ -2,7 +2,7 @@ WindowsAzure.Storage - 5.0.1-preview + 5.0.3-preview Windows Azure Storage Microsoft Microsoft diff --git a/Lib/AspNet/Microsoft.WindowsAzure.Storage/project.json b/Lib/AspNet/Microsoft.WindowsAzure.Storage/project.json index 68c2013a0..b955b3742 100644 --- a/Lib/AspNet/Microsoft.WindowsAzure.Storage/project.json +++ b/Lib/AspNet/Microsoft.WindowsAzure.Storage/project.json @@ -1,5 +1,5 @@ { - "version": "5.0.1.0", + "version": "5.0.3.0", "authors": [ "Microsoft Corporation" ], "description": "Azure Storage SDK for ASP.NET 5 Preview", "dependencies": { diff --git a/Lib/ClassLibraryCommon/Blob/CloudAppendBlob.cs b/Lib/ClassLibraryCommon/Blob/CloudAppendBlob.cs index 9518108b8..c3cf8f186 100644 --- a/Lib/ClassLibraryCommon/Blob/CloudAppendBlob.cs +++ b/Lib/ClassLibraryCommon/Blob/CloudAppendBlob.cs @@ -1941,7 +1941,7 @@ public Task AppendTextAsync(string content) [DoesServiceRequest] public Task AppendTextAsync(string content, CancellationToken cancellationToken) { - return AsyncExtensions.TaskFromVoidApm(this.BeginUploadText, this.EndUploadText, content, cancellationToken); + return AsyncExtensions.TaskFromVoidApm(this.BeginAppendText, this.EndAppendText, content, cancellationToken); } /// diff --git a/Lib/Common/Shared/Protocol/Constants.cs b/Lib/Common/Shared/Protocol/Constants.cs index 491e333fa..3c9f2d596 100644 --- a/Lib/Common/Shared/Protocol/Constants.cs +++ b/Lib/Common/Shared/Protocol/Constants.cs @@ -782,9 +782,9 @@ static HeaderConstants() /// Specifies the value to use for UserAgent header. /// #if ASPNET_K || PORTABLE - public const string UserAgentProductVersion = "5.0.1-preview"; + public const string UserAgentProductVersion = "5.0.3-preview"; #else - public const string UserAgentProductVersion = "5.0.0"; + public const string UserAgentProductVersion = "5.0.2"; #endif /// diff --git a/Lib/Portable/Properties/AssemblyInfo.cs b/Lib/Portable/Properties/AssemblyInfo.cs index bdab00ca4..8142bd0a1 100644 --- a/Lib/Portable/Properties/AssemblyInfo.cs +++ b/Lib/Portable/Properties/AssemblyInfo.cs @@ -26,6 +26,6 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("5.0.1.0")] -[assembly: AssemblyFileVersion("5.0.1.0")] -[assembly: AssemblyInformationalVersion("5.0.1.0-preview")] +[assembly: AssemblyVersion("5.0.3.0")] +[assembly: AssemblyFileVersion("5.0.3.0")] +[assembly: AssemblyInformationalVersion("5.0.3.0-preview")] diff --git a/Lib/WindowsDesktop/Properties/AssemblyInfo.cs b/Lib/WindowsDesktop/Properties/AssemblyInfo.cs index e7baa0bea..0a15424b5 100644 --- a/Lib/WindowsDesktop/Properties/AssemblyInfo.cs +++ b/Lib/WindowsDesktop/Properties/AssemblyInfo.cs @@ -34,8 +34,8 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("5.0.0.0")] -[assembly: AssemblyFileVersion("5.0.0.0")] +[assembly: AssemblyVersion("5.0.2.0")] +[assembly: AssemblyFileVersion("5.0.2.0")] #if SIGN [assembly: InternalsVisibleTo( diff --git a/Lib/WindowsDesktop/WindowsAzure.Storage.nuspec b/Lib/WindowsDesktop/WindowsAzure.Storage.nuspec index ea692a577..c76326219 100644 --- a/Lib/WindowsDesktop/WindowsAzure.Storage.nuspec +++ b/Lib/WindowsDesktop/WindowsAzure.Storage.nuspec @@ -2,7 +2,7 @@ WindowsAzure.Storage - 5.0.0 + 5.0.2 Windows Azure Storage Microsoft Microsoft diff --git a/Lib/WindowsPhone/Properties/AssemblyInfo.cs b/Lib/WindowsPhone/Properties/AssemblyInfo.cs index 13b946c9e..7ac3c78d6 100644 --- a/Lib/WindowsPhone/Properties/AssemblyInfo.cs +++ b/Lib/WindowsPhone/Properties/AssemblyInfo.cs @@ -32,8 +32,8 @@ // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("5.0.0.0")] -[assembly: AssemblyFileVersion("5.0.0.0")] +[assembly: AssemblyVersion("5.0.2.0")] +[assembly: AssemblyFileVersion("5.0.2.0")] [assembly: NeutralResourcesLanguageAttribute("en-US")] #if SIGN diff --git a/Lib/WindowsPhoneRT/Properties/AssemblyInfo.cs b/Lib/WindowsPhoneRT/Properties/AssemblyInfo.cs index 64229b63a..cec038533 100644 --- a/Lib/WindowsPhoneRT/Properties/AssemblyInfo.cs +++ b/Lib/WindowsPhoneRT/Properties/AssemblyInfo.cs @@ -24,8 +24,8 @@ // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("5.0.0.0")] -[assembly: AssemblyFileVersion("5.0.0.0")] +[assembly: AssemblyVersion("5.0.2.0")] +[assembly: AssemblyFileVersion("5.0.2.0")] [assembly: NeutralResourcesLanguageAttribute("en-US")] [assembly: ComVisible(false)] diff --git a/Lib/WindowsRuntime/Properties/AssemblyInfo.cs b/Lib/WindowsRuntime/Properties/AssemblyInfo.cs index 2541e7bb4..ff085b322 100644 --- a/Lib/WindowsRuntime/Properties/AssemblyInfo.cs +++ b/Lib/WindowsRuntime/Properties/AssemblyInfo.cs @@ -25,8 +25,8 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("5.0.0.0")] -[assembly: AssemblyFileVersion("5.0.0.0")] +[assembly: AssemblyVersion("5.0.2.0")] +[assembly: AssemblyFileVersion("5.0.2.0")] [assembly: ComVisible(false)] #if SIGN diff --git a/README.md b/README.md index 2c98bd8d2..c6bb5d959 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Microsoft Azure Storage SDK for .NET (5.0.0) +# Microsoft Azure Storage SDK for .NET (5.0.2) The Microsoft Azure Storage SDK for .NET allows you to build Azure applications that take advantage of scalable cloud computing resources. diff --git a/Test/AspNet/Microsoft.WindowsAzure.Storage.Test/project.json b/Test/AspNet/Microsoft.WindowsAzure.Storage.Test/project.json index a7def9f41..461862a1a 100644 --- a/Test/AspNet/Microsoft.WindowsAzure.Storage.Test/project.json +++ b/Test/AspNet/Microsoft.WindowsAzure.Storage.Test/project.json @@ -1,5 +1,5 @@ { - "version": "5.0.1.0", + "version": "5.0.3.0", "dependencies": { "xunit": "2.1.0-*", "xunit.runner.dnx": "2.1.0-*", diff --git a/Test/WindowsDesktop/Properties/AssemblyInfo.cs b/Test/WindowsDesktop/Properties/AssemblyInfo.cs index 933371a6c..3607bb298 100644 --- a/Test/WindowsDesktop/Properties/AssemblyInfo.cs +++ b/Test/WindowsDesktop/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("5.0.0.0")] -[assembly: AssemblyFileVersion("5.0.0.0")] +[assembly: AssemblyVersion("5.0.2.0")] +[assembly: AssemblyFileVersion("5.0.2.0")] diff --git a/Test/WindowsPhone/Properties/AssemblyInfo.cs b/Test/WindowsPhone/Properties/AssemblyInfo.cs index 47229ebd3..e683ddfc3 100644 --- a/Test/WindowsPhone/Properties/AssemblyInfo.cs +++ b/Test/WindowsPhone/Properties/AssemblyInfo.cs @@ -32,6 +32,6 @@ // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("5.0.0.0")] -[assembly: AssemblyFileVersion("5.0.0.0")] +[assembly: AssemblyVersion("5.0.2.0")] +[assembly: AssemblyFileVersion("5.0.2.0")] [assembly: NeutralResourcesLanguageAttribute("en-US")] diff --git a/Test/WindowsPhone81/Properties/AssemblyInfo.cs b/Test/WindowsPhone81/Properties/AssemblyInfo.cs index 0e216c0b7..bd6edff6c 100644 --- a/Test/WindowsPhone81/Properties/AssemblyInfo.cs +++ b/Test/WindowsPhone81/Properties/AssemblyInfo.cs @@ -33,6 +33,6 @@ // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("5.0.0.0")] -[assembly: AssemblyFileVersion("5.0.0.0")] +[assembly: AssemblyVersion("5.0.2.0")] +[assembly: AssemblyFileVersion("5.0.2.0")] [assembly: NeutralResourcesLanguageAttribute("en-US")] diff --git a/Test/WindowsPhoneRT.Test/Properties/AssemblyInfo.cs b/Test/WindowsPhoneRT.Test/Properties/AssemblyInfo.cs index d286cb6bb..f49151763 100644 --- a/Test/WindowsPhoneRT.Test/Properties/AssemblyInfo.cs +++ b/Test/WindowsPhoneRT.Test/Properties/AssemblyInfo.cs @@ -24,6 +24,6 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("5.0.0.0")] -[assembly: AssemblyFileVersion("5.0.0.0")] +[assembly: AssemblyVersion("5.0.2.0")] +[assembly: AssemblyFileVersion("5.0.2.0")] [assembly: ComVisible(false)] \ No newline at end of file diff --git a/Test/WindowsRuntime/Properties/AssemblyInfo.cs b/Test/WindowsRuntime/Properties/AssemblyInfo.cs index 5f62da2aa..3e9d74c45 100644 --- a/Test/WindowsRuntime/Properties/AssemblyInfo.cs +++ b/Test/WindowsRuntime/Properties/AssemblyInfo.cs @@ -24,6 +24,6 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("5.0.0.0")] -[assembly: AssemblyFileVersion("5.0.0.0")] +[assembly: AssemblyVersion("5.0.2.0")] +[assembly: AssemblyFileVersion("5.0.2.0")] [assembly: ComVisible(false)] diff --git a/changelog.txt b/changelog.txt index 966c90fea..b872bd307 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,6 @@ +Changes in 5.0.2 : + - Blobs: Fixed a bug in the min AppendTextAsync overload that caused overwrite behavior instead of append behavior. Please upgrade to 5.0.2 as soon as possible to avoid this bug. + Changes in 5.0.0 : - All: Support for 2015-02-21 REST version. Please see our REST API documentation and blogs for information about the related added features. @@ -5,9 +8,9 @@ Changes in 5.0.0 : - All: Deprecated the overload for GetSharedAccessSignature that takes a SAS version because the SAS tokens generated using the current version work fine with old libraries. - All: Updated the error message for the error that is thrown for having more than 5 shared access policy identifiers to include shares. - All: Made SyncMemoryStream, a MemoryStream implementation that runs synchronously even when asynchronous overloads are called public. + - All: Removed dependency on Microsoft.WindowsAzure.ConfigurationManager. - All: Updated OData dependencies to v5.6.4 and Newtonsoft.Json dependency to 6.0.8. Removed Microsoft.WindowsAzure.ConfigurationManager dependency. - All: Changed behavior to stop stripping out query parameters passed in with the resource URI. Some query parameters such as comp, restype, snapshot and api-version will still be removed. - - All: Removed dependency on Microsoft.WindowsAzure.ConfigurationManager. - Blobs: MultiBufferMemoryStream objects passed as argument to upload methods are not disposed by the client library. - Blobs: Added CloudAppendBlob class. For more information on this, please refer to the REST API link. - Blobs: Deprecated StartCopyFromBlob() using the Obsolete attribute. Use StartCopy() instead.