PRAW v7.6.0 Release Notes
Release Date: 2022-05-10 // over 3 years ago-
➕ Added
- 📌 :meth:
.pinto manage pinned submissions on the authenticated user's profile. - :meth:
.update_display_layoutto update the display layout of posts in a :class:.Collection. - :meth:
.SubredditCollectionsModeration.createkeyword argumentdisplay_layoutfor specifying a display layout when creating a :class:.Collection. - :attr:
~.Message.parentto get the parent of a :class:.Message. - :class:
.ModNoteto represent a moderator note. - :meth:
.ModNote.deleteto delete a single moderator note. - :class:
.RedditModNotesto interact with moderator notes from a :class:.Redditinstance. This provides the ability to create and fetch notes for one or more redditors from one or more subreddits. - :class:
.RedditorModNotesto interact with moderator notes from a :class:.Redditorinstance. - :meth:
.RedditorModNotes.subredditsto obtain moderator notes from multiple subreddits for a single redditor. - :class:
.SubredditModNotesto interact with moderator notes from a :class:.Subredditinstance. - :meth:
.SubredditModNotes.redditorsto obtain moderator notes for multiple redditors from a single subreddit. - :meth:
~.BaseModNotes.createto create a moderator note. - :attr:
.Redditor.notesto interact with :class:.RedditorModNotes. - :attr:
.SubredditModeration.notesto interact with :class:.SubredditModNotes. - :meth:
~.ModNoteMixin.create_notecreate a moderator note from a :class:.Commentor :class:.Submission. - :meth:
~.ModNoteMixin.author_notesto view the moderator notes for the author of a :class:.Commentor :class:.Submission.
🔄 Changed
- ⬇️ Drop support for Python 3.6, which is end-of-life on 2021-12-23.
- :meth:
.conversationsnow returns a :class:.ListingGeneratorallowing you to page through more than 100 conversations.
🗄 Deprecated
- The
afterargument for :meth:.conversationswill now have to be included inparamskeyword argument. - Positional keyword arguments for applicable functions and methods. Starting with PRAW 8, most functions and methods will no longer support positional arguments. It will encourage more explicit argument passing, enable arguments to be sorted alphabetically, and prevent breaking changes when adding new arguments to existing methods.
- 📌 :meth:
Previous changes from v7.5.0
-
➕ Added
- ⚡️ Log a warning if a submission's
comment_sortattribute is updated after the submission has already been fetched and awarn_comment_sortconfig setting to turn off the warning. - :meth:
.user_selectableto get available subreddit link flairs. - 👍 Automatic RateLimit handling will support errors with millisecond resolution.
🛠 Fixed
- An import error when using PRAW in environments where
libsqlite3-devis needed to utilize thesqlite3builtin. - 🛠 Fixed bug where some keyword arguments that are passed to :meth:
.Draft.submitwould not have an effect.
- ⚡️ Log a warning if a submission's