Skip to content

Latest commit

 

History

History
833 lines (718 loc) · 36.1 KB

CHANGES.rst

File metadata and controls

833 lines (718 loc) · 36.1 KB

Changelog

The changes listed below are divided into four categories:

  • [BUGFIX] Something was broken before, but is now fixed.
  • [CHANGE] Other changes affecting user programs, such as the renaming of a function.
  • [FEATURE] Something new has been added.
  • [REDDIT] A change caused by an upstream change from reddit.

Read /r/changelog to be notified of upstream changes.

Visit the changelog on ReadTheDocs for properly formatted links that link to the relevant place in the code overview.

Unreleased

  • [BUGFIX] Fixed login password prompt issue on windows (#485).
  • [BUGFIX] Fixed unicode user-agent issue (#483).
  • [BUGFIX] Fix duplicate request issue with comment and submission streams (#501).
  • [BUGFIX] Stopped :meth:`praw.objects.Redditor.friend` from raising LoginRequired when using OAuth.
  • [BUGFIX] Stopped a json-parsing error from occuring in cases where reddit's response to a request was an empty string. :meth:`request_json` will now simply return that empty string.
  • [CHANGE] Added messages to all PRAW exceptions (#491).
  • [CHANGE] Made it easier to send JSON dumps instead of form-encoded data for http requests. Some api-v1 endpoints require the request body to be in the json format.
  • [CHANGE] Moved and deprecated :meth:`praw.objects.LoggedInRedditor.get_friends` to :class:`praw.AuthenticatedReddit`, leaving a pointer in its place. Previously, get_friends was difficult to access because the only instance of LoggedInRedditor was the reddit session's user attribute, which is only instantiated if the user has the "identity" scope. By moving get_friends to the reddit session, it can be used without having to manipulate a :class:`praw.objects.Redditor` intsance's class.
  • [FEATURE] Added support for adding "notes" to your friends. Users with reddit Gold can set the note parameter of :meth:`praw.objects.Redditor.friend`. 300 character max enforced by reddit.
  • [FEATURE] New :meth:`praw.objects.Redditor.get_friend_info` to see info about one of your friends. Includes their name, ID, when you added them, and if you have reddit Gold, your note about them.

PRAW 3.2.1

  • [BUGFIX] Fixed "multiple values for argument" error when solving captchas.

PRAW 3.2.0

PRAW 3.1.0

PRAW 3.0.0

PRAW 2.1.21

PRAW 2.1.20

PRAW 2.1.19

PRAW 2.1.18

PRAW 2.1.17

  • [BUGFIX] Remove the built-in score property from comments as reddit provides that attribute as of 2014/06/18.
  • [FEATURE] :meth:`~praw.__init__.SubmitMixin.submit` now supports a resubmit argument to allow the submission of an already submitted url.

PRAW 2.1.16

  • [BUGFIX] Fix incorrect username when building Redditor objects from wikipage submissions.
  • [CHANGE] Increase the dependency of update_checker to 0.10 or later to prevent ImportWarnings (issue 291).
  • [CHANGE] :meth:`~.Subreddit.get_banned` now takes a user_only argument (default: True). When the value is explicitly passed as False the return value is not a generator of Redditor objects, but a generator of dictionaries whose name key corresponds to the Redditor object and whose ban-note is at key note.
  • [FEATURE] Enable gathering of duplicate submissions for a Submission object (issue 290).
  • [FEATURE] Add :meth:`praw.__init__.AuthenticatedReddit.delete`.

PRAW 2.1.15

PRAW 2.1.14

  • [CHANGE] Increase the dependency of six to 1.4 or later.

PRAW 2.1.13

PRAW 2.1.12

PRAW 2.1.11

PRAW 2.1.10

PRAW 2.1.9

PRAW 2.1.8

PRAW 2.1.7

PRAW 2.1.6

PRAW 2.1.5

PRAW 2.1.4

PRAW 2.1.3

PRAW 2.1.2

PRAW 2.1.1

  • [FEATURE] Added :meth:`praw.helpers.comment_stream` to provide a neverending stream of new comments.
  • [BUGFIX] Don't cache requests whose responses will result in an exception. This bug was introduced in version 2.1.0.

PRAW 2.1.0

PRAW 2.0.15

  • [FEATURE] PRAW can now use a proxy server, see #206. The parameter http_proxy (optional) has been added to the configuration file to define a proxy server in the form host:ip or http://login:user@host:ip.

PRAW 2.0.14

PRAW 2.0.13

PRAW 2.0.12

  • [FEATURE] PRAW can now decode HTML entities, see #186. The parameter decode_html_entities (default False) has been added to the configuration file to control whether this feature is activated.
  • [FEATURE] Add :exc:`.InvalidSubreddit` exception which is raised when attempting to get a listing for a nonexistent subreddit.
  • [FEATURE] All functions that use the :meth:`.get_content` generator function now take *args, **kwargs.
  • [BUGFIX] Requesting user specific data such as :meth:`.get_unread` while OAuthenticated as a user, then switching OAuthentication to another user and re-requesting the data within cache_timeout would return the cached results matching the previously authenticated user.
  • [BUGFIX] :meth:`.friend` and :meth:`.unfriend` used to raise an AttributeError when called without user/pswd authentication. It now properly raises :exc:`.LoginRequired`.

PRAW 2.0.11

PRAW 2.0.10

PRAW 2.0.9

PRAW 2.0.8

  • [FEATURE] Add unset_has_mail parameter to :meth:`.get_unread`, if it's set to True, then it will set has_mail for the logged-in user to False.

PRAW 2.0.7

  • [REDDIT] A reddit update broke PRAW's ability to use :meth:`.login` if it was authenticated as a logged-in user. This update adds the ability to re-login.
  • [CHANGE] :meth:`~.Subreddit.get_flair_list` can now be used when logged-in as a regular user, being logged in as a mod of the subreddit is no longer required.

PRAW 2.0.6

PRAW 2.0.5

PRAW 2.0.4

  • [BUGFIX] Fix python 3 failure within the test suite introduced in 2.0.3.

PRAW 2.0.3

PRAW 2.0.2

PRAW 2.0.1

PRAW 2.0.0

PRAW 1.0.16

  • [FEATURE] Add support for /r/random.

PRAW 1.0.15

PRAW 1.0.14

  • [FEATURE] Extended functionality to Python 3.3.

PRAW 1.0.13

  • [BUGFIX] Fixed non-equality bug. Before comparing two PRAW objects with != would always return True.
  • [FEATURE] Added the function my_contributions to :class:`.LoggedInRedditor`. Use this to find the subreddits where the user is an approved contributor.
  • [CHANGE] Voting on something will now force the next call to :meth:`.get_liked` or :meth:`.get_disliked` to re-query from the reddit rather than use the cache.

PRAW 1.0.12

  • [FEATURE] Support for optional 'prev' values added.

PRAW 1.0.11

PRAW 1.0.10

  • [FEATURE] Allow for the OS to not be identified when searching for praw.ini.

PRAW 1.0.9

PRAW 1.0.8

PRAW 1.0.7

PRAW 1.0.6

PRAW 1.0.5

PRAW 1.0.4

PRAW 1.0.3

  • [REDDIT] The logged in / moderator checks for flair_list in :class:`.Reddit` are no longer needed and have been removed.

PRAW 1.0.2

PRAW 1.0.1

  • [FEATURE] require_moderator decorator now supports multi-reddits.
  • [FEATURE] Rudimentary logging of the http requests have been implemented.

PRAW 1.0.0