PRAW v5.0.0 Release Notes

Release Date: 2017-07-04 // over 4 years ago
  • โž• Added

    • :meth:.Comment.disable_inbox_replies, :meth:.Comment.enable_inbox_replies :meth:.Submission.disable_inbox_replies, and :meth:.Submission.enable_inbox_replies to toggle inbox replies on comments and submissions.

    ๐Ÿ”„ Changed

    • 0๏ธโƒฃ cloudsearch is no longer the default syntax for lucene is now the default syntax so that PRAW's default is aligned with Reddit's default.
    • will now take either a list of fullnames or a single URL string.
    • :meth:.Subreddit.submit accepts a flair template ID and text.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix accessing :attr:.LiveUpdate.contrib raises AttributeError.

    โœ‚ Removed

    • Iterating directly over :class:.SubredditRelationship (e.g., subreddit.banned, subreddit.contributor, subreddit.moderator, etc) and :class:.SubredditFlair is no longer possible. Iterate instead over their callables, e.g. subreddit.banned() and subreddit.flair().
    • ๐Ÿšš The following methods are removed: Subreddit.mod.approve, Subreddit.mod.distinguish, Subreddit.mod.ignore_reports, Subreddit.mod.remove, Subreddit.mod.undistinguish, Subreddit.mod.unignore_reports.
    • ๐Ÿ‘Œ Support for passing a :class:.Submission to :meth:.SubredditFlair.set is removed.
    • ๐Ÿšš The thing argument to :meth:.SubredditFlair.set is removed.
    • Return values from :meth:.Comment.block, :meth:.Message.block, :meth:.SubredditMessage.block, :meth:.SubredditFlair.delete, :meth:.friend, :meth:.Redditor.message, :meth:.Subreddit.message,, and :meth:.unfriend are removed as they do not provide any useful information.
    • praw.ini no longer reads in http_proxy and https_proxy settings.
    • is_link parameter of :meth:.SubredditRedditorFlairTemplates.add and :meth:.SubredditRedditorFlairTemplates.clear. Use :class:.SubredditLinkFlairTemplates instead.