Releases: Backblaze/B2_Command_Line_Tool
Releases · Backblaze/B2_Command_Line_Tool
3.16.1
Fixed
- Fix
--threads
option being silently ignored in upload commands.
3.16.0
Changed
- All internal Python modules were moved to the
b2._internal
package to further discourage users from importing them. - Change
ls
andrm
commands to use theb2://
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 insidefolderName
. - 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 ofb2
CLI. - Add
--include
and--exclude
filters to thels
andrm
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 asb2 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
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
Changed
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
anddownload-file-by-name
, usedownload-file
instead.
Deprecatedget-file-info
, usefile-info
instead.
Deprecatedmake-url
andmake-friendly-url
, useget-url
instead.
Added
- Add
--expires
,--content-disposition
,--content-encoding
,--content-language
options to subcommandsupload-file
,upload-unbound-stream
,copy-file-by-id
. - Add
download-file
,file-info
andget-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
3.13.0
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 indownload-file-by-name
ordownload-file-by-id
command
3.12.0
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
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
Added
- Add
replication-delete
command - Add
replication-pause
command - Add
replication-status
command - Add
replication-unpause
command - Add
--include-existing-files
toreplication-setup
- Add
--max-streams
parameter to download commands - Add
--fileLockEnabled
switch toupdate-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
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