Skip to content

Commit b4625e5

Browse files
authored
breaking changes for 0.11.0 (#120)
1 parent 270a566 commit b4625e5

1 file changed

Lines changed: 50 additions & 0 deletions

File tree

src/breaking_changes.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,56 @@
33
This document lists all user facing breaking changes in `rustic` and provides
44
guidance on how to migrate from one version to another.
55

6+
## 0.11.0 (coming soon)
7+
8+
### Configuration File
9+
10+
As rustic now allows to use multiple parents, the option in the config profile
11+
has been renamed from `parent` to `parents` and now needs to be given as list.
12+
13+
Instead of
14+
15+
```toml
16+
parent = "abc"
17+
```
18+
19+
please use
20+
21+
```toml
22+
parents = ["abc"]
23+
```
24+
25+
### Changed options
26+
27+
Parsing durations where 'M' is used for 'months' no longer works, but instead
28+
'mo' or `months` should be used. For example
29+
30+
```toml
31+
keep-weekly-within = "3M"
32+
```
33+
34+
must be changed to something like
35+
36+
```toml
37+
keep-weekly-within = "3 months"
38+
```
39+
40+
### Removed options
41+
42+
The option `quiet` has been removed for the `backup` and `forget` command;
43+
please use the `log-level-*` (see below) options for fine-tuning the output.
44+
45+
### Logging options
46+
47+
Logging has been refactored allowing to fine-tune logging for the console
48+
(stderr) output and log-file output separately using `log-level` and
49+
`log-level-logfile`, respectively. Moreover, the log-level for dependency crates
50+
can be directly set using `log-level-dependencies` to reduce log flooding.
51+
Logging in dry-run mode can be set using `log-level-dryrun`.
52+
53+
This may result in a changed logging behavior depending on your setup; you may
54+
need to fine-tune the logging options to suit your needs.
55+
656
## 0.10.0
757

858
### Renamed/changed opions

0 commit comments

Comments
 (0)