Skip to content

v7.6.0

Compare
Choose a tag to compare
@github-actions github-actions released this 23 Oct 20:22

7.6.0 (2022/10/23)

Added

  • :meth:.pin to manage pinned submissions on the authenticated user's profile.
  • :meth:.update_display_layout to update the display layout of posts in a
    :class:.Collection.
  • :meth:.SubredditCollectionsModeration.create keyword argument display_layout for
    specifying a display layout when creating a :class:.Collection.
  • :attr:~.Message.parent to get the parent of a :class:.Message.
  • :class:.ModNote to represent a moderator note.
  • :meth:.ModNote.delete to delete a single moderator note.
  • :class:.RedditModNotes to interact with moderator notes from a :class:.Reddit
    instance. This provides the ability to create and fetch notes for one or more
    redditors from one or more subreddits.
  • :class:.RedditorModNotes to interact with moderator notes from a :class:.Redditor
    instance.
  • :meth:.RedditorModNotes.subreddits to obtain moderator notes from multiple
    subreddits for a single redditor.
  • :class:.SubredditModNotes to interact with moderator notes from a
    :class:.Subreddit instance.
  • :meth:.SubredditModNotes.redditors to obtain moderator notes for multiple redditors
    from a single subreddit.
  • :meth:~.BaseModNotes.create to create a moderator note.
  • :attr:.Redditor.notes to interact with :class:.RedditorModNotes.
  • :attr:.SubredditModeration.notes to interact with :class:.SubredditModNotes.
  • :meth:~.ModNoteMixin.create_note create a moderator note from a :class:.Comment or
    :class:.Submission.
  • :meth:~.ModNoteMixin.author_notes to view the moderator notes for the author of a
    :class:.Comment or :class:.Submission.

Changed

  • Drop support for Python 3.6, which is end-of-life on 2021-12-23.
  • :meth:.conversations now returns a :class:.ListingGenerator allowing you to page
    through more than 100 conversations.

Deprecated

  • The after argument for :meth:.conversations will now have to be included in
    params keyword argument.
  • Positional keyword arguments for applicable functions and methods. Starting with Async
    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.