1.4.0
-
You can now use TOML configuration file to define common arguments for replicat commands, organize them into profiles, and load them using the
--profile
CLI option. Consult--help
output for the default location of the file, or provide it explicitly via the--config
CLI option, or pass--ignore-config
to ignore configuration file altogether. -
The new
-L
/--limit-rate
option enables rate limiting for uploads and downloads throughsnapshot
,restore
,upload-objects
, anddownload-objects
CLI commands. The corresponding methods in the Python API received therate_limit
argument, which serves the same purpose. -
CLI options
-S
/--snapshot-regex
,-F
/--file-regex
, and-O
/--object-regex
can now be repeated. replicat will combine repeated options using OR (|
). -
When creating snapshots, replicat will record hash digests of entire files, too. Use
lf
/list-files
command to retrieve them. -
List of columns returned by
list-snapshots
andlist-files
commands can now be configured via the new--columns
CLI option (refer to--help
for the supported values). Pass the--no-header
option to omit the table header. Corresponding methods in the Python API acceptcolumns
andheader
arguments, which serve the same purpose. -
add-key
command has been equipped with the new--clone
CLI option, which allows you to generate a new key with the same secrets and using the same password as the old key (IOW, rewrap it). For example, you could use this to change KDF parameters. -
Added support for SHA2 and SHA3 hash algorithms.
-
scrypt's default work factor for new keys has been reduced 4x (r = 2 ^ 22 to r = 2 ^ 20). Old keys can be converted to the new parameters using
replicat add-key --clone
(the new default will be picked up automatically). -
Applied actually meaningful runtime and startup optimizations, enhanced progress indication (particularly in
restore
), soft-locked versions of dependencies, made minor correctness improvements. -
Beefed README.md up.