PRAW v4.5.0 Release Notes
Release Date: 2017-04-29 // almost 7 years ago-
โ Added
- :meth:
~praw.models.reddit.subreddit.Modmail.unread_count
to get unread count by conversation state. - :meth:
~praw.models.reddit.subreddit.Modmail.bulk_read
to mark conversations as read by conversation state. - :meth:
~praw.models.reddit.subreddit.Modmail.subreddits
to fetch subreddits using new modmail. - :meth:
~praw.models.reddit.subreddit.Modmail.create
to create a new modmail conversation. - :meth:
~praw.models.ModmailConversation.read
to mark modmail conversations as read. - :meth:
~praw.models.ModmailConversation.unread
to mark modmail conversations as unread. - :meth:
~praw.models.reddit.subreddit.Modmail.conversations
to get new modmail conversations. - :meth:
~praw.models.ModmailConversation.highlight
to highlight modmail conversations. - :meth:
~praw.models.ModmailConversation.unhighlight
to unhighlight modmail conversations. - :meth:
~praw.models.ModmailConversation.mute
to mute modmail conversations. - :meth:
~praw.models.ModmailConversation.unmute
to unmute modmail conversations. - :meth:
~praw.models.ModmailConversation.archive
to archive modmail conversations. - :meth:
~praw.models.ModmailConversation.unarchive
to unarchive modmail conversations. - :meth:
~praw.models.ModmailConversation.reply
to reply to modmail conversations. - :meth:
~praw.models.reddit.subreddit.Modmail.__call__
to get a new modmail conversation. - :meth:
.Inbox.stream
to stream new items in the inbox. - Exponential request delay to all streams when no new items are returned in a request. The maximum delay between requests is 66 seconds.
๐ Changed
- :meth:
.submit
acceptsselftext=''
to create a title-only submission. - :class:
.Reddit
acceptsrequestor_class=cls
for a customized requestor class andrequestor_kwargs={'param': value}
for passing arguments to requestor initialization. - :meth:
~praw.models.reddit.subreddit.SubredditStream.comments
, :meth:~praw.models.reddit.subreddit.SubredditStream.submissions
, and :meth:~praw.models.Subreddits.stream
accept apause_after
argument to allow pausing of the stream. The default value ofNone
retains the preexisting behavior.
๐ Deprecated
- 0๏ธโฃ
cloudsearch
will no longer be the default syntax for :meth:.Subreddit.search
in PRAW 5. Insteadlucene
will be the default syntax so that PRAW's default is aligned with Reddit's default.
๐ Fixed
- ๐ Fix bug where :class:
.WikiPage
revisions with deleted authors causedTypeError
. - :class:
.Submission
attributescomment_limit
andcomment_sort
maintain their values after making instances non-lazy.
- :meth: