Skip to content

Latest commit

 

History

History
1184 lines (771 loc) · 77.7 KB

CHANGELOG.md

File metadata and controls

1184 lines (771 loc) · 77.7 KB

Changelog

For changes after v1.101 see the GitHub Releases page for the project.

github-api-1.101 (2019-11-27)

Full Changelog

Fixes

  • Fixed ClassNotFoundException when creating okhttp3.OkHttpConnector with Cache @alecharp #627

github-api-1.100 (2019-11-26)

Full Changelog

Features and Fixes

  • Add method to set repository topics @martinvanzijl #594
  • Adjust GHRateLimit to system time instead of depending on synchronization @bitwiseman #595
  • Add Functionality of OTP to support user 2fa @madhephaestus #603
  • Implement Meta endpoint @PauloMigAlmeida #611
  • fix and unit tests for issue #504 @siordache #620
  • Fixed GHContent to allow spaces in path @bitwiseman #625

Internals

  • Bump okhttp3 from 3.14.2 to 4.2.2 @dependabot-preview #593
  • jackson 2.10.1 @sullis #604
  • Code style fixes @bitwiseman #609
  • Javadoc fail on warning during CI build @bitwiseman #613
  • Clean up Requester interface a bit @bitwiseman #614
  • Branch missing @alexanderrtaylor #615
  • Cleanup imports @bitwiseman #616
  • Removed permission field in createTeam. It is deprecated in the API @asthinasthi #619
  • Re-enable Lifecycle test @bitwiseman #621

github-api-1.99 (2019-11-04)

Full Changelog

Closed issues:

  • Support all available endpoints for Github App with preview request #570
  • Login details #560
  • GHRepository.listReleases() return empty always #535
  • Unable to get deployment by id #529
  • Malformed URL exception while accessing Enterprise Repository and fetching data #526
  • Allow getting a repository by ID #515
  • Methods to update milestones #512
  • Add ETAG support to minimize API requests #505
  • GitHub.connectUsingOAuth() suddenly taking a really long time to connect #493
  • GHTeam.add does not due to GHTeam.Role(s) been capitalized #489
  • Reading file's content through GHContent.read() returns previous version of file. #487
  • Implement archive/unarchive functionality #472
  • [Gists] Edit Gists Support #466
  • Missing description field in GHTeam #460
  • Bug: GHOrganization::createTeam does not regard argument repositories #457
  • Null value for GHPullRequestReview created date and updated date #450
  • Support for repository Projects #425
  • create a little MockGitHub class for tests mocking out the github REST API #382
  • Branch name is not being correctly URL encoded #381
  • Issue events #376
  • Not able to get the right file content #371
  • Updating file is not possible #354
  • Missing repository statistics #330
  • Is there a way to make this library more test friendly? #316
  • GitHub 2 factor login #292
  • Unable to resolve github-api artifacts from Maven Central #195

Merged pull requests:

github-api-1.95 (2018-11-06)

Full Changelog

Closed issues:

  • Add ability to attach/detach issue label w/o side effects to other labels #456
  • [feature request] Add support to list commits that only affect a file path #454
  • Rate limit - catch the exception #447
  • GHRepository.listCommits() returns java.net.SocketTimeoutException: Read timed out #433
  • java.lang.NoSuchMethodError: com.fasterxml.jackson.databind.deser.SettableBeanProperty.<init> #419
  • mvn test fails to start on HEAD #415
  • NullPointerException in org.kohsuke.github.GHContent.read #414

Merged pull requests:

  • Added archived attribute in GHRepository #470 (recena)
  • Fix memory leak. #468 (KostyaSha)
  • add request reviewers as attribute of GHPullRequest #464 (xeric)
  • Add methods for adding/removing labels to GHIssue #461 (evenh)

github-api-1.94 (2018-08-30)

Full Changelog

Closed issues:

  • Attachment download from issues #451
  • GHEventPayload.Issue #442
  • GHRelease.uploadAsset() that takes InputStream instead of File #434
  • Implement the new invitations API #374

