0.6.0: 2013-04-05
Add
sortandorderparameters togithub3.GitHub.search_usersandgithub3.GitHub.search_repos.Add
iter_commitstogithub3.gists.Gistas a means of re-requesting just the history from GitHub and iterating over it.Add minimal logging (e.g.,
logging.getLogger('github3'))Re-organize the library a bit. (Split up repos.py, issues.py, gists.py and a few others into sub-modules for my sanity.)
Calling
refresh(True)on agithub3.structs.GitHubIteratoractually works as expected now.API
iter_methods now accept theetagargument as theGitHub.iter_methods do.Make
github3.octocatandgithub3.github.GitHub.octocatboth support sending messages to make the Octocat say things. (Think cowsay)Remove vendored dependency of PySO8601.
Split
GitHub.iter_reposintoGitHub.iter_user_reposandGitHub.iter_repos. As a consequencegithub3.iter_reposis nowgithub3.iter_user_reposIssueComment.updatewas corrected to match GitHub’s documentationgithub3.loginnow accepts an optionalurlparameter for users of theGitHubEnterpriseAPI, courtesy of Kristian Glass (@doismellburning)Several classes now allow their instances to be compared with
==and!=. In most cases this will check the unique id provided by GitHub. In others, it will check SHAs and any other guaranteed immutable and unique attribute. The class doc-strings all have information about this and details about how equivalence is determined.