@@ -8,101 +8,100 @@ bug fixes and the removal of 8 recursive dependencies. We also welcome
88\@ IndrajeetPatil as a new contributor to {styler}, who has contributed 
99significantly to this and and previous releases.
1010
11- 
1211** Features** 
1312
1413-  ` style_dir() `  and ` style_pkg() `  now default to styling all supported file
15- formats (` .R ` , ` .Rmd ` , ` .Rmarkdown ` , ` .Rnw ` , and ` .qmd ` ) in the (package)
16- directory (#965  , #931  , #1033  ).
17-   -  ` style_pkg() `  now excludes the auto-generated ` R/cpp11.R `  file (#977  ).
18-   -  Minimum  needed R version is now bumped to ` 3.5 `  (#986  ).
14+    formats (` .R ` , ` .Rmd ` , ` .Rmarkdown ` , ` .Rnw ` , and ` .qmd ` ) in the (package)
15+    directory (#965  , #931  , #1033  ).
16+ -  ` style_pkg() `  now excludes the auto-generated ` R/cpp11.R `  file (#977  ).
17+ -  minimum  needed R version is now bumped to ` 3.5 `  (#986  ).
1918
2019-  alignment is now detected for function declaration in a similar way as for
21- function calls (#968  ).
20+    function calls (#968  ).
2221-  new R option ` styler.ignore_alignment `  controls if alignment should be
23- detected (and preserved) or not (#932  ).
22+    detected (and preserved) or not (#932  ).
2423
2524
2625** Bug Fixes** 
2726
2827-  alignment is detected in ` tibble::tribble() `  (and similar) calls with more
29- than 3 columns when left aligned (#945  ).
28+    than 3 columns when left aligned (#945  ).
3029
31- -  Fix  alignment detection for one column, mixed named/unnamed (#1035  ).
30+ -  fix  alignment detection for one column, mixed named/unnamed (#1035  ).
3231
33- -  If  there are only empty lines in a code chunk, they are all removed (#936  ).
32+ -  if  there are only empty lines in a code chunk, they are all removed (#936  ).
3433
3534-  apply rules for [  to [[  and its closing counterpair (#1030  )
3635
37- -  There  is now at most one line break after ` { `  and before ` # `  (#952  , #1022  ).
36+ -  there  is now at most one line break after ` { `  and before ` # `  (#952  , #1022  ).
3837
39- -  Line  breaks may be added to function calls to ensure indention symmetry for
40- round braces (#975  ).
38+ -  line  breaks may be added to function calls to ensure indention symmetry for
39+    round braces (#975  ).
4140
4241-  the cache is also invalidated on changing the stylerignore markers (#932  ).
4342
4443-  ` { `  is not put on a new line after ` = `  and in ` function() { `  for some edge
4544cases (#939  ).
4645
4746-  ` while ({}) `  statements are now handled the same way as function statements
48- with regards to breaking lines (#967  ).
47+    with regards to breaking lines (#967  ).
4948
50- -  Parsing  of {roxygen2} example comments now also works for edge cases when
51- there is no literal code immediately following after the end of the example
52- section (#940  ).
49+ -  parsing  of {roxygen2} example comments now also works for edge cases when
50+    there is no literal code immediately following after the end of the example
51+    section (#940  ).
5352
54- -  Files  with no tokens in it are now transformed into zero-byte files (#962  ).
53+ -  files  with no tokens in it are now transformed into zero-byte files (#962  ).
5554
5655** Documentation** 
5756
58- -  Old  (and outdated) vignettes have been removed (#955  ). To
59- access them, do  ` git checkout v1.0.0 ` .
60- -  Minor  improvements to the documentation (#958  ).
61-   -  turned off ` styler.print.Vertical  `  in vignettes so ANSI output of
57+ -  old  (and outdated) vignettes have been removed (#955  ). To access them, do  
58+    ` git checkout v1.0.0 ` .
59+ -  minor  improvements to the documentation (#958  ).
60+ -  turned off ` styler.colored_print.vertical  `  in vignettes so ANSI output of
6261 {prettycode} not messing with {pkgdown} (#956  , #957  ).
6362
6463
6564** Performance and code quality improvements** 
6665
67- -  Use  integer literals and avoid coercions where needed (#994  ).
68-   -  Don 't preserve names for ` unlist() `  (#998  ).
69- -  Remove  unused variables (#999  ).
70- -  Get  rid of lints with performance implications (#1000  ).
71- -  Use  more efficient match() alternative (#1001  ).
72- -  Don 't use ` nrow `  arg in ` new_tibble() `  calls (#1003  ).
73- -  Performance  improvements with ` if() `  + ` else() `  instead of ` ifelse() `  (#1006  ).
74-   -  Replace  tibbles with data frames to improve performance (#1007  ). 
75- -  Simplify  ` styler_df() `  signature (#1009  ).
76- -  Minor  cleanup (#1016  ).
77-   -  Non -exported and unused functions ` odd() `  and ` even() `  were removed
66+ -  use  integer literals and avoid coercions where needed (#994  ).
67+ -  don 't preserve names for ` unlist() `  (#998  ).
68+ -  remove  unused variables (#999  ).
69+ -  get  rid of lints with performance implications (#1000  ).
70+ -  use  more efficient match() alternative (#1001  ).
71+ -  don 't use ` nrow `  arg in ` new_tibble() `  calls (#1003  ).
72+ -  performance  improvements with ` if() `  + ` else() `  instead of ` ifelse() `  (#1006  ).
73+ -  replace  tibbles with data frames to improve performance (#1007  ). 
74+ -  simplify  ` styler_df() `  signature (#1009  ).
75+ -  minor  cleanup (#1016  ).
76+ -  non -exported and unused functions ` odd() `  and ` even() `  were removed
7877 (#989  ).
79-   -  All  (R)md files in this project's source code are now formatted with
80- default  pandoc markdown formatter. This conversion is required when using
81- the visual  mode in RStudio (#941  ).
82- -  Improved  code quality by fixing {lintr} warnings (#960  , #1028  ).
78+ -  all  (R)md files in this project's source code are now formatted with default  
79+    pandoc markdown formatter. This conversion is required when using the visual  
80+    mode in RStudio (#941  ).
81+ -  improved  code quality by fixing {lintr} warnings (#960  , #1028  ).
8382
8483
8584** Dependency related changes** 
8685
8786In total, 8 recursive dependencies are removed: {ellipsis}, {pillar}, 
8887{rematch2}, {tibble}, {utf8}, {fansi}, {lifecycle}, {pkgconfig}.
8988
90- -  Don 't import entire tibble package (#1007  ).
91- -  Drop  {rematch2} dependency (#1011  ).
89+ -  don 't import entire tibble package (#1007  ).
90+ -  drop  {rematch2} dependency (#1011  ).
9291
9392
9493** Infrastructure** 
9594
96- -  Upgrade  testing infra to testthat 3e (#949  ).
97- -  Run  tests in parallel (#978  ).
98- -  Run  some tests sequentially (#1031  )
99- -  Better  stack tracing for profiling (#979  , #980  ).
100- -  Add  flags to skip code coverage for zzz.R (#1005  ).
101-   -  Error  now on R CMD note (#987  ).
102- -  Test  on latest Ubuntu instead of Ubuntu 18.04 (#982  ).
103- -  Use  latest GitHub Actions for R (#1034  ).
104- -  Update  {pkgdown} action to always build, but only deploy on default branch
105- (#946  ).
95+ -  upgrade  testing infra to testthat 3e (#949  ).
96+ -  run  tests in parallel (#978  ).
97+ -  run  some tests sequentially (#1031  )
98+ -  better  stack tracing for profiling (#979  , #980  ).
99+ -  add  flags to skip code coverage for zzz.R (#1005  ).
100+ -  error  now on R CMD note (#987  ).
101+ -  test  on latest Ubuntu instead of Ubuntu 18.04 (#982  ).
102+ -  use  latest GitHub Actions for R (#1034  ).
103+ -  update  {pkgdown} action to always build, but only deploy on default branch  
104+    (#946  ).
106105-  remove pre-commit push hook for news entry (#1023  ).
107106
108107A big hand to everyone who made this release possible: 
0 commit comments