Skip to content

Commit 9d17075

Browse files
committed
Update version to 2.4.0
1 parent 042b7e1 commit 9d17075

File tree

3 files changed

+62
-2
lines changed

3 files changed

+62
-2
lines changed

Diff for: NEWS

+45
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,48 @@
1+
s3cmd-2.4.0 - 2023-12-12
2+
===============
3+
* Added "setversioning" command for versioning configuration (Kuan-Chun Wang)
4+
* Added "settagging", "gettagging", and "deltagging" commands for bucket/object tagging (Kuan-Chun Wang)
5+
* Added "setobjectretention" and "setobjectlegalhold" commands (Etienne Adam/Withings SAS)
6+
* Added "setownership" and "setblockpublicaccess" commands
7+
* Added "cfinval" command to request Cloudfront to invalidate paths (#1256)
8+
* Added "--keep-dirs" option to have the folder structure preserved on remote side
9+
* Added --skip-destination-validation option for "setnotification" command (Kuan-Chun Wang)
10+
* Added "--max-retries" flag and "max_retries" config option (#914)
11+
* Added FIPS support (Michael Roth)
12+
* Added "object ownership" and block public access" values to "info" command output for buckets
13+
* Added to "ls" command a "DIROBJ" tag for directory objects in S3 remote
14+
* Added server profiles to run-tests.py to skip tests depending on the server type
15+
* Fixed "TypeError: sequence item 1: expected str instance, bytes found" error with Python 3.12 (#1343)
16+
* Fixed a missing return for "object_batch_delete" of S3.py (James Hewitt)
17+
* Fixed "object is not callable" error because of md5 FIPS test (#1005)
18+
* Fixed "compute_content_md5 is not defined" error for "setversioning" (#1312) (Gavin John)
19+
* Fixed list objects to use NextMarker when only prefixes are returned (Albin Parou)
20+
* Fixed upload to not retry when an S3 compatible server is full
21+
* Fixed recursive delete of objects named with whitespace (#976)
22+
* Fixed the mime type when uploading directories to be "application/x-directory"
23+
* Fixed "string indices must be integers" error for sync when in dry-run mode (#1313) (Shohei Tanaka)
24+
* Fixed SignatureDoesNotMatch error when modifying an object on Cloudflare R2 (#1332) (Philip C Nilsson)
25+
* Fixed Cloudfront invalidation issue for paths with wildcard or special characters
26+
* Fixed Cloudfront crash because of error reporting for retries
27+
* Fixed Cloudfront "unable to parse URL" error (#1292)
28+
* Improved the handling of "empty" files on the remote side to sync with local folders
29+
* Improved "abortmp" command by requiring an object to avoid bad accidents when using Ceph (Joshua Haas)
30+
* Improved file download by retrying when encountering SlowDown or TooManyRequests errors (Robin Geiger)
31+
* Improved error messages in case of connection error or host unreachable
32+
* Improved error messages to be more explicit for upload errors after retries
33+
* Improved remote2local attributes setting code
34+
* Improved remote2local with more explicit error messages when setting attributes (#1288)
35+
* Improved remote2local output messages by using the "mkdir" prefix instead of "make dir"
36+
* Improved the SortedDict class
37+
* Improved run-test.py by using "--include" when calling Curl instead of "-include" (Matthew James Kraai)
38+
* Improved GitHub CI by enabling pip cache in actions/setup-python (Anton Yakutovich)
39+
* Improved GitHub CI by adding a "codespell" check on push and PRs (Yaroslav Halchenko)
40+
* Updated GitHub CI tests to use more recent versions of Minio and Python
41+
* Upgraded GitHub actions (Anton Yakutovich)
42+
* Cleanup and update of copyright headers, docs, comments and setup.py
43+
* Cleanup to fix "invalid escape sequence" syntax warnings
44+
* Many other bug fixes and cleanups
45+
146
s3cmd-2.3.0 - 2022-10-03
247
===============
348
* Added "getnotification", "setnotification", and "delnotification" commands for notification policies (hrchu)

Diff for: S3/PkgInfo.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
## --------------------------------------------------------------------
1212

1313
package = "s3cmd"
14-
version = "2.3.0-dev"
14+
version = "2.4.0"
1515
url = "http://s3tools.org"
1616
license = "GNU GPL v2+"
1717
short_description = "Command line tool for managing Amazon S3 and CloudFront services"

Diff for: s3cmd.1

+16-1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@ Modify Access control list for Bucket or Files
7373
s3cmd \fBsetversioning\fR \fIs3://BUCKET enable|disable\fR
7474
Modify Bucket Versioning
7575
.TP
76+
s3cmd \fBsetownership\fR \fIs3://BUCKET BucketOwnerPreferred|BucketOwnerEnforced|ObjectWriter\fR
77+
Modify Bucket Object Ownership
78+
.TP
79+
s3cmd \fBsetblockpublicaccess\fR \fIs3://BUCKET BlockPublicAcls,IgnorePublicAcls,BlockPublicPolicy,RestrictPublicBuckets\fR
80+
Modify Block Public Access rules
81+
.TP
7682
s3cmd \fBsetobjectlegalhold\fR \fISTATUS s3://BUCKET/OBJECT\fR
7783
Modify Object Legal Hold
7884
.TP
@@ -115,6 +121,15 @@ Sign an S3 URL to provide limited public access with expiry
115121
s3cmd \fBfixbucket\fR \fIs3://BUCKET[/PREFIX]\fR
116122
Fix invalid file names in a bucket
117123
.TP
124+
s3cmd \fBsettagging\fR \fIs3://BUCKET[/OBJECT] "KEY=VALUE[&KEY=VALUE ...]"\fR
125+
Modify tagging for Bucket or Files
126+
.TP
127+
s3cmd \fBgettagging\fR \fIs3://BUCKET[/OBJECT]\fR
128+
Get tagging for Bucket or Files
129+
.TP
130+
s3cmd \fBdeltagging\fR \fIs3://BUCKET[/OBJECT]\fR
131+
Delete tagging for Bucket or Files
132+
.TP
118133
s3cmd \fBexpire\fR \fIs3://BUCKET\fR
119134
Set or delete expiration rule for the bucket
120135
.TP
@@ -559,7 +574,7 @@ Enable verbose output.
559574
Enable debug output.
560575
.TP
561576
\fB\-\-version\fR
562-
Show s3cmd version (2.3.0-dev) and exit.
577+
Show s3cmd version (2.4.0) and exit.
563578
.TP
564579
\fB\-F\fR, \fB\-\-follow\-symlinks\fR
565580
Follow symbolic links as if they are regular files

0 commit comments

Comments
 (0)