PRAW v7.5.0 Release Notes

Release Date: 2021-11-13 // 3 months ago
  • โž• Added

    • โšก๏ธ Log a warning if a submission's comment_sort attribute is updated after the submission has already been fetched and a warn_comment_sort config setting to turn off the warning.
    • :meth:.user_selectable to 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-dev is needed to utilize the sqlite3 builtin.
    • ๐Ÿ›  Fixed bug where some keyword arguments that are passed to :meth:.Draft.submit would not have an effect.

Previous changes from v7.4.0

  • โž• Added

    • :meth:~.WikiPage.discussions to obtain site-wide link submissions that link to the WikiPage.
    • โช :meth:.revert to revert a WikiPage to a specified revision.
    • :meth:.Inbox.mark_all_read to mark all messages as read with one API call.
    • :meth:~.InboxableMixin.unblock_subreddit to unblock a subreddit.
    • :meth:.update_crowd_control_level to update the crowd control level of a post.
    • :meth:.moderator_subreddits, which returns information about the subreddits that the authenticated user moderates, has been restored.
    • ๐Ÿ‘€ The configuration setting refresh_token has been added back. See https://www.reddit.com/r/redditdev/comments/olk5e6/followup_oauth2_api_changes_regarding_refresh/ for more info.
    • :class:.Draft to represent a submission draft.
    • :meth:.Draft.delete to delete drafts.
    • :meth:.Draft.submit to submit drafts.
    • โšก๏ธ :meth:.Draft.update to modify drafts.
    • :class:.DraftHelper to fetch or create drafts on new Reddit.
    • :class:.DraftList to represent a list of :class:.Draft objects.

    ๐Ÿ”„ Changed

    • :meth:.Reddit.delete now accepts the params parameter.

    ๐Ÿ—„ Deprecated

    • :class:.Reddit keyword argument token_manager.