NEWS


httr 1.4.7.9000

httr 1.4.7 (2023-08-15)

httr 1.4.6 (2023-05-08)

httr 1.4.5 (2023-02-24)

httr 1.4.4 (2022-08-17)

httr 1.4.3 (2022-05-03)

httr 1.4.2 (2020-07-20)

httr 1.4.1 (2019-08-05)

httr 1.4.0 (2018-12-11)

OAuth

OAuth2.0 has been made somewhat more flexible in order to support more websites:

Updates to demos:

Minor changes and improvements

httr 1.3.1 (2017-08-20)

httr 1.3.0 (2017-08-16)

API changes

New features

OAuth

Minor bug fixes and improvements

httr 1.2.1 (2016-07-03)

httr 1.2.0 (2016-06-15)

New features

Bug fixes and minor improvements

httr 1.1.0 (2016-01-28)

New features

OAuth

Bug fixes and minor improvements

httr 1.0.0 (2015-06-25)

Minor improvements and bug fixes

httr 0.6.1 (2015-01-01)

httr 0.6.0 (2014-12-13)

New features

Minor improvements and bug fixes

Deprecated and deleted functions

httr 0.5 (2014-09-02)

Caching

Minor improvements and bug fixes

httr 0.4 (2014-07-28)

New features

Documentation improvements

Minor improvements

Bug fixes

httr 0.3 (2014-03-20)

OAuth improvements

OAuth 2.0 has recieved a major overhaul in this version. The authentication dance now works in more environments (including RStudio), and is generally a little faster. When working on a remote server, or if R's internet connection is constrained in other ways, you can now use out-of-band authentication, copying and pasting from any browser to your R session. OAuth tokens from endpoints that regularly expire access tokens can now be refreshed, and will be refresh automatically on authentication failure.

httr now uses project (working directory) based caching: every time you create or refresh a token, a copy of the credentials will be saved in .httr-oauth. You can override this default for individual tokens with the cache parameter, or globally with the httr_oauth_cache option. Supply either a logical vector (TRUE = always cache, FALSE = never cache, NA = ask), or a string (the path to the cache file).

You should NOT include this cache file in source code control - if you do, delete it, and reset your access token through the corresponding web interface. To help, httr will automatically add appropriate entries to .gitignore and .Rbuildignore.

These changes mean that you should only ever have to authenticate once per project, and you can authenticate from any environment in which you can run R. A big thanks go to Craig Citro (@craigcitro) from google, who contributed much code and many ideas to make this possible.

Other improvements

Bug fixes

httr 0.2 (2012-10-11)

httr 0.1.1 (2012-06-19)