Skip to content

Commit 65aeb7b

Browse files
committed
Prepare 2.4.0 release
1 parent b7cfac1 commit 65aeb7b

File tree

3 files changed

+53
-23
lines changed

3 files changed

+53
-23
lines changed

CHANGELOG.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [2.4.0] - 2021-04-22
10+
911
### Added
1012
* Sign OSX binary
1113
* Add support for SSE-C server-side encryption mode
@@ -191,7 +193,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
191193
* Fix an off-by-one issue when downloading a range of a file (affects library, but not CLI).
192194
* Better handling of some errors from the B2 service.
193195

194-
[Unreleased]: https://github.com/Backblaze/B2_Command_Line_Tool/compare/v2.3.0...HEAD
196+
[Unreleased]: https://github.com/Backblaze/B2_Command_Line_Tool/compare/v2.4.0...HEAD
197+
[2.4.0]: https://github.com/Backblaze/B2_Command_Line_Tool/compare/v2.3.0...v2.4.0
195198
[2.3.0]: https://github.com/Backblaze/B2_Command_Line_Tool/compare/v2.2.0...v2.3.0
196199
[2.2.0]: https://github.com/Backblaze/B2_Command_Line_Tool/compare/v2.1.0...v2.2.0
197200
[2.1.0]: https://github.com/Backblaze/B2_Command_Line_Tool/compare/v2.0.2...v2.1.0

README.md

