Skip to content

Commit 70a0ce8

Browse files
polish news
1 parent 82c325e commit 70a0ce8

File tree

1 file changed

+19
-15
lines changed

1 file changed

+19
-15
lines changed

NEWS.md

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## API Changes
44

5+
**new**
6+
57
- `style_file()` and friends gain argument `dry` to control if changes should be
68
applied to files or not (#634).
79

@@ -10,9 +12,6 @@
1012
styling a selection picks that up, e.g. you can style a function body and
1113
indention is preserved (#725).
1214

13-
- added an option (`styler.test_dir_writeable`) that changes test behavior to
14-
not directly modify test files in the current directory (#548).
15-
1615
- added an option for disabling all communication when using the package
1716
(`styler.quiet`) (#640).
1817

@@ -23,28 +22,35 @@
2322
style tokens, you had to always also style spaces, indention, line breaks as
2423
well (#705, #707).
2524

25+
- added an option (`styler.test_dir_writeable`) that changes test behavior to
26+
not directly modify test files in the current directory (#548).
27+
2628
- New argument `transformers_drop` in `create_style_guide()` to be populated
2729
with new helper function `specify_transformers_drop()` for specifying
2830
conditions under which transformers are not going to be used and can therefore
2931
be omitted without effecting the result of styling (#711).
3032

33+
**deprecated**
34+
35+
- The environment variable `save_after_styling` is deprecated in favor of the R
36+
option `styler.save_after_styling` to control if a file is saved after styling
37+
with the RStudio Addin. Note than in RStudio >= 1.3.0, you can auto-save edits
38+
in general (Code -> Saving -> Auto-Save), e.g. on idle editor or focus loss,
39+
so this feature becomes less relevant (#631, #726).
40+
41+
3142
## Major changes
3243

3344
- styler is now distributed under the MIT license (#751).
3445

3546
- Documentation overhaul: New README, new "Get started" pkgdown page, new
3647
vignettes on `strict = FALSE`, `Adoption` renamed to `Third-party
37-
integrations`, minor other doc improvements (#741, #643, #618, #614, #677,
38-
#651, #667, #672, #687, #752, #754).
48+
integrations` (#741), adding search to pkgdown (#623), group functions in
49+
pkgdown reference page (#625), minor other doc improvements (#643, #618, #614,
50+
#677, #651, #667, #672, #687, #752, #754).
3951

4052
- `@exampleIsf` roxygen tag for conditional examples is now supported (#743).
4153

42-
- The environment variable `save_after_styling` is deprecated in favor of the R
43-
option `styler.save_after_styling` to control if a file is saved after styling
44-
with the RStudio Addin. Note than in RStudio >= 1.3.0, you can auto-save edits
45-
in general (Code -> Saving -> Auto-Save), e.g. on idle editor or focus loss,
46-
so this feature becomes less relevant (#631, #726).
47-
4854
- blank lines in function calls and headers are now removed, for the former only
4955
when there are no comments before or after the blank line (#629, #630, #635,
5056
#723).
@@ -75,8 +81,6 @@
7581

7682
- empty lines are now removed between pipes and assignments (#645, #710).
7783

78-
- overhaul pgkdown site: Add search (#623), group function in Reference (#625).
79-
8084
- multiple `@examples` roxygen tags in a code block of `#'` are no longer
8185
squashed (#748).
8286

@@ -98,8 +102,6 @@
98102

99103
- simplification of internals (#692).
100104

101-
- include `test-*` files in styling pre-commit hook (#724).
102-
103105
## Infrastructure changes
104106

105107
- switched from travis and AppVeyor to GitHub Actions (#653, #660).
@@ -108,6 +110,8 @@
108110
[lorenzwalthert/touchstone](https://github.com/lorenzwalthert/touchstone)
109111
(#674, #684, #698).
110112

113+
- include `test-*` files in styling pre-commit hook (#724).
114+
111115

112116
Thanks to all the people who made this release possible:
113117

0 commit comments

Comments
 (0)