Skip to content

Commit 47a7126

Browse files
re-arrange news
1 parent c2e25f9 commit 47a7126

File tree

1 file changed

+24
-12
lines changed

1 file changed

+24
-12
lines changed

NEWS.md

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,11 @@
11
# styler 1.6.2.9000 (Development version)
22

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+
85
* new R option `styler.cache_root` (defaulting to `"styler"`) that determines
96
the sub-directory under the {R.cache} cache directory that {styler} uses. Non-
107
default caches won't be cleaned up by {styler}. We suggest `"styler-perm"`
118
(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).
199

2010
* stylerignore markers are now interpreted as regular expressions instead of
2111
comments that must match exactly. This allows to specify multiple markers in
@@ -33,6 +23,28 @@
3323
`styler.ignore_stop` omit the `#` (#849).
3424

3525

26+
* Bump minimal R requirement to 3.4 in line with the [tidyverse](https://www.tidyverse.org/blog/2019/04/r-version-support/), which
27+
allowed to remove the dependency at {backports} and some exception handling.
28+
29+
**Other changes**
30+
31+
* Piped function without brackets `substitute(x %>% y)` don't get `()` added
32+
anymore, as this can change outcome of the code (#876).
33+
* Alignment detection respects stylerignore (#850).
34+
* Unaligned expressions with quoted key (e.g. `c("x" = 2)`) are now correctly
35+
detected (#881).
36+
* Add vignette on distributing style guide (#846, #861).
37+
* ensure a trailing blank line also if the input is cached (#867).
38+
* Fix argument name `filetype` in Example for `style_dir()` (#855).
39+
40+
**Infrastructure**
41+
42+
* Remove dependency on {xfun} (#866).
43+
* rename default branch to main (#859).
44+
* Enable pre-commit.ci (#843).
45+
* use pre-commit via GitHub Actions (#872).
46+
47+
3648
# styler 1.6.2
3749

3850
* clean up cache files older than one week (#842).

0 commit comments

Comments
 (0)