Skip to content

Releases: benbusby/b2

v1.4.0

Choose a tag to compare

@benbusby benbusby released this 25 Sep 19:07
06e0c5f
  • Add ability to enable/disable logging (default off)
  • Account auth calls now return a pointer to the Service struct
  • Enforce int64 for anything related to file sizes (reading, partial reads, etc)

Full Changelog: v1.3.1...v1.4.0

v1.3.1

Choose a tag to compare

@benbusby benbusby released this 20 Apr 18:05
6e2977c

Switch to only requiring fileID when generating the details for uploading a large file

v1.3.0

Choose a tag to compare

@benbusby benbusby released this 19 Apr 17:50
b61928a

Support V3 API

This update adds support for using version 3 of the Backblaze API. The
main change from V2 to V3 was expanding support for using the
b2_authorize_account token across multiple different requests and
requiring re-validation every 24 hours.

The default AuthenticateAccount method now defaults to V3, but the V2
implementation is still accessible via AuthenticateAccountV2. Both
authentication methods now return a Service struct that has member
functions for interacting with the B2 API, as well as the Auth struct
returned by the request.

v1.2.0

Choose a tag to compare

@benbusby benbusby released this 01 Mar 20:16
8621eb3
  • Populate Bucket ID when dummy-mode (local storage only) is enabled
    • Since B2 requires bucket ID for single-chunk uploads and file ID for multi-chunk uploads, both should be populated when using local-only mode
  • Update documentation on setup and usage of alternate authentication methods

v1.1.1

Choose a tag to compare

@benbusby benbusby released this 01 Mar 00:09
ba531a1

Fix/update semver to v{major}.{minor}.{bugfix}

v1.1.0

Choose a tag to compare

@benbusby benbusby released this 29 Feb 23:52
ba531a1
  • Add local-only "dummy" account support
    • Allows using the same B2 API calls, but writing the file to a specific path on the local machine
    • Allows setting a maximum byte limit for the specified local upload path

v1.0.0

Choose a tag to compare

@benbusby benbusby released this 08 Aug 20:30
436837a

Initial release of the Go library for Backblaze B2. Supported features:

  • Authorize account
  • Upload file (single)
  • Upload file (multi-part)
  • Download file (full)
  • Download file (partial/chunk)
  • Delete file
  • List files