Skip to content

Releases: jcabi/jcabi-github

Bug fix in MkIssues

21 Feb 03:46
Compare
Choose a tag to compare

Fixed bug in MkIssues, see #321

jcabi-http instead of rexsl-test

28 Jan 17:41
Compare
Choose a tag to compare

Bug fix

07 Jan 12:27
Compare
Choose a tag to compare

Bug reported in #138 was fixed in this version.

Milestones, Organizations, better test coverage

30 Dec 10:37
Compare
Choose a tag to compare

This versions implements Milestones API, Organizations API, and adds test coverage to existed classes.

Github.entry()

10 Dec 15:52
Compare
Choose a tag to compare

Github interface gets method entry(), which returns an HTTP request pointing to the entry point of Github API

Limits, Emojis, Meta, Labels, etc.

09 Dec 20:16
Compare
Choose a tag to compare

This version implemented a few new APIs, including Limits, Emojis, Meta, etc. Besides that, a few major bugs were fixed. The versions looks much more stable, comparing to previous ones.

MkGithub mock version of Github server

26 Nov 11:48
Compare
Choose a tag to compare

This version introduces class MkGithub, which is a mock version of Github server-side implementation. This is how you can use it in your unit tests:

Github github = new MkGithub();
Repo repo = github.repos().create(
  Json.createObjectBuilder().add("name", "test").build()
);
Issue issue = repo.issues().create("title of the issue", "body of it");
issue.comments().post("How are you?");

Pagination, Users API, Issue Events API

20 Nov 10:42
Compare
Choose a tag to compare

This version introduces pagination and implements Users API and Issue Events API.

Pull Requests

17 Nov 11:40
Compare
Choose a tag to compare

Pull Request API implemented in this version. Besides that, we migrated to rexsl-test 0.8, which allowed to use PATCH methods via Apache HttpComponents implementation.

json() and patch() methods

12 Nov 17:54
Compare
Choose a tag to compare

This version introduces a new idea of exposing JSON objects of key Github entities. For example, in order to get issue details you do it like this:

Github github = new Github.Simple(".. your OAuth token ..");
Repo repo = github.repo("jcabi/jcabi-github");
Issue issue = repo.issues().get(1);
Date date = issue.json().getString("created_at");

Besides that, you can use supplementary Tool classes:

Date date = new Issue.Tool(issue).createdAt();