Releases: praw-dev/asyncprawcore
Releases · praw-dev/asyncprawcore
v2.4.0
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
2.3.0 (2021/07/27)
Added
- 301 redirects result in a
Redirect
exception. Requestor
is now initialized with atimeout
parameter.ScriptAuthorizer
,ReadOnlyAuthorizer
, andDeviceIDAuthorizer
have a
new parameter,scopes
, which determines the scope of access requests.- Retry 408 "Request Timeout" HTTP responses.
v2.2.1
2.2.1 (2021/07/06)
Changed
- Cast non-string objects to string when preprocessing
data
andparams
.
v2.2.0
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
2.1.0 (2021/06/15)
Added
- Add a
URITooLarge
exception. - :class:
.ScriptAuthorizer
has a new parametertwo_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
Bump to 2.0.1
v2.0.0
Bump to 2.0.0
v1.5.1
Changed
- Improved preprocessing for
data
andparams
inSession.request()
.
v1.5.0
Changed
- Added preprocessing for
data
andparams
inasyncprawcore.Session.request()
for compatibility withaiohttp
.
Fixed
- Keys with a
None
value in thedata
orparams
parameters for
asyncprawcore.Session.request()
are now dropped as
aiohttp.ClientSession.request()
does not acceptNone
values indata
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 inparams
.
v1.4.0.post2
Fixed
- How files are handled.
data
is now able to be passed withfiles
since
asyncpraw can make requests with both parameters. - Fixed
SpecialException
not able to getresponse.json()
since it is a coroutine.