Sourced from pygithub's releases.
v2.6.1
Bug Fixes
- Fix broken pickle support for
Authclasses by@EnricoMiin PyGithub/PyGithub#3211- Remove schema from
Deployment, removemessageattribute by@EnricoMiin PyGithub/PyGithub#3223- Fix incorrect deprecated import by
@EnricoMiin PyGithub/PyGithub#3225- Add
CodeSecurityConfigRepositoryreturned byget_repos_for_code_security_configby@EnricoMiin PyGithub/PyGithub#3219- Make
GitTag.verificationreturnGitCommitVerificationby@EnricoMiin PyGithub/PyGithub#3226Maintenance
- Mention removal of
AppAuth.private_keyin changelog by@EnricoMiin PyGithub/PyGithub#3212Full Changelog: https://github.com/PyGithub/PyGithub/compare/v2.6.0...v2.6.1
v2.6.0
Breaking Changes
- Rework
ViewsandClonesby@EnricoMiin PyGithub/PyGithub#3168: View and clones traffic information returned byRepository.get_views_trafficandRepository.get_clones_trafficnow return proper PyGithub objects, instead of adict, with all information that used to be provided by thedict:Code like
repo.get_views_traffic().["views"].timestamp repo.get_clones_traffic().["clones"].timestampshould be replaced with
repo.get_views_traffic().views.timestamp repo.get_clones_traffic().clones.timestamp
- Fix typos by
@kianmengin PyGithub/PyGithub#3086: PropertyOrganizationCustomProperty.respository_idrenamed toOrganizationCustomProperty.repository_id.New Features
- Add capability for global laziness by
@EnricoMiin PyGithub/PyGithub#2746- Add Support for GitHub Copilot Seat Management in Organizations by
@pashafateevin PyGithub/PyGithub#3082- Get branches where commit is head by
@EnricoMiin PyGithub/PyGithub#3083- Support downloading a Release Asset by
@neel-min PyGithub/PyGithub#3060- Add
Repository.merge_upstreammethod by@Felixoidin PyGithub/PyGithub#3175- Support updating pull request draft status by
@didotin PyGithub/PyGithub#3104- Add transfer ownership method to Repository by
@tanannie22in PyGithub/PyGithub#3091- Add enable and disable a Workflow by
@nickrmccloreyin PyGithub/PyGithub#3088- Add support for managing Code Security Configrations by
@billnapierin PyGithub/PyGithub#3095- Allow for private_key / sign function in AppAuth by
@EnricoMiin PyGithub/PyGithub#3065Improvements
- Update RateLimit object with all the new categories GitHub added. by
@billnapierin PyGithub/PyGithub#3096
... (truncated)
Sourced from pygithub's changelog.
Version 2.6.1 (February 21, 2025)
Bug Fixes ^^^^^^^^^
- Fix broken pickle support for
Authclasses ([#3211](https://github.com/pygithub/pygithub/issues/3211) <https://github.com/PyGithub/PyGithub/pull/3211>) (f975552a <https://github.com/PyGithub/PyGithub/commit/f975552a>)- Remove schema from
Deployment, removemessageattribute ([#3223](https://github.com/pygithub/pygithub/issues/3223) <https://github.com/PyGithub/PyGithub/pull/3223>) (d12e7d4c <https://github.com/PyGithub/PyGithub/commit/d12e7d4c>)- Fix incorrect deprecated import (
[#3225](https://github.com/pygithub/pygithub/issues/3225) <https://github.com/PyGithub/PyGithub/pull/3225>) (93297440 <https://github.com/PyGithub/PyGithub/commit/93297440>)- Add
CodeSecurityConfigRepositoryreturned byget_repos_for_code_security_config([#3219](https://github.com/pygithub/pygithub/issues/3219) <https://github.com/PyGithub/PyGithub/pull/3219>) (f997a2f6 <https://github.com/PyGithub/PyGithub/commit/f997a2f6>)- Make
GitTag.verificationreturnGitCommitVerification([#3226](https://github.com/pygithub/pygithub/issues/3226) <https://github.com/PyGithub/PyGithub/pull/3226>) (048a1a38 <https://github.com/PyGithub/PyGithub/commit/048a1a38>)Maintenance ^^^^^^^^^^^
- Mention removal of
AppAuth.private_keyin changelog ([#3212](https://github.com/pygithub/pygithub/issues/3212) <https://github.com/PyGithub/PyGithub/pull/3212>) (f5dc1c76 <https://github.com/PyGithub/PyGithub/commit/f5dc1c76>)Version 2.6.0 (February 15, 2025)
Breaking Changes ^^^^^^^^^^^^^^^^
Rework
ViewsandClones([#3168](https://github.com/pygithub/pygithub/issues/3168) <https://github.com/PyGithub/PyGithub/pull/3168>) (f7d52249 <https://github.com/PyGithub/PyGithub/commit/f7d52249>):View and clones traffic information returned by
Repository.get_views_trafficandRepository.get_clones_trafficnow return proper PyGithub objects, instead of adict, with all information that used to be provided by thedict:Code like
.. code-block:: python
repo.get_views_traffic().["views"].timestamp repo.get_clones_traffic().["clones"].timestamp
should be replaced with
.. code-block:: python
repo.get_views_traffic().views.timestamp repo.get_clones_traffic().clones.timestamp
Add
GitCommitVerificationclass ([#3028](https://github.com/pygithub/pygithub/issues/3028) <https://github.com/PyGithub/PyGithub/pull/3028>) (822e6d71 <https://github.com/PyGithub/PyGithub/commit/822e6d71>):Changes the return value of
GitTag.verificationandGitCommit.verificationfromdicttoGitCommitVerification.Code like
.. code-block:: python
tag.verification["reason"] commit.verification["reason"]
... (truncated)
da30d6e
Releasing v2.6.1 (#3230)f997a2f
Add CodeSecurityConfigRepository returned by
`get_repos_for_code_security_c...048a1a3
Make GitTag.verification return
GitCommitVerification (#3226)9329744
Fix incorrect deprecated import (#3225)d12e7d4
Remove schema from Deployment, remove message
attribute (#3223)f975552
Fix broken pickle support for Auth classes (#3211)f5dc1c7
Mention removal of AppAuth.private_key in changelog (#3212)e3e07d7
Fix PyPi upload (#3200)620c839
Fix PyPi upload (#3199)bf98e17
Release 2.6.0 (#3198)