All Versions
17
Latest Version
Avg Release Cycle
51 days
Latest Release
1241 days ago

Changelog History
Page 1

  • v1.54 Changes

    November 30, 2020

    Important

    ๐Ÿš€ This is the last release that will support Python 3.5.

    ๐Ÿ’ฅ Breaking Changes

    ๐Ÿšš The Github.get_installation(integer) method has been removed.
    ๐Ÿš€ Repository.create_deployment()'s payload parameter is now a dictionary.

    ๐Ÿ› Bug Fixes & Improvements

    • โž• Add support for Check Suites (#1764) (6d501b2)
    • โž• Add missing preview features of Deployment and Deployment Statuses API (#1674) (197e065)
    • Correct typing for Commit.get_comments() (#1765) (fcdd9ea)
    • ๐Ÿ“Œ Pin requests to <2.25 as well (#1757) (d159425)
    • โž• Add Support for Check Runs (#1727) (c77c067)
    • โž• Added a method for getting a user by their id (#1691) (4cfc991)
    • ๐Ÿ›  Fix #1742 - incorrect typehint for Installation.id (#1743) (546f649)
    • โž• Add WorkflowRun.workflow_id (#1737) (78a29a7)
    • โž• Add support for Python 3.9 (#1735) (1bb18ab)
    • โž• Added support for the Self-Hosted actions runners API (#1684) (24251f4)
    • ๐Ÿ›  Fix Branch protection status in the examples (#1729) (8880084)
    • โœ… Filter the DeprecationWarning in Team tests (#1728) (23f4753)
    • โž• Added get_installations() to Organizations (#1695) (b42fb24)
    • ๐Ÿ›  Fix #1507: Add new Teams: Add or update team repository endpoint (#1509) (1c55be5)
    • Added support for Repository.get_workflow_runs parameters (#1682) (c23564d)
    • feat(pullrequest): add the rebaseable attribute (#1690) (ee4c7a7)
    • โž• Add support for deleting reactions (#1708) (f7d203c)
    • Correct type hint for InputGitTreeElement.sha (08b72b4)
    • Ignore new black formatting commit for git blame (#1680) (7ec4f15)
    • Format with new black (#1679) (07e29fe)
    • โž• Add get_timeline() to Issue's type stubs (#1663) (6bc9ecc)
  • v1.53 Changes

    August 18, 2020
    • โœ… Test Organization.get_hook() (#1660) (2646a98)
    • Add method get_team_membership for user to Team (#1658) (749e8d3)
    • โž• Add typing files for OAuth classes (#1656) (429fcc7)
    • Fix Repository.create_repository_dispatch type signature (#1643) (f891bd6)
    • PaginatedList's totalCount is 0 if no last page (#1641) (69b37b4)
    • โž• Add initial support for Github Apps. (#1631) (260558c)
    • Correct *kwargs typing for search_ (#1636) (165d995)
    • Add delete_branch_on_merge arg to Repository.edit type stub (#1639) (15b5ae0)
    • ๐Ÿ›  Fix type stub for MainClass.get_user (#1637) (8912be6)
    • โž• Add type stub for Repository.create_fork (#1638) (de386df)
    • Correct Repository.create_pull typing harder (#1635) (5ad091d)
  • v1.52 Changes

    August 03, 2020
    • upload_asset with data in memory (#1601) (a778639)
    • ๐Ÿ‘‰ Make Issue.closed_by nullable (#1629) (06dae38)
    • โž• Add support for workflow dispatch event (#1625) (16850ef)
    • Do not check reaction_type before sending (#1592) (136a3e8)
    • Various Github Action improvement (#1610) (416f2d0)
    • more flexible header splitting (#1616) (85e7136)
    • Create Dependabot config file (#1607) (e272f11)
    • โž• Add support for deployment statuses (#1588) (048c8a1)
    • โž• Adds the 'twitter_username' attribute to NamedUser. (#1585) (079f75a)
    • Create WorkflowRun.timing namedtuple from the dict (#1587) (1879518)
    • โž• Add missing properties to PullRequest.pyi (#1577) (c84fad8)
    • โž• Add support for Workflow Runs (#1583) (4fb1d23)
    • More precise typing for Repository.create_pull (#1581) (4ed7aaf)
    • โšก๏ธ Update sphinx-rtd-theme requirement from <0.5 to <0.6 (#1563) (f9e4fee)
    • More precise typing for MainClass.get_user() (#1575) (3668f86)
    • ๐Ÿ“š Small documentation correction in Repository.py (#1565) (f0f6ec8)
    • โœ‚ Remove "api_preview" parameter from type stubs and docstrings
      (#1559) (cc1b884)
    • โฌ†๏ธ Upgrade actions/setup-python to v2 (#1555) (6f1640d)
    • ๐Ÿš€ Clean up tests for GitReleaseAsset (#1546) (925764a)
    • โšก๏ธ Repository.update_file() content also accepts bytes (#1543) (9fb8588)
    • ๐Ÿ›  Fix Repository.get_issues stub (#1540) (b40b75f)
    • Check all arguments of NamedUser.get_repos() (#1532) (69bfc32)
    • Correct Workflow typing (#1533) (f41c046)
    • โœ‚ Remove RateLimit.rate (#1529) (7abf600)
    • PullRequestReview is not a completable object (#1528) (19fc43a)
    • โœ… Test more attributes (#1526) (52ec366)
    • โœ‚ Remove pointless setters in GitReleaseAsset (#1527) (1dd1cf9)
    • โฌ‡๏ธ Drop some unimplemented methods in GitRef (#1525) (d4b6131)
    • โœ‚ Remove unneeded duplicate string checks in Branch (#1524) (61b6109)
    • Turn on coverage reporting for codecov (#1522) (e79b901)
    • Drastically increase coverage by checking repr() (#1521) (291c463)
    • Fixed formatting of docstrings for Repository.create_git_tag_and_release()
      and StatsPunchCard. (#1520) (ce400bc)
    • โœ‚ Remove Repository.topics (#1505) (53d58d2)
    • Small improvements to typing (#1517) (7b20b13)
    • Correct Repository.get_workflows() (#1518) (8727003)
    • ๐Ÿ“„ docs(repository): correct releases link (#1514) (f7cc534)
    • correct Repository.stargazers_count return type to int (#1513) (b5737d4)
    • ๐Ÿ›  Fix two RST warnings in Webhook.rst (#1512) (5a8bc20)
    • โœ… Filter FutureWarning for 2 test cases (#1510) (09a1d9e)
    • โš  Raise a FutureWarning on use of client_{id,secret} (#1506) (2475fa6)
    • Improve type signature for create_from_raw_data (#1503) (c7b5eff)
    • ๐Ÿšš feat(column): move, edit and delete project columns (#1497) (a32a896)
    • โž• Add support for Workflows (#1496) (a1ed7c0)
    • Add create_repository_dispatch to typing files (#1502) (ba9d59c)
    • โž• Add OAuth support for GitHub applications (4b43711)
    • Create AccessToken entity (4a6468a)
    • Extend installation attributes (61808da)
  • v1.51 Changes

    May 02, 2020
    • ๐Ÿ— Type stubs are now packaged with the build (#1489) (6eba450)
    • ๐Ÿ‘ท Travis CI is now dropped in favor of Github workflow (#1488) (d6e77ba)
    • Get the project column by id (#1466) (6385540)
  • v1.50 Changes

    April 26, 2020

    New features

    • ๐Ÿ‘ PyGithub now supports type checking thanks to (#1231) (91433fe)
    • Slack is now the main channel of communication rather than Gitter (6a6e7c2)
    • Ability to retrieve public events (#1481) (5cf9950)
    • Add and handle the maintainer_can_modify attribute in PullRequest (#1465) (e0997b4)
    • List matching references (#1471) (d3bc6a5)
    • Add create_repository_dispatch (#1449) (edcbdfd)
    • โž• Add some Organization and Repository attributes. (#1468) (3ab97d6)
    • โž• Add create project method (801ea38)

    ๐Ÿ› Bug Fixes & Improvements

    • โฌ‡๏ธ Drop use of shadow-cat for draft PRs (#1469) (84bb69a)
    • AuthenticatedUser.get_organization_membership() should be str (#1473) (38b34db)
    • ๐Ÿ“š Drop documentation for len() of PaginatedList (#1470) (7046259)
    • ๐Ÿ›  Fix param name of projectcard's move function (#1451) (bafc4ef)
    • โœ๏ธ Correct typos found with codespell (#1467) (83bef0f)
    • Export IncompletableObject in the github namespace (#1450) (0ebdbb2)
    • โž• Add GitHub Action workflow for checks (#1464) (f1401c1)
    • โฌ‡๏ธ Drop unneeded ignore rule for flake8 (#1454) (b4ca917)
    • โœ… Use pytest to parametrize tests (#1438) (d2e9bd6)
  • v1.47 Changes

    March 15, 2020

    Bug Fixes & Improvements

    • โž• Add support to edit and delete a project (#1434) (f11f739)
    • โž• Add method for fetching pull requests associated with a commit (#1433) (0c55381)
    • Add "get_repo_permission" to Team class (#1416) (219bde5)
    • โž• Add list projects support, update tests (#1431) (e44d11d)
    • Don't transform completely in PullRequest.*assignees (#1428) (b1c3549)
    • โž• Add create_project support, add tests (#1429) (bf62f75)
    • โž• Add draft attribute, update test (bd28524)
    • Docstring for Repository.create_git_tag_and_release (#1425) (bfeacde)
    • ๐Ÿ“„ Create a tox docs environment (#1426) (b30c09a)
    • โž• Add Deployments API (#1424) (3d93ee1)
    • โž• Add support for editing project cards (#1418) (425280c)
    • โž• Add draft flag parameter, update tests (bd0211e)
    • โœ… Switch to using pytest (#1423) (c822dd1)
    • ๐Ÿ›  Fix GitMembership with a hammer (#1420) (f2939eb)
    • โž• Add support to reply to a Pull request comment (#1374) (1c82573)
    • PullRequest.update_branch(): allow expected_head_sha to be empty (#1412) (806130e)
    • Implement ProjectCard.delete() (#1417) (aeb27b7)
    • โž• Add pre-commit plugin for black/isort/flake8 (#1398) (08b1c47)
    • โž• Add tox (#1388) (125536f)
    • Open file in text mode in scripts/add_attribute.py (#1396) (0396a49)
    • โš  Silence most ResourceWarnings (#1393) (dd31a70)
    • Assert more attributes in Membership (#1391) (d6dee01)
    • Assert on changed Repository attributes (#1390) (6e3ceb1)
    • โž• Add reset to the repr for Rate (#1389) (0829af8)
  • v1.46 Changes

    February 11, 2020

    Important

    ๐Ÿšš Python 2 support has been removed. If you still require Python 2, use 1.45.

    ๐Ÿ› Bug Fixes & Improvements

    • Add repo edit support for delete_branch_on_merge (#1381) (9564cd4)
    • ๐Ÿ›  Fix mistake in Repository.create_fork() (#1383) (ad040ba)
    • Correct two attributes in Invitation (#1382) (882fe08)
    • Search repo issues by string label (#1379) (4ae1a1e)
    • Correct Repository.create_git_tag_and_release() (#1362) (ead565a)
    • ๐Ÿ”ฆ exposed seats and filled_seats for Github Organization Plan (#1360) (06a300a)
    • Repository.create_project() body is optional (#1359) (0e09983)
    • ๐Ÿšš Implement move action for ProjectCard (#1356) (b11add4)
    • Tidy up ProjectCard.get_content() (#1355) (dd80a6c)
    • โž• Added nested teams and parent (#1348) (eacabb2)
    • Correct parameter for Label.edit (#1350) (16e5f98)
    • doc: example of Pull Request creation (#1344) (d5ad09a)
    • ๐Ÿ›  Fix PyPI wheel deployment (#1330) (4561930)
  • v1.45 Changes

    December 29, 2019

    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)
  • v1.44.1 Changes

    November 07, 2019
    • โž• Add Python 3.8 to classifiers list (#1280) (fec6034)
    • โœ… Expand Topic class and add test coverage (#1252) (ac68274)
    • โž• Add support for team discussions (#1246) (#1249) (ec3c8d7)
    • Correct API for NamedUser.get_organization_membership (#1277) (077c80b)
    • Correct header check for 2FA required (#1274) (6ad592b)
    • โœ… Use replay framework for Issue142 test (#1271) (4d258d9)
    • ๐Ÿ”€ Sync httpretty version requirement with setup.py (#1265) (99d3846)
    • ๐Ÿ– Handle unicode strings when recording responses (#1253) (#1254) (faa1bbd)
    • โž• Add assignee removal/addition support to PRs (#1241) (a163ba1)
    • Check if the version is empty in manage.sh (#1268) (db29483)
    • โšก๏ธ Encode content for {create,update}_file (#1267) (bc225f9)
    • โšก๏ธ Update changes.rst (#1263) (d7947d8)
  • v1.44 Changes

    October 19, 2019

    New features

    • โœ… This version supports running under Python 3 directly, and the test suite
      passes under both 2.7 and recent 3.x's.

    ๐Ÿ› Bug Fixes & Improvements

    • ๐Ÿšš Stop ignoring unused imports and remove them (#1250) (a076508)
    • โฌ†๏ธ Bump httpretty to be a greater or equal to (#1262) (27092fb)
    • โž• Add close all issues example (#1256) (13e2c7c)
    • โž• Add six to install_requires (#1245) (a840a90)
    • โœ… Implemented user organization membership. Added test case. (#1237) (e50420f)
    • ๐Ÿš€ Create DEPLOY.md (c9ed82b)
    • ๐Ÿ‘Œ Support non-default URLs in GithubIntegration (#1229) (e33858a)
    • Cleanup try/except import in PaginatedList (#1228) (89c967b)
    • โž• Add an IncompletableObject exception (#1227) (f91cbac)
    • ๐Ÿ›  Fix redundant int checks (#1226) (850da5a)
    • Jump from notifications to related PRs/issues. (#1168) (020fbeb)
    • Code review bodies are optional in some cases. (#1169) (b84d9b1)
    • โšก๏ธ Update changes.rst (#1223) (2df7269)
    • Do not auto-close issues with high priority tag (ab27ba4)
    • ๐Ÿ›  Fix bug in repository create new file example #1210 (#1211) (74cd685)
    • โœ‚ Remove more Python version specific code (#1193) (a0f01cf)
    • โฌ‡๏ธ Drop use of assertEquals (#1194) (7bac694)
    • ๐Ÿ›  Fix PR review creation. (#1184) (e90cdab)
    • โž• Add support to vulnerability alert and automated security fixes APIs (#1195) (8abd50e)
    • โœ‚ Delete Legacy submodule (#1192) (7ddb657)
    • โœ‚ Remove some uses of atLeastPython3 (#1191) (cca8e3a)
    • โš™ Run flake8 in Travis (#1163) (f93207b)
    • ๐Ÿ›  Fix directories for coverage in Travis (#1190) (657f87b)
    • Switch to using six (#1189) (dc2f2ad)
    • โšก๏ธ Update Repository.update_file() docstring (#1186) (f1ae720)
    • Correct return type of MainClass.get_organizations (#1179) (6e79d27)
    • โž• Add cryptography to test-requirements.txt (#1165) (9b1c1e0)