Add method :meth:~.Subreddits.premium to reflect the naming change in Reddit's API.
Ability to submit image galleries with :meth:.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:.submit_image and :meth:.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.
Commits
0f82960 Merge pull request #1634 from LilSpazJoekp/master
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps praw from 7.1.0 to 7.1.1.
Release notes
Sourced from praw's releases.
Changelog
Sourced from praw's changelog.
Commits
0f82960
Merge pull request #1634 from LilSpazJoekp/master0570ff4
Bump version2c8eb23
Merge pull request #1618 from LilSpazJoekp/fix_doc_errors0753a29
Fix typos in docs0fd0ef2
Change instances of "Note that" to use note directivee619bc2
Format long strings with black's--experimental-string-processing
flag7665c25
Clean up code3182e90
Change to seealso directive71d9ba7
Replace (c) with ©7c6f130
Change Raise(s) to use the :raises: directiveDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)