3.1.0: 2022-02-14

Dependency Change

  • Swapped LGPL jwcrypto dependency for non-GPL PyJWT

Features Added

  • Add ShortRepositoryWithPermissions to include the permissions dictionary returned by the GitHub API when listing repositories a team has access to.

  • Add github3.orgs.Team.permissions_for("<org>/<repo>")() to retrieve a full permissions listing for a given repository in an organization.

Bug Fixes

  • Previously, if a file was empty Contents.decoded might return text instead of bytes, this is now fixed.

  • Fix Repository#ref using the wrong endpoint