Skip to content

Conversation

@dependabot-preview
Copy link

Bumps praw from 6.3.1 to 7.1.0.

Changelog

Sourced from praw's changelog.

7.1.0 (2020/06/22)

Added

  • .Rule to represent one rule of a subreddit.
  • .SubredditRules to get and add rules.
  • Ability to submit polls with .submit_poll.
  • .PollData and .PollOption.
  • Ability to view poll data and poll options via the .poll_data attribute on poll submissions.
  • Add method ~.Reddit.delete to .Reddit class to support HTTP DELETE requests.
  • Added .CalendarConfiguration to represent the configuration of a .Calendar widget.
  • Added .Hover to represent the hover state of a .Button.
  • Added .Styles to represent widget styling information.
  • Ability to stream live thread updates via new class .LiveThreadStream with method ~.LiveThreadStream.updates.

Changed

  • .RemovalReason.update's parameters are now optional.
  • .SubredditRemovalReasons.__getitem__ now takes integers and slices to get removal reasons from the list of reasons as returned by Reddit.

Deprecated

  • .WebSocketException.original_exception is deprecated and slated for removal in PRAW 8.0.

Fixed

  • An issue where certain subreddit settings could not be set through .SubredditModeration.update, such as welcome_message_enabled and welcome_message_text. This change also removes the need for PRAW to track current subreddit settings and send unmodified ones in the update request.
  • Instances of BadRequests captured by PRAW that do not contain any detailed JSON data are re-raised as the original BadRequest.
  • .submit_image and .submit_video will throw .MediaPostFailed when Reddit fails to post an image or video post.

7.0.0 (2020/04/24)

Added

  • config_interpolation parameter for .Reddit supporting basic and extended modes.
  • Add .Redditors.partial_redditors that returns lightweight redditor objects that contain only a few fields. This is useful for resolving Redditor IDs to their usernames in bulk.
  • .User.friends has a new parameter user that takes either an instance of .Redditor or a string containing a redditor name and returns an instance of .Redditor if the authenticated user is friends with the user, otherwise throws an exception.
  • .SubmissionModeration.flair has the parameter flair_template_id for applying flairs with template IDs.
  • ~.Emoji.update supports modifying an emoji's permissions.
  • ~.SubredditEmoji.add now supports optionally passing booleans to set an emoji's permissions upon upload.
  • Methods .SubredditLinkFlairTemplates.update and .SubredditRedditorFlairTemplates.update contain a new parameter, fetch, that toggles the automatic fetching of existing data from Reddit. It is set to True by default.
  • Values in methods .SubredditLinkFlairTemplates.update and .SubredditRedditorFlairTemplates.update that are left as the defaults will no longer be over-written if the fetch parameter is set to True, but will fill in existing values for the flair template.
  • The parameter text for methods .SubredditLinkFlairTemplates.update and .SubredditRedditorFlairTemplates.update is no longer required.
  • There is a new method, .Subreddit.post_requirements, to fetch a subreddit's post requirements.
  • Method .SubmissionModeration.sticky will now ignore the Confict exception generated by trying to sticky the same post multiple times.
  • A new method .CommentModeration.show will uncollapse a comment that was collapsed because of Crowd Control
  • Methods .Subreddit.submit_image and .Subreddit.submit_video will throw .TooLargeMediaException if the submitted media is rejected by Reddit due to the size of the media.
  • Class .Reddit has an attribute, validate_on_submit, that can be set after class initialization that causes methods .Subreddit.submit, .Subreddit.submit_image, .Subreddit.submit_video, and .Submission.edit to check that the submission matches a subreddit's post validation rules. This attribute will be functionally useless once Reddit implements their change. This attribute will be deprecated on the next release after Reddit's change, and will be removed on the next major release after Reddit's change.
Commits
  • 85da77d Merge pull request #1526 from jarhill0/bump-version
  • 98ce830 Bump to version 7.1.0
  • ddf9e76 Merge pull request #1525 from PythonCoderAS/fix-black
  • 5d25506 Apply black formatting
  • ae49030 Merge pull request #1434 from PythonCoderAS/websocket-error
  • 986a84a Merge pull request #1520 from praw-dev/use-fullname
  • 8fee825 Merge pull request #1514 from PythonCoderAS/fix-uncached
  • c501b65 Merge pull request #1511 from jarhill0/live-stream
  • 46da739 Add tests for LiveThreadStream
  • 582bcb6 Add LiveThreadStream class to stream live thread updates.
  • Additional commits viewable in compare view

Dependabot compatibility score

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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [praw](https://github.com/praw-dev/praw) from 6.3.1 to 7.1.0.
- [Release notes](https://github.com/praw-dev/praw/releases)
- [Changelog](https://github.com/praw-dev/praw/blob/master/CHANGES.rst)
- [Commits](praw-dev/praw@v6.3.1...v7.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jun 23, 2020
@dependabot-preview
Copy link
Author

Superseded by #37.

@dependabot-preview dependabot-preview bot deleted the dependabot/pip/praw-7.1.0 branch February 4, 2021 04:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant