PRAW v6.5.0 Release Notes
Release Date: 2020-01-05 // about 4 years ago-
โ Added
- :meth:
.set_original_content
supports marking a submission as original content. - :meth:
.unset_original_content
supports unmarking a submission as original content. - :meth:
.Redditor.moderated
to get a list of a Redditor's moderated subreddits. - Parameter
without_websockets
to :meth:~.Subreddit.submit_image
and :meth:~.Subreddit.submit_video
to submit without using WebSockets. - ๐ :meth:
.Reddit.redditor
supportsfullname
param to fetch a Redditor by the fullname instead of name. :class:.Redditor
constructor now also hasfullname
param. - โ Add :class:
.RemovalReason
and :class:.SubredditRemovalReasons
to work with removal reasons - Attribute
removal_reasons
to :class:.SubredditModeration
to interact with new removal reason classes - Parameters
mod_note
andreason_id
to :meth:.ThingModerationMixin.remove
to optionally apply a removal reason on removal - โ Add :class:
.SubredditModerationStream
to enable moderation streams - Attribute
stream
to :class:.SubredditModeration
to interact with new moderation streams - โ Add :meth:
.SubredditModerationStream.edited
to allow streaming of :meth:.SubredditModeration.edited
- โ Add :meth:
.SubredditModerationStream.log
to allow streaming of :meth:.SubredditModeration.log
- โ Add :meth:
.SubredditModerationStream.modmail_conversations
to allow streaming of :meth:.Modmail.conversations
- โ Add :meth:
.SubredditModerationStream.modqueue
to allow streaming of :meth:.SubredditModeration.modqueue
- โ Add :meth:
.SubredditModerationStream.reports
to allow streaming of :meth:.SubredditModeration.reports
- โ Add :meth:
.SubredditModerationStream.spam
to allow streaming of :meth:.SubredditModeration.spam
- โ Add :meth:
.SubredditModerationStream.unmoderated
to allow streaming of :meth:.SubredditModeration.unmoderated
- โ Add :meth:
.SubredditModerationStream.unread
to allow streaming of :meth:.SubredditModeration.unread
- Parameter
exclude_before
to :func:.stream_generator
to allow :meth:.SubredditModerationStream.modmail_conversations
to work - Parameters
allowable_content
andmax_emojis
to :meth:~.SubredditRedditorFlairTemplates.add
, :meth:~.SubredditLinkFlairTemplates.add
, and :meth:~.SubredditFlairTemplates.update
, as well as its child classes.
๐ Deprecated
- Method
reddit.user.moderator_subreddits
as :meth:.Redditor.moderated
provides more functionality. - ๐ The file for ModActions (praw/models/modaction.py) has been moved to praw/models/mod_action.py and the previous has been Deprecated.
Expected Changes
- The behavior of func:
APIException
will no longer unicode-escape strings in the next minor release
- :meth: