Skip to content

Commit f9fc563

Browse files
authored
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.
1 parent 4d1658b commit f9fc563

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

versioned_docs/version-0.12/changelog.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,32 @@ To use the latest version of Devvit:
99

1010
**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.
1111

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.
21+
22+
**Subreddit Rules**
23+
24+
* `subreddit.getRules()` (or `reddit.getRules()`) retrieves rules.
25+
* `subreddit.createRule()` (or `reddit.createRule()`) creates rules.
26+
* `subreddit.reorderRules()` (or `reddit.reorderRules()`) reorders rules.
27+
* `rule.updateRule()` updates an existing rule.
28+
* `rule.removeRule()` deletes a rule.
29+
30+
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+
1238
## Devvit 0.12.15: The Nothing-To-See-Here Release
1339
**Release Date: Mar 16, 2026**
1440

0 commit comments

Comments
 (0)