Pygithub

Latest version: v2.6.1

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

Scan your dependencies

Page 7 of 17

1.42

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

* Fix travis upload issue

Bug Fixes
^^^^^^^^^

* ``Repository.get_archive_link`` will now NOT follow HTTP redirect and return the url instead (`858 <https://github.com/PyGithub/PyGithub/pull/858>`_) (`43d325a5 <https://github.com/PyGithub/PyGithub/commit/43d325a5>`_)
* Fixed ``Gistfile.content`` (`486 <https://github.com/PyGithub/PyGithub/pull/486>`_) (`e1df09f7 <https://github.com/PyGithub/PyGithub/commit/e1df09f7>`_)
* Restored NamedUser.contributions attribute (`865 <https://github.com/PyGithub/PyGithub/pull/865>`_) (`b91dee8d <https://github.com/PyGithub/PyGithub/commit/b91dee8d>`_)

New features

* Add support for repository topics (`832 <https://github.com/PyGithub/PyGithub/pull/832>`_) (`c6802b51 <https://github.com/PyGithub/PyGithub/commit/c6802b51>`_)
* Branch Protection API overhaul (`790 <https://github.com/PyGithub/PyGithub/pull/790>`_) (`171cc567 <https://github.com/PyGithub/PyGithub/commit/171cc567>`_)

+ (**breaking**) Removed Repository.protect_branch
+ Add `BranchProtection <https://pygithub.readthedocs.io/en/latest/github_objects/BranchProtection.html>`__
+ Add `RequiredPullRequestReviews <https://pygithub.readthedocs.io/en/latest/github_objects/RequiredPullRequestReviews.html>`__
+ Add `RequiredStatusChecks <https://pygithub.readthedocs.io/en/latest/github_objects/RequiredStatusChecks.html>`__
+ Add ``Branch.get_protection``, ``Branch.get_required_pull_request_reviews``, ``Branch.get_required_status_checks``, etc

Improvements

* Add missing arguments to ``Repository.edit`` (`844 <https://github.com/PyGithub/PyGithub/pull/844>`_) (`29d23151 <https://github.com/PyGithub/PyGithub/commit/29d23151>`_)
* Add missing properties to Repository (`842 <https://github.com/PyGithub/PyGithub/pull/842>`_) (`2b352fb3 <https://github.com/PyGithub/PyGithub/commit/2b352fb3>`_)
* Adding archival support for ``Repository.edit`` (`843 <https://github.com/PyGithub/PyGithub/pull/843>`_) (`1a90f5db <https://github.com/PyGithub/PyGithub/commit/1a90f5db>`_)
* Add ``tag_name`` and ``target_commitish`` arguments to ``GitRelease.update_release`` (`834 <https://github.com/PyGithub/PyGithub/pull/834>`_) (`790f7dae <https://github.com/PyGithub/PyGithub/commit/790f7dae>`_)
* Allow editing of Team descriptions (`839 <https://github.com/PyGithub/PyGithub/pull/839>`_) (`c0021747 <https://github.com/PyGithub/PyGithub/commit/c0021747>`_)
* Add description to Organizations (`838 <https://github.com/PyGithub/PyGithub/pull/838>`_) (`1d918809 <https://github.com/PyGithub/PyGithub/commit/1d918809>`_)

1.41

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

Bug Fixes
^^^^^^^^^

* ``Repository.get_archive_link`` will now NOT follow HTTP redirect and return the url instead (`858 <https://github.com/PyGithub/PyGithub/pull/858>`_) (`43d325a5 <https://github.com/PyGithub/PyGithub/commit/43d325a5>`_)
* Fixed ``Gistfile.content`` (`486 <https://github.com/PyGithub/PyGithub/pull/486>`_) (`e1df09f7 <https://github.com/PyGithub/PyGithub/commit/e1df09f7>`_)
* Restored NamedUser.contributions attribute (`865 <https://github.com/PyGithub/PyGithub/pull/865>`_) (`b91dee8d <https://github.com/PyGithub/PyGithub/commit/b91dee8d>`_)

New features

* Add support for repository topics (`832 <https://github.com/PyGithub/PyGithub/pull/832>`_) (`c6802b51 <https://github.com/PyGithub/PyGithub/commit/c6802b51>`_)
* Branch Protection API overhaul (`790 <https://github.com/PyGithub/PyGithub/pull/790>`_) (`171cc567 <https://github.com/PyGithub/PyGithub/commit/171cc567>`_)

