Skip to content

Commit

Permalink
Update NEWS
Browse files Browse the repository at this point in the history
  • Loading branch information
jennybc committed Jul 25, 2024
1 parent e6e489d commit cc1b9a3
Showing 1 changed file with 35 additions and 5 deletions.
40 changes: 35 additions & 5 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,36 @@
* `usethis::use_version()` now tolerates empty / blank lines preceding the
first section title in the package NEWS file. (#1976)

## Deprecated function and argument removal

We are removing functions and arguments that were deprecated as of usethis
v2.0.0, which was released in December 2020.

These changes have been in place for a long time now:

* Switch from git2r to gert (+ credentials).
* Use of git config and the gh package to infer, e.g., the target repo spec.
* Pivot towards GitHub Actions and away from Travis and AppVeyor.

Functions that are removed:

* `git_credentials()`
* `use_git_credentials()`
* `use_appveyor()`
* `use_appveyor_badge()`
* `use_travis()`
* `use_travis_badge()`
* `browse_travis()`
* `use_pkgdown_travis()`

Function arguments that are removed:

* `create_from_github(auth_token =, credentials =)`
* `use_github(auth_token =, credentials =)`
* `use_github_labels(repo_spec =, host =, auth_token =)`
* `use_github_links(auth_token =, host =)`
* `use_github_release(host =, auth_token =)`

# usethis 2.2.3

* Patch release with changes to `.Rd` files requested by CRAN.
Expand Down Expand Up @@ -206,14 +236,14 @@
* `use_tidy_logo()` is a new function that calls `use_logo()` on the appropriate
hex sticker PNG file at <https://github.com/rstudio/hex-stickers> (#1871).

## Defunct functions
## Deprecated functions

* `use_tidy_eval()` is now defunct because it imports and re-exports a large
* `use_tidy_eval()` is now deprecated because it imports and re-exports a large
number of functions that are no longer needed in order to do tidy
evaluation (#1656).

* `use_travis()`, `use_pkgdown_travis()`, `browse_travis()`, and `use_appveyor()`
are now defunct because we no longer recommend Travis or Appveyor. We
are now deprecated because we no longer recommend Travis or Appveyor. We
recommend GitHub actions instead (#1517).

# usethis 2.1.6
Expand Down Expand Up @@ -531,7 +561,7 @@ GitHub Actions is the preferred platform for continuous integration, because tha

`use_tidy_pkgdown()` implements the complete pkgdown configuration used by the tidyverse team (#224).

`pr_sync()` is defunct and can be replicated by calling `pr_pull()`, `pr_merge_main()`, then `pr_push()`.
`pr_sync()` is deprecated and can be replicated by calling `pr_pull()`, `pr_merge_main()`, then `pr_push()`.

## Licensing improvements

Expand Down Expand Up @@ -1183,7 +1213,7 @@ build paths within it (#415, #425).
* `create_from_github()`: the `repo` argument is renamed to `repo_spec`, since it takes input of the form "OWNER/REPO" (#376).
* `use_depsy_badge()` is defunct. The Depsy project has officially concluded and is no longer being maintained (#354).
* `use_depsy_badge()` is deprecated. The Depsy project has officially concluded and is no longer being maintained (#354).
* `use_github()` fails earlier, with a more informative message, in the absence of a GitHub personal access token (PAT). Also looks for the PAT more proactively in the usual environment variables (i.e., GITHUB_PAT, GITHUB_TOKEN) (#320, #340, @cderv).
Expand Down

0 comments on commit cc1b9a3

Please sign in to comment.