PyGitHub v1.54 Release Notes

Release Date: 2020-11-30 // about 5 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)