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

Commit ebdc214

Browse files
authored
Merge pull request #365 from Azure/New-Storage-SDK-V10-Preview-dev
New storage sdk v10 preview dev
2 parents 70eed09 + 2d843c4 commit ebdc214

File tree

87 files changed

+7502
-4949
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+7502
-4949
lines changed

BreakingChanges.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
2018.08.22 Version 10.0.4-rc
1+
2018.08.11 Version 10.1.0
2+
* Interfaces for helper types updated to be more consistent throughout the library. All types, with the exception of the options for pipeline factories, use a fluent pattern.
3+
* Removed RetryReader type as it's functionality was moved to be built into the DownloadResponse. RetryReaderOptions are now named ReliableDownloadOptions.
4+
* Restructured the access conditions to be more logically adhere to their respective functions.
5+
* Added support for context parameter on each api to allow communication with the pipeline from the application level
6+
7+
2018.08.22 Version 10.0.4-rc
28
* Changed BlobURL.startCopy sourceAccessConditions parameter to be HTTPAccessConditions as lease is not actually supported.
39
* UploadFromFile now takes an AsynchronousFileChannel.
410
* UploadByteBuffersToBlockBlob, UploadByteBufferToBlockBlob, and DownloadToBuffer have been removed.

ChangeLog.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
2018.09.11 Version 10.1.0
2+
* Interfaces for helper types updated to be more consistent throughout the library. All types, with the exception of the options for pipeline factories, use a fluent pattern.
3+
* Removed RetryReader type as it's functionality was moved to be built into the DownloadResponse. RetryReaderOptions are now named ReliableDownloadOptions.
4+
* Restructured the access conditions to be more logically adhere to their respective functions.
5+
* Added support for context parameter on each api to allow communication with the pipeline from the application level
6+
17
2018.08.22 Version 10.0.4-rc
28
* Support for the 2017-11-09 REST version. Please see our REST api documentation and blogs for information about the related added features.
39
* Support for 2018-03-28 REST version. Please see our REST api documentation and blogs for information about the related added features.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ To get the binaries of this library as distributed by Microsoft, ready for use w
3131
<dependency>
3232
<groupId>com.microsoft.azure</groupId>
3333
<artifactId>azure-storage-blob</artifactId>
34-
<version>10.0.4-rc</version>
34+
<version>10.1.0</version>
3535
</dependency>
3636
```
3737

@@ -131,7 +131,7 @@ public class Sample {
131131
blobURL.download(null, null, false))
132132
.flatMap(blobsDownloadResponse ->
133133
// Verify that the blob data round-tripped correctly.
134-
FlowableUtil.collectBytesInBuffer(blobsDownloadResponse.body())
134+
FlowableUtil.collectBytesInBuffer(blobsDownloadResponse.body(null))
135135
.doOnSuccess(byteBuffer -> {
136136
if (byteBuffer.compareTo(ByteBuffer.wrap(data.getBytes())) != 0) {
137137
throw new Exception("The downloaded data does not match the uploaded data.");

pom.xml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
<groupId>com.microsoft.azure</groupId>
1616
<artifactId>azure-storage-blob</artifactId>
17-
<version>10.0.4-rc</version>
17+
<version>10.1.0</version>
1818

1919
<name>Azure Storage Blob</name>
2020
<description>The Azure Storage Java Blob library.</description>
@@ -61,11 +61,24 @@
6161
</pluginRepository>
6262
</pluginRepositories>
6363

64+
<repositories>
65+
<repository>
66+
<id>ossrh</id>
67+
<name>Sonatype Snapshots</name>
68+
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
69+
<layout>default</layout>
70+
<snapshots>
71+
<enabled>true</enabled>
72+
<updatePolicy>always</updatePolicy>
73+
</snapshots>
74+
</repository>
75+
</repositories>
76+
6477
<dependencies>
6578
<dependency>
6679
<groupId>com.microsoft.rest.v2</groupId>
6780
<artifactId>client-runtime</artifactId>
68-
<version>2.0.0-beta4</version>
81+
<version>2.0.0</version>
6982
</dependency>
7083
<dependency>
7184
<groupId>junit</groupId>

src/main/java/com/microsoft/azure/storage/GeneratedAppendBlobs.java

Lines changed: 138 additions & 90 deletions
Large diffs are not rendered by default.

src/main/java/com/microsoft/azure/storage/GeneratedBlobs.java

Lines changed: 611 additions & 420 deletions
Large diffs are not rendered by default.

src/main/java/com/microsoft/azure/storage/GeneratedBlockBlobs.java

Lines changed: 223 additions & 149 deletions
Large diffs are not rendered by default.

src/main/java/com/microsoft/azure/storage/GeneratedContainers.java

Lines changed: 346 additions & 218 deletions
Large diffs are not rendered by default.

src/main/java/com/microsoft/azure/storage/GeneratedPageBlobs.java

Lines changed: 408 additions & 281 deletions
Large diffs are not rendered by default.

src/main/java/com/microsoft/azure/storage/GeneratedServices.java

Lines changed: 69 additions & 45 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)