diff --git a/DESCRIPTION b/DESCRIPTION index dd94ea44e..07118f6c6 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Type: Package Package: styler Title: Non-Invasive Pretty Printing of R Code -Version: 1.9.1 +Version: 1.10.0 Authors@R: c(person(given = "Kirill", family = "Müller", diff --git a/NEWS.md b/NEWS.md index e91e30bc6..9efbd2658 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,29 @@ +# styler 1.10.0 + +This release contains speed-ups between 20% and 40% depending on your use case +thanks to replacing {base} functionality with {vctrs} (#1114). With the speed +boost introduced in version 1.8.0 in Oct. 2022, {styler} is now up to 2x as fast +as before release 1.8.0. + +This release was created upon a request by the CRAN team to actively manage not +just cached files but also the potentially empty cache directories they live in +(#1118). Here are the changes in detail: + + +- Require at least R 3.6 (#1101). +- Prefer {vctrs} functions over slower {base} equivalents (#1114). +- Replace deprecated use of `rlang::with_handlers()` (#1103). +- Remove tail recursion in favor of `repeat` (#1113). +- split `test-public_api.R` for better sharding (#1109). +- 0-pad filenames for sharding (#1110) +- add missing {testthat} snapshots (#1115). +- Bump {touchstone} config (#1104, #1107). +- Bump `actions/checkout` to version 3 in GitHub Actions (#1098). + +Thanks for everyone contributing to this release: + +[@IndrajeetPatil](https://github.com/IndrajeetPatil), [@krlmlr](https://github.com/krlmlr), [@kyleam](https://github.com/kyleam), [@MichaelChirico](https://github.com/MichaelChirico), [@mvanaman](https://github.com/mvanaman), [@olivroy](https://github.com/olivroy), and [@vvarik](https://github.com/vvarik). # styler 1.9.1 diff --git a/cran-comments.md b/cran-comments.md index 3408b33e9..229978c38 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -4,14 +4,16 @@ editor_options: wrap: 79 --- -This is a release to fix critical bugs and release a new feature. +This is a release requested by the CRAN team to delete empty directories in the +user's cache. ## Test environments -- ubuntu 20.04 (on GitHub Actions): R devel, R 4.2.1, 4.1.2, R 4.0.5, R 3.6, - R 3.5. -- Windows Server 10 (on GitHub Actions): R devel, R 4.2.1, R 4.1.2, R 3.6. +- ubuntu 20.04 (on GitHub Actions): R devel, R 4.3.0, R 4.2.1, 4.1.2, R 4.0.5, + R 3.6 +- Windows Server 10 (on GitHub Actions): R devel, R 4.3.0, R 4.2.1, R 4.1.2, + R 3.6. - win-builder: R devel ## R CMD check results @@ -37,4 +39,5 @@ compliant with the requirements of CRAN. I also ran R CMD check on all 39 downstream dependencies of styler using the revdepcheck package. -All of them finished R CMD CHECK with zero (0) ERRORS, WARNINGS and NOTES. +All of them finished R CMD CHECK with the same number of ERRORS, WARNINGS and +NOTES. diff --git a/inst/WORDLIST b/inst/WORDLIST index 0ff1db851..b6a53ac74 100644 --- a/inst/WORDLIST +++ b/inst/WORDLIST @@ -232,6 +232,7 @@ setCacheRootPath setdiff setenv Shallowify +sharding shinydashboardPlus shinymeta shinyMonacoEditor