PRAW v7.3.0 Release Notes
Release Date: 2021-06-17 // almost 3 years ago-
โ Added
- :class:
.UserSubreddit
for thesubreddit
attribute of :class:.Redditor
. - :meth:
.Reddit.username_available
checks if a username is available. - :meth:
.trusted
to retrieve a :class:.RedditorList
of trusted users. - :meth:
.trust
to add a user to the trusted list. - ๐ :meth:
.distrust
to remove a user from the trusted list. - ๐ :class:
.SQLiteTokenManager
(may not work on Windows)
๐ Changed
- :meth:
.Redditor.moderated
will now objectify all data returned from the API. - The
wiki_edit
endpoint has been changed fromr/{subreddit}/api/wiki/edit/
tor/{subreddit}/api/wiki/edit
. - :meth:
.Redditor.block
no longer needs to retrieve a user's fullname.
๐ Deprecated
- The
subreddit
attribute of :class:.Redditor
is no longer a dict. - ๐ Legacy modmail is slated for deprecation by Reddit in June 2021. See https://www.reddit.com/r/modnews/comments/mar9ha/even_more_modmail_improvements/ for more info.
๐ Fixed
- ๐ Fixed bug where :meth:
.WikiPage.edit
and :meth:.SubredditWiki.create
would fail if passedcontent
andreason
parameters that produced a request with a body greater than 500 KiB, even when the parameters did not exceed their respective permitted maximum lengths. - ๐ Fixed bug where :meth:
.Reddit.request
could not handle instances ofBadRequest
\s when the JSON data contained only the keys "reason" and "message". - ๐ Fixed bug where :meth:
.Reddit.request
could not handle instances ofBadRequest
\s when the response did not contain valid JSON data. - ๐ Fixed bug where :meth:
.FullnameMixin.fullname
sometimes returned the wrong fullname.
- :class: