Skip to content

Releases: Backblaze/B2_Command_Line_Tool

4.6.0

24 Feb 23:15

Choose a tag to compare

Changed

  • Update the version command to display the installed b2sdk version alongside the CLI version.

Fixed

  • Bump b2sdk version to 2.10.3 (resolves #1045, #1118).
  • Fixed autocomplete parser cache on Python 3.14.2+ by clearing argparse's cached validation formatter before pickling the parser. This avoids failures caused by non-picklable color formatting lambdas stored in the cached formatter.

Doc

  • Improve command-line options formatting in CLI help text.

4.5.1

26 Jan 22:35

Choose a tag to compare

Changed

  • Replace the phx-class-registry dependency with a simple in-house implementation. (#1081)

Fixed

  • Avoid eager calculation of command help during parser construction.

Infrastructure

  • Fix flaky autocomplete integration test.

4.5.0

08 Jan 19:24

Choose a tag to compare

Removed

  • Dropped support for python 3.8.

Fixed

  • Fixed SystemError buffer overflow crash on Python 3.14+ caused by rst2ansi's terminal size detection bug. The CLI now gracefully handles this error and continues to function normally. (#1119)
  • Disable Tqdm semaphore leak workaround for MacOS >= 15.7.2, as apparently it is no longer an issue in newer versions.

Infrastructure

  • Added Python 3.14 support to CI/CD pipeline and test matrix.
  • Update CI to not use deprecated macos-13 runner.
  • Use b2sdk pytest plugin and utilities in tests.

4.4.2

09 Sep 20:10

Choose a tag to compare

Fixed

  • Handle filenames starting with / or ending with # or ?. (#1090)
  • Avoid failing on missing extra dependencies in b2 license command. (#1106)
  • Fix b2id:// uri support in file unhide command. (#1114)

Infrastructure

  • Prepare Linux binary for ARM. (#1099)
  • Address duplicate bucket names issue in integration tests by redesigning the seed generation mechanism.
  • Bump pypa/gh-action-pypi-publish from 1.3.1 to 1.13.0 in /.github/workflows.

4.4.1

30 Jul 10:53

Choose a tag to compare

Fixed

  • Pin docutils version to avoid breaking the dependent rst2ansi library. (#1101)

4.4.0

29 Jul 20:07

Choose a tag to compare

Changed

  • Migrate to b2sdk.v3.
  • Switched to cloud-based signing using DigiCert KeyLocker.

Added

  • Add multi-bucket keys support to the key create subcommand. (#1083)
  • Support multi-bucket keys in key list subcommand.

Infrastructure

  • Replace backoff with tenacity for handling retries in tests. (#1088)
  • Fix flaky integration test for multi-bucket key restrictions.
  • Redesign console tools tests using b2sdk.v1 to use b2sdk.v3.
  • Replace deprecated windows-2019 ci runner image with windows-2025.

4.3.3

04 Jun 10:58

Choose a tag to compare

Fixed

  • Fix autocomplete install for zsh. (#1086)

Added

  • Suggest running b2 bucket list on NonExistentBucket errors.

4.3.2

24 Apr 09:05

Choose a tag to compare

Fixed

  • Bump b2sdk to v2.8.1 to fix TimeoutError handling.

Infrastructure

  • Capture stdout in integration tests.
  • Improve error messaging in autocomplete integration tests.
  • Increase terminal size window in autocomplete integration tests.

4.3.1

22 Feb 10:03

Choose a tag to compare

Fixed

  • Avoid failing on BrokenPipeError when running commands. (#1071)
  • Display error message when trying to use --with-auth param for b2id:// urls in the file url command.

Infrastructure

  • Deleting used files by integration tests right away.

4.3.0

07 Jan 10:06
cb77345

Choose a tag to compare

Fixed

  • Fix shell autocompletion for Python >=3.12.8 and >=3.13.1.
  • Update to b2sdk 2.7.0 to fix integration tests on Windows.

Added

  • Add --exclude-if-uploaded-after to sync.
  • Add -l as an alias for --long argument.

Infrastructure

  • Fix event notification tests when introducing new keys in API outputs.
  • Remove yapf in favor of ruff.
  • Upgraded to pytest 8.
  • Use SHA384 for Windows signing instead of expired SHA256withRSA.