Skip to content

v0.7.0.1

Compare
Choose a tag to compare
@mattbdean mattbdean released this 22 Feb 01:12
· 729 commits to master since this release

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.

Main features in this release:

  • FULL support for OAuth2, including refreshing and revoking access tokens, and application-only (user-less)
    authentication. See the wiki for the adjusted API.
  • Removal of cookie authentication, since it is deprecated. See #47.
  • Endpoints not usable with OAuth (registering, OAuth app management, etc.) have been removed.
  • RedditOAuth2Client has been merged with RedditClient
  • Submission.getComments() now returns a CommentNode, which provides the ability to easily traverse the comment tree.
  • NetworkException is now a RuntimeException, meaning you no longer have to catch it if you don't want to.
  • Addition of the UserAgent class, assists with standardizing the User-Agent header
  • More was renamed to MoreChildren
  • AbstractManager and Paginator did not need to implement NetworkAccessible, so they do not now.
  • RedditClient.SubmissionRequest is now its own class (net.dean.jraw.http.SubmissionRequest) and properly implements the builder pattern
  • Implemented the endpoints under the "creddits" scope. However, these are untested.
  • The Paginators class was removed since there is no reason to have factory methods for classes that have simple, public constructors

Also, make sure to check out the new wiki pages on OAuth2 and getting started.