Releases: vaultah/replicat
1.4.1
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.
1.3.2
1.3.1
1.3.0
- The
upload
CLI command has been renamed toupload-objects
. Theupload
method ofRepository
has been renamed toupload_objects
. - Low-level CLI commands
download-objects
,list-objects
, anddelete-objects
have been added. They correspond to the newdownload_objects
,list_objects
, anddelete_objects
methods ofRepository
. - Backends are now required to implement one additional method (see
Backend.download_stream
and existing implementations). - When creating new snapshots, replicat will retrieve creation, modification, and access timestamps of files with nanosecond precision. It will also restore this metadata on
restore
for both new and old snapshots, which continue to be supported. - The
delete
command will now ask for confirmation before deleting anything, just like the newly addeddelete-objects
. Pass-y
/--yes
to suppress the prompt. - After a snapshot is deleted via the
delete
command, the cached version will be removed as well. - Fixed handling of filenames with special and non-ASCII characters by B2, S3, and S3C backends.
- Performance has been improved.
1.2.3
1.2.2
1.2.1
1.2.0
- Implement stricter and more efficient CLI argument parsing
- Speed up startup
- Avoid loading all the downloaded snapshots into RAM
- Add
--cache-directory
and--no-cache
CLI options - Add
replicat.__version__
and the corresponding CLI flag - Send status messages to
stderr
instead ofstdout