|
1 | 1 | # usethis (development version)
|
2 | 2 |
|
3 |
| -* `use_test_helper()` is a new function to create a test helper file (@olivroy, #1822). |
| 3 | +# usethis 3.0.0 |
4 | 4 |
|
5 |
| -* `use_cpp11()` makes it easier to update `NAMESPACE` (@pachadotdev, #1921). |
6 |
| - |
7 |
| -* `pr_merge_main()` now offers the choice to not open the files with merge conflicts (@olivroy, #1720). |
8 |
| - |
9 |
| -* `edit_rstudio_snippets()` now accepts yaml snippets (@olivroy, #1941). |
10 |
| - |
11 |
| -* `use_standalone()` inserts an improved header that includes the code needed to |
12 |
| - update the standalone file (@krlmlr, #1903). |
13 |
| - |
14 |
| -* `use_release_issue()` and `use_upkeep()` behave better when the user has a |
15 |
| - fork. The user is asked just once to choose between `origin` and `upstream` as |
16 |
| - the target repo (#2023). |
17 |
| - |
18 |
| -* The README templates now recommend [pak](https://pak.r-lib.org) instead of |
19 |
| - devtools for package installation (@olivroy, #1723). |
20 |
| - |
21 |
| -* `use_github()` now knows that you can reuse the name of an earlier repo that |
22 |
| - has since been renamed (@ateucher, #1893). |
23 |
| - |
24 |
| -* `use_git()` no longer asks if you want to restart RStudio when using Positron. |
25 |
| - |
26 |
| -* `use_test()` and `use_r()` now work when you are in `tests/testthat/_snaps/{foo}.md` (@olivroy, #1988). |
27 |
| - |
28 |
| -* The URLs baked into the badge generated by `use_coverage(type = "codecov")` |
29 |
| - no longer specify a branch (#2008). |
| 5 | +## Transition to cli package for UI |
30 | 6 |
|
31 | 7 | * The `ui_*()` functions have been marked as
|
32 | 8 | [superseded](https://lifecycle.r-lib.org/articles/stages.html#superseded).
|
|
37 | 13 | superior option.
|
38 | 14 | There is a cli vignette about how to make this transition:
|
39 | 15 | `vignette("usethis-ui", package = "cli")`.
|
40 |
| - |
41 | 16 | usethis no longer uses the `ui_*()` functions internally, in favor of new
|
42 | 17 | cli-based helpers that are not exported.
|
43 | 18 |
|
44 |
| -* `usethis::use_version()` now tolerates empty / blank lines preceding the |
45 |
| - first section title in the package NEWS file. (#1976) |
46 |
| - |
47 | 19 | ## Deprecated function and argument removal
|
48 | 20 |
|
49 | 21 | We are removing functions and arguments that were deprecated as of usethis
|
@@ -81,6 +53,45 @@ Function arguments that are removed:
|
81 | 53 | * `use_github_links(auth_token =, host =)`
|
82 | 54 | * `use_github_release(host =, auth_token =)`
|
83 | 55 |
|
| 56 | +## Other changes |
| 57 | + |
| 58 | +* `use_zip()` and `use_course()` are equipped to handle a ZIP where the parent |
| 59 | + folder is implicit (@burnsal, #1961). |
| 60 | + |
| 61 | +* `use_test_helper()` is a new function to create a test helper file |
| 62 | + (@olivroy, #1822). |
| 63 | + |
| 64 | +* `use_cpp11()` makes it easier to update `NAMESPACE` (@pachadotdev, #1921). |
| 65 | + |
| 66 | +* `pr_merge_main()` now offers the choice to not open the files with merge |
| 67 | + conflicts (@olivroy, #1720). |
| 68 | + |
| 69 | +* `edit_rstudio_snippets()` now accepts yaml snippets (@olivroy, #1941). |
| 70 | + |
| 71 | +* `use_standalone()` inserts an improved header that includes the code needed to |
| 72 | + update the standalone file (@krlmlr, #1903). |
| 73 | + |
| 74 | +* `use_release_issue()` and `use_upkeep_issue()` behave better when the user has |
| 75 | + a fork. The user is asked just once to choose between `origin` and `upstream` |
| 76 | + as the target repo (#2023). |
| 77 | + |
| 78 | +* The README templates now recommend [pak](https://pak.r-lib.org) instead of |
| 79 | + devtools for package installation (@olivroy, #1723). |
| 80 | + |
| 81 | +* `use_github()` now knows that you can reuse the name of an earlier repo that |
| 82 | + has since been renamed (@ateucher, #1893). |
| 83 | + |
| 84 | +* `use_git()` no longer asks if you want to restart RStudio when using Positron. |
| 85 | + |
| 86 | +* `use_test()` and `use_r()` now work when you are in |
| 87 | + `tests/testthat/_snaps/{foo}.md` (@olivroy, #1988). |
| 88 | + |
| 89 | +* The URLs baked into the badge generated by `use_coverage(type = "codecov")` |
| 90 | + are updated and no longer specify a branch(#2008). |
| 91 | + |
| 92 | +* `usethis::use_version()` now tolerates empty lines preceding the |
| 93 | + first section title in the package NEWS file. (#1976) |
| 94 | + |
84 | 95 | # usethis 2.2.3
|
85 | 96 |
|
86 | 97 | * Patch release with changes to `.Rd` files requested by CRAN.
|
|
0 commit comments