Skip to content

Releases: Backblaze/B2_Command_Line_Tool

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.

4.2.0

29 Oct 10:16
ee53bba

Choose a tag to compare

Changed

  • 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.
    This change comes at benefit of using newer versions of B2 CLI dependencies in b2 standalone binary as well as in the official docker image.
    Python 3.8 is now the minimum supported version, until it reaches EOL in October 2024.
    We encourage use of latest stable Python release.
    If Python interpreter upgrade from 3.7 is not an option, please use provided standalone binaries or official docker image.

Fixed

  • Update to b2sdk 2.5.1 to fix b2 sync stopping when encountering inaccessible directory. (#1040)
  • Fix b2 file hide b2://bucket/file handling and test coverage.
  • Fix getdefaultlocale deprecation warning on Python 3.11+.

Added

  • Add b2 file server-side-copy b2id://XXX (also accepts b2://bucket/objectName syntax).
    Add deprecation notice to b2 file copy-by-id - use b2 file server-side-copy instead in new scripts.
  • Declare official support for Python 3.13 in b2 CLI.
    Test b2 CLI against Python 3.13 in CI.

Infrastructure

  • Integration tests now use reuse test buckets whenever possible to speed up test execution and prevent bucket limit exhaustion.

4.1.0

30 Jul 22:18
50e2e68

Choose a tag to compare

Fixed

  • Update b2sdk to 2.5.0, to fix TruncatedOutput download errors when network is congested (e.g., due use of high downloader thread count). (#554)

Added

  • Add b2 file unhide command.
  • Support both new b2_uri and deprecated bucket_name file_name arguments in b2 file hide.

4.0.3

19 Jun 14:54
376b060

Choose a tag to compare

Fixed

  • Fix sync reuploading files on re-run despite no changes in the source.
    Fixed by updating b2sdk to 2.4.1.