diff --git a/NEWS.md b/NEWS.md index a3c131a..69369cf 100644 --- a/NEWS.md +++ b/NEWS.md @@ -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 ============== diff --git a/codemeta.json b/codemeta.json index 21cc616..97f8463 100644 --- a/codemeta.json +++ b/codemeta.json @@ -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", @@ -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" } diff --git a/cran-comments.md b/cran-comments.md index 8647970..a27591a 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -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 @@ -10,7 +10,7 @@ ## 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 @@ -18,7 +18,7 @@ We checked 18 reverse dependencies (13 from CRAN + 5 from Bioconductor), compari --- -In this version fixes some bugs +This version includes ... Thanks! Scott Chamberlain