Merged pull requests:

github-api-1.93 (2018-05-01)

Full Changelog

Closed issues:

Merged pull requests:

  • [fix] fetch labels with HTTP GET method #431 (Rechi)
  • Added request reviewers function within GHPullRequest. #430 (twcurrie)
  • Add support for previous_filename for file details in PR. #427 (itepikin-smartling)
  • Fixes #421 - Enum case doesn't match for Pull Request Reviews #422 (ggrell)
  • OkHttpConnector: Enforce use of TLSv1.2 to match current Github and Github Enterprise TLS support. #420 (randomvariable)
  • Update commons-lang to 3.7 #410 (Limess)

github-api-1.92 (2018-01-13)

Full Changelog

github-api-1.91 (2018-01-13)

Full Changelog

Closed issues:

  • How to authenticate using oauth in code? #405
  • It is possible to read a github project wiki ? #404
  • gitHttpTransportUrl Rename #403
  • Do not throw new Error() #400
  • GHPullRequest.getMergeable() never returns True #399
  • NPE in GHPerson.populate #395
  • 64-bit id support #393
  • Numeric value out of range of int #387
  • Diff URL with auth #386

Merged pull requests:

github-api-1.90 (2017-10-28)

Full Changelog

Closed issues:

  • <null> fields yeld NPE on getX operations. #372
  • Add support for committing multiple files. #360
  • Update compiler #357
  • Extension mechanism? #356
  • Update GHPullRequest with missing properties #355
  • Refactor to allow for additional HTTP headers #353
  • Building failing due problematic repository server #344
  • Pull Request Reviews API #305

Merged pull requests:

github-api-1.89 (2017-09-09)

Full Changelog

Closed issues:

  • OkHttpConnector is broken #335
  • Support new merge methods (squash/rebase) for Github Pull Requests #326
  • Expose OAuth headers #303

Merged pull requests:

  • Added support for traffic statistics (number of views and clones) #368 (adw1n)
  • issue #360: Add support for committing multiple files #361 (siordache)
  • Expose Headers #339 (KostyaSha)
  • Remove unused imports #337 (sebkur)
  • Add support for MergeMethod on GHPullRequest #333 (greggian)
  • Add some level of synchronization to the root of the API #283 (mmitche)

github-api-1.88 (2017-09-09)

Full Changelog

github-api-1.87 (2017-09-09)

Full Changelog

Closed issues:

  • Cannot merge newly created GHPullRequest #367
  • Unable to search thru search API #365
  • Unable to find documentation for issue search #364
  • Commit Search API implemented or not? #345
  • How can I get Latest Release of Repository? #341

Merged pull requests:

github-api-1.86 (2017-07-03)

Full Changelog

Merged pull requests:

  • [JENKINS-45142] Retry connections after getting SocketTimeoutException #359 (jglick)

github-api-1.85 (2017-03-01)

Full Changelog

Closed issues:

  • getPusher() returns null in call to getPusher() #342

Merged pull requests:

github-api-1.84 (2017-01-10)

Full Changelog

github-api-1.83 (2017-01-10)

Full Changelog

Closed issues:

  • Webhook creation response error #328

Merged pull requests:

github-api-1.82 (2016-12-17)

Full Changelog

Closed issues:

  • API response time #322
  • getLabels() call for a pull request results in downstream 404s #319
  • Gist Searching #318
  • Adding users to organization-owned repos not possible #317
  • GHSearchBuilder terms are cumulative when I expected them to overwrite previous one #314
  • Support ordering in searches #313
  • Update OkHttp usage #312
  • github.getRepository does not work for Enterprise github instance #263

Merged pull requests:

github-api-1.81 (2016-11-21)

Full Changelog

Closed issues:

  • Multiple assignee support #294
  • Missing support for determining if authenticated user is organization owner #293

github-api-1.80 (2016-11-17)

Full Changelog

