---
title: "pygithub 2.10.0 Breaking Changes on PyPI | Since.dev"
description: "What each pygithub release removed, renamed or changed: 1,868 breaking changes in 28 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/pygithub
last_updated: 2026-12-04
---

# pygithub breaking changes

pygithub 2.10.0 (August 20, 2026) is its newest release with breaking changes, 216 of them. The first: PyGithub 2.10.0 drops support for Python 3.9. Every breaking API change we have recorded in pygithub on PyPI: 1,868 breaking changes in 28 versions. Below, its 28 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.11.0`, released December 4, 2026. [Source repository](https://github.com/pygithub/pygithub)

Its 2.10.0 release drops [Python 3.9](https://since.dev/calendar/python/3.9.md). [Python end of life dates](https://since.dev/calendar/python.md).

- From [1.59.0](#v-1-59-0) to [2.10.0](#v-2-10-0): 1,589 breaking changes in 13 versions.
- From [1.45](#v-1-45) to [2.10.0](#v-2-10-0): 1,858 breaking changes in 27 versions.

## pygithub 2.10.0 breaking changes

pygithub 2.10.0, released August 20, 2026: 216 breaking changes.

- **Removed**  

Python 3.9 reached end-of-life and support has been removed in this release; users on Python 3.9 must upgrade their interpreter. [github.com](https://github.com/PyGithub/PyGithub/releases/tag/v2.10.0)
- **Behavior changed** `GithubRetry`  

Caps rate limit backoff in GithubRetry in PyGithub 2.10.0 [github.com](https://github.com/PyGithub/PyGithub/releases/tag/v2.10.0)
- **Signature changed** `github.AdvisoryCredit.SimpleCredit.login`  

Was login: str | github.NamedUser.NamedUser; now login: str | NamedUser. [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.AdvisoryCreditDetailed.AdvisoryCreditDetailed.user`  

