# Release History

## 1.7.3

### Added

- Added `--language` for non-interactive `config` to set language (ZH/EN). If omitted, defaults to ZH.
- Added language selection prompt (ZH/EN) in interactive `config` (default ZH).

## 1.7.2

### Fixed

- In recursive folder upload with `cp`, once all parts of a file are uploaded, US3CLI now calls `mput finish` immediately instead of waiting for the whole batch.
- Upload now uses the bucket’s configured storage class instead of always using `STANDARD`.

## 1.7.0

### Added

- Added global `--debug` to print extra configuration and HTTP request information.

## 1.6.2

### Fixed

- `cp` download now correctly replaces the local file instead of partially overwriting it.

## 1.6.1

### Fixed

- `sign` now uses a default expiration time of 3600 seconds.

## 1.6.0

### Added

- Added `sync --no-delete` to avoid deleting objects that don’t exist on the source side during sync.

## 1.5.2

### Fixed

- Fixed a UI bug in list output.

## 1.5.1

### Added

- Added `sync -f` to skip confirmation prompt when deleting during sync.
- Added error hints for 503 and 500.

## 1.5.0

### Changed

- `rcat` can now specify storage class, mimetype, and metadata.
- When uploading a directory with `cp`, if any of `[--include --exclude --rinclude --rexclude]` is set, the directory name is no longer used as part of the object key prefix.
- In interactive `config`, US3CLI now asks whether to customize endpoint before prompting for region selection.

### Added

- Added `ls --format` to output list as JSON or YAML (case-insensitive).

## 1.4.0

### Added

- Support 32MB part size for private cloud.
- Added `--prefix-file-list` to use the prefix-file-list listing API for the following commands:
  - cp
  - du
  - modify
  - mv
  - rm
  - restore
  - sync

## 1.3.0

### Changed

- `cat` can now download concurrently.
- Fixed a `du` bug that could prevent sub-accounts from retrieving bucket statistics.
- You can now upload/download concurrently, but you cannot run two identical `cp`, `sync`, or `du` commands at the same time.
- `modify` supports batch modify for all objects under the same prefix when used with `--recursive`.
- Optimized upgrade logic and fixed “executable not found” after failed upgrade.
- Fixed wildcard not working when copying in root.
- Fixed proxy config not being cleared.

### Added

- Added token operations: `create-token`, `delete-token`, `update-token`, `describe-token`.
- Added new regions: `jpn-tky`, `th-bkk`, `inspurcloud`.
- Added `ls --prefix-file-list` to call prefix-file-list API for listing.

## 1.2.2

### Changed

- Fixed upload retry failures.
- Fixed negative progress display.
- Fixed download errors when empty directories exist.

### Added

- Auto-recognize mimetype for `.svg`.

## 1.2.0

### Added

- Added switch for dynamic progress bar (enabled by default).
- `du` can now show directory usage.
- `ls` can now show projectid.
- `ls` now shows file count.
- `cp` can auto-recognize mimetype.
- `sync` can specify storage class, mimetype, and metadata.
- `sync` can auto-recognize mimetype.
- Config now supports encryption, HTTPS, and proxy.

### Changed

- `ls` restore info display updated (activation time format changed, and `Restoring` flag added).
- Renamed sync `remote` mode to `local` (behavior unchanged).

### Removed

- Removed “hit/instant upload” feature from `cp`.


