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)