+ (**breaking**) Removed Repository.protect_branch
+ Add `BranchProtection <https://pygithub.readthedocs.io/en/latest/github_objects/BranchProtection.html>`__
+ Add `RequiredPullRequestReviews <https://pygithub.readthedocs.io/en/latest/github_objects/RequiredPullRequestReviews.html>`__
+ Add `RequiredStatusChecks <https://pygithub.readthedocs.io/en/latest/github_objects/RequiredStatusChecks.html>`__
+ Add ``Branch.get_protection``, ``Branch.get_required_pull_request_reviews``, ``Branch.get_required_status_checks``, etc

Improvements

* Add missing arguments to ``Repository.edit`` (`844 <https://github.com/PyGithub/PyGithub/pull/844>`_) (`29d23151 <https://github.com/PyGithub/PyGithub/commit/29d23151>`_)
* Add missing properties to Repository (`842 <https://github.com/PyGithub/PyGithub/pull/842>`_) (`2b352fb3 <https://github.com/PyGithub/PyGithub/commit/2b352fb3>`_)
* Adding archival support for ``Repository.edit`` (`843 <https://github.com/PyGithub/PyGithub/pull/843>`_) (`1a90f5db <https://github.com/PyGithub/PyGithub/commit/1a90f5db>`_)
* Add ``tag_name`` and ``target_commitish`` arguments to ``GitRelease.update_release`` (`834 <https://github.com/PyGithub/PyGithub/pull/834>`_) (`790f7dae <https://github.com/PyGithub/PyGithub/commit/790f7dae>`_)
* Allow editing of Team descriptions (`839 <https://github.com/PyGithub/PyGithub/pull/839>`_) (`c0021747 <https://github.com/PyGithub/PyGithub/commit/c0021747>`_)
* Add description to Organizations (`838 <https://github.com/PyGithub/PyGithub/pull/838>`_) (`1d918809 <https://github.com/PyGithub/PyGithub/commit/1d918809>`_)

1.40

-----------------------------------
* Major enhancement: use requests for HTTP instead of httplib (`664 <https://github.com/PyGithub/PyGithub/pull/664>`_) (`9aed19dd <https://github.com/PyGithub/PyGithub/commit/9aed19dd>`_)
* Test Framework improvement (`795 <https://github.com/PyGithub/PyGithub/pull/795>`_) (`faa8f205 <https://github.com/PyGithub/PyGithub/commit/faa8f205>`_)
* Handle HTTP 202 HEAD & GET with a retry (`791 <https://github.com/PyGithub/PyGithub/pull/791>`_) (`3aead158 <https://github.com/PyGithub/PyGithub/commit/3aead158>`_)
* Fix github API requests after asset upload (`771 <https://github.com/PyGithub/PyGithub/pull/771>`_) (`8bdac23c <https://github.com/PyGithub/PyGithub/commit/8bdac23c>`_)
* Add remove_membership() method to Teams class (`807 <https://github.com/PyGithub/PyGithub/pull/807>`_) (`817f2230 <https://github.com/PyGithub/PyGithub/commit/817f2230>`_)
* Add check-in to projects using PyGithub (`814 <https://github.com/PyGithub/PyGithub/pull/814>`_) (`05f49a59 <https://github.com/PyGithub/PyGithub/commit/05f49a59>`_)
* Include target_commitish in GitRelease (`788 <https://github.com/PyGithub/PyGithub/pull/788>`_) (`ba5bf2d7 <https://github.com/PyGithub/PyGithub/commit/ba5bf2d7>`_)
* Fix asset upload timeout, increase default timeout from 10s to 15s (`793 <https://github.com/PyGithub/PyGithub/pull/793>`_) (`140c6480 <https://github.com/PyGithub/PyGithub/commit/140c6480>`_)
* Fix Team.description (`797 <https://github.com/PyGithub/PyGithub/pull/797>`_) (`0e8ae376 <https://github.com/PyGithub/PyGithub/commit/0e8ae376>`_)
* Fix Content-Length invalid headers exception (`787 <https://github.com/PyGithub/PyGithub/pull/787>`_) (`23395f5f <https://github.com/PyGithub/PyGithub/commit/23395f5f>`_)
* Remove NamedUser.contributions (`774 <https://github.com/PyGithub/PyGithub/pull/774>`_) (`a519e467 <https://github.com/PyGithub/PyGithub/commit/a519e467>`_)
* Add ability to skip SSL cert verification for Github Enterprise (`758 <https://github.com/PyGithub/PyGithub/pull/758>`_) (`85a9124b <https://github.com/PyGithub/PyGithub/commit/85a9124b>`_)
* Correct Repository.get_git_tree recursive use (`767 <https://github.com/PyGithub/PyGithub/pull/767>`_) (`bd0cf309 <https://github.com/PyGithub/PyGithub/commit/bd0cf309>`_)
* Re-work PullRequest reviewer request (`765 <https://github.com/PyGithub/PyGithub/pull/765>`_) (`e2e29918 <https://github.com/PyGithub/PyGithub/commit/e2e29918>`_)
* Add support for team privacy (`763 <https://github.com/PyGithub/PyGithub/pull/763>`_) (`1f23c06a <https://github.com/PyGithub/PyGithub/commit/1f23c06a>`_)
* Add support for organization outside collaborators (`533 <https://github.com/PyGithub/PyGithub/pull/533>`_) (`c4446996 <https://github.com/PyGithub/PyGithub/commit/c4446996>`_)
* PullRequest labels should use Issues URL (`754 <https://github.com/PyGithub/PyGithub/pull/754>`_) (`678b6b20 <https://github.com/PyGithub/PyGithub/commit/678b6b20>`_)
* Support labels for PullRequests (`752 <https://github.com/PyGithub/PyGithub/pull/752>`_) (`a308dc92 <https://github.com/PyGithub/PyGithub/commit/a308dc92>`_)
* Add get_organizations() (`748 <https://github.com/PyGithub/PyGithub/pull/748>`_) (`1e0150b5 <https://github.com/PyGithub/PyGithub/commit/1e0150b5>`_)

