You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add subreddit APIs and poll post updates in changelog
This release adds new APIs for subreddit management and poll post functionality, including methods for updating settings, rules, and retrieving user-specific poll data.
Copy file name to clipboardExpand all lines: versioned_docs/version-0.12/changelog.md
+26Lines changed: 26 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,32 @@ To use the latest version of Devvit:
9
9
10
10
**Please note**: you may see features available across Devvit packages that are not documented or noted in our changelog. These are experimental features that are not stable and are subject to change, or removal, from the platform. Please use caution when testing or implementing experimental features.
11
11
12
+
## Release 0.12.16 Subreddit APIs and Poll Post Updates
13
+
**Release Date: Mar 23, 2026**
14
+
15
+
This release adds new APIs for smoother subreddit management and adds new poll post functionality.
16
+
17
+
**Subreddit Management**
18
+
19
+
*`subreddit.updateSettings()` updates subreddit settings (this method only supports the settings currently exposed in the `SubredditSettings` type).
20
+
*`subreddit.updateRemovalReasons()` updates subreddit removal reasons and provides support for deleting them. This method converts the `RemovalReason` type into a class, enabling it to include methods for managing removal reasons.
Note: methods available on reddit provide the same functionality as their subreddit counterparts, but do not require a Subreddit instance.
31
+
32
+
**Poll Post Enhancements**
33
+
34
+
* Introduces a `pollOption` field on the `Post` object to access poll options.
35
+
* Adds a `getCurrentUserPollOption()` method to retrieve the option selected by the current user (if any).
36
+
* Fetches user-specific poll data via `/api/info` using user authentication, with a dedicated proto method to allow overriding only the poll option retrieval logic.
37
+
12
38
## Devvit 0.12.15: The Nothing-To-See-Here Release
0 commit comments