v7.8.0
7.8.0 (2024/10/20)
Added
-
:meth:
~.SubredditLinkFlairTemplates.reorderto reorder a subreddit's link flair
templates. -
:meth:
~.SubredditRedditorFlairTemplates.reorderto reorder a subreddit's redditor
flair templates. -
Experimental :meth:
~.Submission._edit_experimentalfor adding new inline media or
editing a submission that has inline media... danger::
This method is experimental. It is reliant on undocumented API endpoints and may result in existing inline media not displaying correctly and/or creating a malformed body. Use at your own risk. This method may be removed in the future without warning.This method is identical to :meth:
.Submission.editexcept for the following:- The ability to add inline media to existing posts.
- Additional
preserve_inline_mediakeyword argument to allow Async PRAW to attempt
to preserve the existing inline media when editing a post. This is an experimental
fix for an issue that occurs when editing a post with inline media would cause the
media to lose their inline appearance.
-
:func:
.stream_generatornow accepts thecontinue_after_idparameter, which
starts the stream after a given item ID. -
Support for new share URL format created from Reddit's mobile apps.
-
:class:
.Reddithas a new configurable parameter,window_size. This tells PRAW
how long reddit's rate limit window is. This defaults to 600 seconds and shouldn't
need to be changed unless reddit changes the size of their rate limit window.
Fixed
- An issue where submitting a post with media would fail due to an API change.
Changed
- Drop support for Python 3.7, which is end-of-life on 2023-06-27.
Fixed
- XML parsing error when media uploads fail.