v0.7.0.3
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()andCredentials.webapp()(#51) - Added more properties to
AccountPreferencesEditor(see here for a full list) EmbeddedMediahas been removed, as its only purpose was to feed the website data. API consumers should use oEmbed (Submission.getOEmbedMedia()) instead.AllSubredditsPaginatorhas been renamed toSubredditStream- Iterate through new comments from a subreddit using
CommentStream
CommentNode
- [!!!]
CommentNodenow bears the responsibility of loading a Comment's children. Consequently,Comment.getReplies()has been replaced byCommentNode.getChildren() CommentNode.loadFully()can fully expand a comment treeCommentNodenow implementsIterableto 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 alphanumericHttpLoggernow always logs at the correct level