pypi praw 7.3.0
v7.3.0

latest releases: 7.7.1, 7.7.0, 7.6.1...
3 years ago

7.3.0 (2021/06/17)

Added

  • :class:.UserSubreddit for the subreddit attribute of :class:.Redditor.
  • :meth:.Reddit.username_available checks if a username is available.
  • :meth:.trusted to retrieve a :class:.RedditorList of trusted users.
  • :meth:.trust to add a user to the trusted list.
  • :meth:.distrust to remove a user from the trusted list.
  • :class:.SQLiteTokenManager (may not work on Windows)

Changed

  • :meth:.Redditor.moderated will now objectify all data returned from the API.
  • The wiki_edit endpoint has been changed from r/{subreddit}/api/wiki/edit/ to
    r/{subreddit}/api/wiki/edit.
  • :meth:.Redditor.block no longer needs to retrieve a user's fullname.

Deprecated

Fixed

  • Fixed bug where :meth:.WikiPage.edit and :meth:.SubredditWiki.create would fail if
    passed content and reason parameters that produced a request with a body
    greater than 500 KiB, even when the parameters did not exceed their respective
    permitted maximum lengths.
  • Fixed bug where :meth:.Reddit.request could not handle instances of BadRequest\s
    when the JSON data contained only the keys "reason" and "message".
  • Fixed bug where :meth:.Reddit.request could not handle instances of BadRequest\s
    when the response did not contain valid JSON data.
  • Fixed bug where :meth:.FullnameMixin.fullname sometimes returned the wrong fullname.

Don't miss a new praw release

NewReleases is sending notifications on new releases.