Pygithub

Latest version: v2.3.0

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

Scan your dependencies

Page 7 of 8

1.42

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

* Fix travis upload issue

**BUGFIX**

* ``Repository.get_archive_link`` will now NOT follow HTTP redirect and return the url instead (858) (43d325a5)
* Fixed ``Gistfile.content`` (486) (e1df09f7)
* Restored NamedUser.contributions attribute (865) (b91dee8d)

New features

* Add support for repository topics (832) (c6802b51)
* Branch Protection API overhaul (790) (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) (29d23151)
* Add missing properties to Repository (842) (2b352fb3)
* Adding archival support for ``Repository.edit`` (843) (1a90f5db)
* Add ``tag_name`` and ``target_commitish`` arguments to ``GitRelease.update_release`` (834) (790f7dae)
* Allow editing of Team descriptions (839) (c0021747)
* Add description to Organizations (838) (1d918809)

1.41

**BUGFIX**

* ``Repository.get_archive_link`` will now NOT follow HTTP redirect and return the url instead (858) (43d325a5)
* Fixed ``Gistfile.content`` (486) (e1df09f7)
* Restored NamedUser.contributions attribute (865) (b91dee8d)

New features

* Add support for repository topics (832) (c6802b51)
* Branch Protection API overhaul (790) (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) (29d23151)
* Add missing properties to Repository (842) (2b352fb3)
* Adding archival support for ``Repository.edit`` (843) (1a90f5db)
* Add ``tag_name`` and ``target_commitish`` arguments to ``GitRelease.update_release`` (834) (790f7dae)
* Allow editing of Team descriptions (839) (c0021747)
* Add description to Organizations (838) (1d918809)

1.40

* Major enhancement: use requests for HTTP instead of httplib (664) (9aed19dd)
* Increase default timeout from 10s to 15s (793) (140c6480)
* Test Framework improvement (795) (faa8f205)
* Handle HTTP 202 HEAD & GET with a retry (791) (3aead158)
* Fix github API requests after asset upload (771) (8bdac23c)
* Add remove_membership() method to Teams class (807) (817f2230)
* Add check-in to projects using PyGithub (814) (05f49a59)
* Include target_commitish in GitRelease (788) (ba5bf2d7)
* Fix asset upload timeout, increase default timeout from 10s to 15s (793) (140c6480)
* Fix Team.description (797) (0e8ae376)
* Fix Content-Length invalid headers exception (787) (23395f5f)
* Remove NamedUser.contributions (774) (a519e467)

1.40a4

* Increase default timeout from 10s to 15s (793) (140c6480)
* Fix Team.description (797) (0e8ae376)
* Fix Content-Length invalid headers exception (787) (23395f5f)
* Remove NamedUser.contributions (774) (a519e467)
* Branch protection methods no longer require loki (775) (b1e9ae68)

1.40a3

* Add ability to skip SSL cert verification for Github Enterprise (758) (85a9124b)
* Correct Repository.get_git_tree recursive use (767) (bd0cf309)

1.40a2

* Re-work PullRequest reviewer request (765) (e2e29918)
* Add support for team privacy (763) (1f23c06a)
* Add support for organization outside collaborators (533) (c4446996)
* Make use of issue_url in PullRequest (755) (0dba048f)

Page 7 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.