From 5299cbbed8911701f7efea50a29228a4be40cbc4 Mon Sep 17 00:00:00 2001 From: Scott Chamberlain Date: Mon, 27 Feb 2023 20:33:42 -0800 Subject: [PATCH] update news, cran comments, bump version --- DESCRIPTION | 2 +- NEWS.md | 17 +++++++++++++++++ codemeta.json | 6 +++--- cran-comments.md | 14 +++++++++----- 4 files changed, 30 insertions(+), 9 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index e69f70c..0485e8e 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -6,7 +6,7 @@ Description: Stubbing and setting expectations on 'HTTP' requests. 'HTTP' method, query parameters, request body, headers and more. Can be used for unit tests or outside of a testing context. -Version: 0.8.5.91 +Version: 0.9.0 Authors@R: c( person("Scott", "Chamberlain", role = c("aut", "cre"), email = "myrmecocystus+r@gmail.com", comment = c(ORCID="0000-0003-1444-9135")), diff --git a/NEWS.md b/NEWS.md index 3b1c416..8cf04a9 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,20 @@ +webmockr 0.9.0 +============== + +### BUG FIXES + +* `to_return()` supports returning multiple responses to match many requests to the same matching stub. however, the internals were broken for this, but is now fixed (#115) thanks @kenahoo for the report +* matching stubs with specifying a request body to match on (e.g., `stub_request('post', 'https://httpbin.org/post') %>% wi_th(body = list(a=5))`) was not working in some cases; internal matching logic was borked. now fixed. (#118) thanks @konradoberwimmer for the report +* The `status` parameter in `to_return()` was documented to accept an integer, but it errored when an integer was passed (e.g., `to_return(status=200L)`). This bug is now fixed (#117) thanks @maelle for the report + +### MINOR IMPROVEMENTS + +* Config options changes (see `webmockr_configure()`). Three options that were presentg but not implemented are now removed: `show_body_diff`, ` query_values_notation`, ` net_http_connect_on_start`. One option that was present but not implemented yet is now implemented: ` show_stubbing_instructions` (#27) (#120) + +### DOCUMENTATION + +* `StubCounter` added to pkgdown docs page at (#119) @maelle + webmockr 0.8.2 ============== diff --git a/codemeta.json b/codemeta.json index 9b40994..f4ebc58 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.8.2", + "version": "0.9.0", "programmingLanguage": { "@type": "ComputerLanguage", "name": "R", "url": "https://r-project.org" }, - "runtimePlatform": "R version 4.2.1 (2022-06-23)", + "runtimePlatform": "R version 4.2.2 (2022-10-31)", "provider": { "@id": "https://cran.r-project.org", "@type": "Organization", @@ -209,5 +209,5 @@ "applicationCategory": "Web", "isPartOf": "https://ropensci.org", "keywords": ["http", "https", "API", "web-services", "curl", "mock", "mocking", "fakeweb", "http-mocking", "testing", "testing-tools", "tdd"], - "fileSize": "346.38KB" + "fileSize": "352.901KB" } diff --git a/cran-comments.md b/cran-comments.md index a6c2501..8647970 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,20 +1,24 @@ ## Test environments -* local macOS install, R 4.2.1 -* ubuntu (on GitHub Actions), R 4.2.1 +* local macOS install, R 4.2.2 +* ubuntu (on GitHub Actions), R 4.2.2 * win-builder (devel and release) ## R CMD check results 0 errors | 0 warnings | 0 notes -## Reverse dependencies +## 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 saw 0 new problems + * We failed to check 0 packages -I have checked the 18 reverse dependencies, and no problems were found. --- -In this version I've fixed problems with man files. +In this version fixes some bugs Thanks! Scott Chamberlain