Skip to content

Commit

Permalink
update news, cran comments and codemeta
Browse files Browse the repository at this point in the history
  • Loading branch information
sckott committed Jul 19, 2024
1 parent c23f64c commit 6b8534d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
9 changes: 9 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
webmockr 1.0.0
==============

### NEW FEATURES

* `webmockr` now supports the `httr2` library, in addition to `httr` and `crul`. Note that you'll see different behavior from `httr2` relative to the other 2 http clients because it turns http errors (http statuses 400 and above) into R errors (#122)
* `webmockr` can now mock async http requests with `crul` (w/ `crul` v1.5 or greater). no change was required in `webmockr` for this to happen. a PR was merged in `crul` to hook into `webmockr`. there's no support for async in `httr` as that package does not do any async and no support in `httr2` because `req_perform_parallel` does not have a mocking hook as does `req_perform` (#124)


webmockr 0.9.0
==============

Expand Down
6 changes: 3 additions & 3 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
"codeRepository": "https://github.com/ropensci/webmockr",
"issueTracker": "https://github.com/ropensci/webmockr/issues",
"license": "https://spdx.org/licenses/MIT",
"version": "0.9.0",
"version": "1.0.0",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
"url": "https://r-project.org"
},
"runtimePlatform": "R version 4.2.3 (2023-03-15)",
"runtimePlatform": "R version 4.4.1 Patched (2024-06-25 r86831)",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
Expand Down Expand Up @@ -221,5 +221,5 @@
"applicationCategory": "Web",
"isPartOf": "https://ropensci.org",
"keywords": ["http", "https", "API", "web-services", "curl", "mock", "mocking", "fakeweb", "http-mocking", "testing", "testing-tools", "tdd"],
"fileSize": "359.929KB"
"fileSize": "378.631KB"
}
8 changes: 4 additions & 4 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Test environments

* local macOS install, R 4.2.2
* ubuntu (on GitHub Actions), R 4.2.2
* local macOS install, R 4.4.1
* ubuntu (on GitHub Actions), R 4.4.1
* win-builder (devel and release)

## R CMD check results
Expand All @@ -10,15 +10,15 @@

## revdepcheck results

We checked 18 reverse dependencies (13 from CRAN + 5 from Bioconductor), comparing R CMD check results across CRAN and dev versions of this package.
We checked 18 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.

* We saw 0 new problems
* We failed to check 0 packages


---

In this version fixes some bugs
This version includes ...

Thanks!
Scott Chamberlain

0 comments on commit 6b8534d

Please sign in to comment.