Version 1.42 (August 19, 2018)
- Fix travis upload issue
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
-
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 properties 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)