Skip to content

Releases: Backblaze/B2_Command_Line_Tool

3.16.1

26 Feb 13:05
9b6da8e
Compare
Choose a tag to compare

Fixed

  • Fix --threads option being silently ignored in upload commands.

3.16.0

19 Feb 15:25
Compare
Choose a tag to compare

Changed

  • All internal Python modules were moved to the b2._internal package to further discourage users from importing them.
  • Change ls and rm commands to use the b2:// URI scheme in the pre-release _b2v4 command.

Fixed

  • Fix --minPartSize not supporting values above 100MB.
  • Fix a bug where rm bucketName folderName command without the --recursive flag would
    remove a first file from every subdirectory inside folderName.
  • Fix handling of ? and # in B2 URI.

Added

  • ApiVer introduced. b2 executable points to the latest stable ApiVer version, while
    b2v3 will always point to v3 ApiVer release of b2 CLI.
  • Add --include and --exclude filters to the ls and rm commands.
  • Add support for deleting a single file by b2id:// URI in the pre-release _b2v4 command.
  • Print account info if b2 authorize-account is successful using the same format as b2 get-account-info.
  • Print output file path in download-file command.

Infrastructure

  • Fix CI failing on mkdir when testing docker image.
  • Use pdm for building, testing and managing dependencies.
  • Remove unnecessary files (continuous integration scripts, tests) from sdist tarball.

3.15.0

07 Dec 09:36
Compare
Choose a tag to compare

Changed

  • Use Python 3.12 in the official b2 Docker image.

Fixed

  • Loosen platformdirs dependency version specifier.

Added

  • Whenever target filename is a directory, file is downloaded into that directory.

3.14.0

06 Dec 20:04
Compare
Choose a tag to compare

Changed

  • Update b2sdk to 1.28.0 (resolves #958, #934).

Fixed

  • Don't print `Using https://REALM" in stderr unless explicitly set by user. (#949)
  • Added autocomplete suggestion caching to improve autocomplete performance.
  • Do not include build cache in official b2 docker image.
  • Fix an error that caused multiprocessing semaphores to leak on OSX.

Deprecated

  • Deprecated download-file-by-id and download-file-by-name, use download-file instead.
    Deprecated get-file-info, use file-info instead.
    Deprecated make-url and make-friendly-url, use get-url instead.

Added

  • Add --expires, --content-disposition, --content-encoding, --content-language options to subcommands upload-file, upload-unbound-stream, copy-file-by-id.
  • Add download-file, file-info and get-url commands using new B2 URI syntax allowing for referring to file-like objects by their bucket&name or ID.

Doc

  • Add cat command to documentation.
  • Add additional linebreaks to ensure lists are properly rendered.

Infrastructure

  • Ensure CI checks Python package compatibility with latest setuptools. (#952)
  • Allow skipping changelog for PRs marked with -changelog label.
  • Changelog entries are now validated as a part of CI pipeline.
  • Disable dependabot requests for updates unrelated to security issues.
  • Fix CI badge not showing correct status in README.
  • Remove unused exception class and outdated todo.
  • Skip draft step in releases - all successful releases are public.
  • Update license text generation dependencies to prevent triggering security scan false-positives.
  • Use cpython 3.12 (not 3.11) for integration tests with secrets.

3.13.1

21 Nov 13:53
e34569f
Compare
Choose a tag to compare

Fixed

  • Fix "pip install" by making pyproject.toml viable. (#952)

Doc

  • Fix docker run example in README.md

Infrastructure

  • Towncrier changelog generation - to avoid conflicts when simultaneously working on PRs
  • fix towncrier generated changelog to work with mindsers/changelog-reader-action

3.13.0

16 Nov 14:46
e7c3225
Compare
Choose a tag to compare

Added

  • Add linux/arm64 platform support to the official Docker image
  • Add cat command for downloading file contents directly to stdout
  • Add -r as an alias for --recursive argument
  • Add -q as an alias for --quiet argument

Fixed

  • Emit Using https://api.backblazeb2.com message to stderr instead of stdout, therefor prevent JSON output corruption

Changed

  • Stream ls --json JSON output instead of dumping it only after all objects have been fetched
  • Alias - to stdout in download-file-by-name or download-file-by-id command

3.12.0

16 Nov 14:46
8c06f7e
Compare
Choose a tag to compare

Fixed

  • --quiet now will implicitly set --noProgress option as well
  • pypy integration tests

Infrastructure

  • Use stable Python 3.12 in CI
  • Fix readthedocs build by updating to v2 configuration schema

3.11.0

04 Oct 12:57
Compare
Choose a tag to compare

Added

  • Add --quiet option to all commands to suppress all messages printed to stdout & stderr

Changed

  • Improve --quiet and --profile options documentation mentions, while suppressing them in --help output

Infrastructure

  • Fix gathering licenses of typeshed libraries
  • Fix spellcheck erroring out on LICENSE file

3.7.0_a1

04 Oct 12:57
Compare
Choose a tag to compare
3.7.0_a1 Pre-release
Pre-release

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
  • Fix warnings in tests

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.10.1

27 Sep 18:43
Compare
Choose a tag to compare

Fixed

  • Fix lifecycle rules being cleared after using update-bucket command if not explicitly set again.
  • Fix missing key ID for large file encrypted with SSE-C (fixed by b2sdk update)

Infrastructure

  • Fix bad version number generation in CD