PyGitHub v1.54 Release Notes

Release Date: 2020-11-30 // over 3 years ago
  • Important

    ๐Ÿš€ This is the last release that will support Python 3.5.

    ๐Ÿ’ฅ Breaking Changes

    ๐Ÿšš The Github.get_installation(integer) method has been removed.
    ๐Ÿš€ Repository.create_deployment()'s payload parameter is now a dictionary.

    ๐Ÿ› Bug Fixes & Improvements

    • โž• Add support for Check Suites (#1764) (6d501b2)
    • โž• Add missing preview features of Deployment and Deployment Statuses API (#1674) (197e065)
    • Correct typing for Commit.get_comments() (#1765) (fcdd9ea)
    • ๐Ÿ“Œ Pin requests to <2.25 as well (#1757) (d159425)
    • โž• Add Support for Check Runs (#1727) (c77c067)
    • โž• Added a method for getting a user by their id (#1691) (4cfc991)
    • ๐Ÿ›  Fix #1742 - incorrect typehint for Installation.id (#1743) (546f649)
    • โž• Add WorkflowRun.workflow_id (#1737) (78a29a7)
    • โž• Add support for Python 3.9 (#1735) (1bb18ab)
    • โž• Added support for the Self-Hosted actions runners API (#1684) (24251f4)
    • ๐Ÿ›  Fix Branch protection status in the examples (#1729) (8880084)
    • โœ… Filter the DeprecationWarning in Team tests (#1728) (23f4753)
    • โž• Added get_installations() to Organizations (#1695) (b42fb24)
    • ๐Ÿ›  Fix #1507: Add new Teams: Add or update team repository endpoint (#1509) (1c55be5)
    • Added support for Repository.get_workflow_runs parameters (#1682) (c23564d)
    • feat(pullrequest): add the rebaseable attribute (#1690) (ee4c7a7)
    • โž• Add support for deleting reactions (#1708) (f7d203c)
    • Correct type hint for InputGitTreeElement.sha (08b72b4)
    • Ignore new black formatting commit for git blame (#1680) (7ec4f15)
    • Format with new black (#1679) (07e29fe)
    • โž• Add get_timeline() to Issue's type stubs (#1663) (6bc9ecc)

Previous changes from v1.53

    • โœ… Test Organization.get_hook() (#1660) (2646a98)
    • Add method get_team_membership for user to Team (#1658) (749e8d3)
    • โž• Add typing files for OAuth classes (#1656) (429fcc7)
    • Fix Repository.create_repository_dispatch type signature (#1643) (f891bd6)
    • PaginatedList's totalCount is 0 if no last page (#1641) (69b37b4)
    • โž• Add initial support for Github Apps. (#1631) (260558c)
    • Correct *kwargs typing for search_ (#1636) (165d995)
    • Add delete_branch_on_merge arg to Repository.edit type stub (#1639) (15b5ae0)
    • ๐Ÿ›  Fix type stub for MainClass.get_user (#1637) (8912be6)
    • โž• Add type stub for Repository.create_fork (#1638) (de386df)
    • Correct Repository.create_pull typing harder (#1635) (5ad091d)