Skip to content

Releases: Backblaze/b2-sdk-java

v3.0.0

01 May 19:19
a470bee
Compare
Choose a tag to compare

Release notes for b2-sdk-java 3.0.0:

features include:

  • renaming the application key terminology to the new convention
  • being able to call b2FromJsonOrThrow() to check if you can parse
    a JSON String into a given object

v2.0.0

18 Oct 01:58
Compare
Choose a tag to compare

incompatible changes:

  • the SDK now uses version 2 of the B2 APIs, which deals with restricted application keys differently
  • B2Json type handler interface takes B2JsonOptions as a parameter, and not an int bitmask

features include:

  • B2Json support for versioned structures

bug fixes include:

  • remembering account ID after authorizing with application key
  • B2Json now serialized unions correctly

v1.4.0

23 May 23:52
Compare
Choose a tag to compare

Release notes for b2-sdk-java 1.4.0:

features include:

  • add BigInteger support to B2Json.

bug fixes include:

  • fix percent decoding of file name returned from getFileInfoByName()

v1.3.0

04 May 16:59
Compare
Choose a tag to compare

Release notes for b2-sdk-java 1.3.0:

features include:

  • add deleteAllFilesInBucket() and getFileInfoByName(). (thanks, valenpo!)
  • add support for upcoming ApplicationKeys apis. (thanks, valenpo!)
  • expose startLargeFile() and finishLargeFile()
  • add support for "union types" in B2Json.
  • add default codes for exception classes so B2Exception.create() can be used for HEAD.

performance changes include:

  • explicitly set user-agent on HttpClient to keep HttpClient from doing a bunch of unneeded work.

bug fixes include:

  • improve use of clocks in unit tests to make the tests less order dependent.
  • make search for "file info" headers in B2Headers check header names case-insensitively!

v1.2.0

01 Dec 01:38
Compare
Choose a tag to compare

Release notes for b2-sdk-java 1.2.0:

features include

  • Adds support setting CorsRules on buckets.
  • B2StorageClient now exposes the following methods.
    You should read the comments about why you probably
    want to let the SDK handle things for you instead
    of calling them. ;)
    • getAccountAuthorization()
    • getUploadUrl()
    • getUploadPartUrl()

performance improvements include:

  • speeds up writing json (by doing custom UTF8 encoding instead of using the generic java versions).
    (and a bug fix which changed the behavior of B2Json.toJson(...outputStream) to not close the stream.)

bug fixes include:

  • while uploading a large file, the caller provides a ExecutorService.
    if that service rejects a task we submit, we throw a
    B2LocalException instead of letting the RejectedExecutionException
    (a RuntimeException) percolate up.

v1.1.1

01 Nov 17:54
Compare
Choose a tag to compare

features include:

  • B2FileVersion now has string constants for "actions"
  • download request objects now have an optional 'b2ContentDisposition' field.
  • B2StorageClient now has getDownloadByIdUrl() and getDownloadByNameUrl()
  • B2 command-line program now has an option to get_download_authorization
  • list buckets now has an optional 'bucketTypes' field.

bug fixes include:

  • percent encode file names when downloading by name
  • large file uploader now uses RetryPolicySupplier in all cases, instead of just part of the code.

1.0.0.

08 Sep 22:25
Compare
Choose a tag to compare

We have been using the SDK in production for a while at Backblaze and we're feature complete (for now), so we're going 1.0!

We hope you enjoy it.

Please let us know how it works for you. :)

thanks,
ab

Improvements to the httpclient part of the sdk.

17 Aug 22:57
Compare
Choose a tag to compare

These changes were driven by switching our internal b2-sdk uses to use the http client from the sdk instead of a different, custom interface.
b2-sdk-build-17.zip