Pygithub

Latest version: v2.6.1

Safety actively analyzes 710445 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 17

1.58.0

-----------------------------------

Bug Fixes & Improvements
^^^^^^^^^^^^^^^^^^^^^^^^

* Add unarchiving support Tsuesun (`2391 <https://github.com/PyGithub/PyGithub/pull/2391>`_)
* Support full GitHub app authentication dblanchette (`1986 <https://github.com/PyGithub/PyGithub/pull/1986>`_)
* Continue the PR 1899 Felixoid (`2386 <https://github.com/PyGithub/PyGithub/pull/2386>`_)
* feat: add allow\_forking to Repository IbrahimAH (`2380 <https://github.com/PyGithub/PyGithub/pull/2380>`_)
* Add code scanning alerts eric-nieuwland (`2227 <https://github.com/PyGithub/PyGithub/pull/2227>`_)

1.57

-----------------------------------

Breaking Changes
^^^^^^^^^^^^^^^^

* Add support for Python 3.11, drop support for Python 3.6 (`2332 <https://github.com/PyGithub/PyGithub/pull/2332>`_) (`1e2f10dc <https://github.com/PyGithub/PyGithub/commit/1e2f10dc>`_)

Bug Fixes & Improvements
^^^^^^^^^^^^^^^^^^^^^^^^

