Publish version 1.42

This commit is contained in:
Wan Liuyang
2018-08-19 12:27:09 +08:00
parent 0350531934
commit df57bf17a8
2 changed files with 32 additions and 1 deletions
+31
View File
@@ -4,6 +4,37 @@ Change log
Stable versions
~~~~~~~~~~~~~~~
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) (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)
Version 1.41 (August 19, 2018)
-----------------------------------
+1 -1
View File
@@ -44,7 +44,7 @@
import setuptools
import textwrap
version = "1.41"
version = "1.42"
if __name__ == "__main__":