Closed issues:

  • Testing reaction #311
  • Is there a way to update contents in bulk? #310
  • GitHub#listAllUsers() demanded (enterprise use-case) #309
  • Delete OAuth Token #308
  • How to find a pull request using the Search API and get its details? #298

Merged pull requests:

github-api-1.79 (2016-10-25)

Full Changelog

Merged pull requests:

github-api-1.78 (2016-10-24)

Full Changelog

Closed issues:

  • Allow edit for maintainer support #297
  • run mvn install fail! Failure to find org.jenkins-ci:jenkins:pom:1.26 ?? #296

Merged pull requests:

github-api-1.77 (2016-08-06)

Full Changelog

Closed issues:

  • weird format for get list of organizations #291
  • OkHttp is out of date #290
  • 400 from OKHttp getInputStream #288
  • pagination support search APIs #287
  • significant more API calls for same code #286
  • Excessive concurrent request rate limit not handled #285
  • team.add(repo) should accept permission flag #279
  • Pull request mergeability is boolean but should be trinary #275
  • Webhook with content type "application/json" #274
  • Disable rate_limit check on GitHub Enterprise completely #273
  • java.lang.IllegalArgumentException: byteString == null #265
  • Failed to deserialize list of contributors when repo is empty #261
  • github-api does not distinguish between user and organisation #260
  • API Rate Limit Exceeding #258

Merged pull requests:

github-api-1.76 (2016-06-03)

Full Changelog

Closed issues:

  • GitHub.getRateLimit hangs inside SocketInputStream.socketRead0 #271
  • (re)open method on GHMilestone #269
  • More meaning toString implementations #268
  • GHRepository.fork() does not block on the async operation until it's complete #264
  • Add Support for the Protected Branches API #262

Merged pull requests:

github-api-1.75 (2016-04-13)

Full Changelog

github-api-1.74 (2016-03-19)

Full Changelog

Closed issues:

  • missing maven central dependencies in 1.72 #257
  • Not able to specify client Id and client secret to connect using OAuth #256
  • Stuck in Github connect #255
  • Infinite loop in GHNotificationStream$1.fetch\(\) #252
  • How to get statistics using this library #241

Merged pull requests:

github-api-1.73 (2016-03-01)

Full Changelog

Closed issues:

  • traceback if webhook set to "send me everything". #250
  • Error on github pull request populate #246
  • How to avoid connection timeout while using github.listallpublicrepositories #243
  • myissues #242
  • Question - Stargazers and stars release. #239
  • GHEventInfo getPayload #238

Merged pull requests:

github-api-1.72 (2015-12-10)

Full Changelog

Fixed bugs:

  • GHRepository.getCompare(GHBranch, GHBranch) does not allow for cross-fork compares #218

Closed issues:

  • Access to raw JSON for issues? #235
  • GHRepository.getPullRequests() / listPullRequests() does not support the sort parameter #234
  • Commit obtained by queryCommits does not contain files #230
  • get starred projects by the user #228
  • update of file in github #227
  • Add per_page paramter to the search builders #221
  • RateLimitHandler Bug #220
  • Followers and following pagination #213
  • Some features of this plugin no longer work with the recent changes to api.github.com #202
  • Add an option to get the id of an event #199
  • Need documentation for how to clone a git repo to the disk #196
  • JDK Version #188
  • Obtain Pushed Commit using GitHub API #186
  • @WithBridgeMethods decorator in GHObject has no value adapterMethod #171

github-api-1.71 (2015-12-01)

Full Changelog

Fixed bugs:

Closed issues:

  • Push to repo #229
  • Can not find the .github file #223
  • Can not find the .github file #222
  • GHContent.read() is broken due to incorrect HTTP Method #215

Merged pull requests:

github-api-1.70 (2015-08-15)

Full Changelog

Closed issues:

  • How to search all repos based on a keyword? #211
  • Missing: List private organizations a user belongs #209

Merged pull requests:

github-api-1.69 (2015-07-17)

Full Changelog

