Releases: mattbdean/JRAW
Releases · mattbdean/JRAW
v0.6.0
Main features in this release:
- JRAW now supports authentication using OAuth2. See the wiki page for more.
- Flair support (#20)
RedditClient.login()
now takes an instance of theCredentials
class- Use HTTP Basic Auth with
HttpClient.executeWithBasicAuth()
- Creating Paginators reworked. A new class called
Paginators
has static methods which allow the creation of any Paginator.- GenericPaginators now use an array of Strings instead of an enum to avoid using reflection
- Method naming styles in
AccountManager
has been standardized (#23) - Submission's
isAllowingSelfPosts()
andisAllowingLinks()
has been combined intogetAllowedSubmissonType()
. - HTTP request and response logging has a dedicated class (
HttpLogger
) - RestRequest supports different body Content-Types (7f8c34c)
- 22 endpoints have been implemented, including all OAuth-only (
/api/v1/*
) endpoints
v0.5.0
Main features in this release:
- Fix #12: Java 7 compatibility
- Four new paginators:
LiveThreadPaginator
,ModeratorPaginator
,InboxPaginator
, andUserRecordPaginator
- Read and mark messages as read/unread
- Manager pattern divides core components of the Reddit API (
net.dean.jraw.managers
) - LoggedInAccount is now just a model. All its methods can now be found in AccountManager
33beeffd
Ability to set a subreddit's stickied post9628f753
Ability to log out9b371cfc
HTTP request logging64375fb4
Renamed packagenet.dean.jraw.pagination
tonet.dean.jraw.paginators
1987ae52
Paginator.accumulate(int)
to gather X amount of pages and then return7e6474f9
Ability to sort a submission's commentscf9494fd
Votable.getDownvotes() is now deprecated
v0.4.0
Main features in this release:
- Moved from Apache HttpComponents to OkHttp
- Listing now implements List
MultiRedditManager
class that implements all/api/multi
endpoints- Classes that send HTTP requests are now denoted by implementing
NetworkAccessible
- Rate limiting is now handled by Guava's
RateLimiter
- Ability to get a random subreddit
- Honor user's HTTPS preference (see here)
- Use
www.reddit.com
for normal HTTP requests instead ofssl.reddit.com
- Configurable timeout lengths
- Iterate through multireddit submissions
- Iterate through multiple subreddits (
/r/programming+git+linux
) - Iterate through /r/multihub
- Subscribe to subreddits
v0.3.0
Main features in this release:
- Changed
getMyMutlis()
togetMyMultiReddits()
- Fixed
JsonModel
'stoString()
- Separation of Reddit-oriented objects from
RestResponse
into a separate class calledRedditResponse
- Use the
endpionts
subproject (and Gradle for output configuration) to generate an enum of Endpoint objects - Trending subreddits
- Get the
http://redd.it/{id}
URL for Submissions - Fix
getThumbnail()
throwing a MalformedURLException - Basic read access to wiki pages
- Implemented the following endpoints:
/api/submit_text.json
/api/subreddits_by_topic.json
/subreddits/mine/{where}
/api/search_reddit_names.json
/subreddits/{where}
/api/comment
/stylesheet
/wiki/pages
/wiki/{page}
v0.2.0
Main features in this release:
SubmissionType
was replaced by booleans- Move the
net.dean.jraw.endpointgen
package out of the main library and into theendpoints
subproject - New Gradle task to create a sources and Javadoc jars, as well as one with only the library and one with all JRAW's dependencies (aka a fat jar)