Skip to content
This repository was archived by the owner on Jul 19, 2024. It is now read-only.

Commit 0540f45

Browse files
committed
Release prep/cleanup
1 parent 94e0d58 commit 0540f45

File tree

15 files changed

+31
-25
lines changed

15 files changed

+31
-25
lines changed

ChangeLog.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
XXXX.XX.XX Version X.X.X
1+
2019.08.05 Version 8.4.0
22
* Support for 2019-02-02 REST version. Please see our REST API documentation and blogs for information about the related added features.
3-
* Added support for setting rehydrate priority for SetBlobTier and CopyBlob APIs
3+
* Added support for setting rehydrate priority for SetBlobTier and CopyBlob APIs.
44
* Added support for PutRangeFromURL API to writes bytes from one Azure File endpoint into the specified range of another Azure File endpoint.
5-
* Added set directory properties, create permission and get permission APIs.
6-
* Added required headers for create file, create directory, set file properties, get file properties, get directory properties, get file APIs.
7-
* Updated get file properties, get directory properties and get file calls to update SMB properties.
8-
* Support for 2018-11-09 REST version. Please see our REST API documentation and blogs for information about the related added features.
9-
* Added support for setting access tier for PutBlob/PutBlockList and CopyBlob APIs
5+
* Added setDirectoryProperties, createPermission, and getPermission APIs to the File package.
6+
* Added required headers for creatFile, createDirectory, setFileProperties, getFileProperties, getDirectoryProperties, getFile APIs.
7+
* Updated getFileProperties, getDirectoryProperties, and getFile calls to update SMB properties.
8+
* Added support for setting access tier for PutBlob/PutBlockList and CopyBlob APIs.
9+
* Added support for batching blob operations. Currently the only batchable apis are deleteBlob and setBlobTier.
1010

1111
2019.04.23 Version 8.3.0
1212
* Fixed a bug in the range download to InputStream that would throw an exception if the source blob was empty.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ To get the binaries of this library as distributed by Microsoft, ready for use w
3939
<dependency>
4040
<groupId>com.microsoft.azure</groupId>
4141
<artifactId>azure-storage</artifactId>
42-
<version>8.3.0</version>
42+
<version>8.4.0</version>
4343
</dependency>
4444
```
4545

microsoft-azure-storage-samples/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<dependency>
2727
<groupId>com.microsoft.azure</groupId>
2828
<artifactId>azure-storage</artifactId>
29-
<version>8.3.0</version>
29+
<version>8.4.0</version>
3030
</dependency>
3131
<dependency>
3232
<groupId>com.microsoft.azure</groupId>

microsoft-azure-storage-samples/src/com/microsoft/azure/storage/logging/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<dependency>
2727
<groupId>com.microsoft.azure</groupId>
2828
<artifactId>azure-storage</artifactId>
29-
<version>8.3.0</version>
29+
<version>8.4.0</version>
3030
</dependency>
3131
<dependency>
3232
<groupId>com.microsoft.azure</groupId>

microsoft-azure-storage-test/res/TestConfigurations.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
<ActiveDirectoryApplicationId>[APPLICATION_ID]</ActiveDirectoryApplicationId>
3131
<ActiveDirectoryApplicationSecret>[APPLICATION_SECRET]</ActiveDirectoryApplicationSecret>
3232
<ActiveDirectoryTenantId>[TENANT_ID]</ActiveDirectoryTenantId>
33+
<ActiveDirectoryAuthEndpoint>[ENDPOINT]</ActiveDirectoryAuthEndpoint>
3334
</TenantConfiguration>
3435
</TenantConfigurations>
3536
</TestConfigurations>

microsoft-azure-storage-test/src/com/microsoft/azure/storage/OAuthTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public void testOAuthTokenWithBlobClient() throws StorageException, URISyntaxExc
4040
blobClient.downloadServiceProperties();
4141
fail();
4242
} catch (StorageException e) {
43-
assertEquals("AuthenticationFailed", e.getErrorCode());
43+
assertEquals("InvalidAuthenticationInfo", e.getErrorCode());
4444
}
4545

4646
// change the token again to see it succeed

microsoft-azure-storage-test/src/com/microsoft/azure/storage/blob/CloudBlobClientTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ public void testBatchBlobSetTier() throws Exception {
521521
blob.uploadText("content");
522522

523523
blobs.add(blob);
524-
batchTierOp.addSubOperation(blob, StandardBlobTier.HOT);
524+
batchTierOp.addSubOperation(blob, StandardBlobTier.HOT, RehydratePriority.HIGH, null);
525525
}
526526

527527
// execute batch

microsoft-azure-storage-test/src/com/microsoft/azure/storage/queue/CloudQueueTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ public void testDeleteQueueIfExists() throws URISyntaxException, StorageExceptio
576576
}
577577
}
578578
finally {
579-
queue.delete();
579+
queue.deleteIfExists(); // Cannot simply delete or it will throw a "queue being deleted" error.
580580
}
581581
}
582582

microsoft-azure-storage/src/com/microsoft/azure/storage/BatchException.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
* Exception for when one or more sub-requests within a batch request fail. This exception is a map of the
1414
* {@link StorageException}s to the parent objects of the sub-request. Extensions of {@link Throwable} cannot use
1515
* generics, so this class uses several data structures with wildcards. Since only groups of the same request type can
16-
* be batched together, the batch caller will know the intended type in context, and can safely cast the result.
16+
* be batched together, the batch caller will know the intended type in context, and can safely cast the result. Please
17+
* refer to the samples project for an example on how to appropriately handle batch exceptions.
1718
*/
1819
public class BatchException extends StorageException {
1920

microsoft-azure-storage/src/com/microsoft/azure/storage/Constants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ public static class HeaderConstants {
765765
/**
766766
* Specifies the value to use for UserAgent header.
767767
*/
768-
public static final String USER_AGENT_VERSION = "8.3.0";
768+
public static final String USER_AGENT_VERSION = "8.4.0";
769769

770770
/**
771771
* The default type for content-type and accept

0 commit comments

Comments
 (0)