Closed issues:

  • NullPointerException in Requester.java #194
  • Dependency problems #191
  • Enable this to work with GitHub Enterprise #184
  • no way to list forks of a repository #183
  • Nothing is Fetched when calling repo.listNotifications(); #181
  • java.net.ProtocolException: DELETE does not support writing #180

Merged pull requests:

github-api-1.68 (2015-04-20)

Full Changelog

Closed issues:

  • Merging with SHA1 #176

Merged pull requests:

  • Fix NullPointerException on RateLimitHandler when handling API errors. #179 (lskillen)

github-api-1.67 (2015-04-14)

Full Changelog

Merged pull requests:

github-api-1.66 (2015-03-24)

Full Changelog

Closed issues:

  • Rate limiting causes silent freezing failures #172
  • Pluggable persistent cache support #168
  • Implement /search #158
  • Support notifications api #119
  • Consider committing to using OkHttp in preference to HttpURLConnection #104

github-api-1.64 (2015-03-22)

Full Changelog

Closed issues:

  • SBT build is broken from version 1.53 #167
  • Reading a gist in anonymonous mode causes error #166
  • Add support for the Markdown API #165
  • GHContent#content always returns master version #162
  • infinite Thread usage loop with handleApiError #159
  • /repositories? #157
  • 502 Bad Gateway error from GHRelease.uploadAsset #135

Merged pull requests:

  • Add method to get the list of languages using in repository #161 (khoa-nd)
  • Picking endpoint from the properties file and environment variables #156 (ashwanthkumar)
  • Implementing github trees #155 (ddtxra)

github-api-1.63 (2015-03-02)

Full Changelog

Closed issues:

  • Github Trees support #153
  • getEvents fails periodically with odd exception #92

github-api-1.62 (2015-02-15)

Full Changelog

Closed issues:

  • "Stars" and "Forks" parameters for Gist #154
  • NPE during tag.getCommit().getLastStatus() #152
  • Incorrect behavior of GHRepository.getReadme #150
  • Make public GHRepository.getOwnerName #149
  • Add information about thread-safety in Javadoc #148
  • Add API to retrieve list of contributors #147
  • Parsing a push event payload doesn't get the repository #144
  • GHRelease issue #138
  • GHRepository.getIssues(GHIssueState.CLOSED) also return pull requests #134
  • Feature: watched Repositories #130
  • Cannot create repository in organisation #118
  • Different ways of getting issue.getClosedby() return different results. #113
  • NullPointerException in GHPerson #111
  • Suggested enhancement: GHPerson#getAllRepositories() #110
  • add support for proxy #109
  • Error while accessing rate limit API - No subject alternative DNS name matching api.github.com found. #108
  • Add support for retrieving repository available labels #105
  • getReadme its outdated #99

github-api-1.61 (2015-02-14)

Full Changelog

github-api-1.60 (2015-02-14)

Full Changelog

Closed issues:

  • GHTeam.getMembers() response does not include all users if user count >30 #145

Merged pull requests:

github-api-1.59 (2014-10-08)

Full Changelog

Merged pull requests:

github-api-1.58 (2014-08-30)

Full Changelog

Merged pull requests:

github-api-1.57 (2014-08-19)

Full Changelog

Merged pull requests:

github-api-1.56 (2014-07-03)

Full Changelog

Closed issues:

  • Unable to access commit date through api. #100
  • Add support for commit status contexts. #96

Merged pull requests:

github-api-1.55 (2014-06-08)

Full Changelog

Merged pull requests:

github-api-1.54 (2014-06-05)

Full Changelog

Closed issues:

  • Version 1.8 of bridge-method-annotation not available in maven central #91
  • Ability to specify both branch and sha parameters at same time in GHCommitQueryBuilder #90

Merged pull requests:

  • Add support for retriving a single ref #95 (suryagaddipati)
  • Add support for adding deploykeys to repo #94 (suryagaddipati)
  • Upgrading to 1.12 version for bridge-method-annotation and bridge-method-injector - fix for #91 #93 (vr100)

