Skip to content

v0.8.0

Compare
Choose a tag to compare
@mattbdean mattbdean released this 20 Dec 01:14
· 611 commits to master since this release

API Changes

  • Added the net.dean.jraw.auth package. Helps manage OAuth2 flow, especially on mobile apps. See the updated OAuth2 wiki page for more.
  • Introduce the fluent API. See the wiki for more.
  • SubredditStream now handles calls to /subreddits/default
  • Endpoints.USER_USERNAME_LIKED renamed to USER_USERNAME_UPVOTED. Likewise for USER_USERNAME_DISLIKED.
  • Added PublicContribution.getRemovalReason()
  • Added Submission.getPostHint()
  • OkHttpAdapter now accepts an OkHttpClient as a parameter in its constructor
  • Removed toolbar-related methods in AccountPreferences and AccountPreferencesEditor
  • AccountManager.save() accepts a PublicContribution instead of a Submission

Internal

  • Fixed a bug where OAuthData.getScopes() was not returning the expected result.
  • Added hashCode and equals methods to Thing
  • Fixed a big where OAuthHelper removed its own refresh token after the first refresh