Skip to content

Commit 37a428b

Browse files
committed
Polish NEWS
1 parent 822e590 commit 37a428b

File tree

1 file changed

+40
-33
lines changed

1 file changed

+40
-33
lines changed

NEWS.md

Lines changed: 40 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,6 @@
11
# usethis (development version)
22

3-
* `use_zip()` and `use_course()` are equipped to handle a ZIP where the parent folder is implicit (@burnsal, #1961).
4-
5-
* `use_test_helper()` is a new function to create a test helper file (@olivroy, #1822).
6-
7-
* `use_cpp11()` makes it easier to update `NAMESPACE` (@pachadotdev, #1921).
8-
9-
* `pr_merge_main()` now offers the choice to not open the files with merge conflicts (@olivroy, #1720).
10-
11-
* `edit_rstudio_snippets()` now accepts yaml snippets (@olivroy, #1941).
12-
13-
* `use_standalone()` inserts an improved header that includes the code needed to
14-
update the standalone file (@krlmlr, #1903).
15-
16-
* `use_release_issue()` and `use_upkeep()` behave better when the user has a
17-
fork. The user is asked just once to choose between `origin` and `upstream` as
18-
the target repo (#2023).
19-
20-
* The README templates now recommend [pak](https://pak.r-lib.org) instead of
21-
devtools for package installation (@olivroy, #1723).
22-
23-
* `use_github()` now knows that you can reuse the name of an earlier repo that
24-
has since been renamed (@ateucher, #1893).
25-
26-
* `use_git()` no longer asks if you want to restart RStudio when using Positron.
27-
28-
* `use_test()` and `use_r()` now work when you are in `tests/testthat/_snaps/{foo}.md` (@olivroy, #1988).
29-
30-
* The URLs baked into the badge generated by `use_coverage(type = "codecov")`
31-
no longer specify a branch (#2008).
3+
## Transition to cli package for UI
324

335
* The `ui_*()` functions have been marked as
346
[superseded](https://lifecycle.r-lib.org/articles/stages.html#superseded).
@@ -39,13 +11,9 @@
3911
superior option.
4012
There is a cli vignette about how to make this transition:
4113
`vignette("usethis-ui", package = "cli")`.
42-
4314
usethis no longer uses the `ui_*()` functions internally, in favor of new
4415
cli-based helpers that are not exported.
4516

46-
* `usethis::use_version()` now tolerates empty / blank lines preceding the
47-
first section title in the package NEWS file. (#1976)
48-
4917
## Deprecated function and argument removal
5018

5119
We are removing functions and arguments that were deprecated as of usethis
@@ -83,6 +51,45 @@ Function arguments that are removed:
8351
* `use_github_links(auth_token =, host =)`
8452
* `use_github_release(host =, auth_token =)`
8553

54+
## Other changes
55+
56+
* `use_zip()` and `use_course()` are equipped to handle a ZIP where the parent
57+
folder is implicit (@burnsal, #1961).
58+
59+
* `use_test_helper()` is a new function to create a test helper file
60+
(@olivroy, #1822).
61+
62+
* `use_cpp11()` makes it easier to update `NAMESPACE` (@pachadotdev, #1921).
63+
64+
* `pr_merge_main()` now offers the choice to not open the files with merge
65+
conflicts (@olivroy, #1720).
66+
67+
* `edit_rstudio_snippets()` now accepts yaml snippets (@olivroy, #1941).
68+
69+
* `use_standalone()` inserts an improved header that includes the code needed to
70+
update the standalone file (@krlmlr, #1903).
71+
72+
* `use_release_issue()` and `use_upkeep()` behave better when the user has a
73+
fork. The user is asked just once to choose between `origin` and `upstream` as
74+
the target repo (#2023).
75+
76+
* The README templates now recommend [pak](https://pak.r-lib.org) instead of
77+
devtools for package installation (@olivroy, #1723).
78+
79+
* `use_github()` now knows that you can reuse the name of an earlier repo that
80+
has since been renamed (@ateucher, #1893).
81+
82+
* `use_git()` no longer asks if you want to restart RStudio when using Positron.
83+
84+
* `use_test()` and `use_r()` now work when you are in
85+
`tests/testthat/_snaps/{foo}.md` (@olivroy, #1988).
86+
87+
* The URLs baked into the badge generated by `use_coverage(type = "codecov")`
88+
are updated and no longer specify a branch(#2008).
89+
90+
* `usethis::use_version()` now tolerates empty lines preceding the
91+
first section title in the package NEWS file. (#1976)
92+
8693
# usethis 2.2.3
8794

8895
* Patch release with changes to `.Rd` files requested by CRAN.

0 commit comments

Comments
 (0)