github-api-1.53 (2014-05-10)

Full Changelog

Closed issues:

  • GHUser.getRepositories() does not pull private repositories #88
  • create pull requests? #79
  • getRateLimit() fails for GitHub Enterprise #78
  • GHRepository assumes public github.com, won't work with github enterprise #64
  • Getting private repositories for a private organization #62
  • ClosedBy returns nothing for closed issues #60
  • class file for com.infradna.tool.bridge_method_injector.WithBridgeMethods not found #54
  • add support of Gists #53
  • GHUser is missing a getHTMLURL() method #52
  • [Feature Request] get tags #40
  • GitHub.connectAnonymously() fails because of a lack of credentials. #39

Merged pull requests:

github-api-1.52 (2014-05-10)

Full Changelog

Closed issues:

  • File size limited to 1MB #85

Merged pull requests:

  • Fix bug in GHMyself.getEmails due to API change #87 (kellycampbell)
  • Using builder pattern to list commits in a repo by author, branch, etc #86 (vr100)
  • add tarball_url and zipball_url to GHRelease #83 (antonkrasov)

github-api-1.51 (2014-04-13)

Full Changelog

Closed issues:

  • Add support for setting explicit connection timeouts #81
  • Throwing an Error when an IOException occurs is overly fatal #65

Merged pull requests:

  • Cast url.openConnection() to HttpURLConnection instead of HttpsURLConnec... #82 (prazanna)
  • Add support for removing a user from an Organisation #80 (rtyley)

github-api-1.50 (2014-03-28)

Full Changelog

Closed issues:

  • publish 1.49 version to jenkins maven repo #63

Merged pull requests:

github-api-1.49 (2014-01-06)

Full Changelog

github-api-1.48 (2014-01-06)

Full Changelog

Closed issues:

  • Implement Contents API #46

Merged pull requests:

github-api-1.47 (2013-11-27)

Full Changelog

Closed issues:

  • github /user/orgs fails #57
  • GHRepository.getIssues() limited to 30 issues #55

Merged pull requests:

  • Add support for PULL_REQUEST_REVIEW_COMMENT event types. #58 (rtholmes)
  • Use PagedIterator\<GHIssue\> to retrieve repository issues #56 (endeavor85)

github-api-1.46 (2013-11-13)

Full Changelog

github-api-1.45 (2013-11-09)

Full Changelog

Closed issues:

  • Issue labels have multiple fields now #48

Merged pull requests:

  • add support (most of) the release-related endpoints #51 (evanchooly)
  • Updates Jackson to 2.2.3 #50 (pescuma)
  • Use a proper Label in GHIssues #49 (pescuma)
  • Allows to define page size for repository lists and other API enhancements #45 (lucamilanesio)

github-api-1.44 (2013-09-07)

Full Changelog

Closed issues:

  • getMergeableState in GHPullRequest doesn't work #41

Merged pull requests:

github-api-1.43 (2013-07-07)

Full Changelog

github-api-1.42 (2013-05-07)

Full Changelog

Merged pull requests:

  • add repository to Pull Request payload and wrap the PR with the repository #38 (janinko)
  • Force issues-based API route for PR comments #37 (spiffxp)
  • Allow oauthToken to be used without login #36 (spiffxp)

github-api-1.41 (2013-04-23)

Full Changelog

Closed issues:

  • Closing pull request using Github API return FileNotFoundException #34

Merged pull requests:

  • Stop using deprecated API tokens for Enterprise #33 (watsonian)

github-api-1.40 (2013-04-16)

Full Changelog

github-api-1.39 (2013-04-16)

Full Changelog

Merged pull requests:

  • Provide a way to determine if the connection is anonymous #44 (stephenc)
  • Implement GHEventPayload.IssueComment #32 (janinko)
  • implement retrieving of access token #31 (janinko)

github-api-1.38 (2013-04-07)

Full Changelog

Closed issues:

  • Error 500 - No Protocol #29

