1.2.0: 2018-08-22
This is a larger release with some enhancements and bug fixes.
Features Added
Partial GitHub Apps support. We added the following:
GitHub.login_as_appto login using JWT as an ApplicationGitHub.login_as_app_installationto login using a token obtained from an App’s JWTGitHub.appto retrieve an application by its “slug”GitHub.app_installationto retrieve a specific installation by its IDGitHub.app_installationsto retrieve all of an App’s installationsGitHub.app_installation_for_organizationto retrieve an organization’s installation of an AppGitHub.app_installation_for_repositoryto retrieve an installation for a specific repositoryGitHub.app_installation_for_userto retrieve an installation for a specific userGitHub.authenticated_appto retrieve the metadata for a specific AppNot supported as of this release:
Organization Invitations Preview API is now supported. This includes an additional
Invitationobject. This is the result of hard work by Hal Wine.A
ShortLabelclass was added to represent the shorter (description-less) representation of labels returned by the API.The branch protections API is now completely represented in github3.py.
We now support the GPG Keys API.
We now support the Commit Search API.
We now support Repository Invitations.
We now have assign and unassign methods that support assigning and unassigning multiple users at once.
We now support review requests on Pull Requests.
We now support the ability for a user to activate their membership in an Organization.
We now support recurisvely traverse a tree via the API.
We now support enabling or disabling projects on a Repository.
We now support editing and reading Repository topics.
We now support Repository Pull Request merge settings.
Bugs Fixed
No longer require a Gist to have an owner.
Branch.latest_sha()now returns text (unicode) as documented.
Special Thanks
A great deal of the exception feature work done above was performed by the
newest team member of the github3.py project: Jacopo Notarstefano (a.k.a,
@jacquerie on GitHub). This project has had new life breathed into it
thanks to Jacopo.