v2.0.0-beta.2
Pre-release
Pre-release
peakcloud
released this
13 May 12:44
·
105 commits
to master
since this release
Changelog
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
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)