|
1 | 1 | # styler 1.6.2.9000 (Development version)
|
2 | 2 |
|
3 |
| -* Piped function without brackets `substitute(x %>% y)` don't get `()` added |
4 |
| - anymore, as this can change outcome of the code (#876). |
5 |
| -* Alignment detection respects stylerignore (#850). |
6 |
| -* Add vignette on distributing style guide (#846, #861). |
7 |
| -* Enable pre-commit.ci (#843). |
| 3 | +**API changes** |
| 4 | + |
8 | 5 | * new R option `styler.cache_root` (defaulting to `"styler"`) that determines
|
9 | 6 | the sub-directory under the {R.cache} cache directory that {styler} uses. Non-
|
10 | 7 | default caches won't be cleaned up by {styler}. We suggest `"styler-perm"`
|
11 | 8 | (also used by {precommit}).
|
12 |
| -* rename default branch to main (#859). |
13 |
| -* Fix argument name `filetype` in Example for `style_dir()` (#855). |
14 |
| -* ensure a trailing blank line also if the input is cached (#867). |
15 |
| -* Bump minimal R requirement to 3.4 in line with the [tidyverse](https://www.tidyverse.org/blog/2019/04/r-version-support/), which |
16 |
| - allowed to remove the dependency at {backports} and some exception handling. |
17 |
| -* Remove dependency on {xfun} (#866). |
18 |
| -* use pre-commit via GitHub Actions (#872). |
19 | 9 |
|
20 | 10 | * stylerignore markers are now interpreted as regular expressions instead of
|
21 | 11 | comments that must match exactly. This allows to specify multiple markers in
|
|
35 | 25 | * the built package size has been reduced by ~50% by listing `*-in_tree` files
|
36 | 26 | in `.Rbuildignore` (#879).
|
37 | 27 |
|
| 28 | +* Bump minimal R requirement to 3.4 in line with the [tidyverse](https://www.tidyverse.org/blog/2019/04/r-version-support/), which |
| 29 | + allowed to remove the dependency at {backports} and some exception handling. |
| 30 | + |
| 31 | +**Other changes** |
| 32 | + |
| 33 | +* Piped function without brackets `substitute(x %>% y)` don't get `()` added |
| 34 | + anymore, as this can change outcome of the code (#876). |
| 35 | +* Alignment detection respects stylerignore (#850). |
| 36 | +* Unaligned expressions with quoted key (e.g. `c("x" = 2)`) are now correctly |
| 37 | + detected (#881). |
| 38 | +* Add vignette on distributing style guide (#846, #861). |
| 39 | +* ensure a trailing blank line also if the input is cached (#867). |
| 40 | +* Fix argument name `filetype` in Example for `style_dir()` (#855). |
| 41 | + |
| 42 | +**Infrastructure** |
| 43 | + |
| 44 | +* Remove dependency on {xfun} (#866). |
| 45 | +* rename default branch to main (#859). |
| 46 | +* Enable pre-commit.ci (#843). |
| 47 | +* use pre-commit via GitHub Actions (#872). |
| 48 | + |
| 49 | + |
38 | 50 | # styler 1.6.2
|
39 | 51 |
|
40 | 52 | * clean up cache files older than one week (#842).
|
|
0 commit comments