+48-21
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,31 @@ This tool can be installed with:
2424
b2 cancel-all-unfinished-large-files [-h] bucketName
2525
b2 cancel-large-file [-h] fileId
2626
b2 clear-account [-h]
27-
b2 copy-file-by-id [-h] [--metadataDirective {copy,replace}] [--contentType CONTENTTYPE] [--range RANGE] [--info INFO] [--destinationServerSideEncryption {SSE-B2}]
28-
[--destinationServerSideEncryptionAlgorithm {AES256}]
29-
sourceFileId destinationBucketName b2FileName
30-
b2 create-bucket [-h] [--bucketInfo BUCKETINFO] [--corsRules CORSRULES] [--lifecycleRules LIFECYCLERULES] [--defaultServerSideEncryption {SSE-B2,none}] [--defaultServerSideEncryptionAlgorithm {AES256}]
31-
bucketName bucketType
32-
b2 create-key [-h] [--bucket BUCKET] [--namePrefix NAMEPREFIX] [--duration DURATION] keyName capabilities
27+
b2 copy-file-by-id [-h] [--metadataDirective {copy,replace}]
28+
[--contentType CONTENTTYPE] [--range RANGE] [--info INFO]
29+
[--destinationServerSideEncryption {SSE-B2,SSE-C}]
30+
[--destinationServerSideEncryptionAlgorithm {AES256}]
31+
[--sourceServerSideEncryption {SSE-C}]
32+
[--sourceServerSideEncryptionAlgorithm {AES256}]
33+
sourceFileId destinationBucketName b2FileName
34+
b2 create-bucket [-h] [--bucketInfo BUCKETINFO] [--corsRules CORSRULES]
35+
[--lifecycleRules LIFECYCLERULES]
36+
[--defaultServerSideEncryption {SSE-B2,none}]
37+
[--defaultServerSideEncryptionAlgorithm {AES256}]
38+
bucketName bucketType
39+
b2 create-key [-h] [--bucket BUCKET] [--namePrefix NAMEPREFIX]
40+
[--duration DURATION] keyName capabilities
3341
b2 delete-bucket [-h] bucketName
3442
b2 delete-file-version [-h] [fileName] fileId
3543
b2 delete-key [-h] applicationKeyId
36-
b2 download-file-by-id [-h] [--noProgress] fileId localFileName
37-
b2 download-file-by-name [-h] [--noProgress] bucketName b2FileName localFileName
44+
b2 download-file-by-id [-h] [--noProgress]
45+
[--sourceServerSideEncryption {SSE-C}]
46+
[--sourceServerSideEncryptionAlgorithm {AES256}]
47+
fileId localFileName
48+
b2 download-file-by-name [-h] [--noProgress]
49+
[--sourceServerSideEncryption {SSE-C}]
50+
[--sourceServerSideEncryptionAlgorithm {AES256}]
51+
bucketName b2FileName localFileName
3852
b2 get-account-info [-h]
3953
b2 get-bucket [-h] [--showSize] bucketName
4054
b2 get-file-info [-h] fileId
@@ -48,23 +62,36 @@ This tool can be installed with:
4862
b2 ls [-h] [--long] [--json] [--versions] [--recursive] bucketName [folderName]
4963
b2 make-url [-h] fileId
5064
b2 make-friendly-url [-h] bucketName fileName
51-
b2 sync [-h] [--noProgress] [--dryRun] [--allowEmptySource] [--excludeAllSymlinks] [--threads THREADS] [--compareVersions {none,modTime,size}] [--compareThreshold MILLIS] [--excludeRegex REGEX]
52-
[--includeRegex REGEX] [--excludeDirRegex REGEX] [--excludeIfModifiedAfter TIMESTAMP] [--destinationServerSideEncryption {SSE-B2}] [--destinationServerSideEncryptionAlgorithm {AES256}]
53-
[--skipNewer | --replaceNewer] [--delete | --keepDays DAYS]
54-
source destination
55-
b2 update-bucket [-h] [--bucketInfo BUCKETINFO] [--corsRules CORSRULES] [--lifecycleRules LIFECYCLERULES] [--defaultServerSideEncryption {SSE-B2,none}] [--defaultServerSideEncryptionAlgorithm {AES256}]
56-
bucketName bucketType
57-
b2 upload-file [-h] [--noProgress] [--quiet] [--contentType CONTENTTYPE] [--minPartSize MINPARTSIZE] [--sha1 SHA1] [--threads THREADS] [--info INFO] [--destinationServerSideEncryption {SSE-B2}]
58-
[--destinationServerSideEncryptionAlgorithm {AES256}]
59-
bucketName localFilePath b2FileName
65+
b2 sync [-h] [--noProgress] [--dryRun] [--allowEmptySource]
66+
[--excludeAllSymlinks] [--threads THREADS]
67+
[--compareVersions {none,modTime,size}] [--compareThreshold MILLIS]
68+
[--excludeRegex REGEX] [--includeRegex REGEX]
69+
[--excludeDirRegex REGEX] [--excludeIfModifiedAfter TIMESTAMP]
70+
[--destinationServerSideEncryption {SSE-B2,SSE-C}]
71+
[--destinationServerSideEncryptionAlgorithm {AES256}]
72+
[--sourceServerSideEncryption {SSE-C}]
73+
[--sourceServerSideEncryptionAlgorithm {AES256}]
74+
[--skipNewer | --replaceNewer] [--delete | --keepDays DAYS]
75+
source destination
76+
b2 update-bucket [-h] [--bucketInfo BUCKETINFO] [--corsRules CORSRULES]
77+
[--lifecycleRules LIFECYCLERULES]
78+
[--defaultServerSideEncryption {SSE-B2,none}]
79+
[--defaultServerSideEncryptionAlgorithm {AES256}]
80+
bucketName bucketType
81+
b2 upload-file [-h] [--noProgress] [--quiet] [--contentType CONTENTTYPE]
82+
[--minPartSize MINPARTSIZE] [--sha1 SHA1] [--threads THREADS]
83+
[--info INFO]
84+
[--destinationServerSideEncryption {SSE-B2,SSE-C}]
85+
[--destinationServerSideEncryptionAlgorithm {AES256}]
86+
bucketName localFilePath b2FileName
6087
b2 version [-h]
6188

6289

63-
The environment variable B2_ACCOUNT_INFO specifies the sqlite
90+
The environment variable `B2_ACCOUNT_INFO` specifies the sqlite
6491
file to use for caching authentication information.
65-
The default file to use is: ~/.b2_account_info
92+
The default file to use is: `~/.b2_account_info`
6693

67-
For more details on one command: b2 <command> --help
94+
For more details on one command: `b2 <command> --help`
6895

6996
When authorizing with application keys, this tool requires that the key
7097
have the 'listBuckets' capability so that it can take the bucket names
@@ -76,7 +103,7 @@ that command.
76103
## Parallelism and the --threads parameter
77104

78105
Users with high performance networks, or file sets with very small files, may benefit from
79-
increased parallelism. Experiment with using the --threads parameter with small values to
106+
increased parallelism. Experiment with using the `--threads` parameter with small values to
80107
determine if there are benefits.
81108

82109
Note that using multiple threads will usually be detrimental to the other users on your network.

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
arrow>=0.8.0,<1.0.0
2-
b2sdk>=1.5.0,<2.0.0
2+
b2sdk>=1.7.0,<2.0.0
33
docutils==0.16
44
importlib-metadata>=2.1.1,<3.0.0; python_version <= '3.5'
55
importlib-metadata>=3.3.0; python_version > '3.5' and python_version < '3.8'

0 commit comments

Comments
 (0)