
PRAW v7.1.1 Release Notes

Release Date: 2021-02-02 // 12 months ago
  • Added

    • ➕ Add method :meth:~.Subreddits.premium to reflect the naming change in Reddit's API.
    • Ability to submit image galleries with :meth:~.Subreddit.submit_gallery.
    • Ability to pass a gallery url to :meth:.Reddit.submission.
    • Ability to specify modmail mute duration.
    • ➕ Add method :meth:.invited to get invited moderators of a subreddit.
    • Ability to submit text/self posts with inline media.
    • ➕ Add method :meth:~.Submission.award and :meth:~.Comment.award with the ability to specify type of award, anonymity, and message when awarding a submission or comment.
    • Ability to specify subreddits by name using the subreddits parameter in :meth:.Reddit.info.
    • 👀 A check to see if PRAW is running in an asynchronous environment and will advise the user to use Async PRAW <https://asyncpraw.readthedocs.io>_. This also adds a configuration option to disable the check.

    🔄 Changed

    • ⬇️ Drop support for Python 3.5, which is end-of-life on 2020-09-13.
    • :class:~.BoundedSet will now utilize a Last-Recently-Used (LRU) storing mechanism, which will change the order in which elements are removed from the set.
    • Improved :meth:~.Subreddit.submit_image and :meth:~.Subreddit.submit_video performance in slow network environments by removing a race condition when establishing a websocket connection.

    🗄 Deprecated

    • :meth:~.Subreddits.gold is superseded by :meth:~.Subreddits.premium.
    • :meth:~.Submission.gild is superseded by :meth:~.Submission.award.
    • :meth:~.Comment.gild is superseded by :meth:~.Comment.award.

    🛠 Fixed

    • An issue where leaving as a moderator fails if you are using token auth.
    • An issue where an incorrect error was being raised due to invalid submission urls.
    • Some cases where streams yield the same item multiple times. This cannot be prevented in every case.
{"cc_re__cc_re__cc_by_sa_4_0": ["s://www.linode.com/?r=627fe8a9c8b3620458d55732f34a9d98d3e5d845\"\n          style=\"color: #02b159; font-weight: bold;\"\n          target=\"_blank\"\n          rel=\"nofollow\">\n          Linode\n        </a>\n      </div>\n    </div>\n  </footer>\n  <div class=\"row bottom-line\">\n    <div class=\"column\">\n      <strong>Awesome Python</strong> is part of the <a href='https://www.libhunt.com'>LibHunt</a> network.\n      <a href='/terms'>Terms</a>.\n      <a href='/privacy'>Privacy Policy</a>.\n      <br><br>\n      <a rel=\"license\" href=\"https://creativecommons.org/licenses/by-sa/4.0/\" class=\"cc-license\">\n        <div class=\"cc\">(CC)</div><div class=\"type\">BY-SA</div>\n      </a>\n    </div>\n  </div>\n</div>\n\n\n\n\n<script defer src=\"https://static.cloudflareinsights.com/beacon.min.js/v652eace1692a40cfa3763df669d7439c1639079717194\" integrity=\"sha512-Gi7xpJR8tSkrpF7aordPZQlW2DLtzUlZcumS8dMQjwDHEnw9I7ZLyiOj/6tZStRBGtGgN6ceN6cMH8z7etPGlw==\" data-cf-beacon='{\"rayId\":\"6d04edfeab5f81fd\",\"token\":\"b92a297f3ca34981a17eb307c2800ae2\",\"version\":\"2021.12.0\",\"si\":100}' crossorigin=\"anonymous\"></script>\n</body>\n</ht"]}