Skip to content

Commit

Permalink
update news, cran comments, bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
sckott committed Feb 28, 2023
1 parent e5b618c commit 5299cbb
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 9 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
"[email protected]", comment = c(ORCID="0000-0003-1444-9135")),
Expand Down
17 changes: 17 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -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 <https://docs.ropensci.org/webmockr/reference/StubCounter.html> (#119) @maelle

webmockr 0.8.2
==============

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.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",
Expand Down Expand Up @@ -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"
}
14 changes: 9 additions & 5 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 5299cbb

Please sign in to comment.