Skip to content

Releases: Backblaze/b2-sdk-python

2.10.0

17 Aug 23:50
Compare
Choose a tag to compare

Removed

  • Drop Python 3.8 support.

Changed

  • Improved test helpers and fixtures and moved them to the public API.

2.9.4

11 Jun 20:20
Compare
Choose a tag to compare

Fixed

  • Fix broken StubAccountInfo.list_bucket_names_ids().
  • Fix bucket name mapping in RawSimulator.authorize_account().
  • Fix incorrect path check in LocalFolder.make_full_path.

2.9.3

29 May 18:50
Compare
Choose a tag to compare

Fixed

  • Fix B2HttpApiConfig and Services references in exposed v2 API.

2.9.2

29 May 14:34
Compare
Choose a tag to compare

Fixed

  • Fix incorrect reliance on v3 abstractions in apiver v2. (#540)

2.9.1

28 May 17:01
Compare
Choose a tag to compare

Changed

  • Adapt authorize_account flow to multi-bucket keys.
  • Migrate to b2 native api v4.
  • Move url_for_api func to an internal classmethod in B2Api class.
  • Release apiver v3 interface. from b2sdk.v3 import ... is now the recommended import, but previous versions are still supported.
  • Update application key classes to support multiple bucket ids.
  • Update create_key flow to multi-bucket keys.

Infrastructure

  • Migrate integration tests to apiver v3.

2.8.1

23 Apr 19:11
Compare
Choose a tag to compare

Fixed

  • Fix TimeoutError handling in b2http.

Doc

  • Document params in FileRetentionSetting class. (#532)

2.8.0

23 Jan 23:08
c214f59
Compare
Choose a tag to compare

Changed

  • Migrate to B2 Native API v3.

Fixed

  • Fix continuation for started large files with no fully finished parts.
  • Perform re-authentication for empty 401 responses returned for HEAD requests.

Infrastructure

  • Remove yapf in favor of ruff.

2.7.0

12 Dec 18:18
ec12aae
Compare
Choose a tag to compare

Changed

  • Make Event Notifications generally available. (#518)
  • Switch a pytest hook from path to collection_path.

Fixed

  • Add upload token reset after upload timeout.
  • Fix file/directory permission handling for Windows during the B2 sync.

Infrastructure

  • Fix event notification tests when introducing new keys in API outputs.

2.6.0

28 Oct 22:30
c6f291f
Compare
Choose a tag to compare

Removed

  • Remove Python 3.7 support in new releases.
    Under Python 3.7 pip will keep resolving the latest version of the package that supports active interpreter.
    Python 3.8 is now the minimum supported version, until it reaches EOL in October 2024.
    We encourage use of the latest stable Python release.

Fixed

  • Fixed datetime.utcnow() deprecation warnings under Python 3.12.

Added

  • Declare official support for Python 3.13 in b2sdk.
    Test b2sdk against Python 3.13 in CI.

Infrastructure

  • Upgraded to pytest 8 (#484).

2.5.1

15 Aug 19:59
5b5ac44
Compare
Choose a tag to compare

Fixed

  • Fix LocalFolder.all_files(..) erroring out if one of the non-excluded directories is not readable by the user running the scan.
    Warning is added to ProgressReport instead as other file access errors are.