From 7d3076cbfb496f6d7f10d0b97ec8480f46504ef3 Mon Sep 17 00:00:00 2001 From: Neal Richardson Date: Fri, 26 Apr 2024 09:27:54 -0400 Subject: [PATCH] Bump for 1.1.0 release --- DESCRIPTION | 4 ++-- NEWS.md | 2 +- man/httptest2.Rd | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 1c17ca2..d1294b2 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -9,7 +9,7 @@ Description: Testing and documenting code that communicates with remote servers test fixtures. The ability to save responses and load them offline also enables writing vignettes and other dynamic documents that can be distributed without access to a live server. -Version: 1.0.0.9000 +Version: 1.1.0 Authors@R: c( person("Neal", "Richardson", role=c("aut", "cre"), email="neal.p.richardson@gmail.com", comment=c(ORCID="0009-0002-7992-3520")), person("Jonathan", "Keane", role="ctb", email="jkeane@gmail.com"), @@ -35,7 +35,7 @@ Suggests: webfakes, xml2 Language: en-US -RoxygenNote: 7.2.3 +RoxygenNote: 7.3.1 Roxygen: list(markdown = TRUE) Encoding: UTF-8 VignetteBuilder: knitr diff --git a/NEWS.md b/NEWS.md index 42c40d1..599c8c5 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# httptest2 1.0.0.9000 +# httptest2 1.1.0 * `request` is now removed when saving `httr2_response` objects. In earlier versions of `httr2`, requests were not included in responses, but in httr2 1.0.0, [they were added](https://github.com/r-lib/httr2/pull/359) in order to improve error messages. *If you recorded any responses with httr2 >= 1.0 and httptest2 prior to this version, you may have leaked auth secrets: this would happen if your requests included auth information (as in an `Authentication` header), and the response was saved in a .R file, not simplified to .json or other response-body-only formats. Please inspect your recorded responses and invalidate any tokens that were exposed.* * `save_response()` now works with `simplify = TRUE` when the response body is empty (#37, @jmaspons) diff --git a/man/httptest2.Rd b/man/httptest2.Rd index 8b42412..92b9dc7 100644 --- a/man/httptest2.Rd +++ b/man/httptest2.Rd @@ -2,8 +2,8 @@ % Please edit documentation in R/httptest2.R \docType{package} \name{httptest2} -\alias{httptest2} \alias{httptest2-package} +\alias{httptest2} \title{\code{httptest2}: A Test Environment for HTTP Requests} \description{ The \code{httptest2} package lets you test R code that wraps an API without