Skip to content

Commit

Permalink
Update version to 2.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fviard committed Dec 12, 2023
1 parent 042b7e1 commit 9d17075
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 2 deletions.
45 changes: 45 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,48 @@
s3cmd-2.4.0 - 2023-12-12
===============
* Added "setversioning" command for versioning configuration (Kuan-Chun Wang)
* Added "settagging", "gettagging", and "deltagging" commands for bucket/object tagging (Kuan-Chun Wang)
* Added "setobjectretention" and "setobjectlegalhold" commands (Etienne Adam/Withings SAS)
* Added "setownership" and "setblockpublicaccess" commands
* Added "cfinval" command to request Cloudfront to invalidate paths (#1256)
* Added "--keep-dirs" option to have the folder structure preserved on remote side
* Added --skip-destination-validation option for "setnotification" command (Kuan-Chun Wang)
* Added "--max-retries" flag and "max_retries" config option (#914)
* Added FIPS support (Michael Roth)
* Added "object ownership" and block public access" values to "info" command output for buckets
* Added to "ls" command a "DIROBJ" tag for directory objects in S3 remote
* Added server profiles to run-tests.py to skip tests depending on the server type
* Fixed "TypeError: sequence item 1: expected str instance, bytes found" error with Python 3.12 (#1343)
* Fixed a missing return for "object_batch_delete" of S3.py (James Hewitt)
* Fixed "object is not callable" error because of md5 FIPS test (#1005)
* Fixed "compute_content_md5 is not defined" error for "setversioning" (#1312) (Gavin John)
* Fixed list objects to use NextMarker when only prefixes are returned (Albin Parou)
* Fixed upload to not retry when an S3 compatible server is full
* Fixed recursive delete of objects named with whitespace (#976)
* Fixed the mime type when uploading directories to be "application/x-directory"
* Fixed "string indices must be integers" error for sync when in dry-run mode (#1313) (Shohei Tanaka)
* Fixed SignatureDoesNotMatch error when modifying an object on Cloudflare R2 (#1332) (Philip C Nilsson)
* Fixed Cloudfront invalidation issue for paths with wildcard or special characters
* Fixed Cloudfront crash because of error reporting for retries
* Fixed Cloudfront "unable to parse URL" error (#1292)
* Improved the handling of "empty" files on the remote side to sync with local folders
* Improved "abortmp" command by requiring an object to avoid bad accidents when using Ceph (Joshua Haas)
* Improved file download by retrying when encountering SlowDown or TooManyRequests errors (Robin Geiger)
* Improved error messages in case of connection error or host unreachable
* Improved error messages to be more explicit for upload errors after retries
* Improved remote2local attributes setting code
* Improved remote2local with more explicit error messages when setting attributes (#1288)
* Improved remote2local output messages by using the "mkdir" prefix instead of "make dir"
* Improved the SortedDict class
* Improved run-test.py by using "--include" when calling Curl instead of "-include" (Matthew James Kraai)
* Improved GitHub CI by enabling pip cache in actions/setup-python (Anton Yakutovich)
* Improved GitHub CI by adding a "codespell" check on push and PRs (Yaroslav Halchenko)
* Updated GitHub CI tests to use more recent versions of Minio and Python
* Upgraded GitHub actions (Anton Yakutovich)
* Cleanup and update of copyright headers, docs, comments and setup.py
* Cleanup to fix "invalid escape sequence" syntax warnings
* Many other bug fixes and cleanups

s3cmd-2.3.0 - 2022-10-03
===============
* Added "getnotification", "setnotification", and "delnotification" commands for notification policies (hrchu)
Expand Down
2 changes: 1 addition & 1 deletion S3/PkgInfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
## --------------------------------------------------------------------

package = "s3cmd"
version = "2.3.0-dev"
version = "2.4.0"
url = "http://s3tools.org"
license = "GNU GPL v2+"
short_description = "Command line tool for managing Amazon S3 and CloudFront services"
Expand Down
17 changes: 16 additions & 1 deletion s3cmd.1
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ Modify Access control list for Bucket or Files
s3cmd \fBsetversioning\fR \fIs3://BUCKET enable|disable\fR
Modify Bucket Versioning
.TP
s3cmd \fBsetownership\fR \fIs3://BUCKET BucketOwnerPreferred|BucketOwnerEnforced|ObjectWriter\fR
Modify Bucket Object Ownership
.TP
s3cmd \fBsetblockpublicaccess\fR \fIs3://BUCKET BlockPublicAcls,IgnorePublicAcls,BlockPublicPolicy,RestrictPublicBuckets\fR
Modify Block Public Access rules
.TP
s3cmd \fBsetobjectlegalhold\fR \fISTATUS s3://BUCKET/OBJECT\fR
Modify Object Legal Hold
.TP
Expand Down Expand Up @@ -115,6 +121,15 @@ Sign an S3 URL to provide limited public access with expiry
s3cmd \fBfixbucket\fR \fIs3://BUCKET[/PREFIX]\fR
Fix invalid file names in a bucket
.TP
s3cmd \fBsettagging\fR \fIs3://BUCKET[/OBJECT] "KEY=VALUE[&KEY=VALUE ...]"\fR
Modify tagging for Bucket or Files
.TP
s3cmd \fBgettagging\fR \fIs3://BUCKET[/OBJECT]\fR
Get tagging for Bucket or Files
.TP
s3cmd \fBdeltagging\fR \fIs3://BUCKET[/OBJECT]\fR
Delete tagging for Bucket or Files
.TP
s3cmd \fBexpire\fR \fIs3://BUCKET\fR
Set or delete expiration rule for the bucket
.TP
Expand Down Expand Up @@ -559,7 +574,7 @@ Enable verbose output.
Enable debug output.
.TP
\fB\-\-version\fR
Show s3cmd version (2.3.0-dev) and exit.
Show s3cmd version (2.4.0) and exit.
.TP
\fB\-F\fR, \fB\-\-follow\-symlinks\fR
Follow symbolic links as if they are regular files
Expand Down

0 comments on commit 9d17075

Please sign in to comment.