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.