Skip to content

Releases: Backblaze/B2_Command_Line_Tool

3.10.0

12 Sep 00:16
c2392eb
Compare
Choose a tag to compare

Added

  • Add ability to upload from an unbound source such as standard input or a named pipe
  • --bypassGovernance option to delete_file_version
  • Declare official support of Python 3.12
  • Cache-Control option when uploading files
  • Add --lifecycleRule to create-bucket and update-bucket and deprecate --lifecycleRules argument
  • Add extra dependencies for better UX, installable with pip install b2[full]
  • Add s3 endpoint to get-account-info

Deprecated

  • Support of - as a valid filename in upload-file command. In future - will be an alias for standard input.

Changed

  • Better help text for --corsRules
  • if --threads is not explicitly set, number of threads is no longer guaranteed to be 10

Infrastructure

  • Remove unsupported PyPy 3.7 from tests matrix and add PyPy 3.10 instead
  • Autocomplete integration tests will now work properly even if tested package has not been installed
  • Automatically set copyright date when generating the docs
  • Increase timeout time in autocomplete tests to accommodate slower CI environments
  • Update pyinstaller to fix Linux Bundle build
  • Replace pyflakes with ruff for linting
  • Make dependency version pinning less restrictive
  • Fix tests by making mocks compatible with latest b2sdk version
  • Fix readthedocs build

Fixed

  • Fast rm sometimes failing due to a rare race condition
  • Fix UnicodeEncodeError in non-Unicode terminals by prioritizing stdout encoding
  • When listing licenses in license command only show licenses of b2 and its dependencies
  • Fix license command failing on Windows when non-UTF8 encoding is the default

3.9.0

27 Apr 23:21
cd1ff75
Compare
Choose a tag to compare

Added

  • Support for custom file upload timestamp

Infrastructure

  • Limit GitHub CI workload by running most integration tests only against edge versions of supported Python versions
  • Add a direct dependency from tqdm

3.8.0

23 Mar 09:19
Compare
Choose a tag to compare

Added

  • Add install-autocomplete command for installing shell autocompletion

Fixed

  • Hitting the download endpoint twice in some cases

Infrastructure

  • GitHub CD builds and uploads an official B2 CLI image to docker hub
  • Disable changelog verification for dependabot PRs

3.7.1

13 Feb 18:06
95acd27
Compare
Choose a tag to compare

Fixed

  • Remove unnecessary printing options from rm
  • Clarify that --recursive is required when --withWildcard is used
  • Adjust description of rm

Infrastructure

  • Remove macos stand-alone binary from CI/CD

3.7.0

08 Feb 09:17
Compare
Choose a tag to compare

Added

  • Add --incrementalMode to sync and upload-file
  • Add license command for printing licenses of b2 and libraries
  • Add wildcard support for the ls command
  • Add rm command

Fixed

  • Stop using b2sdk.v1 in arg_parser.py
  • Fix issues when running commands on Python 3.11
  • Fix tests after changes introduced in b2sdk 1.19.0
  • rm can handle any number of files

Infrastructure

  • GitHub CI got checkout action updated to v3 and setup-python to v4
  • Ensured that changelog validation only happens on pull requests
  • GitHub CI uses GITHUB_OUTPUT instead of deprecated set-output
  • Releases now feature digests of each file
  • Change default Python version in CI/CD to 3.11
  • Temporary marking all directories as safe.directory inside CI/CD when bundling

3.6.0

20 Sep 03:20
2f2817e
Compare
Choose a tag to compare

Added

  • Add replication-delete command
  • Add replication-pause command
  • Add replication-status command
  • Add replication-unpause command
  • Add --include-existing-files to replication-setup
  • Add --max-streams parameter to download commands
  • Add --fileLockEnabled switch to update-bucket subcommand

Fixed

  • Fix replication-setup default priority setter

Infrastructure

  • Fix warnings in tests
  • Fix test_keys unit test after changes in b2sdk
  • Fix running tests on the CI with the latest SDK from the master branch

3.5.0

29 Jul 06:26
a71ab0c
Compare
Choose a tag to compare

As in 3.4.0, replication support may be unstable, however no backward-incompatible
changes are currently planned.
This version is pinned strictly to b2-sdk-python==1.17.3 for the same reason.

Added

  • Add --write-buffer-size parameter
  • Add --skip-hash-verification parameter
  • Add replication-status command

Changed

  • Minimum MacOS version from 10.15 to 11.0

Infrastructure

  • Try not to crash tests due to bucket name collision
  • Fix replication integration tests
  • Fix leaking buckets in integration tests
  • Limit number of workers for integration tests to 1 for now
  • Make integration tests remove buckets only based on name, not based on creation time
  • Add dependabot configuration

3.4.0

04 May 12:13
Compare
Choose a tag to compare

This release contains a preview of replication support. It allows for basic usage
of B2 replication feature (currently in closed beta). Until this notice is removed,
the interface of replication related functionality should be not considered as public
API (as defined by SemVer).
This version is pinned strictly to b2-sdk-python==1.16.0 for the same reason.

Added

  • Add basic replication support to create-bucket and update-bucket
  • Add more fields to get-account-info json
  • Add --replication to ls --long
  • Add replication-setup command
  • Add "quick start guide" to documentation

Changed

  • Made bucketType positional argument to update-bucket optional
  • Run unit tests on all CPUs

3.3.0

20 Apr 19:26
48bf9ff
Compare
Choose a tag to compare

Added

  • Add --threads parameter to download-file-by-name and download-file-by-id
  • Add --uploadThreads and --downloadThreads parameters to sync
  • Add --profile switch support

Changed

  • Rename --threads parameter for --sync to --syncThreads

Fixed

  • Fix license header checker on Windows
  • Fix UnicodeEncodeError after successful SSE-C download on a non-utf8 terminal (#786)

Removed

  • Remove official support for python 3.5
  • Remove official support for python 3.6

3.2.1

23 Feb 20:07
Compare
Choose a tag to compare

Fixed

  • Fix setting permissions for local sqlite database (thanks to Jan Schejbal for responsible disclosure!)