This is a larger release with some enhancements and bug fixes.
- Partial GitHub Apps support. We added the following:
GitHub.login_as_appto login using JWT as an Application
GitHub.login_as_app_installationto login using a token obtained from an App’s JWT
GitHub.appto retrieve an application by its “slug”
GitHub.app_installationto retrieve a specific installation by its ID
GitHub.app_installationsto retrieve all of an App’s installations
GitHub.app_installation_for_organizationto retrieve an organization’s installation of an App
GitHub.app_installation_for_repositoryto retrieve an installation for a specific repository
GitHub.app_installation_for_userto retrieve an installation for a specific user
GitHub.authenticated_appto retrieve the metadata for a specific App
- Not supported as of this release:
- Organization Invitations Preview API is now supported. This includes an
Invitationobject. This is the result of hard work by Hal Wine.
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.
- No longer require a Gist to have an owner.
Branch.latest_sha()now returns text (unicode) as documented.
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.