Version 1.43 (September 08, 2018)
BUGFIX
Repository.get_archive_link
will now NOT follow HTTP redirect and return the url instead (#858) (43d325a)- Fixed
Gistfile.content
(#486) (e1df09f) - Restored NamedUser.contributions attribute (#865) (b91dee8)
New features
-
Add support for required approving review count (#888) (ef16702)
-
Add
Organization.invite_user
(880)(eb80564) -
Add support for search/graphql rate limit (fd8a036)
-
Branch Protection API overhaul (#790) (171cc56)
- (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) (29d2315) - Add missing attributes to Repository (#842) (2b352fb)
- Adding archival support for
Repository.edit
(#843) (1a90f5d) - Add
tag_name
andtarget_commitish
arguments toGitRelease.update_release
(#834) (790f7da) - Allow editing of Team descriptions (#839) (c002174)
- Add description to Organizations (#838) (1d91880)
- Add missing attributes for IssueEvent (#857) (7ac2a2a)
- Change
MainClass.get_repo
default laziness (#882) (6732517)
Deprecation