s5cmd v2.0.0 Release Notes
Release Date: 2022-07-04 // 9 months ago-
๐ฅ Breaking changes
- โฌ๏ธ Dropped inline comment feature for
run
command. Previously s5cmd supported a command with an inline comment likels s3://bucket/object.gz # inline comment
. (#309) - ๐ Changed homebrew installation command on macOS. Users can install s5cmd via
brew install peak/tap/s5cmd
. (#356) - ๐จ Print usage errors to stderr instead of stdout and do not show help text on usage error. (#399)
- ๐ณ Working directory of the Docker image changed to
/aws
from/
. (#412)
๐ Features
- โ Added
sync
command to synchronize two given buckets, prefixes, or objects. (#3) - โ Added AWS Single Sign-On (SSO) profiles support. (#385)
- โ Added
--force-glacier-transfer
flag toselect
command. (#346) - โ Added
--ignore-glacier-warnings
flag tocp
,mv
andselect
commands. (#346) - โ Added
--request-payer
flag to includex-amz-request-payer
in header while sending GET, POST and HEAD requests. (#297) @Kirill888 - โ Added
--use-list-objects-v1
flag to force using S3 ListObjects API instead of ListObjectsV2 API. (#405) @greenpau - โ Added trace log level(
--log=trace
) which enables SDK debug logs.(#363)
๐ Improvements
- โฌ๏ธ Upgraded minimum required Go version to 1.16.
๐ Bugfixes
- ๐ Fixed a bug about precedence of region detection, which auto region detection would always override region defined in environment or profile. (#325)
- ๐ Fixed a bug where errors did not result a non-zero exit code. (#304)
- ๐จ Print error if the commands file of
run
command is not accessible. (#410) - โก๏ธ Updated region detection call to use current session's address resolving method (#314)
- ๐ Fixed a bug where lines with large tokens fail in
run
command.sync
was failing when it finds multiple files to remove. (#435, #436) - ๐จ Print usage error if given log level(
--log
) is not valid. (#430) - ๐ Fixed a bug where (
--stat
) is ignored when log level is error. (#359)
- โฌ๏ธ Dropped inline comment feature for
Previous changes from v1.4.0
-
๐ Features
- โ Added
select
command. It allows to select JSON records from objects using SQL expressions. (#299) @skeggse - โ Added
rb
command to remove buckets. (#303). - โ Added
--exclude
flag tocp
,rm
,ls
,du
andselect
commands. This flag allows users to exclude objects with given pattern. (#266) - โ Added
--raw
flag tocp
andrm
commands. It disables the wildcard operations. It is useful when an object contains glob characters which interfers with glob expansion logic. (#235) - โ Added
--cache-control
and--expires
flags tocp
andmv
commands. It adds support for setting cache control and expires header to S3 objects. (#318) @tombokombo - โ Added
--force-glacier-transfer
flag tocp
command. It forces a transfer request on all Glacier objects. (#206) - โ Added
--source-region
anddestination-region
flags tocp
command. It allows overriding bucket region. (#262) @kemege
๐ Improvements
- โ Added
MacPorts
installation option. (#311) @manojkarthick - Added
S3_ENDPOINT_URL
environment variable (#343) @Dexus - Prevent retries if a token related error is received (#337)
๐ Bugfixes
- ๐ Change the order of precedence in URL expansion in file system. Glob (*) expansion have precedence over directory expansion. (#322)
- ๐ Fixed data race for concurrent writes for expand (#330)
- ๐ Fixed concurrent writes to the flags list of run command (#335)
- ๐ Fixed options usage on mv command (#338)
- โ Added