- Clear access token when we receive any 4xx response, to fix a bug where we keep trying to refresh tokens that are invalid due to a password change
- Fix nullability issue with credditAutorenew in UserSettings
- Fix bug in SignInFragment causing a refresh loop when signing into an account with 2FA enabled
- Update to RxJava 3.0.0
- Update to Kotlin 1.3.60
- Fix NullPointerException when hideLocationBar is returns null from settings endpoint
- Use HTTPS when sharing comments
- Fix format for shared comment URLs
- Added "mark" parameter to inbox endpoint
- Emit NoSuchSubredditException when requesting info for subreddit that doesn't exist
- Updated dependencies
- Removed mock API module, this will no longer be supported.
- Added methods for reporting submissions.
- Added RedditVideo in Link model.
- Fixed bug where we were clearing the access token in the case of non-403 errors.
- Added
@SerializedName
annotations to every model to ensure compatibility with ProGuard. - Updated to RxJava2.
- Updated build tools and other dependencies.
- Added methods for accessing /r/subreddit/about/sticky endpoint.
- Added methods for retrieving subreddit rules.
- Added API methods for retrieving subreddit subscriptions.
- Remove cookies when loading SignInFragment.
- Updated Android module targetSdkVersion to 24 (N).
- Exposed Gson instance used by RedditService Retrofit instance via public getter.
- Added configuration for using a File-based cache for OkHttp.
- RedditService is now constructed via a
Builder
- API methods now return an
IllegalArgumentException
inonError
when required parameters are missing - API calls now check for HTTP errors consistently, and return these in
onError
- Reddit server endpoints can now be configured in RedditService, to substitute mock servers for testing
- MoreChildren, vote, save, and hide endpoints now take
String
s instead of model objects, for flexibility - Added default no-op AccessTokenManager implementation
AccessTokenManager.NONE
- Fixed Gson configuration which was causing some fields to be ignored during deserialization of model objects
- Fixed null response from
RedditServiceMock::processAuthenticationCallback
- Added mock service module
- Switched to using
android.support.v4.app.Fragment
for Android WebView
- Added Android extension module
- Fixed issue clearing AccessToken when calling
RedditService::revokeAuthentication
.
- Now checking for proper
state
parameter in the authorization callback URL.
- Initial release