PyGitHub v1.45 Release Notes
Release Date: 2019-12-29 // over 4 years ago-
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) (60464f6)
- ๐ Support github timeline events. (#1302) (732fd26)
- โก๏ธ Update link to GitHub Enterprise in README (#1324) (e1537f7)
- Cleanup travis config (#1322) (8189a53)
- โ Add support for update branch (#1317) (baddb71)
- ๐จ Refactor Logging tests (#1315) (b0ef190)
- ๐ Fix rtd build (b797cac)
- โ Add .git-blame-ignore-revs (573c674)
- Apply black to whole codebase (#1303) (6ceb9e9)
- ๐ Fix class used returning pull request comments (#1307) (f8e3362)
- ๐ Support for create_fork (#1306) (2ad51f3)
- โ Use Repository.get_contents() in tests (#1301) (e40768e)
- ๐ Allow GithubObject.update() to be passed headers (#1300) (989b635)
- Correct URL for assignees on PRs (#1296) (3170caf)
- ๐ Use inclusive ordered comparison for 'parameterized' requirement (#1281) (fb19d2f)
- Deprecate Repository.get_dir_contents() (#1285) (21e89ff)
- ๐ Apply some polish to manage.sh (#1284) (3a72325)