1.39

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

* Add documentation to github.Repository.Repository.create_git_release() (`747 <https://github.com/PyGithub/PyGithub/pull/747>`_) (`a769c2ff <https://github.com/PyGithub/PyGithub/commit/a769c2ff>`_)
* Add add_to_members() and remove_from_membership() (`741 <https://github.com/PyGithub/PyGithub/pull/741>`_) (`4da483d1 <https://github.com/PyGithub/PyGithub/commit/4da483d1>`_)
* Documentation: clarify semantics of get_comments (`743 <https://github.com/PyGithub/PyGithub/pull/743>`_) (`fec3c943 <https://github.com/PyGithub/PyGithub/commit/fec3c943>`_)
* Add download_url to ContentFile, closes 575 (`ca6fbc45 <https://github.com/PyGithub/PyGithub/commit/ca6fbc45>`_)
* Add PullRequestComment.in_reply_to_id (`718 <https://github.com/PyGithub/PyGithub/pull/718>`_) (`eaa6a508 <https://github.com/PyGithub/PyGithub/commit/eaa6a508>`_)
* Add team privacy parameter to create team (`702 <https://github.com/PyGithub/PyGithub/pull/702>`_) (`5cb5ab71 <https://github.com/PyGithub/PyGithub/commit/5cb5ab71>`_)
* Implement License API (`734 <https://github.com/PyGithub/PyGithub/pull/734>`_) (`b54ccc78 <https://github.com/PyGithub/PyGithub/commit/b54ccc78>`_)
* Fix delete method for RepositoryKey (`911bf615 <https://github.com/PyGithub/PyGithub/commit/911bf615>`_)
* Remove edit for UserKey (`722f2534 <https://github.com/PyGithub/PyGithub/commit/722f2534>`_)
* Labels API: support description (`738 <https://github.com/PyGithub/PyGithub/pull/738>`_) (`42e75938 <https://github.com/PyGithub/PyGithub/commit/42e75938>`_)
* Added Issue.as_pull_request() and PullReqest.as_issue() (`630 <https://github.com/PyGithub/PyGithub/pull/630>`_) (`6bf2acc7 <https://github.com/PyGithub/PyGithub/commit/6bf2acc7>`_)
* Documentation: sort the Github Objects (`735 <https://github.com/PyGithub/PyGithub/pull/735>`_) (`1497e826 <https://github.com/PyGithub/PyGithub/commit/1497e826>`_)
* Add support for getting PR single review's comments. (`670 <https://github.com/PyGithub/PyGithub/pull/670>`_) (`612c3500 <https://github.com/PyGithub/PyGithub/commit/612c3500>`_)
* Update the RepositoryKey class (`530 <https://github.com/PyGithub/PyGithub/pull/530>`_) (`5e8c6832 <https://github.com/PyGithub/PyGithub/commit/5e8c6832>`_)
* Added since to PR review comments get (`577 <https://github.com/PyGithub/PyGithub/pull/577>`_) (`d8508285 <https://github.com/PyGithub/PyGithub/commit/d8508285>`_)
* Remove some duplicate attributes introduced in 522 (`566b28d3 <https://github.com/PyGithub/PyGithub/commit/566b28d3>`_)
* Added tarball_url, zipball_url, prerelease and draft property (`522 <https://github.com/PyGithub/PyGithub/pull/522>`_) (`c76e67b7 <https://github.com/PyGithub/PyGithub/commit/c76e67b7>`_)
* Source Import API (`673 <https://github.com/PyGithub/PyGithub/pull/673>`_) (`864c663a <https://github.com/PyGithub/PyGithub/commit/864c663a>`_)

