Skip to content

v5.2.0

Choose a tag to compare

@Lanred-Dev Lanred-Dev released this 13 Oct 18:43
· 17 commits to main since this release

This update should fix the broken methods (hopefully 😓) introduced in v5.0.0 and bring a few improvements (such as doc comments)!

What’s been fixed

  • user() now returns the user data instead of erroring

What’s been changed

  • sortingOption in randomPost() has been replaced with RandomPostSortingMethod
  • subReddit() and randomSubReddit() have been renamed to sub() and randomSub()
  • Added support for sorting method (RandomSubSortingMethod) parameter in randomSub()
  • All references of subReddit or subreddit have been changed to just sub

What’s new

  • Added tests for core methods
  • Added doc comments to all public facing methods and private util methods

Full Changelog: v5.1.0...v5.2.0