v7.3.0
7.3.0 (2021/06/17)
Added
- :class:
.UserSubredditfor thesubredditattribute of :class:.Redditor. - :meth:
.Reddit.username_availablechecks if a username is available. - :meth:
.trustedto retrieve a :class:.RedditorListof trusted users. - :meth:
.trustto add a user to the trusted list. - :meth:
.distrustto remove a user from the trusted list. - :class:
.SQLiteTokenManager(may not work on Windows)
Changed
- :meth:
.Redditor.moderatedwill now objectify all data returned from the API. - The
wiki_editendpoint has been changed fromr/{subreddit}/api/wiki/edit/to
r/{subreddit}/api/wiki/edit. - :meth:
.Redditor.blockno longer needs to retrieve a user's fullname.
Deprecated
- The
subredditattribute of :class:.Redditoris 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.editand :meth:.SubredditWiki.createwould fail if
passedcontentandreasonparameters 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.requestcould not handle instances ofBadRequest\s
when the JSON data contained only the keys "reason" and "message". - Fixed bug where :meth:
.Reddit.requestcould not handle instances ofBadRequest\s
when the response did not contain valid JSON data. - Fixed bug where :meth:
.FullnameMixin.fullnamesometimes returned the wrong fullname.