@@ -6,6 +6,39 @@ PRAW follows `semantic versioning <https://semver.org/>`_.
66Unreleased
77----------
88
9+ **Added **
10+
11+ - Add support for Python 3.13.
12+
13+ **Changed **
14+
15+ - Bumped prawcore to 3.0.1.
16+ - Drop support for Python 3.8, which was end-of-life on 2024-10-07.
17+ - Change ``Reddit.user.me `` to raise :class: `.ReadOnlyException ` when called in
18+ :attr: `.read_only ` mode.
19+ - The ``subreddit `` attribute of :class: `.Redditor ` is a :class: `.UserSubreddit `
20+ instance.
21+
22+ **Removed **
23+
24+ - Remove ``Reddit.random_subreddit ``, ``Subreddit.random ``, and
25+ ``Subreddit.random_rising ``.
26+ - Remove ``APIException `` class.
27+ - Remove ``Comment.award `` and ``Submission.award `` methods.
28+ - Remove ``Comment.gild ``, ``Redditor.gild ``, and ``Submission.gild `` methods.
29+ - Remove ``Redditor.gilded `` and ``Subreddit.gilded `` methods.
30+ - Remove ``Redditor.gildings `` method.
31+ - Remove ``Subreddit.mod.inbox ``, ``Subreddit.mod.unread ``, and
32+ ``Subreddit.mod.stream.unread `` methods.
33+ - Remove ``Subreddits.search_by_topic `` method.
34+ - Remove ``Subreddits.gold `` method.
35+ - Remove :class: `.Reddit ` keyword argument ``token_manager `` and all associated token
36+ managers.
37+ - Remove ``Reddit.validate_on_submit `` configuration attribute.
38+ - Remove ``WebSocketException.original_exception `` method.
39+ - Remove the ``after `` argument for :meth: `.conversations `.
40+ - Remove key ``reset_timestamp `` from :meth: `.limits `.
41+
9427.8.1 (2024/10/25)
1043------------------
1144
@@ -197,7 +230,7 @@ Unreleased
197230- :meth: `.trusted ` to retrieve a :class: `.RedditorList ` of trusted users.
198231- :meth: `.trust ` to add a user to the trusted list.
199232- :meth: `.distrust ` to remove a user from the trusted list.
200- - :class: ` . SQLiteTokenManager ` (may not work on Windows).
233+ - `` SQLiteTokenManager ` ` (may not work on Windows).
201234
202235**Changed **
203236
@@ -208,7 +241,8 @@ Unreleased
208241
209242**Deprecated **
210243
211- - The ``subreddit `` attribute of :class: `.Redditor ` is no longer a dict.
244+ - The ``subreddit `` attribute of :class: `.Redditor ` will no longer function as a
245+ ``dict ``.
212246- Legacy modmail is slated for deprecation by Reddit in June 2021. See
213247 https://www.reddit.com/r/modnews/comments/mar9ha/even_more_modmail_improvements/ for
214248 more info.
@@ -232,7 +266,7 @@ Unreleased
232266**Added **
233267
234268- :class: `.Reddit ` keyword argument ``token_manager ``.
235- - :class: ` . FileTokenManager ` and its parent abstract class :class: ` . BaseTokenManager `.
269+ - `` FileTokenManager `` and its parent abstract class `` BaseTokenManager ` `.
236270
237271**Deprecated **
238272
@@ -242,9 +276,9 @@ Unreleased
242276 an instance of :class: `.Reddit `, and via the ``PRAW_REFRESH_TOKEN `` environment
243277 variable. To be prepared for PRAW 8, use the new :class: `.Reddit ` keyword argument
244278 ``token_manager ``. See :ref: `refresh_token ` in PRAW's documentation for an example.
245- - :meth: ` . me ` will no longer return ``None `` when called in :attr: `.read_only ` mode
246- starting in PRAW 8. A :py:class: `DeprecationWarning ` will be issued. To switch forward
247- to the PRAW 8 behavior set ``praw8_raise_exception_on_me=True `` in your
279+ - `` Reddit.user. me `` will no longer return ``None `` when called in :attr: `.read_only `
280+ mode starting in PRAW 8. A :py:class: `DeprecationWarning ` will be issued. To switch
281+ forward to the PRAW 8 behavior set ``praw8_raise_exception_on_me=True `` in your
248282 :class: `.Reddit ` call.
249283
2502847.1.4 (2021/02/07)
@@ -280,8 +314,8 @@ Unreleased
280314- Ability to specify modmail mute duration.
281315- Add method :meth: `.invited ` to get invited moderators of a subreddit.
282316- Ability to submit text/self posts with inline media.
283- - Add method :meth: ` . Submission.award ` and :meth: ` . Comment.award ` with the ability to
284- specify type of award, anonymity, and message when awarding a submission or comment.
317+ - Add method `` Submission.award `` and `` Comment.award `` with the ability to specify type
318+ of award, anonymity, and message when awarding a submission or comment.
285319- Ability to specify subreddits by name using the `subreddits ` parameter in
286320 :meth: `.Reddit.info `.
287321- A check to see if PRAW is running in an asynchronous environment and will advise the
@@ -299,9 +333,9 @@ Unreleased
299333
300334**Deprecated **
301335
302- - :meth: ` . Subreddits.gold ` is superseded by :meth: `.Subreddits.premium `.
303- - :meth: ` . Submission.gild ` is superseded by :meth: ` . Submission.award `.
304- - :meth: ` . Comment.gild ` is superseded by :meth: ` . Comment.award `.
336+ - `` Subreddits.gold ` ` is superseded by :meth: `.Subreddits.premium `.
337+ - `` Submission.gild `` is superseded by `` Submission.award ` `.
338+ - `` Comment.gild `` is superseded by `` Comment.award ` `.
305339
306340**Fixed **
307341
@@ -338,8 +372,8 @@ Unreleased
338372
339373**Deprecated **
340374
341- - :attr: ` . WebSocketException.original_exception ` is deprecated and slated for removal in
342- PRAW 8.0.
375+ - `` WebSocketException.original_exception `` is deprecated and slated for removal in PRAW
376+ 8.0.
343377
344378**Fixed **
345379
@@ -405,10 +439,10 @@ Unreleased
405439
406440- Introduced a data class, :class: `.RedditErrorItem `, to represent an individual error
407441 item returned from Reddit.
408- - Class :class: ` . RedditAPIException ` now serves as a container for the
442+ - Class `` RedditAPIException ` ` now serves as a container for the
409443 :class: `.RedditErrorItem `\ s. You can access the items by doing
410444 ``RedditAPIException.items ``, which returns a list.
411- - :class: ` . APIException ` is an alias to :class: `.RedditAPIException `.
445+ - `` APIException ` ` is an alias to :class: `.RedditAPIException `.
412446- Parameter ``discussion_type `` to methods :meth: `~.Subreddit.submit `,
413447 :meth: `~.Subreddit.submit_image `, and :meth: `~.Subreddit.submit_video ` to support
414448 submitting as a live discussion (set to ``"CHAT" ``).
@@ -431,7 +465,7 @@ Unreleased
431465
432466**Deprecated **
433467
434- - :class: ` . APIException ` is deprecated and slated for removal in PRAW 8.0.
468+ - `` APIException ` ` is deprecated and slated for removal in PRAW 8.0.
435469
436470**Fixed **
437471
@@ -440,7 +474,7 @@ Unreleased
440474
441475**Removed **
442476
443- - Converting :class: ` . APIException ` to string will no longer escape unicode characters.
477+ - Converting `` APIException ` ` to string will no longer escape unicode characters.
444478- Module ``praw.models.modaction `` no longer exists. Please use the module
445479 ``praw.models.mod_action ``, or directly import ``ModAction `` from ``praw.models ``.
446480- Methods :meth: `.SubredditLinkFlairTemplates.update ` and
@@ -493,8 +527,8 @@ Unreleased
493527 :meth: `.SubredditModeration.spam `
494528- Add :meth: `~.SubredditModerationStream.unmoderated ` to allow streaming of
495529 :meth: `.SubredditModeration.unmoderated `
496- - Add :meth: ` ~. SubredditModerationStream.unread ` to allow streaming of
497- :meth: ` . SubredditModeration.unread `
530+ - Add `` SubredditModerationStream.unread ` ` to allow streaming of
531+ `` SubredditModeration.unread ` `
498532- Parameter ``exclude_before `` to :func: `.stream_generator ` to allow
499533 :meth: `~.SubredditModerationStream.modmail_conversations ` to work
500534- Parameters ``allowable_content `` and ``max_emojis `` to
@@ -603,9 +637,8 @@ Unreleased
603637
604638**Fixed **
605639
606- - :meth: `.Subreddit.random ` returns ``None `` instead of raising
607- :class: `.ClientException ` when the subreddit does not support generating random
608- submissions.
640+ - ``Subreddit.random `` returns ``None `` instead of raising :class: `.ClientException `
641+ when the subreddit does not support generating random submissions.
609642
610643**Other **
611644
@@ -1019,8 +1052,7 @@ as described below:
10191052
10201053**Added **
10211054
1022- - :meth: `.Subreddits.search_by_topic ` to search subreddits by topic. (see:
1023- https://www.reddit.com/dev/api/#GET_api_subreddits_by_topic).
1055+ - ``Subreddits.search_by_topic `` to search subreddits by topic.
10241056- :meth: `.LiveHelper.__call__ ` to provide interface to
10251057 ``praw.models.LiveThread.__init__ ``.
10261058- :class: `.SubredditFilters ` to work with filters for special subreddits, like
@@ -1120,21 +1152,21 @@ to help with updating your code to PRAW 4. If you require additional help please
11201152 permit blocking unwanted user contact.
11211153- :meth: `.LiveHelper.create ` to create new live threads.
11221154- :meth: `.Redditor.unblock ` to undo a block.
1123- - :meth: ` . Subreddits.gold ` to iterate through gold subreddits.
1155+ - `` Subreddits.gold ` ` to iterate through gold subreddits.
11241156- :meth: `.Subreddits.search ` to search for subreddits by name and description.
11251157- :meth: `.Subreddits.stream ` to obtain newly created subreddits in near realtime.
11261158- :meth: `.User.karma ` to retrieve the current user's subreddit karma.
11271159- ``praw.models.reddit.submission.SubmissionModeration.lock `` and
11281160 ``praw.models.reddit.submission.SubmissionModeration.unlock `` to change a Submission's
11291161 lock state.
11301162- :meth: `.SubredditFlairTemplates.delete ` to delete a single flair template.
1131- - :meth: ` . SubredditModeration.unread ` to iterate over unread moderation messages.
1163+ - `` SubredditModeration.unread ` ` to iterate over unread moderation messages.
11321164- :meth: `.ModeratorRelationship.invite ` to invite a moderator to a subreddit.
11331165- :meth: `.ModeratorRelationship.update ` to update a moderator's permissions.
11341166- :meth: `.ModeratorRelationship.update_invite ` to update an invited moderator's
11351167 permissions.
1136- - :meth: ` . Front.random_rising `, :meth: ` . Subreddit.random_rising ` and
1137- :meth: ` . Multireddit.random_rising `.
1168+ - `` Front.random_rising ``, `` Subreddit.random_rising ` ` and
1169+ `` Multireddit.random_rising ` `.
11381170- :class: `.WikiPage ` supports a revision argument.
11391171- :meth: `.SubredditWiki.revisions ` to obtain a list of recent revisions to a subreddit.
11401172- :meth: `.WikiPage.revisions ` to obtain a list of revisions for a wiki page.
0 commit comments