Skip to content

Releases: praw-dev/asyncprawcore

v2.4.0

27 Nov 03:38
Compare
Choose a tag to compare

2.4.0 (2023/11/27)

Changed

  • Drop support for Python 3.6, which is end-of-life on 2021-12-23.
  • :class:DeviceIDAuthorizer can be now used with :class:TrustedAuthenticator.
  • Updated rate limit algorithm to better handle reddit's new rate limits.
  • Drop support for Python 3.7, which is end-of-life on 2023-06-27.

v2.3.0

27 Jul 18:14
Compare
Choose a tag to compare

2.3.0 (2021/07/27)

Added

  • 301 redirects result in a Redirect exception.
  • Requestor is now initialized with a timeout parameter.
  • ScriptAuthorizer, ReadOnlyAuthorizer, and DeviceIDAuthorizer have a
    new parameter, scopes, which determines the scope of access requests.
  • Retry 408 "Request Timeout" HTTP responses.

v2.2.1

06 Jul 22:37
Compare
Choose a tag to compare

2.2.1 (2021/07/06)

Changed

  • Cast non-string objects to string when preprocessing data and params.

v2.2.0

15 Jun 18:13
Compare
Choose a tag to compare

2.2.0 (2021/06/15)

Added

  • Support 202 "Accepted" HTTP responses.

Fixed

  • The expected HTTP response status code for a request made with the proper credentials
    to api/v1/revoke_token has been changed from 204 to 200.

v2.1.0

15 Jun 03:15
Compare
Choose a tag to compare

2.1.0 (2021/06/15)

Added

  • Add a URITooLarge exception.
  • :class:.ScriptAuthorizer has a new parameter two_factor_callback that supplies
    OTPs (One-Time Passcodes) when :meth:.ScriptAuthorizer.refresh is called.
  • Add a TooManyRequests exception.

Fixed

  • Fix RuntimeWarning when executing pre/post refresh token callbacks.

v2.0.1

25 Feb 02:13
645db15
Compare
Choose a tag to compare
Bump to 2.0.1

v2.0.0

24 Feb 05:07
3a0a363
Compare
Choose a tag to compare
Bump to 2.0.0

v1.5.1

25 Jan 23:47
d02fba3
Compare
Choose a tag to compare

Changed

  • Improved preprocessing for data and params in Session.request().

v1.5.0

29 Sep 00:42
61db5e7
Compare
Choose a tag to compare

Changed

  • Added preprocessing for data and params in asyncprawcore.Session.request()
    for compatibility with aiohttp.

Fixed

  • Keys with a None value in the data or params parameters for
    asyncprawcore.Session.request() are now dropped as
    aiohttp.ClientSession.request() does not accept None values in data and
    params.
  • Keys with a boolean value in the params parameter for
    asyncprawcore.Session.request() are now casted to a string as
    aiohttp.ClientSession.request() does not accept boolean values in params.

v1.4.0.post2

13 Jul 03:23
29ffc7a
Compare
Choose a tag to compare

Fixed

  • How files are handled. data is now able to be passed with files since
    asyncpraw can make requests with both parameters.
  • Fixed SpecialException not able to get response.json() since it is a coroutine.