Was user: github.NamedUser.NamedUser; now user: NamedUser. [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.ApplicationOAuth.ApplicationOAuth.get_access_token`  

Was def get_access_token(self, code: str, state: str | None = None) -> AccessToken; now def get_access_token(self, code: str, code_verifier: str | None = None) -> AccessToken. [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.ApplicationOAuth.Requester.__init__`  

Was def \_\_init\_\_(self, auth: Auth | None, base_url: str, timeout: int, user_agent: str, per_page: int, verify: bool | str, retry: int | Retry | None, pool_size: int | None, seconds_between_requests: float | None = None... [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.Artifact.WorkflowRun.triggering_actor`  

Was triggering_actor: github.NamedUser.NamedUser; now triggering_actor: NamedUser. [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.Auth.GithubIntegration.__init__`  

Was def \_\_init\_\_(self, integration_id: int | str | None = None, private_key: str | None = None, base_url: str = Consts.DEFAULT_BASE_URL, \*, timeout: int = Consts.DEFAULT_TIMEOUT, user_agent: str = Consts.DEFAULT_USER_AGENT, per_page: int =... [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.AuthenticatedUser.Event.actor`  

Was actor: github.NamedUser.NamedUser; now actor: NamedUser. [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.AuthenticatedUser.Event.org`  

Was org: github.Organization.Organization; now org: Organization. [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.AuthenticatedUser.Event.repo`  

Was repo: github.Repository.Repository; now repo: Repository. [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.AuthenticatedUser.Gist.files`  

Was files: dict\[str, github.GistFile.GistFile\]; now files: dict\[str, GistFile\]. [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.AuthenticatedUser.Gist.fork_of`  

Was fork_of: github.Gist.Gist; now fork_of: Gist. [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.AuthenticatedUser.Gist.owner`  

Was owner: github.NamedUser.NamedUser; now owner: NamedUser. [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.AuthenticatedUser.Gist.user`  

Was user: github.NamedUser.NamedUser; now user: NamedUser. [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.AuthenticatedUser.Installation.get_repos`  

Was def get_repos(self) -> PaginatedList\[github.Repository.Repository\]; now def get_repos(self) -> PaginatedList\[Repository\]. [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.AuthenticatedUser.Migration.repositories`  

Was repositories: list\[github.Repository.Repository\]; now repositories: list\[Repository\]. [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.AuthenticatedUser.Notification.get_issue`  

Was def get_issue(self) -> github.Issue.Issue; now def get_issue(self) -> Issue. [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.AuthenticatedUser.Notification.get_pull_request`  

Was def get_pull_request(self) -> github.PullRequest.PullRequest; now def get_pull_request(self) -> PullRequest. [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.AuthenticatedUser.Notification.repository`  

Was repository: github.Repository.Repository; now repository: Repository. [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.AuthenticatedUser.Notification.subject`  

Was subject: github.NotificationSubject.NotificationSubject; now subject: NotificationSubject. [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.AuthenticatedUser.Organization.create_project`  

Was def create_project(self, name: str, body: Opt\[str\] = NotSet) -> github.Project.Project; now def create_project(self, name: str, body: Opt\[str\] = NotSet) -> Project. [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.AuthenticatedUser.Organization.create_repo`  

Was def create_repo(self, name: str, description: Opt\[str\] = NotSet, homepage: Opt\[str\] = NotSet, private: Opt\[bool\] = NotSet, visibility: Opt\[str\] = NotSet, has_issues: Opt\[bool\] = NotSet, has_wiki: Opt\[bool\] = NotSet, has_downloads... [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.AuthenticatedUser.Organization.create_secret`  

Was def create_secret(self, secret_name: str, unencrypted_value: str, visibility: str = 'all', selected_repositories: Opt\[list\[github.Repository.Repository\]\] = NotSet, secret_type: str = 'actions') ->... [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.AuthenticatedUser.Organization.create_variable`  

Was def create_variable(self, variable_name: str, value: str, visibility: str = 'all', selected_repositories: github.GithubObject.Opt\[list\[github.Repository.Repository\]\] = NotSet) -> github.OrganizationVariable.OrganizationVariable; now... [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.AuthenticatedUser.Organization.get_hook`  

Was def get_hook(self, id: int) -> github.Hook.Hook; now def get_hook(self, id: int) -> Hook. [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.AuthenticatedUser.Organization.get_hook_deliveries`  

Was def get_hook_deliveries(self, hook_id: int) -> PaginatedList\[github.HookDelivery.HookDeliverySummary\]; now def get_hook_deliveries(self, hook_id: int) -> PaginatedList\[HookDeliverySummary\]. [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.AuthenticatedUser.Organization.get_hook_delivery`  

Was def get_hook_delivery(self, hook_id: int, delivery_id: int) -> github.HookDelivery.HookDelivery; now def get_hook_delivery(self, hook_id: int, delivery_id: int) -> HookDelivery. [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.AuthenticatedUser.Project.create_column`  

Was def create_column(self, name: str) -> github.ProjectColumn.ProjectColumn; now def create_column(self, name: str) -> ProjectColumn. [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.AuthenticatedUser.Project.get_columns`  

Was def get_columns(self) -> PaginatedList\[github.ProjectColumn.ProjectColumn\]; now def get_columns(self) -> PaginatedList\[ProjectColumn\]. [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.AuthenticatedUser.Repository.create_autolink`  

Was def create_autolink(self, key_prefix: str, url_template: str, is_alphanumeric: Opt\[bool\] = NotSet) -> github.Autolink.Autolink; now def create_autolink(self, key_prefix: str, url_template: str, is_alphanumeric: Opt\[bool\] = NotSet) ->... [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.AuthenticatedUser.Repository.create_pull`  

Was def create_pull(self, base: str, head: str, \*, title: Opt\[str\] = NotSet, body: Opt\[str\] = NotSet, maintainer_can_modify: Opt\[bool\] = NotSet, draft: Opt\[bool\] = NotSet, issue: Opt\[github.Issue.Issue\] = NotSet) ->... [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.AuthenticatedUser.Repository.create_repository_advisory`  

Was def create_repository_advisory(self, summary: str, description: str, severity_or_cvss_vector_string: str, cve_id: str | None = None, vulnerabilities: Iterable\[github.AdvisoryVulnerability.AdvisoryVulnerabilityInput\] | None = None... [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.AuthenticatedUser.Repository.create_secret`  

Was def create_secret(self, secret_name: str, unencrypted_value: str, secret_type: str = 'actions') -> github.Secret.Secret; now def create_secret(self, secret_name: str, unencrypted_value: str, secret_type: str = 'actions') -> Secret. [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.AuthenticatedUser.Repository.create_variable`  

Was def create_variable(self, variable_name: str, value: str) -> github.Variable.Variable; now def create_variable(self, variable_name: str, value: str) -> Variable. [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.AuthenticatedUser.Repository.get_hook_deliveries`  

Was def get_hook_deliveries(self, hook_id: int) -> PaginatedList\[github.HookDelivery.HookDeliverySummary\]; now def get_hook_deliveries(self, hook_id: int) -> PaginatedList\[HookDeliverySummary\]. [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.AuthenticatedUser.Repository.get_hook_delivery`  

Was def get_hook_delivery(self, hook_id: int, delivery_id: int) -> github.HookDelivery.HookDelivery; now def get_hook_delivery(self, hook_id: int, delivery_id: int) -> HookDelivery. [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.AuthenticatedUser.Repository.get_repository_advisories`  

Was def get_repository_advisories(self) -> PaginatedList\[github.RepositoryAdvisory.RepositoryAdvisory\]; now def get_repository_advisories(self) -> PaginatedList\[RepositoryAdvisory\]. [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.AuthenticatedUser.Repository.get_repository_advisory`  

Was def get_repository_advisory(self, ghsa: str) -> github.RepositoryAdvisory.RepositoryAdvisory; now def get_repository_advisory(self, ghsa: str) -> RepositoryAdvisory. [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.AuthenticatedUser.Repository.get_secret`  

Was def get_secret(self, secret_name: str, secret_type: str = 'actions') -> github.Secret.Secret; now def get_secret(self, secret_name: str, secret_type: str = 'actions') -> Secret. [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.AuthenticatedUser.Repository.get_secrets`  

Was def get_secrets(self, secret_type: str = 'actions') -> PaginatedList\[github.Secret.Secret\]; now def get_secrets(self, secret_type: str = 'actions') -> PaginatedList\[Secret\]. [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.AuthenticatedUser.Repository.get_variable`  

Was def get_variable(self, variable_name: str) -> github.Variable.Variable; now def get_variable(self, variable_name: str) -> Variable. [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.AuthenticatedUser.Repository.get_variables`  

Was def get_variables(self) -> PaginatedList\[github.Variable.Variable\]; now def get_variables(self) -> PaginatedList\[Variable\]. [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.AuthenticatedUser.Repository.report_security_vulnerability`  

Was def report_security_vulnerability(self, summary: str, description: str, severity_or_cvss_vector_string: str, cve_id: str | None = None, vulnerabilities: Iterable\[github.AdvisoryVulnerability.AdvisoryVulnerabilityInput\] | None = None... [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.AuthenticatedUser.Repository.template_repository`  

Was template_repository: github.Repository.Repository; now template_repository: Repository. [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.Branch.RequiredPullRequestReviews.dismissal_teams`  

Was dismissal_teams: list\[Team\]; now dismissal_teams: list\[Team\] | None. [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.Branch.RequiredPullRequestReviews.dismissal_users`  

Was dismissal_users: list\[NamedUser\]; now dismissal_users: list\[NamedUser\] | None. [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.CheckRun.Deployment.create_status`  

Was def create_status(self, state: str, target_url: Opt\[str\] = NotSet, description: Opt\[str\] = NotSet, environment: Opt\[str\] = NotSet, environment_url: Opt\[str\] = NotSet, auto_inactive: Opt\[bool\] = NotSet) ->... [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.CheckRun.Deployment.get_status`  

Was def get_status(self, id\_: int) -> github.DeploymentStatus.DeploymentStatus; now def get_status(self, id\_: int) -> DeploymentStatus. [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)
- **Signature changed** `github.CheckRun.Deployment.get_statuses`  

Was def get_statuses(self) -> PaginatedList\[github.DeploymentStatus.DeploymentStatus\]; now def get_statuses(self) -> PaginatedList\[DeploymentStatus\]. [pypi.org](https://pypi.org/project/PyGithub/2.10.0/)

And 166 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## pygithub 2.9.0 breaking changes

pygithub 2.9.0, released March 22, 2026: 61 breaking changes.

- **Removed**  

Python 3.8 reached end-of-life and support was removed in this release. Users on Python 3.8 must upgrade Python before installing this version. [github.com](https://github.com/PyGithub/PyGithub/releases/tag/v2.9.0)
- **Removed** `github.Commit.CompletableGithubObject`  

github.Commit.CompletableGithubObject was removed in PyGithub 2.9.0 [pypi.org](https://pypi.org/project/PyGithub/2.9.0/)
- **Removed** `github.CommitComment.Reaction.__eq__`  

github.CommitComment.Reaction.\_\_eq\_\_ was removed in PyGithub 2.9.0 [pypi.org](https://pypi.org/project/PyGithub/2.9.0/)
- **Removed** `github.CommitComment.Reaction.__hash__`  

github.CommitComment.Reaction.\_\_hash\_\_ was removed in PyGithub 2.9.0 [pypi.org](https://pypi.org/project/PyGithub/2.9.0/)
- **Removed** `github.CommitComment.Reaction.__ne__`  

github.CommitComment.Reaction.\_\_ne\_\_ was removed in PyGithub 2.9.0 [pypi.org](https://pypi.org/project/PyGithub/2.9.0/)
- **Removed** `github.CommitComment.Reaction.complete`  

github.CommitComment.Reaction.complete was removed in PyGithub 2.9.0 [pypi.org](https://pypi.org/project/PyGithub/2.9.0/)
- **Removed** `github.CommitComment.Reaction.completed`  

github.CommitComment.Reaction.completed was removed in PyGithub 2.9.0 [pypi.org](https://pypi.org/project/PyGithub/2.9.0/)
- **Removed** `github.CommitComment.Reaction.update`  

github.CommitComment.Reaction.update was removed in PyGithub 2.9.0 [pypi.org](https://pypi.org/project/PyGithub/2.9.0/)
- **Removed** `github.Reaction.Consts`  

github.Reaction.Consts was removed in PyGithub 2.9.0 [pypi.org](https://pypi.org/project/PyGithub/2.9.0/)
- **Behavior changed** `Commit.files`  

Iterating Commit.files now uses the configured per_page setting rather than a fixed page size. [github.com](https://github.com/PyGithub/PyGithub/releases/tag/v2.9.0)

And 51 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## pygithub 2.8.0 breaking changes

pygithub 2.8.0, released September 2, 2025: 58 breaking changes.

- **Default changed** `create_review`  

The COMMENT default event was removed from create_review, so pass the review event explicitly. [github.com](https://github.com/PyGithub/PyGithub/releases/tag/v2.8.0)
- **Signature changed** `github.ApplicationOAuth.Requester.graphql_node`  

Was def graphql_node(self, node_id: str, graphql_schema: str, node_type: str) -> tuple\[dict\[str, Any\], dict\[str, Any\]\]; now def graphql_node(self, node_id: str, output_schema: str, node_type: str) -> tuple\[dict\[str, Any\], dict\[str, Any\]\]. [pypi.org](https://pypi.org/project/PyGithub/2.8.0/)
- **Signature changed** `github.ApplicationOAuth.Requester.graphql_node_class`  

Was def graphql_node_class(self, node_id: str, graphql_schema: str, klass: type\[T_gh\], node_type: str | None = None) -> T_gh; now def graphql_node_class(self, node_id: str, output_schema: str, klass: type\[T_gh\], node_type: str | None =... [pypi.org](https://pypi.org/project/PyGithub/2.8.0/)
- **Signature changed** `github.AuthenticatedUser.Invitation.invitee`  

Was invitee: NamedUser; now invitee: NamedUser | Organization. [pypi.org](https://pypi.org/project/PyGithub/2.8.0/)
- **Signature changed** `github.AuthenticatedUser.Invitation.inviter`  

Was inviter: NamedUser; now inviter: NamedUser | Organization. [pypi.org](https://pypi.org/project/PyGithub/2.8.0/)
- **Signature changed** `github.AuthenticatedUser.Migration.owner`  

Was owner: github.NamedUser.NamedUser; now owner: NamedUser | Organization. [pypi.org](https://pypi.org/project/PyGithub/2.8.0/)
- **Signature changed** `github.AuthenticatedUser.Organization.create_team`  

Was def create_team(self, name: str, repo_names: Opt\[list\[Repository\]\] = NotSet, permission: Opt\[str\] = NotSet, privacy: Opt\[str\] = NotSet, description: Opt\[str\] = NotSet, parent_team_id: Opt\[int\] = NotSet, maintainers: Opt\[list\[int\]\] =... [pypi.org](https://pypi.org/project/PyGithub/2.8.0/)
- **Signature changed** `github.AuthenticatedUser.Organization.delete_self_hosted_runner`  

Was def delete_self_hosted_runner(self, runner_id: str) -> None; now def delete_self_hosted_runner(self, runner_id: int) -> None. [pypi.org](https://pypi.org/project/PyGithub/2.8.0/)
- **Signature changed** `github.AuthenticatedUser.Organization.get_self_hosted_runners`  

Was def get_self_hosted_runners(self) -> PaginatedList\[SelfHostedActionsRunner\]; now def get_self_hosted_runners(self, name: Opt\[str\] = NotSet) -> PaginatedList\[SelfHostedActionsRunner\]. [pypi.org](https://pypi.org/project/PyGithub/2.8.0/)
- **Signature changed** `github.AuthenticatedUser.Project.creator`  

Was creator: github.NamedUser.NamedUser; now creator: NamedUser | Organization. [pypi.org](https://pypi.org/project/PyGithub/2.8.0/)

And 48 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## pygithub 2.7.0 breaking changes

pygithub 2.7.0, released July 31, 2025: 55 breaking changes.

- **Removed** `github.AuthenticatedUser.Issue.score`  

github.AuthenticatedUser.Issue.score was removed in PyGithub 2.7.0 [pypi.org](https://pypi.org/project/PyGithub/2.7.0/)
- **Removed** `github.AuthenticatedUser.NamedUser.score`  

github.AuthenticatedUser.NamedUser.score was removed in PyGithub 2.7.0 [pypi.org](https://pypi.org/project/PyGithub/2.7.0/)
- **Removed** `github.Branch.Commit.score`  

github.Branch.Commit.score was removed in PyGithub 2.7.0 [pypi.org](https://pypi.org/project/PyGithub/2.7.0/)
- **Removed** `github.Commit.Commit.score`  

github.Commit.Commit.score was removed in PyGithub 2.7.0 [pypi.org](https://pypi.org/project/PyGithub/2.7.0/)
- **Removed** `github.ContentFile.ContentFile.score`  

github.ContentFile.ContentFile.score was removed in PyGithub 2.7.0 [pypi.org](https://pypi.org/project/PyGithub/2.7.0/)
- **Removed** `github.HookDelivery.github`  

HookDelivery.github was removed in PyGithub 2.7.0 [pypi.org](https://pypi.org/project/PyGithub/2.7.0/)
- **Removed** `github.Issue.Issue.score`  

github.Issue.Issue.score was removed in PyGithub 2.7.0 [pypi.org](https://pypi.org/project/PyGithub/2.7.0/)
- **Removed** `github.MainClass.Commit`  

github.MainClass.Commit was removed in PyGithub 2.7.0 [pypi.org](https://pypi.org/project/PyGithub/2.7.0/)
- **Removed** `github.MainClass.ContentFile`  

github.MainClass.ContentFile was removed in PyGithub 2.7.0 [pypi.org](https://pypi.org/project/PyGithub/2.7.0/)
- **Removed** `github.MainClass.Issue`  

github.MainClass.Issue was removed in PyGithub 2.7.0 [pypi.org](https://pypi.org/project/PyGithub/2.7.0/)

And 45 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## pygithub 2.6.1 breaking changes

pygithub 2.6.1, released February 21, 2025: 8 breaking changes.

- **Removed** `Deployment.message`  

The message attribute was removed from Deployment, along with its schema. Code that reads Deployment.message will fail. [github.com](https://github.com/PyGithub/PyGithub/releases/tag/v2.6.1)
- **Removed** `github.CheckRun.Deployment.message`  

github.CheckRun.Deployment.message was removed in PyGithub 2.6.1 [pypi.org](https://pypi.org/project/PyGithub/2.6.1/)
- **Removed** `github.Deployment.Deployment.message`  

github.Deployment.Deployment.message was removed in PyGithub 2.6.1 [pypi.org](https://pypi.org/project/PyGithub/2.6.1/)
- **Behavior changed** `GitTag.verification`  

GitTag.verification returns a GitCommitVerification object now. Code that depends on its previous return type must be updated. [github.com](https://github.com/PyGithub/PyGithub/releases/tag/v2.6.1)
- **Signature changed** `github.AuthenticatedUser.Organization.get_repos_for_code_security_config`  

Was def get_repos_for_code_security_config(self, id: int, status: Opt\[str\] = NotSet) -> PaginatedList\[Repository\]; now def get_repos_for_code_security_config(self, id: int, status: Opt\[str\] = NotSet) ->... [pypi.org](https://pypi.org/project/PyGithub/2.6.1/)
- **Signature changed** `github.GitTag.GitTag.verification`  

Was verification: dict\[str, Any\]; now verification: GitCommitVerification. [pypi.org](https://pypi.org/project/PyGithub/2.6.1/)
- **Signature changed** `github.Organization.Organization.get_repos_for_code_security_config`  

Was def get_repos_for_code_security_config(self, id: int, status: Opt\[str\] = NotSet) -> PaginatedList\[Repository\]; now def get_repos_for_code_security_config(self, id: int, status: Opt\[str\] = NotSet) ->... [pypi.org](https://pypi.org/project/PyGithub/2.6.1/)
- **Signature changed** `github.Repository.GitTag.verification`  

Was verification: dict\[str, Any\]; now verification: GitCommitVerification. [pypi.org](https://pypi.org/project/PyGithub/2.6.1/)

## pygithub 2.6.0 breaking changes

pygithub 2.6.0, released February 15, 2025: 152 breaking changes.

- **Removed** `github.AppAuthentication.AppAuth.private_key`  

github.AppAuthentication.AppAuth.private_key was removed in PyGithub 2.6.0 [pypi.org](https://pypi.org/project/PyGithub/2.6.0/)
- **Removed** `github.AppAuthentication.AppInstallationAuth.private_key`  

github.AppAuthentication.AppInstallationAuth.private_key was removed in PyGithub 2.6.0 [pypi.org](https://pypi.org/project/PyGithub/2.6.0/)
- **Removed** `github.Auth.AppAuth.private_key`  

github.Auth.AppAuth.private_key was removed in PyGithub 2.6.0 [pypi.org](https://pypi.org/project/PyGithub/2.6.0/)
- **Removed** `github.Auth.AppInstallationAuth.private_key`  

github.Auth.AppInstallationAuth.private_key was removed in PyGithub 2.6.0 [pypi.org](https://pypi.org/project/PyGithub/2.6.0/)
- **Removed** `github.Clones.Clones.timestamp`  

github.Clones.Clones.timestamp was removed in PyGithub 2.6.0 [pypi.org](https://pypi.org/project/PyGithub/2.6.0/)
- **Removed** `github.Organization.RepositoryCustomPropertyValues.respository_id`  

github.Organization.RepositoryCustomPropertyValues.respository_id was removed in PyGithub 2.6.0 [pypi.org](https://pypi.org/project/PyGithub/2.6.0/)
- **Removed** `github.OrganizationCustomProperty.RepositoryCustomPropertyValues.respository_id`  

github.OrganizationCustomProperty.RepositoryCustomPropertyValues.respository_id was removed in PyGithub 2.6.0 [pypi.org](https://pypi.org/project/PyGithub/2.6.0/)
- **Removed** `github.Repository.Clones.timestamp`  

github.Repository.Clones.timestamp was removed in PyGithub 2.6.0 [pypi.org](https://pypi.org/project/PyGithub/2.6.0/)
- **Removed** `github.Repository.View.timestamp`  

github.Repository.View.timestamp was removed in PyGithub 2.6.0 [pypi.org](https://pypi.org/project/PyGithub/2.6.0/)
- **Removed** `github.Requester.RequestsResponse.text`  

github.Requester.RequestsResponse.text was removed in PyGithub 2.6.0 [pypi.org](https://pypi.org/project/PyGithub/2.6.0/)

And 142 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Older versions

22 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### pygithub 2.5.0 breaking changes

pygithub 2.5.0, released November 6, 2024: 10 breaking changes.

- **Removed** `github.TeamDiscussion.CompletableGithubObject`  

github.TeamDiscussion.CompletableGithubObject was removed in PyGithub 2.5.0 [pypi.org](https://pypi.org/project/PyGithub/2.5.0/)
- **Removed** `github.TeamDiscussion.github`  

TeamDiscussion.github was removed in PyGithub 2.5.0 [pypi.org](https://pypi.org/project/PyGithub/2.5.0/)

And 8 more in this version.

### pygithub 2.4.0 breaking changes

pygithub 2.4.0, released August 26, 2024: 12 breaking changes.

- **Removed**  

Python 3.7 is no longer supported, so users on Python 3.7 must upgrade their Python version to use this release. [github.com](https://github.com/PyGithub/PyGithub/releases/tag/v2.4.0)
- **Behavior changed** `Commit.files`  

Commit.files returns a PaginatedList instead of a plain list, so code that relies on list-only behavior such as indexing or len may need to change. [github.com](https://github.com/PyGithub/PyGithub/releases/tag/v2.4.0)

And 10 more in this version.

### pygithub 2.3.0 breaking changes

pygithub 2.3.0, released March 24, 2024: 22 breaking changes.

- **Signature changed** `github.AuthenticatedUser.Organization.create_secret`  

Was def create_secret(self, secret_name: str, unencrypted_value: str, visibility: str = 'all', selected_repositories: Opt\[list\[github.Repository.Repository\]\] = NotSet) -> github.OrganizationSecret.OrganizationSecret; now def... [pypi.org](https://pypi.org/project/PyGithub/2.3.0/)
- **Signature changed** `github.AuthenticatedUser.Organization.get_public_key`  

Was def get_public_key(self) -> PublicKey; now def get_public_key(self, secret_type: str = 'actions') -> PublicKey. [pypi.org](https://pypi.org/project/PyGithub/2.3.0/)

And 20 more in this version.

### pygithub 2.2.0 breaking changes

pygithub 2.2.0, released January 30, 2024: 55 breaking changes.

- **Removed** `github.AppAuthentication.AppInstallationAuth.GithubIntegration`  

github.AppAuthentication.AppInstallationAuth.GithubIntegration was removed in PyGithub 2.2.0 [pypi.org](https://pypi.org/project/PyGithub/2.2.0/)
- **Removed** `github.AuthenticatedUser.Repository.update_environment`  

github.AuthenticatedUser.Repository.update_environment was removed in PyGithub 2.2.0 [pypi.org](https://pypi.org/project/PyGithub/2.2.0/)

And 53 more in this version.

### pygithub 2.1.1 breaking changes

pygithub 2.1.1, released September 29, 2023: 1 breaking change.

- **Configuration changed**  

The package now requires urllib 1.26.0 or greater, so environments pinning an older urllib must upgrade it before installing this release. [github.com](https://github.com/PyGithub/PyGithub/releases/tag/v2.1.1)

### pygithub 2.1.0.post0 breaking changes

pygithub 2.1.0.post0, released September 29, 2023: 938 breaking changes.

- **Removed** `github.AccessToken.github`  

AccessToken.github was removed in PyGithub 2.1.0.post0 [pypi.org](https://pypi.org/project/PyGithub/2.1.0.post0/)
- **Removed** `github.AuthenticatedUser.Organization.delete_secret`  

github.AuthenticatedUser.Organization.delete_secret was removed in PyGithub 2.1.0.post0 [pypi.org](https://pypi.org/project/PyGithub/2.1.0.post0/)

And 936 more in this version.

### pygithub 2.0.0rc0 breaking changes

pygithub 2.0.0rc0, released September 29, 2023: 1 breaking change.

- **Behavior changed** `github.Github`  

Requests are now throttled by default (1 second between writes, 0.25 second between requests) and retryable 403 and 5xx responses are retried by default. Set seconds_between_requests, seconds_between_writes and retry to None to restore... [github.com](https://github.com/PyGithub/PyGithub/releases/tag/v2.0.0-preview)

### pygithub 1.59.0 breaking changes

pygithub 1.59.0, released June 22, 2023: 110 breaking changes.

- **Removed** `github.AccessToken.NonCompletableGithubObject`  

github.AccessToken.NonCompletableGithubObject was removed in PyGithub 1.59.0 [pypi.org](https://pypi.org/project/PyGithub/1.59.0/)
- **Removed** `github.Authorization.CompletableGithubObject`  

github.Authorization.CompletableGithubObject was removed in PyGithub 1.59.0 [pypi.org](https://pypi.org/project/PyGithub/1.59.0/)

And 108 more in this version.

### pygithub 1.58.1 breaking changes

pygithub 1.58.1, released March 18, 2023: 3 breaking changes.

- **Configuration changed**  

The pyjwt dependency now pulls in the cryptography package through a crypto extra. Installs may pull in extra packages. [github.com](https://github.com/PyGithub/PyGithub/releases/tag/v1.58.1)
- **Configuration changed**  

Continuous integration now tests against Python 3.11 and 3.12 dev. This does not change which Python versions the package supports. [github.com](https://github.com/PyGithub/PyGithub/releases/tag/v1.58.1)

And 1 more in this version.

### pygithub 1.58.0 breaking changes

pygithub 1.58.0, released February 19, 2023: 31 breaking changes.

- **Removed** `github.Github.get_installation`  

Github.get_installation was removed in PyGithub 1.58.0 [pypi.org](https://pypi.org/project/PyGithub/1.58.0/)
- **Removed** `github.GithubIntegration.__init__`  

GithubIntegration() was removed in PyGithub 1.58.0 [pypi.org](https://pypi.org/project/PyGithub/1.58.0/)

And 29 more in this version.

### pygithub 1.57 breaking changes

pygithub 1.57, released November 5, 2022: 11 breaking changes.

- **Removed**  

Python 3.6 is no longer supported; users on Python 3.6 must upgrade their interpreter to keep using this release line. [github.com](https://github.com/PyGithub/PyGithub/releases/tag/v1.57)
- **Signature changed** `github.AuthenticatedUser.Repository.create_project`  

Was def create_project(self, name: str, body: str = github.GithubObject.NotSet) -> Project; now def create_project(self, name: str, body: Union\[str, \_NotSetType\] = github.GithubObject.NotSet) -> Project. [pypi.org](https://pypi.org/project/PyGithub/1.57/)

And 9 more in this version.

### pygithub 1.56 breaking changes

pygithub 1.56, released October 13, 2022: 12 breaking changes.

- **Removed**  

This is the last release that supports Python 3.6. Move to a newer Python version before upgrading past this release. [github.com](https://github.com/PyGithub/PyGithub/releases/tag/v1.56)
- **Behavior changed** `GithubException`  

Adding headers to GithubException is a breaking change. Code that depends on the exception's exact contents may need updating. [github.com](https://github.com/PyGithub/PyGithub/releases/tag/v1.56)

And 10 more in this version.

### pygithub 1.55 breaking changes

pygithub 1.55, released April 26, 2021: 19 breaking changes.

- **Removed** `client_id.client_secret authentication`  

Client ID and client secret authentication is no longer supported, so code using it must switch to another authentication method. [github.com](https://github.com/PyGithub/PyGithub/releases/tag/v1.55)
- **Behavior changed** `AuthenticatedUser.get_emails`  

Adjusted to GitHub API changes regarding emails, so the return value of get_emails() differs and code relying on its previous output may need updating. [github.com](https://github.com/PyGithub/PyGithub/releases/tag/v1.55)

And 17 more in this version.

### pygithub 1.54.1 breaking changes

pygithub 1.54.1, released December 24, 2020: 7 breaking changes.

- **Removed**  

Python 3.5 is no longer supported, so code running on Python 3.5 must upgrade its interpreter to keep using this release. [github.com](https://github.com/PyGithub/PyGithub/releases/tag/v1.54.1)
- **Signature changed** `github.AuthenticatedUser.Repository.get_deployment`  

Was def get_deployment(self, id\_: int) -> Any; now def get_deployment(self, id\_: int) -> Deployment. [pypi.org](https://pypi.org/project/PyGithub/1.54.1/)

And 5 more in this version.

### pygithub 1.54 breaking changes

pygithub 1.54, released November 30, 2020: 13 breaking changes.

- **Removed**  

This is the last release supporting Python 3.5; users on Python 3.5 must stay on this version or upgrade Python. [github.com](https://github.com/PyGithub/PyGithub/releases/tag/v1.54)
- **Removed** `Github.get_installation`  

The Github.get_installation(integer) method has been removed; code calling it with an integer must be updated. [github.com](https://github.com/PyGithub/PyGithub/releases/tag/v1.54)

And 11 more in this version.

### pygithub 1.53 breaking changes

pygithub 1.53, released August 18, 2020: 18 breaking changes.

- **Signature changed** `github.AuthenticatedUser.Repository.create_repository_dispatch`  

Was def create_repository_dispatch(self, event_type: str, client_payload: Dict\[str, str\] = github.GithubObject.NotSet) -> bool; now def create_repository_dispatch(self, event_type: str, client_payload: Dict\[str, Any\] =... [pypi.org](https://pypi.org/project/PyGithub/1.53/)
- **Signature changed** `github.AuthenticatedUser.Repository.edit`  

Was def edit(self, name: Optional\[str\] = None, description: Union\[str, \_NotSetType\] = github.GithubObject.NotSet, homepage: Union\[str, \_NotSetType\] = github.GithubObject.NotSet, private: Union\[bool, \_NotSetType\] =... [pypi.org](https://pypi.org/project/PyGithub/1.53/)

And 16 more in this version.

### pygithub 1.52 breaking changes

pygithub 1.52, released August 3, 2020: 30 breaking changes.

- **Removed** `github.AuthenticatedUser.Repository.topics`  

github.AuthenticatedUser.Repository.topics was removed in PyGithub 1.52 [pypi.org](https://pypi.org/project/PyGithub/1.52/)
- **Removed** `github.GithubObject.PullRequestReview.__eq__`  

github.GithubObject.PullRequestReview.\_\_eq\_\_ was removed in PyGithub 1.52 [pypi.org](https://pypi.org/project/PyGithub/1.52/)

And 28 more in this version.

### pygithub 1.51 breaking changes

pygithub 1.51, released May 2, 2020: 5 breaking changes.

- **Signature changed** `github.AuthenticatedUser.AuthenticatedUser.create_repo`  

Was def create_repo(self, name, description=github.GithubObject.NotSet, homepage=github.GithubObject.NotSet, private=github.GithubObject.NotSet, has_issues=github.GithubObject.NotSet, has_wiki=github.GithubObject.NotSet... [pypi.org](https://pypi.org/project/PyGithub/1.51/)
- **Signature changed** `github.Branch.Branch.edit_protection`  

Was def edit_protection(self, strict=github.GithubObject.NotSet, contexts=github.GithubObject.NotSet, enforce_admins=github.GithubObject.NotSet, dismissal_users=github.GithubObject.NotSet, dismissal_teams=github.GithubObject.NotSet... [pypi.org](https://pypi.org/project/PyGithub/1.51/)

And 3 more in this version.

### pygithub 1.50 breaking changes

pygithub 1.50, released April 26, 2020: 5 breaking changes.

- **Removed** `github.Consts.draftPullRequestPreview`  

Consts.draftPullRequestPreview was removed in PyGithub 1.50 [pypi.org](https://pypi.org/project/PyGithub/1.50/)
- **Removed** `len`  

Documentation for len() of PaginatedList dropped in PyGithub 1.50 [github.com](https://github.com/PyGithub/PyGithub/releases/tag/v1.50)

And 3 more in this version.

### pygithub 1.47 breaking changes

pygithub 1.47, released March 15, 2020: 1 breaking change.

- **Signature changed** `github.PullRequest.PullRequest.update_branch`  

Was def update_branch(self, expected_head_sha); now def update_branch(self, expected_head_sha=github.GithubObject.NotSet). [pypi.org](https://pypi.org/project/PyGithub/1.47/)

### pygithub 1.46 breaking changes

pygithub 1.46, released February 11, 2020: 4 breaking changes.

- **Removed**  

Python 2 support has been removed in this release. Users who still need Python 2 must stay on version 1.45. [github.com](https://github.com/PyGithub/PyGithub/releases/tag/v1.46)
- **Signature changed** `github.AuthenticatedUser.AuthenticatedUser.create_repo`  

Was def create_repo(self, name, description=github.GithubObject.NotSet, homepage=github.GithubObject.NotSet, private=github.GithubObject.NotSet, has_issues=github.GithubObject.NotSet, has_wiki=github.GithubObject.NotSet... [pypi.org](https://pypi.org/project/PyGithub/1.46/)

And 2 more in this version.

### pygithub 1.45 breaking changes

pygithub 1.45, released December 29, 2019: 10 breaking changes.

- **Removed**  

This is the last PyGithub release that supports Python 2; later versions drop it. [github.com](https://github.com/PyGithub/PyGithub/releases/tag/v1.45)
- **Removed** `Branch.edit_{user,team}_push_restrictions`  

The edit\_{user,team}\_push_restrictions() methods were removed. Use add\_, replace\_ or remove\_{user,team}\_push_restrictions() instead. [github.com](https://github.com/PyGithub/PyGithub/releases/tag/v1.45)

And 8 more in this version.

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
