Pygithub

Latest version: v2.3.0

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

Scan your dependencies

Page 5 of 8

1.45

**Important**

* This is the last release of PyGithub that will support Python 2.

**Breaking Changes**

* Branch.edit_{user,team}_push_restrictions() have been removed
* The new API is:
- Branch.add_{user,team}_push_restrictions() to add new members
- Branch.replace_{user,team}_push_restrictions() to replace all members
- Branch.remove_{user,team}_push_restrictions() to remove members
* The api_preview parameter to Github() has been removed.

**Bug Fixes & Improvements**

* Allow sha=None for InputGitTreeElement (1327) (60464f65)
* Support github timeline events. (1302) (732fd26a)
* Update link to GitHub Enterprise in README (1324) (e1537f79)
* Cleanup travis config (1322) (8189a538)
* Add support for update branch (1317) (baddb719)
* Refactor Logging tests (1315) (b0ef1909)
* Fix rtd build (b797cac0)
* Add .git-blame-ignore-revs (573c674b)
* Apply black to whole codebase (1303) (6ceb9e9a)
* Fix class used returning pull request comments (1307) (f8e33620)
* Support for create_fork (1306) (2ad51f35)
* Use Repository.get_contents() in tests (1301) (e40768e0)
* Allow GithubObject.update() to be passed headers (1300) (989b635e)
* Correct URL for assignees on PRs (1296) (3170cafc)
* Use inclusive ordered comparison for 'parameterized' requirement (1281) (fb19d2f2)
* Deprecate Repository.get_dir_contents() (1285) (21e89ff1)
* Apply some polish to manage.sh (1284) (3a723252)

1.44.1

* Add Python 3.8 to classifiers list (1280) (fec6034a)
* Expand Topic class and add test coverage (1252) (ac682742)
* Add support for team discussions (1246) (1249) (ec3c8d7b)
* Correct API for NamedUser.get_organization_membership (1277) (077c80ba)
* Correct header check for 2FA required (1274) (6ad592b1)
* Use replay framework for Issue142 test (1271) (4d258d93)
* Sync httpretty version requirement with setup.py (1265) (99d38468)
* Handle unicode strings when recording responses (1253) (1254) (faa1bbd6)
* Add assignee removal/addition support to PRs (1241) (a163ba15)
* Check if the version is empty in manage.sh (1268) (db294837)
* Encode content for {create,update}_file (1267) (bc225f9d)
* Update changes.rst (1263) (d7947d82)

1.44

**New features**
* This version supports running under Python 3 directly, and the test suite
passes under both 2.7 and recent 3.x's.

**Bug Fixes & Improvements**
* Stop ignoring unused imports and remove them (1250) (a0765083)
* Bump httpretty to be a greater or equal to (1262) (27092fb0)
* Add close all issues example (1256) (13e2c7c7)
* Add six to install_requires (1245) (a840a906)
* Implemented user organization membership. Added test case. (1237) (e50420f7)
* Create DEPLOY.md (c9ed82b2)
* Support non-default URLs in GithubIntegration (1229) (e33858a3)
* Cleanup try/except import in PaginatedList (1228) (89c967bb)
* Add an IncompletableObject exception (1227) (f91cbac2)
* Fix redundant int checks (1226) (850da5af)
* Jump from notifications to related PRs/issues. (1168) (020fbebc)
* Code review bodies are optional in some cases. (1169) (b84d9b19)
* Update changes.rst (1223) (2df7269a)
* Do not auto-close issues with high priority tag (ab27ba4d)
* Fix bug in repository create new file example PyGithub1210 (1211) (74cd6856)
* Remove more Python version specific code (1193) (a0f01cf9)
* Drop use of assertEquals (1194) (7bac694a)
* Fix PR review creation. (1184) (e90cdab0)
* Add support to vulnerability alert and automated security fixes APIs (1195) (8abd50e2)
* Delete Legacy submodule (1192) (7ddb657d)
* Remove some uses of atLeastPython3 (1191) (cca8e3a5)
* Run flake8 in Travis (1163) (f93207b4)
* Fix directories for coverage in Travis (1190) (657f87b5)
* Switch to using six (1189) (dc2f2ad8)
* Update Repository.update_file() docstring (1186) (f1ae7200)
* Correct return type of MainClass.get_organizations (1179) (6e79d270)
* Add cryptography to test-requirements.txt (1165) (9b1c1e09)

1.43.8

**New features**

* Add two factor attributes on organizations (1132) (a0731685)
* Add Repository methods for pending invitations (1159) (57af1e05)
* Adds `get_issue_events` to `PullRequest` object (1154) (acd515aa)
* Add invitee and inviter to Invitation (1156) (0f2beaca)
* Adding support for pending team invitations (993) (edab176b)
* Add support for custom base_url in GithubIntegration class (1093) (6cd0d644)
* GithubIntegration: enable getting installation (1135) (18187045)
* Add sorting capability to Organization.get_repos() (1139) (ef6f009d)
* Add new Organization.get_team_by_slug method (1144) (4349bca1)
* Add description field when creating a new team (1125) (4a37860b)
* Handle a path of / in Repository.get_contents() (1070) (102c8208)
* Add issue lock/unlock (1107) (ec7bbcf5)

**Bug Fixes & Improvements**

* Fix bug in recursive repository contents example (1166) (8b6b4505)
* Allow name to be specified for upload_asset (1151) (8d2a6b53)
* Fixes 1106 for GitHub Enterprise API (1110) (54065792)

1.43.7

* Exclude tests from PyPI distribution (1031) (78d283b9)
* Add codecov badge (1090) (4c0b54c0)

1.43.6

**New features**

* Add support for Python 3.7 (1028) (6faa00ac)
* Adding HTTP retry functionality via urllib3 (1002) (5ae7af55)
* Add new dismiss() method on PullRequestReview (1053) (8ef71b1b)
* Add since and before to `get_notifications` (1074) (7ee6c417)
* Add url parameter to include anonymous contributors in `get_contributors` (1075) (293846be)
* Provide option to extend expiration of jwt token (1068) (86a9d8e9)

**Bug Fixes & Improvements**

* Fix the default parameter for `PullRequest.create_review` (1058) (118def30)
* Fix `get_access_token` (1042) (6a89eb64)
* Fix `Organization.add_to_members` role passing (1039) (480f91cf)

**Deprecation**

* Remove Status API (6efd6318)

Page 5 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.