github-api-1.37 (2013-03-15)

Full Changelog

Merged pull requests:

  • Adding Compare and Refs commands to API #30 (mc1arke)

github-api-1.36 (2013-01-24)

Full Changelog

github-api-1.35 (2013-01-07)

Full Changelog

Closed issues:

  • Support for organization check mebership #23

Merged pull requests:

  • Password is no longer required for api usage and fix for broken base64 encoding. #27 (johnou)
  • Removed web client and proprietary api usage. #26 (johnou)

github-api-1.34 (2013-01-06)

Full Changelog

Closed issues:

  • Enterprise Github without HTTPS not supported #12

Merged pull requests:

  • JENKINS-13726: Github plugin should work with Github enterprise by allowing for overriding the github URL. #24 (johnou)
  • Retrieve repository directly. #22 (janinko)

github-api-1.33 (2012-09-13)

Full Changelog

Closed issues:

  • GHIssue.getComments() throws NoSuchElementException when there are no comments #20
  • scm in pom.xml is incorrect #14
  • support for: Create an issue POST /repos/:user/:repo/issues #13

Merged pull requests:

  • PagedIterable dosn't use authentication #19 (janinko)
  • When using lazy population, this is not deprecated #18 (janinko)

github-api-1.32 (2012-09-06)

Full Changelog

Merged pull requests:

github-api-1.31 (2012-08-28)

Full Changelog

Merged pull requests:

github-api-1.30 (2012-08-28)

Full Changelog

Merged pull requests:

  • Using pagination when getting Pull Requests from a repository #15 (athieriot)

github-api-1.29 (2012-06-18)

Full Changelog

Closed issues:

  • NPE Crash on 1.27 #11
  • Github API V2 shuts down #8

github-api-1.28 (2012-06-13)

Full Changelog

github-api-1.27 (2012-06-12)

Full Changelog

github-api-1.26 (2012-06-04)

Full Changelog

github-api-1.25 (2012-05-22)

Full Changelog

github-api-1.24 (2012-05-22)

Full Changelog

github-api-1.23 (2012-04-25)

Full Changelog

github-api-1.22 (2012-04-12)

Full Changelog

github-api-1.21 (2012-04-12)

Full Changelog

Closed issues:

github-api-1.20 (2012-04-11)

Full Changelog

github-api-1.19 (2012-04-06)

Full Changelog

Merged pull requests:

  • Listing of branches in a repository #7 (derfred)

github-api-1.18 (2012-03-08)

Full Changelog

Merged pull requests:

github-api-1.17 (2012-02-12)

Full Changelog

Closed issues:

  • error on getRepositories() #5

github-api-1.16 (2012-01-03)

Full Changelog

Merged pull requests:

  • Fix for finding private repos on organizations #3 (jkrall)

github-api-1.15 (2012-01-01)

Full Changelog

github-api-1.14 (2011-10-27)

Full Changelog

github-api-1.13 (2011-09-15)

Full Changelog

Merged pull requests:

  • expose issue_updated_at. It looks like a better representation of update #2 (lacostej)

github-api-1.12 (2011-08-27)

Full Changelog

github-api-1.11 (2011-08-27)

Full Changelog

github-api-1.10 (2011-07-11)

Full Changelog

Merged pull requests:

  • Add support for oauth token and a way to see my organizations #1 (mocleiri)

github-api-1.9 (2011-06-28)

Full Changelog

github-api-1.8 (2011-06-17)

Full Changelog

github-api-1.7 (2011-05-28)

Full Changelog

github-api-1.6 (2011-03-16)

Full Changelog

github-api-1.5 (2011-02-23)

Full Changelog

github-api-1.4 (2010-12-14)

Full Changelog

github-api-1.3 (2010-11-24)

Full Changelog

github-api-1.2 (2010-04-19)

Full Changelog

github-api-1.1 (2010-04-19)

Full Changelog

github-api-1.0 (2010-04-19)

Full Changelog

* This Changelog was automatically generated by github_changelog_generator