Skip to content

v0.7.0.3

Choose a tag to compare

@mattbdean mattbdean released this 21 Mar 19:58

NB: This is a time-based release. It is not to be considered stable but is provided for those who want the latest and greatest features of the library.

API Changes

  • RedditClient now automatically retries a request if reddit throws a 503 at it. The amount of times the client will retry is configurable using RedditClient.setRetryLimit().
  • Removed the username and password arguments in Credentials.installedApp() and Credentials.webapp() (#51)
  • Added more properties to AccountPreferencesEditor (see here for a full list)
  • EmbeddedMedia has been removed, as its only purpose was to feed the website data. API consumers should use oEmbed (Submission.getOEmbedMedia()) instead.
  • AllSubredditsPaginator has been renamed to SubredditStream
  • Iterate through new comments from a subreddit using CommentStream
CommentNode
  • [!!!] CommentNode now bears the responsibility of loading a Comment's children. Consequently, Comment.getReplies() has been replaced by CommentNode.getChildren()
  • CommentNode.loadFully() can fully expand a comment tree
  • CommentNode now implements Iterable to iterate over direct children

Documentation

  • A fullname is now referred to as such in the docs, not as "full name."

Bug Fixes

  • CommentNode now handles 'continue this thread' MoreChildren properly (#56)
  • JrawUtils.isFullname() now allows the ID to be alphanumeric
  • HttpLogger now always logs at the correct level