Skip to content

toolbox-devvit v0.4.0

Latest
Compare
Choose a tag to compare
@eritbh eritbh released this 18 Feb 09:00
· 3 commits to main since this release
109fd11

Breaking Changes

  • This package now exports only Devvit-specific stuff (i.e. ToolboxClient and nothing else). You probably weren't using any of the lower-level helpers manually in a Devvit project, but if you were previously importing any types or other members from this package, they can now be found in the new, non-Devvit-specific toolbox-storage package. For example:

     // Before:
     import {ToolboxClient, type Usernote} from 'toolbox-devvit';
     // After:
     import {ToolboxClient} from 'toolbox-devvit';
     import {type Usernote} from 'toolbox-storage';

Fixes

  • Ensure Usernotes instances can be constructed from empty/missing data, i.e. fresh data for subreddits never touched by Toolbox (#58, #63)
  • Same for SubredditConfig instances (#58, #66, thanks @fsvreddit!)