1.38

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

* Updated readthedocs, PyPI to reflect latest version
* Added option to create review for Pull request (`662 <https://github.com/PyGithub/PyGithub/pull/662>`_) (`162f0397 <https://github.com/PyGithub/PyGithub/commit/162f0397>`_)
* Depreciate legacy search API (`3cd176e3 <https://github.com/PyGithub/PyGithub/commit/3cd176e3>`_)
* Filter team members by role (`491 <https://github.com/PyGithub/PyGithub/pull/491>`_) (`10ee17a2 <https://github.com/PyGithub/PyGithub/commit/10ee17a2>`_)
* Add url attribute to PullRequestReview object (`731 <https://github.com/PyGithub/PyGithub/pull/731>`_) (`0fb176fd <https://github.com/PyGithub/PyGithub/commit/0fb176fd>`_)
* Added target_commitish option to Repository.create_git_release() (`625 <https://github.com/PyGithub/PyGithub/pull/625>`_) (`0f0a7d4e <https://github.com/PyGithub/PyGithub/commit/0f0a7d4e>`_)
* Fix broken Github reference link in class docstrings (`a32a17bf <https://github.com/PyGithub/PyGithub/commit/a32a17bf>`_)
* Add hook support for organizations (`729 <https://github.com/PyGithub/PyGithub/pull/729>`_) (`c7f6563c <https://github.com/PyGithub/PyGithub/commit/c7f6563c>`_)
* Get organization from the team (`590 <https://github.com/PyGithub/PyGithub/pull/590>`_) (`d9c5a07f <https://github.com/PyGithub/PyGithub/commit/d9c5a07f>`_)
* Added search_commits (`727 <https://github.com/PyGithub/PyGithub/pull/727>`_) (`aa556f85 <https://github.com/PyGithub/PyGithub/commit/aa556f85>`_)
* Collaborator site admin (`719 <https://github.com/PyGithub/PyGithub/pull/719>`_) (`f8b23505 <https://github.com/PyGithub/PyGithub/commit/f8b23505>`_)
* Fix add_to_watched for AuthenticatedUser (`716 <https://github.com/PyGithub/PyGithub/pull/716>`_) (`6109eb3c <https://github.com/PyGithub/PyGithub/commit/6109eb3c>`_)

1.37

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

* Add __eq__ and __hash__ to NamedUser (`706 <https://github.com/PyGithub/PyGithub/pull/706>`_) (`8a13b274 <https://github.com/PyGithub/PyGithub/commit/8a13b274>`_)
* Add maintainer can modify flag to create pull request (`703 <https://github.com/PyGithub/PyGithub/pull/703>`_) (`0e5a1d1d <https://github.com/PyGithub/PyGithub/commit/0e5a1d1d>`_)
* Fix typo in Design.md (`701 <https://github.com/PyGithub/PyGithub/pull/701>`_) (`98d32af4 <https://github.com/PyGithub/PyGithub/commit/98d32af4>`_)
* Add role parameter to Team.add_membership method (`638 <https://github.com/PyGithub/PyGithub/pull/638>`_) (`01ab4cc6 <https://github.com/PyGithub/PyGithub/commit/01ab4cc6>`_)
* Add add_membership testcase (`637 <https://github.com/PyGithub/PyGithub/pull/637>`_) (`5a1424bb <https://github.com/PyGithub/PyGithub/commit/5a1424bb>`_)

Page 7 of 17

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.