diff --git a/news-files-annotated/httr2.md b/news-files-annotated/httr2.md index 20fcfbd8..9c6bf539 100644 --- a/news-files-annotated/httr2.md +++ b/news-files-annotated/httr2.md @@ -2,6 +2,22 @@ !begin-bullets-1! +- !begin-bullet! + `req_perform_parallel()` now respects error handling in + `req_error()` + !end-bullet! +- !begin-bullet! + New function `req_perform_promise()` allows creating a + `promises::promise` for a request that runs in the background (#501, + @gergness). + !end-bullet! + +!end-bullets-1! + +# httr2 1.0.2 + +!begin-bullets-2! + - !begin-bullet! `req_body_file()` now only opens a connection when the request actually needs data. In particular, this makes it work better with @@ -30,11 +46,11 @@ multi-value parameters (#404). !end-bullet! -!end-bullets-1! +!end-bullets-2! # httr2 1.0.1 -!begin-bullets-2! +!begin-bullets-3! - !begin-bullet! `req_perform_stream()` gains a `round = c("byte", "line")` argument @@ -63,13 +79,13 @@ !end-bullet! -!end-bullets-2! +!end-bullets-3! # httr2 1.0.0 ## Function lifecycle -!begin-bullets-3! +!begin-bullets-4! - !begin-bullet! `local_mock()` and `with_mock()` have been deprecated in favour of @@ -103,11 +119,11 @@ !end-bullet! -!end-bullets-3! +!end-bullets-4! ## Multiple requests -!begin-bullets-4! +!begin-bullets-5! - !begin-bullet! New `req_perform_sequential()` performs a known set of requests @@ -148,11 +164,11 @@ !end-bullet! -!end-bullets-4! +!end-bullets-5! ## OAuth features -!begin-bullets-5! +!begin-bullets-6! - !begin-bullet! A new `vignette("oauth")` gives many more details about how OAuth @@ -195,11 +211,11 @@ !end-bullet! -!end-bullets-5! +!end-bullets-6! ## Other new features -!begin-bullets-6! +!begin-bullets-7! - !begin-bullet! @mgirlich is now a httr2 contributor in recognition of his many @@ -258,11 +274,11 @@ !end-bullet! -!end-bullets-6! +!end-bullets-7! ## Minor improvements and bug fixes -!begin-bullets-7! +!begin-bullets-8! - !begin-bullet! The httr2 examples now only run on R 4.2 and later so that we can @@ -348,11 +364,11 @@ !end-bullet! -!end-bullets-7! +!end-bullets-8! # httr2 0.2.3 -!begin-bullets-8! +!begin-bullets-9! - !begin-bullet! New `example_url()` to launch a local server, making tests and @@ -387,11 +403,11 @@ !end-bullet! -!end-bullets-8! +!end-bullets-9! # httr2 0.2.2 -!begin-bullets-9! +!begin-bullets-10! - !begin-bullet! `curl_translate()` can now handle curl copied from Chrome developer @@ -429,11 +445,11 @@ !end-bullet! -!end-bullets-9! +!end-bullets-10! # httr2 0.2.1 -!begin-bullets-10! +!begin-bullets-11! - !begin-bullet! "Wrapping APIs" is now an article, not a vignette. @@ -445,13 +461,13 @@ !end-bullet! -!end-bullets-10! +!end-bullets-11! # httr2 0.2.0 ## New features -!begin-bullets-11! +!begin-bullets-12! - !begin-bullet! `req_body_form()`, `req_body_multipart()`, and `req_url_query()` now @@ -475,11 +491,11 @@ !end-bullet! -!end-bullets-11! +!end-bullets-12! ## Minor improvements and bug fixes -!begin-bullets-12! +!begin-bullets-13! - !begin-bullet! `httr_path` class renamed to `httr2_path` to correctly match package @@ -524,11 +540,11 @@ !end-bullet! -!end-bullets-12! +!end-bullets-13! # httr2 0.1.1 -!begin-bullets-13! +!begin-bullets-14! - !begin-bullet! Fix R CMD check failures on CRAN @@ -539,4 +555,4 @@ !end-bullet! -!end-bullets-13! +!end-bullets-14! diff --git a/news-files/hashes.rds b/news-files/hashes.rds index ac0dacf1..d09f2b4e 100644 Binary files a/news-files/hashes.rds and b/news-files/hashes.rds differ diff --git a/news-files/httr2.md b/news-files/httr2.md index 21255d9a..b484e838 100644 --- a/news-files/httr2.md +++ b/news-files/httr2.md @@ -1,5 +1,10 @@ # httr2 (development version) +* `req_perform_parallel()` now respects error handling in `req_error()` +* New function `req_perform_promise()` allows creating a `promises::promise` for a request that runs in the background (#501, @gergness). + +# httr2 1.0.2 + * `req_body_file()` now only opens a connection when the request actually needs data. In particular, this makes it work better with `req_perform_parallel()` (#487). * `req_cache()` no longer fails if the `rds` files are somehow corrupted and now defaults the `debug` argument to the `httr2_cache_debug` option to make it easier to debug caching buried in other people's code (#486). * `req_oauth_password()` now only asks for your password once (#498). diff --git a/previous_updates.csv b/previous_updates.csv index 8d4180de..7b90d7c1 100644 --- a/previous_updates.csv +++ b/previous_updates.csv @@ -17475,3 +17475,4 @@ bslib,02fa7f12fa4c07d44f4f0c61207c67de,Fixed a bug in `layout_sidebar()` that ca bslib,815a8d14d8f6c1434e9b30abf5d7d9cc,We've adjusted the sidebar design when collapsible on mobile screens to reduce the space used by the sidebar toggle button and to ensure that main and sidebar content do not scroll underneath the toggle button when the sidebar is collapsed. (#1084),NA,NA,NA,NA bslib,437006e5dabc2e600932ea6a9a2aab3f,"The main content area of `page_sidebar()` and `page_navbar()` with a `sidebar` now have a minimum height and width to avoid squashed content in fillable layouts. The minimum height and width are controllable via Sass and CSS variables (see the pull requests for details). (#1057, #1059, #1084)",NA,NA,NA,NA gt,d095be536bff4564a2edd84229c550de,"PDF output now defaults to a full-width floating environment using `tabular*` (@​AronGullickson, #1588). Float position can be controlled by the `latex.tbl.pos` argument in `tab_options`. Quarto users can alternatively use the `tbl-pos` argument to control positioning. To use a `longtable` environment instead, use `tab_option(latex.use_longtable = TRUE)`.",NA,NA,NA,NA +httr2,d6fe308949602d99adb70389a53e200a,"New function `req_perform_promise()` allows creating a `promises::promise` for a request that runs in the background (#501, @​gergness).",NA,NA,NA,NA diff --git a/refresh-token.rds b/refresh-token.rds index d04e94ed..0d0b80a8 100644 Binary files a/refresh-token.rds and b/refresh-token.rds differ