* Speed up get requested reviewers and teams for pr (`2349 <https://github.com/PyGithub/PyGithub/pull/2349>`_) (`6725eceb <https://github.com/PyGithub/PyGithub/commit/6725eceb>`_)
* [WorkflowRun] - Add missing attributes (`run_started_at` & `run_attempt`), remove deprecated `unicode` type (`2273 <https://github.com/PyGithub/PyGithub/pull/2273>`_) (`3a6235b5 <https://github.com/PyGithub/PyGithub/commit/3a6235b5>`_)
* Add support for repository autolink references (`2016 <https://github.com/PyGithub/PyGithub/pull/2016>`_) (`0fadd6be <https://github.com/PyGithub/PyGithub/commit/0fadd6be>`_)
* Add retry and pool_size to typing (`2151 <https://github.com/PyGithub/PyGithub/pull/2151>`_) (`784a3efd <https://github.com/PyGithub/PyGithub/commit/784a3efd>`_)
* Fix/types for repo topic team (`2341 <https://github.com/PyGithub/PyGithub/pull/2341>`_) (`db9337a4 <https://github.com/PyGithub/PyGithub/commit/db9337a4>`_)
* Add class Artifact (`2313 <https://github.com/PyGithub/PyGithub/pull/2313>`_) (#2319) (`437ff845 <https://github.com/PyGithub/PyGithub/commit/437ff845>`_)

1.56

-----------------------------------

Important
^^^^^^^^^

This is the last release that will support Python 3.6.

Bug Fixes & Improvements
^^^^^^^^^^^^^^^^^^^^^^^^

* Create repo from template (`2090 <https://github.com/PyGithub/PyGithub/pull/2090>`_) (`b50283a7 <https://github.com/PyGithub/PyGithub/commit/b50283a7>`_)
* Improve signature of Repository.create_repo (`2118 <https://github.com/PyGithub/PyGithub/pull/2118>`_) (`001970d4 <https://github.com/PyGithub/PyGithub/commit/001970d4>`_)
* Add support for 'visibility' attribute preview for Repositories (`1872 <https://github.com/PyGithub/PyGithub/pull/1872>`_) (`8d1397af <https://github.com/PyGithub/PyGithub/commit/8d1397af>`_)
* Add Repository.rename_branch method (`2089 <https://github.com/PyGithub/PyGithub/pull/2089>`_) (`6452ddfe <https://github.com/PyGithub/PyGithub/commit/6452ddfe>`_)
* Add function to delete pending reviews on a pull request (`1897 <https://github.com/PyGithub/PyGithub/pull/1897>`_) (`c8a945bb <https://github.com/PyGithub/PyGithub/commit/c8a945bb>`_)
* Cover all code paths in search_commits (`2087 <https://github.com/PyGithub/PyGithub/pull/2087>`_) (`f1faf941 <https://github.com/PyGithub/PyGithub/commit/f1faf941>`_)
* Correctly deal when PaginatedList's data is a dict (`2084 <https://github.com/PyGithub/PyGithub/pull/2084>`_) (`93b92cd2 <https://github.com/PyGithub/PyGithub/commit/93b92cd2>`_)
* Add two_factor_authentication in AuthenticatedUser. (`1972 <https://github.com/PyGithub/PyGithub/pull/1972>`_) (`4f00cbf2 <https://github.com/PyGithub/PyGithub/commit/4f00cbf2>`_)
* Add ProjectCard.edit() to the type stub (`2080 <https://github.com/PyGithub/PyGithub/pull/2080>`_) (`d417e4c4 <https://github.com/PyGithub/PyGithub/commit/d417e4c4>`_)
* Add method to delete Workflow runs (`2078 <https://github.com/PyGithub/PyGithub/pull/2078>`_) (`b1c8eec5 <https://github.com/PyGithub/PyGithub/commit/b1c8eec5>`_)
* Implement organization.cancel_invitation() (`2072 <https://github.com/PyGithub/PyGithub/pull/2072>`_) (`53fb4988 <https://github.com/PyGithub/PyGithub/commit/53fb4988>`_)
* Feat: Add `html_url` property in Team Class. (`1983 <https://github.com/PyGithub/PyGithub/pull/1983>`_) (`6570892a <https://github.com/PyGithub/PyGithub/commit/6570892a>`_)
* Add support for Python 3.10 (`2073 <https://github.com/PyGithub/PyGithub/pull/2073>`_) (`aa694f8e <https://github.com/PyGithub/PyGithub/commit/aa694f8e>`_)
* Add github actions secrets to org (`2006 <https://github.com/PyGithub/PyGithub/pull/2006>`_) (`bc5e5950 <https://github.com/PyGithub/PyGithub/commit/bc5e5950>`_)
* Correct replay for Organization.create_project() test (`2075 <https://github.com/PyGithub/PyGithub/pull/2075>`_) (`fcc12368 <https://github.com/PyGithub/PyGithub/commit/fcc12368>`_)
* Fix install command example (`2043 <https://github.com/PyGithub/PyGithub/pull/2043>`_) (`99e00a28 <https://github.com/PyGithub/PyGithub/commit/99e00a28>`_)
* Fix: 1671 Convert Python Bool to API Parameter for Authenticated User Notifications (`2001 <https://github.com/PyGithub/PyGithub/pull/2001>`_) (`1da600a3 <https://github.com/PyGithub/PyGithub/commit/1da600a3>`_)
* Do not transform requestHeaders when logging (`1965 <https://github.com/PyGithub/PyGithub/pull/1965>`_) (`1265747e <https://github.com/PyGithub/PyGithub/commit/1265747e>`_)
* Add type to OrderedDict (`1954 <https://github.com/PyGithub/PyGithub/pull/1954>`_) (`ed7d0fe9 <https://github.com/PyGithub/PyGithub/commit/ed7d0fe9>`_)
* Add Commit.get_pulls() to pyi (`1958 <https://github.com/PyGithub/PyGithub/pull/1958>`_) (`b4664705 <https://github.com/PyGithub/PyGithub/commit/b4664705>`_)
* Adding headers in GithubException is a breaking change (`1931 <https://github.com/PyGithub/PyGithub/pull/1931>`_) (`d1644e33 <https://github.com/PyGithub/PyGithub/commit/d1644e33>`_)

1.55

-----------------------------------

Breaking Changes
^^^^^^^^^^^^^^^^

* Remove client_id/client_secret authentication (`1888 <https://github.com/PyGithub/PyGithub/pull/1888>`_) (`901af8c8 <https://github.com/PyGithub/PyGithub/commit/901af8c8>`_)
* Adjust to Github API changes regarding emails (`1890 <https://github.com/PyGithub/PyGithub/pull/1890>`_) (`2c77cfad <https://github.com/PyGithub/PyGithub/commit/2c77cfad>`_)
- This impacts what AuthenticatedUser.get_emails() returns
* PublicKey.key_id could be int on Github Enterprise (`1894 <https://github.com/PyGithub/PyGithub/pull/1894>`_) (`ad124ef4 <https://github.com/PyGithub/PyGithub/commit/ad124ef4>`_)
* Export headers in GithubException (`1887 <https://github.com/PyGithub/PyGithub/pull/1887>`_) (`ddd437a7 <https://github.com/PyGithub/PyGithub/commit/ddd437a7>`_)

Bug Fixes & Improvements
^^^^^^^^^^^^^^^^^^^^^^^^

* Do not import from unpackaged paths in typing (`1926 <https://github.com/PyGithub/PyGithub/pull/1926>`_) (`27ba7838 <https://github.com/PyGithub/PyGithub/commit/27ba7838>`_)
* Implement hash for CompletableGithubObject (`1922 <https://github.com/PyGithub/PyGithub/pull/1922>`_) (`4faff23c <https://github.com/PyGithub/PyGithub/commit/4faff23c>`_)
* Use property decorator to improve typing compatibility (`1925 <https://github.com/PyGithub/PyGithub/pull/1925>`_) (`e4168109 <https://github.com/PyGithub/PyGithub/commit/e4168109>`_)
* Fix :rtype: directive (`1927 <https://github.com/PyGithub/PyGithub/pull/1927>`_) (`54b6a97b <https://github.com/PyGithub/PyGithub/commit/54b6a97b>`_)
* Update most URLs to docs.github.com (`1896 <https://github.com/PyGithub/PyGithub/pull/1896>`_) (`babcbcd0 <https://github.com/PyGithub/PyGithub/commit/babcbcd0>`_)
* Tighten asserts for new Permission tests (`1893 <https://github.com/PyGithub/PyGithub/pull/1893>`_) (`5aab6f5d <https://github.com/PyGithub/PyGithub/commit/5aab6f5d>`_)
* Adding attributes "maintain" and "triage" to class "Permissions" (`1810 <https://github.com/PyGithub/PyGithub/pull/1810>`_) (`76879613 <https://github.com/PyGithub/PyGithub/commit/76879613>`_)
* Add default arguments to Workflow method type annotations (`1857 <https://github.com/PyGithub/PyGithub/pull/1857>`_) (`7d6bac9e <https://github.com/PyGithub/PyGithub/commit/7d6bac9e>`_)
* Re-raise the exception when failing to parse JSON (`1892 <https://github.com/PyGithub/PyGithub/pull/1892>`_) (`916da53b <https://github.com/PyGithub/PyGithub/commit/916da53b>`_)
* Allow adding attributes at the end of the list (`1807 <https://github.com/PyGithub/PyGithub/pull/1807>`_) (`0245b758 <https://github.com/PyGithub/PyGithub/commit/0245b758>`_)
* Updating links to Github documentation for deploy keys (`1850 <https://github.com/PyGithub/PyGithub/pull/1850>`_) (`c27fb919 <https://github.com/PyGithub/PyGithub/commit/c27fb919>`_)
* Update PyJWT Version to 2.0+ (`1891 <https://github.com/PyGithub/PyGithub/pull/1891>`_) (`a68577b7 <https://github.com/PyGithub/PyGithub/commit/a68577b7>`_)
* Use right variable in both get_check_runs() (`1889 <https://github.com/PyGithub/PyGithub/pull/1889>`_) (`3003e065 <https://github.com/PyGithub/PyGithub/commit/3003e065>`_)
* fix bad assertions in github.Project.edit (`1817 <https://github.com/PyGithub/PyGithub/pull/1817>`_) (`6bae9e5c <https://github.com/PyGithub/PyGithub/commit/6bae9e5c>`_)
* Test repr() for PublicKey (`1879 <https://github.com/PyGithub/PyGithub/pull/1879>`_) (`e0acd8f4 <https://github.com/PyGithub/PyGithub/commit/e0acd8f4>`_)
* Add support for deleting repository secrets (`1868 <https://github.com/PyGithub/PyGithub/pull/1868>`_) (`696793de <https://github.com/PyGithub/PyGithub/commit/696793de>`_)
* Switch repository secrets to using f-strings (`1867 <https://github.com/PyGithub/PyGithub/pull/1867>`_) (`aa240304 <https://github.com/PyGithub/PyGithub/commit/aa240304>`_)
* Manually fixing paths for codecov.io to cover all project files (`1813 <https://github.com/PyGithub/PyGithub/pull/1813>`_) (`b2232c89 <https://github.com/PyGithub/PyGithub/commit/b2232c89>`_)
* Add missing links to project metadata (`1789 <https://github.com/PyGithub/PyGithub/pull/1789>`_) (`64f532ae <https://github.com/PyGithub/PyGithub/commit/64f532ae>`_)
* No longer show username and password examples (`1866 <https://github.com/PyGithub/PyGithub/pull/1866>`_) (`55d98373 <https://github.com/PyGithub/PyGithub/commit/55d98373>`_)
* Adding github actions secrets (`1681 <https://github.com/PyGithub/PyGithub/pull/1681>`_) (`c90c050e <https://github.com/PyGithub/PyGithub/commit/c90c050e>`_)
* fix get_user_issues (`1842 <https://github.com/PyGithub/PyGithub/pull/1842>`_) (`7db1b0c9 <https://github.com/PyGithub/PyGithub/commit/7db1b0c9>`_)
* Switch all string addition to using f-strings (`1774 <https://github.com/PyGithub/PyGithub/pull/1774>`_) (`290b6272 <https://github.com/PyGithub/PyGithub/commit/290b6272>`_)
* Enabling connection pool_size definition (`a77d4f48 <https://github.com/PyGithub/PyGithub/commit/a77d4f48>`_)
* Always define the session adapter (`aaec0a0f <https://github.com/PyGithub/PyGithub/commit/aaec0a0f>`_)

1.54.1

-----------------------------------

* Pin pyjwt version (`1797 <https://github.com/PyGithub/PyGithub/pull/1797>`_) (`31a1c007 <https://github.com/PyGithub/PyGithub/commit/31a1c007>`_)
* Add pyupgrade to pre-commit configuration (`1783 <https://github.com/PyGithub/PyGithub/pull/1783>`_) (`e113e37d <https://github.com/PyGithub/PyGithub/commit/e113e37d>`_)
* Fix 1731: Incorrect annotation (`82c349ce <https://github.com/PyGithub/PyGithub/commit/82c349ce>`_)
* Drop support for Python 3.5 (`1770 <https://github.com/PyGithub/PyGithub/pull/1770>`_) (`63e4fae9 <https://github.com/PyGithub/PyGithub/commit/63e4fae9>`_)
* Revert "Pin requests to <2.25 as well (`1757 <https://github.com/PyGithub/PyGithub/pull/1757>`_)" (#1763) (`a806b523 <https://github.com/PyGithub/PyGithub/commit/a806b523>`_)
* Fix stubs file for Repository (`fab682a5 <https://github.com/PyGithub/PyGithub/commit/fab682a5>`_)

1.54

-----------------------------------

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 <https://github.com/PyGithub/PyGithub/pull/1764>`_) (`6d501b28 <https://github.com/PyGithub/PyGithub/commit/6d501b28>`_)
* Add missing preview features of Deployment and Deployment Statuses API (`1674 <https://github.com/PyGithub/PyGithub/pull/1674>`_) (`197e0653 <https://github.com/PyGithub/PyGithub/commit/197e0653>`_)
* Correct typing for Commit.get_comments() (`1765 <https://github.com/PyGithub/PyGithub/pull/1765>`_) (`fcdd9eae <https://github.com/PyGithub/PyGithub/commit/fcdd9eae>`_)
* Pin requests to <2.25 as well (`1757 <https://github.com/PyGithub/PyGithub/pull/1757>`_) (`d159425f <https://github.com/PyGithub/PyGithub/commit/d159425f>`_)
* Add Support for Check Runs (`1727 <https://github.com/PyGithub/PyGithub/pull/1727>`_) (`c77c0676 <https://github.com/PyGithub/PyGithub/commit/c77c0676>`_)
* Added a method for getting a user by their id (`1691 <https://github.com/PyGithub/PyGithub/pull/1691>`_) (`4cfc9912 <https://github.com/PyGithub/PyGithub/commit/4cfc9912>`_)
* Fix 1742 - incorrect typehint for `Installation.id` (`1743 <https://github.com/PyGithub/PyGithub/pull/1743>`_) (`546f6495 <https://github.com/PyGithub/PyGithub/commit/546f6495>`_)
* Add WorkflowRun.workflow_id (`1737 <https://github.com/PyGithub/PyGithub/pull/1737>`_) (`78a29a7c <https://github.com/PyGithub/PyGithub/commit/78a29a7c>`_)
* Add support for Python 3.9 (`1735 <https://github.com/PyGithub/PyGithub/pull/1735>`_) (`1bb18ab5 <https://github.com/PyGithub/PyGithub/commit/1bb18ab5>`_)
* Added support for the Self-Hosted actions runners API (`1684 <https://github.com/PyGithub/PyGithub/pull/1684>`_) (`24251f4b <https://github.com/PyGithub/PyGithub/commit/24251f4b>`_)
* Fix Branch protection status in the examples (`1729 <https://github.com/PyGithub/PyGithub/pull/1729>`_) (`88800844 <https://github.com/PyGithub/PyGithub/commit/88800844>`_)
* Filter the DeprecationWarning in Team tests (`1728 <https://github.com/PyGithub/PyGithub/pull/1728>`_) (`23f47539 <https://github.com/PyGithub/PyGithub/commit/23f47539>`_)
* Added get_installations() to Organizations (`1695 <https://github.com/PyGithub/PyGithub/pull/1695>`_) (`b42fb244 <https://github.com/PyGithub/PyGithub/commit/b42fb244>`_)
* Fix 1507: Add new Teams: Add or update team repository endpoint (`1509 <https://github.com/PyGithub/PyGithub/pull/1509>`_) (`1c55be51 <https://github.com/PyGithub/PyGithub/commit/1c55be51>`_)
* Added support for `Repository.get_workflow_runs` parameters (`1682 <https://github.com/PyGithub/PyGithub/pull/1682>`_) (`c23564dd <https://github.com/PyGithub/PyGithub/commit/c23564dd>`_)
* feat(pullrequest): add the rebaseable attribute (`1690 <https://github.com/PyGithub/PyGithub/pull/1690>`_) (`ee4c7a7e <https://github.com/PyGithub/PyGithub/commit/ee4c7a7e>`_)
* Add support for deleting reactions (`1708 <https://github.com/PyGithub/PyGithub/pull/1708>`_) (`f7d203c0 <https://github.com/PyGithub/PyGithub/commit/f7d203c0>`_)
* Correct type hint for InputGitTreeElement.sha (`08b72b48 <https://github.com/PyGithub/PyGithub/commit/08b72b48>`_)
* Ignore new black formatting commit for git blame (`1680 <https://github.com/PyGithub/PyGithub/pull/1680>`_) (`7ec4f155 <https://github.com/PyGithub/PyGithub/commit/7ec4f155>`_)
* Format with new black (`1679 <https://github.com/PyGithub/PyGithub/pull/1679>`_) (`07e29fe0 <https://github.com/PyGithub/PyGithub/commit/07e29fe0>`_)
* Add get_timeline() to Issue's type stubs (`1663 <https://github.com/PyGithub/PyGithub/pull/1663>`_) (`6bc9ecc8 <https://github.com/PyGithub/PyGithub/commit/6bc9ecc8>`_)

Page 3 of 17

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.