Recent Releases of pygithub
pygithub - v2.7.0
What's Changed
Breaking Changes
- Method
Github.get_rate_limit()now returnsRateLimitOverviewrather thanRateLimit(https://github.com/PyGithub/PyGithub/pull/3205).
Code like
python
gh.get_rate_limit().core.remaining
should be replaced with
python
gh.get_rate_limit().resources.core.remaining
- Method
GitTag.verificationnow returnsGitCommitVerificationrather thandict[str, Any](https://github.com/PyGithub/PyGithub/pull/3226).
Code like
python
tag.verification["reason"]
tag.verification.get("reason")
should be replaced with
python
tag.verification.reason
New Features
- Add getting list of self-hosted runners of organization by @climbfuji in https://github.com/PyGithub/PyGithub/pull/3190
- Apply OpenAPI spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3317
- Add support for Sub-Issues by @e7217 in https://github.com/PyGithub/PyGithub/pull/3258
Improvement
- Refactor search results into separate classes by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3204
- Add
OrganizationInvitationby @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3207 - Add and apply missing schemas by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3209
- Sync
RepositoryAdvisorytests with OpenAPI spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3215 - Sync
ProjectColumnandProjectCardtests with OpenAPI spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3216 - Sync
CopilotSeatclass with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3232 - Sync
HookDeliverySummaryclass with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3233 - Sync
RequiredPullRequestReviewsclass with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3234 - Sync
RequiredStatusChecksclass with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3236 - Sync
Teamclass with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3237 - Replace
deprecated.deprecated()withtyping_extensions.deprecated()by @lazka in https://github.com/PyGithub/PyGithub/pull/3255 - fix(CodeScanAlert): add missing attributes by @ReenigneArcher in https://github.com/PyGithub/PyGithub/pull/3274
- Allow SHAs when creating PR comments by @tuchfarber in https://github.com/PyGithub/PyGithub/pull/3248
- Get collaborator role name by @jmgate in https://github.com/PyGithub/PyGithub/pull/3295
- Adding
prevent_self_reviewproperty toRepository.createEnvironmentby @gopidesupavan in https://github.com/PyGithub/PyGithub/pull/3246 - Add
PullRequest.get_issue_timelinemethod by @kukarkinmm in https://github.com/PyGithub/PyGithub/pull/3259 - Support built-in
reversed()onPaginatedListby @mfocko in https://github.com/PyGithub/PyGithub/pull/3260 - Relax 404 condition in
Requesterexception handling by @jsmolar in https://github.com/PyGithub/PyGithub/pull/3299 - Add
delete_self_hosted_runnertoOrganizationby @uncleDecart in https://github.com/PyGithub/PyGithub/pull/3306
Bug Fixes
- Fix broken pickle support for
Authclasses by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3211 - Remove schema from
Deployment, removemessageattribute by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3223 - Fix incorrect deprecated import by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3225
- Add
CodeSecurityConfigRepositoryreturned byget_repos_for_code_security_configby @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3219 - Fix
Branch.get_required_status_checksreturn type by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3235 - Adds
multi_selectandtrue_falseoptions toCustomProperty.value_typeby @gfog-floqast in https://github.com/PyGithub/PyGithub/pull/3173 - Fix url encoding of strings with slashes in URLs by @OscarVanL in https://github.com/PyGithub/PyGithub/pull/3263
- Fix side-effect when removing Authorization key from headers by @alecglen in https://github.com/PyGithub/PyGithub/pull/3313
- Make
TimingData.run_duration_msoptional by @LifeLex in https://github.com/PyGithub/PyGithub/pull/3268 - Normalize App ID to String & Enhance JWT Issuer Verification by @x612skm in https://github.com/PyGithub/PyGithub/pull/3272
Dependencies
- Bump actions/checkout from 3 to 4 by @dependabot[bot] in https://github.com/PyGithub/PyGithub/pull/2754
Maintenance
- Mention removal of
AppAuth.private_keyin changelog by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3212 - Remove wrong schema from Repository by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3220
- Rename
HookDeliveryRequestand…Responseprivate headers fields by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3221 - Sort classes' functions by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3231
- Move all Python files to future annotations by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3241
- Fix return type of
PaginatedList[int]by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3240 - Sync with OpenAPI spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3244
- Make token auth default in tests by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3242
- Add
Organization.get_repos_for_code_security_configtest by @billnapier in https://github.com/PyGithub/PyGithub/pull/3239 - Add Python 3.13 to CI by @lazka in https://github.com/PyGithub/PyGithub/pull/3253
- Enhance PyGithub webhook documentation by @ssganesh035 in https://github.com/PyGithub/PyGithub/pull/3267
- Create codeql.yml by @JLLeitschuh in https://github.com/PyGithub/PyGithub/pull/3277
- Add schema to
TimingDataby @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3206 - Remove error schemas from classes by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3202
New Contributors
- @ssganesh035 made their first contribution in https://github.com/PyGithub/PyGithub/pull/3267
- @ReenigneArcher made their first contribution in https://github.com/PyGithub/PyGithub/pull/3274
- @climbfuji made their first contribution in https://github.com/PyGithub/PyGithub/pull/3190
- @tuchfarber made their first contribution in https://github.com/PyGithub/PyGithub/pull/3248
- @jmgate made their first contribution in https://github.com/PyGithub/PyGithub/pull/3295
- @gopidesupavan made their first contribution in https://github.com/PyGithub/PyGithub/pull/3246
- @kukarkinmm made their first contribution in https://github.com/PyGithub/PyGithub/pull/3259
- @mfocko made their first contribution in https://github.com/PyGithub/PyGithub/pull/3260
- @gfog-floqast made their first contribution in https://github.com/PyGithub/PyGithub/pull/3173
- @jsmolar made their first contribution in https://github.com/PyGithub/PyGithub/pull/3299
- @OscarVanL made their first contribution in https://github.com/PyGithub/PyGithub/pull/3263
- @alecglen made their first contribution in https://github.com/PyGithub/PyGithub/pull/3313
- @LifeLex made their first contribution in https://github.com/PyGithub/PyGithub/pull/3268
- @e7217 made their first contribution in https://github.com/PyGithub/PyGithub/pull/3258
- @x612skm made their first contribution in https://github.com/PyGithub/PyGithub/pull/3272
- @uncleDecart made their first contribution in https://github.com/PyGithub/PyGithub/pull/3306
Full Changelog: https://github.com/PyGithub/PyGithub/compare/v2.6.0...v2.7.0
- Python
Published by EnricoMi 7 months ago
pygithub - v2.6.1
Bug Fixes
- Fix broken pickle support for
Authclasses by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3211 - Remove schema from
Deployment, removemessageattribute by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3223 - Fix incorrect deprecated import by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3225
- Add
CodeSecurityConfigRepositoryreturned byget_repos_for_code_security_configby @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3219 - Make
GitTag.verificationreturnGitCommitVerificationby @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3226
Maintenance
- Mention removal of
AppAuth.private_keyin changelog by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3212
Full Changelog: https://github.com/PyGithub/PyGithub/compare/v2.6.0...v2.6.1
- Python
Published by EnricoMi about 1 year ago
pygithub - v2.6.0
Breaking Changes
- Rework
ViewsandClonesby @EnricoMi in https://github.com/PyGithub/PyGithub/pull/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
python
repo.get_views_traffic().["views"].timestamp
repo.get_clones_traffic().["clones"].timestamp
should be replaced with
python
repo.get_views_traffic().views.timestamp
repo.get_clones_traffic().clones.timestamp
- Fix typos by @kianmeng in https://github.com/PyGithub/PyGithub/pull/3086:
Property
OrganizationCustomProperty.respository_idrenamed toOrganizationCustomProperty.repository_id.
New Features
- Add capability for global laziness by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/2746
- Add Support for GitHub Copilot Seat Management in Organizations by @pashafateev in https://github.com/PyGithub/PyGithub/pull/3082
- Get branches where commit is head by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3083
- Support downloading a Release Asset by @neel-m in https://github.com/PyGithub/PyGithub/pull/3060
- Add
Repository.merge_upstreammethod by @Felixoid in https://github.com/PyGithub/PyGithub/pull/3175 - Support updating pull request draft status by @didot in https://github.com/PyGithub/PyGithub/pull/3104
- Add transfer ownership method to Repository by @tanannie22 in https://github.com/PyGithub/PyGithub/pull/3091
- Add enable and disable a Workflow by @nickrmcclorey in https://github.com/PyGithub/PyGithub/pull/3088
- Add support for managing Code Security Configrations by @billnapier in https://github.com/PyGithub/PyGithub/pull/3095
- Allow for private_key / sign function in AppAuth by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3065
Improvements
- Update RateLimit object with all the new categories GitHub added. by @billnapier in https://github.com/PyGithub/PyGithub/pull/3096
- Add support for make-latest to creategitrelease and creategittagandrelease by @SebastienSyd in https://github.com/PyGithub/PyGithub/pull/3067
- Add branch protection support for
required_status_checks.checksobject by @treee111 in https://github.com/PyGithub/PyGithub/pull/2884 - Use id and tree_id from simple-commit to populate GitCommit.sha and GitCommit.tree by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3167
- Use message of response in GithubException by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3185
- Sync Advisory classes with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3193
- Sync Branch class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3109
- Sync BranchProtection class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3110
- Sync CheckRunAnnotation class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3112
- Sync CheckRun class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3111
- Sync CheckSuite class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3113
- Sync Commit class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3116
- Sync CommitComment class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3117
- Sync CommitStatus class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3118
- Sync ContentFile class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3119
- Sync DependabotAlert class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3120
- Sync Deployment class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3121
- Sync DeploymentStatus class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3122
- Sync Gist class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3123
- Sync GistComment class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3124
- Sync GitBlob class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3125
- Sync GitCommit class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3126
- Sync GithubApp class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3127
- Sync GitRef class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3128
- Sync GitReleaseAsset class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3130
- Sync GitRelease class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3129
- Sync GitTag class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3131
- Sync GitTree class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3132
- Sync Hook class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3133
- Sync HookDelivery class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3134
- Sync InstallationAuthorization class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3136
- Sync Installation class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3135
- Sync Invitation class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3139
- Sync Issue class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3140
- Sync IssueComment class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3141
- Sync IssueEvent class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3142
- Sync IssuePullRequest class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3143
- Sync Label class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3144
- Sync License class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3145
- Sync Membership class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3146
- Sync Migration class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3147
- Sync Milestone class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3148
- Sync NamedUser class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3149
- Sync Organization class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3150
- Sync OrganizationCustomProperty class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3151
- Sync Project class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3194
- Sync PublicKey class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3152
- Sync PullRequest class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3153
- Sync PullRequestComment class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3154
- Sync RateLimit class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3155
- Sync Repository class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3156
- Sync RepositoryKey class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3157
- Sync SecurityAndAnalysis class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3158
- Sync SelfHostedActionsRunner class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3159
- Sync SourceImport class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3160
- Sync Tag class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3161
- Sync Team class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3162
- Sync Topic class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3163
- Sync UserKey class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3164
- Sync Workflow class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3165
- Sync WorkflowRun class with API spec by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3166
Bug Fixes
- Patch httpretty socket for latest urllib3 release by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3102
- Fix API break when contents not found by @skinitimski in https://github.com/PyGithub/PyGithub/pull/3181
- Change
start_sideargument ofPullRequest.create_review_commentfrominttostrby @ryanpeach in https://github.com/PyGithub/PyGithub/pull/3170 - Create Review Request - transform string params to a list by @a-sido in https://github.com/PyGithub/PyGithub/pull/3099
- Fix
Repository.get_contentsredirection by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3183
Others
- Make
conclusionnullable inWorkflowJob.pyby @Apakottur in https://github.com/PyGithub/PyGithub/pull/3171 - Rename
Github.get_organizationargumentlogintoorgby @blyedev in https://github.com/PyGithub/PyGithub/pull/3187 - Make
NotSetanAttribute[Any]by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3057
Maintenance
- Sort attributes and properties in GitHub classes by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3105
- Preparations for maintaining Github classes by code by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3106
- Annotate Github classes with API schemas by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3107
- Make Pickle test use recorded data by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3137
- Add tests for file and stream downloads by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3182
- Use
responsesinstead ofhttprettyin tests by @majamassarini in https://github.com/PyGithub/PyGithub/pull/3087 - [CI] Publish test results by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3195
- Link Commit to correct upstream documentation by @xmo-odoo in https://github.com/PyGithub/PyGithub/pull/2936
- Replace release drafter with Github release note generation by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3196
- Add maintenance label to release.yml by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/3197
New Contributors
- @pashafateev made their first contribution in https://github.com/PyGithub/PyGithub/pull/3082
- @SebastienSyd made their first contribution in https://github.com/PyGithub/PyGithub/pull/3067
- @kianmeng made their first contribution in https://github.com/PyGithub/PyGithub/pull/3086
- @neel-m made their first contribution in https://github.com/PyGithub/PyGithub/pull/3060
- @skinitimski made their first contribution in https://github.com/PyGithub/PyGithub/pull/3181
- @majamassarini made their first contribution in https://github.com/PyGithub/PyGithub/pull/3087
- @didot made their first contribution in https://github.com/PyGithub/PyGithub/pull/3104
- @Apakottur made their first contribution in https://github.com/PyGithub/PyGithub/pull/3171
- @tanannie22 made their first contribution in https://github.com/PyGithub/PyGithub/pull/3091
- @ryanpeach made their first contribution in https://github.com/PyGithub/PyGithub/pull/3170
- @a-sido made their first contribution in https://github.com/PyGithub/PyGithub/pull/3099
- @nickrmcclorey made their first contribution in https://github.com/PyGithub/PyGithub/pull/3088
- @blyedev made their first contribution in https://github.com/PyGithub/PyGithub/pull/3187
Full Changelog: https://github.com/PyGithub/PyGithub/compare/v2.5.0...v2.6.0
- Python
Published by EnricoMi about 1 year ago
pygithub - v2.5.0
Breaking Changes
- Parameters of method
github.Requester.Requester.graphql_named_mutationhave been renamed:- Parameter
variablesrenamed tomutation_input - Parameter
outputrenamed tooutput_schema - Default value of parameter
outputhas been removed
- Parameter
New features
- Rework GraphQL mutations @EnricoMi (#3046)
- Make pagination work with GraphQL response data @EnricoMi (#3047)
- Add
RepositoryDiscussionpowered by GraphQL API @EnricoMi (#3048) - Add
Repository.get_discussion()to get a single Discussion @tiangolo (#3072)
Improvements
- Adds List organization memberships for the authenticated user @eduramirezh (#3040)
- Add
actorproperty to WorkflowRun @gbhand (#2764) - Make requester a public attribute @minrk (#3056)
Bug Fixes
- Fix requesting urls containing parameters with parameters dict @EnricoMi (#2929)
- PullRequest.delete_branch: fix the remaining pull requests check @fetsko (#3063)
Maintenance
- Remove stale bot @EnricoMi (510c1402)
- Upgrade Github actions @EnricoMi (#3075)
- Add top issues dashboard action @EnricoMi (#3049)
- Make tests pass some more years @bmwiedemann (#3045)
- Run top issues workflow only in PyGithub repo @EnricoMi (0d395d4e)
- Replace pre-commit action in order to pin pre-commit @minrk (#3059)
- Python
Published by github-actions[bot] over 1 year ago
pygithub - v2.4.0
New features
- Allow custom authentication @kliem (#2987)
Improvements
- Add
has_discussionstoAuthenticatedUserandRepositoryclasses @cwlls (#3020) - Update more
SecurityAndAnalysisattributes @squatched (#3025) - Implement support for re-running only failed workflow jobs. @chrisgavin (#2983)
- Add possibility to mark a thread/notification as done @m42e (#2985)
- Add "pull_request_review_id" to PullRequestComment object @stroebs (#3000)
- Add minimize and unminimize functions for IssueComment class @arash77 (#3005)
- Support Organization/Repository custom properties @jackylamhk (#2968)
- Add
dicttype toadd_attributescript @jackylamhk (#2977) - Allow for deleting and restoring branch associated with PR @austinsasko (#1784)
- Add "archived_at" to Organization object. @billnapier (#2974)
- Adds Security & Analysis To Repository @squatched (#2960)
- Add added_by and last_used attributes to RepositoryKey @ramiro (#2952)
- Add
make_latesttoGitRelease.update_release@treee111 (#2888) - Make Commit.files return PaginatedList @iarspider (#2939)
Bug Fixes
- Fix GraphQL Queries with Variables @kgal-pan (#3002)
Maintenance
- Remove support for Python 3.7 @EnricoMi @khneal (#3008, #2975)
- docs: add missing code-block @kumy (#2982)
- Update README.md @KPCOFGS (#2961)
- CI: Fix test success job @EnricoMi (#3010)
- Python
Published by EnricoMi over 1 year ago
pygithub - v2.3.0
New features
- Support oauth for enterprise @EnricoMi (#2780)
- Support creation of Dependabot Organization and Repository Secrets @thomascrowley (#2874)
Improvements
- Create release with optional
nameandmessagewhengenerate_release_notesis true @heitorpolidoro (#2868) - Add missing attributes to
WorkflowJob@xvega (#2921) - Add
createdandcheck_suite_idfilter for Repository Workflow runs @treee111 (#2891) - Assert requester argument type in Auth @EnricoMi (#2912)
Bug Fixes
- Revert having allowed values for
add_to_collaborators@jodelasur (#2905)
Maintenance
- Fix imports in authentication docs @wurstbrot (#2923)
- CI: add docformatter to precommit @Borda (#2614)
- Add
.swpfils to.gitignore@boomanaiden154 (#2903) - Fix instructions building docs in
CONTRIBUTING.md@wakamex (#2900) - Explicitly name the modules built in
pyproject.toml@treee111 (#2894)
- Python
Published by github-actions[bot] almost 2 years ago
pygithub - v2.2.0
Breaking Changes
The github.Comparison.Comparison instance returned by Repository.compare provides a commits property that used to return a list[github.Commit.Commit], which has now been changed to PaginatedList[github.Commit.Commit]. This breaks user code that assumes a list:
python
commits = repo.compare("v0.6", "v0.7").commits
no_of_commits = len(commits) # will raise a TypeError
This will raise a TypeError: object of type 'PaginatedList' has no len(), as the returned PaginatedList
does not support the len() method. Use the totalCount property instead:
python
commits = repo.compare("v0.6", "v0.7").commits
no_of_commits = commits.totalCount
New features
- Add support to call GraphQL API
Improvements
- Add parentteamid, maintainers and notification_setting for creating and updating teams. by @Cheshirez in https://github.com/PyGithub/PyGithub/pull/2863
- Add support for issue reactions summary by @smuzaffar in https://github.com/PyGithub/PyGithub/pull/2866
- Support for DependabotAlert APIs by @coopernetes in https://github.com/PyGithub/PyGithub/pull/2879
- Derive GraphQL URL from base_url by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/2880
- Make
Repository.compare().commitsreturn paginated list by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/2882 - Add missing branch protection fields by @treee111 in https://github.com/PyGithub/PyGithub/pull/2873
- Add
include_all_branchestocreate_repo_from_templateofAuthenticatedUserandOrganizationby @janssonoskar in https://github.com/PyGithub/PyGithub/pull/2871 - Add and update organisation dependabot secrets by @mohy01 in https://github.com/PyGithub/PyGithub/pull/2316
- Add missing params to
Organization.create_repoby @tekumara in https://github.com/PyGithub/PyGithub/pull/2700 - Update allowed values for
Repositorycollaborator permissions by @flying-sheep in https://github.com/PyGithub/PyGithub/pull/1996 - Support editing PullRequestReview by @ColasGael in https://github.com/PyGithub/PyGithub/pull/2851
- Update attributes after calling
PullRequestReview.dismissby @ColasGael in https://github.com/PyGithub/PyGithub/pull/2854 - Add
request_cveonRepositoryAdvisoriesby @JLLeitschuh in https://github.com/PyGithub/PyGithub/pull/2855 - Filter collaborators of a repository by permissions by @notmicaelfilipe in https://github.com/PyGithub/PyGithub/pull/2792
- Set pull request to auto merge via GraphQL API by @heitorpolidoro in https://github.com/PyGithub/PyGithub/pull/2816
- Support Environment Variables and Secrets by @AndrewJDawes in https://github.com/PyGithub/PyGithub/pull/2848
- Update workflow.getruns & pullrequest.addto_assignees function signature by @sd-kialo in https://github.com/PyGithub/PyGithub/pull/2799
- Add
GithubObject.last_modified_datetimeto havelast_modifiedas adatetimeby @chouetz in https://github.com/PyGithub/PyGithub/pull/2772 - Add support for global advisories and unify some shared logic with repository advisories by @crimsonknave in https://github.com/PyGithub/PyGithub/pull/2702
- Add
internalas valid Repository visibility value by @AndrewJDawes in https://github.com/PyGithub/PyGithub/pull/2806 - Add support for issue comments reactions summary by @smuzaffar in https://github.com/PyGithub/PyGithub/pull/2813
Bug Fixes
- Add a bunch of missing urllib.parse.quote calls by @ExplodingCabbage in https://github.com/PyGithub/PyGithub/pull/1976
- Fix Variable and Secret url bugs by @AndrewJDawes in https://github.com/PyGithub/PyGithub/pull/2835
Maintenance
- Update the class name for NetrcAuth in the examples by @vinnybod in https://github.com/PyGithub/PyGithub/pull/2860
- Move build to PEP517 by @trim21 in https://github.com/PyGithub/PyGithub/pull/2800
- Use new type assert functions in
Repositoryby @trim21 in https://github.com/PyGithub/PyGithub/pull/2798 - PyTest: Move config to pyproject.toml by @Borda in https://github.com/PyGithub/PyGithub/pull/2859
- codespell: ignore-words-list by @Borda in https://github.com/PyGithub/PyGithub/pull/2858
- Improve fix-headers.py script by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/2728
- Remove dependency on python-dateutil by @lazka in https://github.com/PyGithub/PyGithub/pull/2804
- CI: update precommit & apply by @Borda in https://github.com/PyGithub/PyGithub/pull/2600
- Docs: Fix parameter order according to Version 2.1.0 by @nad182 in https://github.com/PyGithub/PyGithub/pull/2786
- Add missing GitHub classes to docs by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/2783
- CI: Fix mypy error by ignoring override by @EnricoMi in https://github.com/PyGithub/PyGithub/pull/2779
Full Changelog: https://github.com/PyGithub/PyGithub/compare/v2.1.1...v2.2.0
- Python
Published by EnricoMi about 2 years ago
pygithub - v2.1.0.post0
Important
Request throttling
This release introduces a default throttling mechanism to mitigate secondary rate limit errors and comply with Github's best practices: https://docs.github.com/en/rest/guides/best-practices-for-integrators?apiVersion=2022-11-28#dealing-with-secondary-rate-limits
The default throttling of 1 second between writes and 0.25 second between any requests can be configured
for github.Github and github.GithubIntegration:
python
g = github.Github(seconds_between_requests=0.25, seconds_between_writes=1)
Set these parameters to None to disable throttling and restore earlier behavior.
Request retry
This release introduces a default retry mechanism to retry retry-able 403 responses (primary and secondary rate limit errors only) and any 5xx response.
Class github.GithubRetry implements this behavior, and can be configured via the retry argument of github.Github and github.GithubIntegration.
Retry behavior is configured similar to urllib3.Retry: https://urllib3.readthedocs.io/en/stable/reference/urllib3.util.html
python
g = github.Github(retry=github.GithubRetry())
Set this parameter to None to disable retry mechanism and restore earlier behaviour.
Breaking Changes
Timestamps
Any timestamps returned by this library are datetime with timezone information, usually UTC.
Before this release, timestamps used to be naive datetime instances without timezone.
Comparing (other than ==) these timestamps with naive datetime instances used to work but will now break.
Add a timezone information to your datetime instances before comparison:
python
if g.get_repo("PyGithub/PyGithub").created_at < datetime(2012, 2, 26, tzinfo=timezone.utc):
...
Netrc authentication
A Netrc file (e.g. ~/.netrc) does not override PyGithub authentication, anymore.
If you require authentication through Netrc, then this is a breaking change.
Use a github.Auth.Netrc instance to use Netrc credentials:
```python
auth = Auth.Netrc() g = Github(auth=auth) g.get_user().login 'login' ```
Repository.create_pull
Merged overloaded create_pull methods
python
def create_pull(self, issue, base, head)
def create_pull(self, title, body, base, head, maintainer_can_modify=NotSet, draft=False)
into
python
def create_pull(self, base, head, *, title=NotSet, body=NotSet, maintainer_can_modify=NotSet, draft=NotSet, issue=NotSet)
Please update your usage of Repository.create_pull accordingly.
New features
- Throttle requests to mitigate RateLimitExceededExceptions (#2145) (99155806)
- Retry retryable 403 (rate limit) (#2387) (0bb72ca0)
- Close connections after use (#2724) (73236e23)
Improvements
- Make datetime objects timezone-aware (#2565) (0177f7c5)
- Make
Branch.edit_*functions return objects (#2748) (8dee53a8) - Add
licenseattribute toRepository(#2721) (26d353e7) - Add missing attributes to
Repository(#2742) (65cfeb1b) - Add
is_alphanumericattribute toAutolinkandRepository.create_autolink(#2630) (b6a28a26) - Suppress
requestsfallback to netrc, providegithub.Auth.Netrc(#2739) (ac36f6a9) - Pass Requester arguments to
AppInstallationAuth.__integration(#2695) (8bf542ae) - Adding feature for enterprise consumed license (#2626) (a7bfdf2d)
- Search Workflows by Name (#2711) (eadc241e)
- Add
SecretandVariableclasses (#2623) (bcca758d) - Add Autolink API link (#2632) (aedfa0b9)
- Add
required_linear_historyattribute toBranchProtection(#2643) (7a80fad9) - Add retry issue to
GithubException, don't log it (#2611) (de80ff4b) - Add
messageproperty toGithubException(#2591) (f087cad3) - Add support for repo and org level actions variables (#2580) (91b3f40f)
- Add missing arguments to
Workflow.get_runs()(#2346) (766df993) - Add
github.Rate.usedfield (#2531) (c4c2e527)
Bug Fixes
- Fix
Branch.bypass_pull_request_allowancesfailing with "nil is not an object" (#2535) (c5542a6a) - Fix
required_conversation_resolutionassertion (#2715) (54f22267) - Fix assertion creating pull request review comment (#2641) (2fa568b6)
- Safely coerce
responseHeaderstoint(#2697) (adbfce92) - Fix assertion for
subject_typein creating pull request review comment (#2642) (4933459e) - Use timezone-aware reset datetime in
GithubRetry.py(#2610) (950a6949) - Fix
Branch.bypass_pull_request_allowancesfailing with "nil is not an object" (#2535) (c5542a6a)
Maintenance
- Epic mass-merge
.pyitype stubs back to.pysources (#2636) - Move to main default branch (#2566) (e66c163a)
- Force Unix EOL (#2573) (094538e1)
- Close replay test data file silently when test is failing already (#2747) (6d871d56)
- CI: Make CI support merge queue (#2644) (a91debf1)
- CI: Run CI on release branches (#2708) (9a88b6b1)
- CI: remove conflict label workflow (#2669) (95d8b83c)
- Fix pip install command in README.md (#2731) (2cc1ba2c)
- Update
add_attribute.pyto latest conding style (#2631) (e735972e) - CI: Improve ruff DX (#2667) (48d2009c)
- CI: Increase wait and retries of labels action (#2670) (ff0f31c2)
- Replace
flake8withruff(#2617) (42c3b47c) - CI: update labels action name and version (#2654) (c5c83eb5)
- CI: label PRs that have conflicts (#2622) (1d637e4b)
- Unify requirements files location & source in setup.py (#2598) (2edc0f8f)
- Enable mypy
disallow_untyped_defs(#2609) (294c0cc9) - Enable mypy
check_untyped_defs(#2607) (8816889a) - Set line length to 120 characters (#2599) (13e178a3)
- CI: Build and check package before release (#2593) (3c880e76)
- Use
typing_extensionsforTypedDict(#2592) (5fcb0c7d) - CI: Update action actions/setup-python (#2382) (2e5cd31e)
- Add more methods and attributes to Repository.pyi (#2581) (72840de4)
- CI: Make pytest color logs (#2597) (73241102)
- precommit: move
flake8as last (#2595) (11bb6bd7) - Test on Windows and macOS, don't fail fast (#2590) (5c600894)
- Remove symlinks from test data (#2588) (8d3b9057)
- Python
Published by EnricoMi over 2 years ago
pygithub - v2.0.1-preview
Bug Fixes
- Safely coerce responseHeaders to int (#2697) (64705bfd)
- Python
Published by EnricoMi over 2 years ago
pygithub - v2.0.0-preview.1
Bug Fixes
- Add retry issue to GithubException, don't log it (#2611) (3f0c1a6b)
- Use timezone-aware reset datetime in GithubRetry.py (#2610) (0a7b7bac)
- Python
Published by EnricoMi over 2 years ago
pygithub - v2.0.0-preview
Important
Request throttling
This release introduces a default throttling mechanism to mitigate secondary rate limit errors and comply with Github's best practices: https://docs.github.com/en/rest/guides/best-practices-for-integrators?apiVersion=2022-11-28#dealing-with-secondary-rate-limits
The default throttling of 1 second between writes and 0.25 second between any requests can be configured for github.Github and github.GithubIntegration:
g = github.Github(seconds_between_requests=0.25, seconds_between_writes=1)
Set these parameters to None to disable throttling and restore earlier behavior.
Request retry
This release introduces a default retry mechanism to retry retry-able 403 responses (primary and secondary rate limit errors only) and any 5xx response.
Class github.GithubRetry implements this behavior, and can be configured via the retry argument of github.Github and github.GithubIntegration. Retry behavior is configured similar to urllib3.Retry: https://urllib3.readthedocs.io/en/stable/reference/urllib3.util.html
g = github.Github(retry=github.GithubRetry())
Set this parameter to None to disable retry mechanism and restore earlier behaviour.
Breaking Changes
Any timestamps returned by this library are datetime with timezone information, usually UTC. Before this release, timestamps used to be naive datetime instances without timezone. Comparing (other than ==) these timestamps with naive datetime instances used to work but will now break. Add a timezone information to your datetime instances before comparison:
if g.get_repo("PyGithub/PyGithub").created_at < datetime(2012, 2, 26, tzinfo=timezone.utc):
...
New features
- Throttle requests to mitigate RateLimitExceededExceptions (#2145) (99155806)
- Retry retryable 403 (rate limit) (#2387) (0bb72ca0)
Improvements
- Make datetime objects timezone-aware (#2565) (0177f7c5)
Bug Fixes
- Fix
Branch.bypass_pull_request_allowancesfailing with "nil is not an object" (#2535) (c5542a6a)
Maintenance
- Move to main default branch (#2566) (e66c163a)
- Force Unix EOL (#2573) (094538e1)
- Merge
Artifacttype stub back to source (#2553)
- Python
Published by github-actions[bot] over 2 years ago
pygithub - v1.59.0
Important
This release introduces new way of authentication. All authentication-related arguments github.Github(login_or_token=…, password=…, jwt=…, app_auth=…) and github.GithubIntegration(integration_id=…, private_key=…, jwt_expiry=…, jwt_issued_at=…, jwt_algorithm=…) are replaced by a single auth=… argument. Module github.Auth provides classes for all supported ways of authentication: Login, Token, AppAuth, AppAuthToken, AppInstallationAuth, AppUserAuth. Old arguments are deprecated but continue to work. They are scheduled for removal for version 2.0 release.
This project has decided to move all typing information from .pyi files into the respective .py source files. This will happen gradually over time.
Breaking Changes
- The
positionargument ingithub.PullRequest.create_review_comment(position=…)has been renamed toline. This breaks user code that callscreate_review_commentwith keyword argumentposition. Call withline=…instead. Calling this method with positional arguments is not breaking. - The
jwt_expiry,jwt_issued_atandjwt_algorithmarguments ingithub.GithubIntegration()have changed their position. User code callinggithub.GithubIntegration(…)with these arguments as positional arguments breaks. Please use keyword arguments:github.GithubIntegration(…, jwt_expiry=…, jwt_issued_at=…, jwt_algorithm=…). - The
sinceargument ingithub.PullRequest.get_review_comments(…)has changed position.User code callinggithub.PullRequest.getreviewcomments(…)with this argument as positional argument breaks. Please use keyword argument:github.PullRequest.getreviewcomments(since=…)`.
Deprecations
- The use of
github.Github(login_or_token=…)is deprecated, usegithub.Github(auth=github.Auth.Login(…))orgithub.Github(auth=github.Auth.Token(…))instead. - The use of
github.Github(password=…)is deprecated, usegithub.Github(auth=github.Auth.Login(…))instead. - The use of
github.Github(jwt=…)is deprecated, usegithub.Github(auth=github.AppAuth(…))orgithub.Github(auth=github.AppAuthToken(…))instead. - The use of
github.Github(app_auth=…)is deprecated, usegithub.Github(auth=github.Auth.AppInstallationAuth(…))instead. - The use of
github.GithubIntegration(integration_id=…, private_key=…, jwt_expiry=…, jwt_issued_at=…, jwt_algorithm=…)is deprecated, usegithub.GithubIntegration(auth=github.Auth.AppAuth(…))instead. - The use of
github.GithubIntegration.create_jwtis deprecated, usegithub.Github(auth=github.Auth.AppAuth),github.Auth.AppAuth.tokenorgithub.Auth.AppAuth.create_jwt(expiration)instead. - The use of
AppAuthenticationis deprecated, usegithub.Auth.AppInstallationAuthinstead. - The use of
github.Github.get_app()without providing argumentslugis deprecated, usegithub.GithubIntegration(auth=github.Auth.AppAuth(…)).get_app().
Bug Fixes
- Test and fix UTC issue with AppInstallationAuth (#2561) (ff3b80f8)
- Make Requester.__createException robust against missing message and body (#2159) (7be3f763)
- Fix auth issues with
Installation.get_repos(#2547) (64075120) - Fix broken urls in docstrings (#2393) (f82ad61c)
- Raise error on unsupported redirects, log supported redirects (#2524) (17cd0b79)
- Fix GithubIntegration that uses expiring jwt (#2460) (5011548c)
- Add expiration argument back to GithubIntegration.create_jwt (#2439) (822fc05c)
- Add crypto extras to pyjwt, which pulls in cryptogaphy package (#2443) (554b2b28)
- Remove RLock from Requester (#2446) (45f3d723)
- Move CI to Python 3.11 release and 3.12 dev (#2434) (e414c322)
- Pass Requester base URL to integration (#2420) (bdceae2f)
Improvements
- Add Webhook Deliveries (#2508) (517ad336)
- Add support for workflow jobs and steps (#1951) (804c3107)
- Add support for get_app() with App authentication (#2549) (6d4b6d14)
- Allow multiline comments in PullRequest (#2540) (6a21761e)
- Implement
AppUserAuthfor Github App user tokens (#2546) (f291a368) - Add support for environments (#2223) (0384e2fd)
- Add support for new RepositoryAdvisories API :tada: (#2483) (daf62bd4)
- Make
MainClass.get_appreturn completedGithubAppwhen slug is given (#2543) (84912a67) - Add authentication classes, move auth logic there (#2528) (fc2d0e15)
- Add sort order and direction for getting comments (#2544) (a8e7c423)
- Add
namefilter toRepository.get_artifacts()(#2459) (9f52e948) - Add
name,display_titleandpathattributes toWorkflowRun(#2397) (10816389) - Add new
create_forkarguments (#2493) (b94a83cb) - add
refto Deployment (#2489) (e8075c41) - Add query
check_suite_idinteger toWorkflow.get_runs(#2466) (a4854519) - Add
generate_release_notesparameter tocreate_git_releaseandcreate_git_tag_and_release(#2417) (49b3ae16) - Add example for Pull Request comments to documentation (#2390) (c2f12bdc)
- Add allowautomerge support to Repository (#2477) (8c4b9465)
- Add
artifact_idargument toRepository.get_artifact()(#2458) (4fa0a5f3) - Add missing attributes to Branch (#2512) (e296dbdb)
- Add allowupdatebranch option to Organization (#2465) (bab4180f)
- Add support for Issue.state_reason #2370 (#2392) (5aa544a1)
- Add parameters to Repository.getworkflowruns (#2408) (4198dbfb)
Maintenance
- Add type stub for MainClass.getprojectcolumn (#2502) (d514222c)
- Sync GithubIntegration init arguments with github.Github (#2556) (ea45237d)
- Update MAINTAINERS (#2545) (f4e9dcb3)
- Link to stable docs, update introduction in package used by pypi, move auth arg front (#2557) (006766f9)
- Merge PaginatedList.pyi back to source (#2555) (cb50dec5)
- Merge GithubObject.pyi/Requester.pyi stubs back to source (#2463) (b6258f4b)
- [CI] Moving linting into separate workflow (#2522) (52fc1077)
- Merging 1.58.x patch release notes into master (#2525) (217d4241)
- Merge AppAuthentication.pyi to source (#2519) (8e8cfb30)
- Merge GithubException.pyi stubs back to source (#2464) (03a2f696)
- Add missing fields from
GithubCredentials.pyto CONTRIBUTING.md (#2482) (297317ba) - Update docstring and typing for allowforking and allowupdate_branch (Repository) (#2529) (600217f0)
- Bump actions/checkout from 2 to 3.1.0 (#2327) (300c5015)
- RTD: install current project (def5223c)
- Add current dir sys.path as well (9c96faa7)
- Use usescmversion to get current version from git tag (#2429) (3ea91a3a)
- Python
Published by github-actions[bot] over 2 years ago
pygithub - v1.58.1
Changes
- Bump actions/checkout from 2 to 3.1.0 @dependabot (#2327)
- Add crypto extras to pyjwt, which pulls in cryptogaphy package @EnricoMi (#2443)
- Move CI to Python 3.11 release and 3.12 dev @EnricoMi (#2434)
Bug Fixes
- Add expiration argument back to GithubIntegration.create_jwt @EnricoMi (#2439)
- Remove RLock from Requester @EnricoMi (#2446)
- Pass requester base URL to integration (#2420) @bluek1te (#2425)
- Use use_scm_version to get current version from git tag @sfdye (#2429)
- Python
Published by github-actions[bot] almost 3 years ago
pygithub - v1.58.0
Bug Fixes & Improvements
- Add unarchiving support @Tsuesun (#2391)
- Support full GitHub app authentication @dblanchette (#1986)
- Continue the PR #1899 @Felixoid (#2386)
- feat: add allow_forking to Repository @IbrahimAH (#2380)
- Add code scanning alerts @eric-nieuwland (#2227)
- Python
Published by github-actions[bot] about 3 years ago
pygithub - v1.57
Breaking Changes
- Add support for Python 3.11, drop support for Python 3.6 (#2332) (1e2f10dc)
Bug Fixes & Improvements
- Speed up get requested reviewers and teams for pr (#2349) (6725eceb)
- [WorkflowRun] - Add missing attributes (
run_started_at&run_attempt), remove deprecatedunicodetype (#2273) (3a6235b5) - Add support for repository autolink references (#2016) (0fadd6be)
- Add retry and pool_size to typing (#2151) (784a3efd)
- Fix/types for repo topic team (#2341) (db9337a4)
- Add class Artifact (#2313) (#2319) (437ff845)
- Python
Published by sfdye over 3 years ago
pygithub -
Important
This is the last release that will support Python 3.6.
Bug Fixes & Improvements
- Create repo from template (#2090) (b50283a7)
- Improve signature of Repository.create_repo (#2118) (001970d4)
- Add support for 'visibility' attribute preview for Repositories (#1872) (8d1397af)
- Add Repository.rename_branch method (#2089) (6452ddfe)
- Add function to delete pending reviews on a pull request (#1897) (c8a945bb)
- Cover all code paths in search_commits (#2087) (f1faf941)
- Correctly deal when PaginatedList's data is a dict (#2084) (93b92cd2)
- Add twofactorauthentication in AuthenticatedUser. (#1972) (4f00cbf2)
- Add ProjectCard.edit() to the type stub (#2080) (d417e4c4)
- Add method to delete Workflow runs (#2078) (b1c8eec5)
- Implement organization.cancel_invitation() (#2072) (53fb4988)
- Feat: Add
html_urlproperty in Team Class. (#1983) (6570892a) - Add support for Python 3.10 (#2073) (aa694f8e)
- Add github actions secrets to org (#2006) (bc5e5950)
- Correct replay for Organization.create_project() test (#2075) (fcc12368)
- Fix install command example (#2043) (99e00a28)
- Fix: #1671 Convert Python Bool to API Parameter for Authenticated User Notifications (#2001) (1da600a3)
- Do not transform requestHeaders when logging (#1965) (1265747e)
- Add type to OrderedDict (#1954) (ed7d0fe9)
- Add Commit.get_pulls() to pyi (#1958) (b4664705)
- Adding headers in GithubException is a breaking change (#1931) (d1644e33)
- Python
Published by sfdye over 3 years ago
pygithub -
Breaking Changes
- Remove clientid/clientsecret authentication (#1888) (901af8c8)
- Adjust to Github API changes regarding emails (#1890) (2c77cfad)
- This impacts what AuthenticatedUser.get_emails() returns
- PublicKey.key_id could be int on Github Enterprise (#1894) (ad124ef4)
- Export headers in GithubException (#1887) (ddd437a7)
Bug Fixes & Improvements
- Do not import from unpackaged paths in typing (#1926) (27ba7838)
- Implement hash for CompletableGithubObject (#1922) (4faff23c)
- Use property decorator to improve typing compatibility (#1925) (e4168109)
- Fix :rtype: directive (#1927) (54b6a97b)
- Update most URLs to docs.github.com (#1896) (babcbcd0)
- Tighten asserts for new Permission tests (#1893) (5aab6f5d)
- Adding attributes "maintain" and "triage" to class "Permissions" (#1810) (76879613)
- Add default arguments to Workflow method type annotations (#1857) (7d6bac9e)
- Re-raise the exception when failing to parse JSON (#1892) (916da53b)
- Allow adding attributes at the end of the list (#1807) (0245b758)
- Updating links to Github documentation for deploy keys (#1850) (c27fb919)
- Update PyJWT Version to 2.0+ (#1891) (a68577b7)
- Use right variable in both getcheckruns() (#1889) (3003e065)
- fix bad assertions in github.Project.edit (#1817) (6bae9e5c)
- Test repr() for PublicKey (#1879) (e0acd8f4)
- Add support for deleting repository secrets (#1868) (696793de)
- Switch repository secrets to using f-strings (#1867) (aa240304)
- Manually fixing paths for codecov.io to cover all project files (#1813) (b2232c89)
- Add missing links to project metadata (#1789) (64f532ae)
- No longer show username and password examples (#1866) (55d98373)
- Adding github actions secrets (#1681) (c90c050e)
- fix getuserissues (#1842) (7db1b0c9)
- Switch all string addition to using f-strings (#1774) (290b6272)
- Enabling connetion pool_size definition (a77d4f48)
- Always define the session adapter (aaec0a0f)
- Python
Published by s-t-e-v-e-n-k almost 5 years ago
pygithub -
- Hotfix release to better support Python 3.5 users.
- Pin pyjwt to <2.0 (502caed9)
- Python
Published by s-t-e-v-e-n-k almost 5 years ago
pygithub -
- Pin pyjwt version (#1797) (31a1c007)
- Add pyupgrade to pre-commit configuration (#1783) (e113e37d)
- Fix #1731: Incorrect annotation (82c349ce)
- Drop support for Python 3.5 (#1770) (63e4fae9)
- Revert "Pin requests to <2.25 as well (#1757)" (#1763) (a806b523)
- Fix stubs file for Repository (fab682a5)
- Python
Published by s-t-e-v-e-n-k about 5 years ago
pygithub -
Important
This is the last release that will support Python 3.5.
Breaking Changes
The Github.getinstallation(integer) method has been removed. Repository.createdeployment()'s payload parameter is now a dictionary.
Bug Fixes & Improvements
- Add support for Check Suites (#1764) (6d501b28)
- Add missing preview features of Deployment and Deployment Statuses API (#1674) (197e0653)
- Correct typing for Commit.get_comments() (#1765) (fcdd9eae)
- Pin requests to <2.25 as well (#1757) (d159425f)
- Add Support for Check Runs (#1727) (c77c0676)
- Added a method for getting a user by their id (#1691) (4cfc9912)
- Fix #1742 - incorrect typehint for
Installation.id(#1743) (546f6495) - Add WorkflowRun.workflow_id (#1737) (78a29a7c)
- Add support for Python 3.9 (#1735) (1bb18ab5)
- Added support for the Self-Hosted actions runners API (#1684) (24251f4b)
- Fix Branch protection status in the examples (#1729) (88800844)
- Filter the DeprecationWarning in Team tests (#1728) (23f47539)
- Added get_installations() to Organizations (#1695) (b42fb244)
- Fix #1507: Add new Teams: Add or update team repository endpoint (#1509) (1c55be51)
- Added support for
Repository.get_workflow_runsparameters (#1682) (c23564dd) - feat(pullrequest): add the rebaseable attribute (#1690) (ee4c7a7e)
- Add support for deleting reactions (#1708) (f7d203c0)
- Correct type hint for InputGitTreeElement.sha (08b72b48)
- Ignore new black formatting commit for git blame (#1680) (7ec4f155)
- Format with new black (#1679) (07e29fe0)
- Add get_timeline() to Issue's type stubs (#1663) (6bc9ecc8)
- Python
Published by s-t-e-v-e-n-k about 5 years ago
pygithub -
- Test Organization.get_hook() (#1660) (2646a98c)
- Add method getteammembership for user to Team (#1658) (749e8d35)
- Add typing files for OAuth classes (#1656) (429fcc73)
- Fix Repository.createrepositorydispatch type signature (#1643) (f891bd61)
- PaginatedList's totalCount is 0 if no last page (#1641) (69b37b4a)
- Add initial support for Github Apps. (#1631) (260558c1)
- Correct *kwargs typing for search_ (#1636) (165d995d)
- Add deletebranchon_merge arg to Repository.edit type stub (#1639) (15b5ae0c)
- Fix type stub for MainClass.get_user (#1637) (8912be64)
- Add type stub for Repository.create_fork (#1638) (de386dfb)
- Correct Repository.create_pull typing harder (#1635) (5ad091d0)
- Python
Published by s-t-e-v-e-n-k over 5 years ago
pygithub -
- upload_asset with data in memory (#1601) (a7786393)
- Make Issue.closed_by nullable (#1629) (06dae387)
- Add support for workflow dispatch event (#1625) (16850ef1)
- Do not check reaction_type before sending (#1592) (136a3e80)
- Various Github Action improvement (#1610) (416f2d0f)
- more flexible header splitting (#1616) (85e71361)
- Create Dependabot config file (#1607) (e272f117)
- Add support for deployment statuses (#1588) (048c8a1d)
- Adds the 'twitter_username' attribute to NamedUser. (#1585) (079f75a7)
- Create WorkflowRun.timing namedtuple from the dict (#1587) (1879518e)
- Add missing properties to PullRequest.pyi (#1577) (c84fad81)
- Add support for Workflow Runs (#1583) (4fb1d23f)
- More precise typing for Repository.create_pull (#1581) (4ed7aaf8)
- Update sphinx-rtd-theme requirement from <0.5 to <0.6 (#1563) (f9e4feeb)
- More precise typing for MainClass.get_user() (#1575) (3668f866)
- Small documentation correction in Repository.py (#1565) (f0f6ec83)
- Remove "api_preview" parameter from type stubs and docstrings (#1559) (cc1b884c)
- Upgrade actions/setup-python to v2 (#1555) (6f1640d2)
- Clean up tests for GitReleaseAsset (#1546) (925764ad)
- Repository.update_file() content also accepts bytes (#1543) (9fb8588b)
- Fix Repository.get_issues stub (#1540) (b40b75f8)
- Check all arguments of NamedUser.get_repos() (#1532) (69bfc325)
- Correct Workflow typing (#1533) (f41c046f)
- Remove RateLimit.rate (#1529) (7abf6004)
- PullRequestReview is not a completable object (#1528) (19fc43ab)
- Test more attributes (#1526) (52ec366b)
- Remove pointless setters in GitReleaseAsset (#1527) (1dd1cf9c)
- Drop some unimplemented methods in GitRef (#1525) (d4b61311)
- Remove unneeded duplicate string checks in Branch (#1524) (61b61092)
- Turn on coverage reporting for codecov (#1522) (e79b9013)
- Drastically increase coverage by checking repr() (#1521) (291c4630)
- Fixed formatting of docstrings for
Repository.create_git_tag_and_release()andStatsPunchCard. (#1520) (ce400bc7) - Remove Repository.topics (#1505) (53d58d2b)
- Small improvements to typing (#1517) (7b20b13d)
- Correct Repository.get_workflows() (#1518) (8727003f)
- docs(repository): correct releases link (#1514) (f7cc534d)
- correct Repository.stargazers_count return type to int (#1513) (b5737d41)
- Fix two RST warnings in Webhook.rst (#1512) (5a8bc203)
- Filter FutureWarning for 2 test cases (#1510) (09a1d9e4)
- Raise a FutureWarning on use of client_{id,secret} (#1506) (2475fa66)
- Improve type signature for createfromraw_data (#1503) (c7b5eff0)
- feat(column): move, edit and delete project columns (#1497) (a32a8965)
- Add support for Workflows (#1496) (a1ed7c0e)
- Add createrepositorydispatch to typing files (#1502) (ba9d59c2)
- Add OAuth support for GitHub applications (4b437110)
- Create AccessToken entity (4a6468aa)
- Extend installation attributes (61808da1)
- Python
Published by s-t-e-v-e-n-k over 5 years ago
pygithub -
- Type stubs are now packaged with the build (#1489) (6eba4506)
- Travis CI is now dropped in favor of Github workflow (#1488) (d6e77ba1)
- Get the project column by id (#1466) (63855409)
- Python
Published by sfdye almost 6 years ago
pygithub -
New features
- PyGithub now supports type checking thanks to (#1231) (91433fe9)
- Slack is now the main channel of communication rather than Gitter (6a6e7c26)
- Ability to retrieve public events (#1481) (5cf9950b)
- Add and handle the maintainercanmodify attribute in PullRequest (#1465) (e0997b43)
- List matching references (#1471) (d3bc6a5c)
- Add createrepositorydispatch (#1449) (edcbdfda)
- Add some Organization and Repository attributes. (#1468) (3ab97d61)
- Add create project method (801ea385)
Bug Fixes & Improvements
- Drop use of shadow-cat for draft PRs (#1469) (84bb69ab)
- AuthenticatedUser.getorganizationmembership() should be str (#1473) (38b34db5)
- Drop documentation for len() of PaginatedList (#1470) (70462598)
- Fix param name of projectcard's move function (#1451) (bafc4efc)
- Correct typos found with codespell (#1467) (83bef0f7)
- Export IncompletableObject in the github namespace (#1450) (0ebdbb26)
- Add GitHub Action workflow for checks (#1464) (f1401c15)
- Drop unneeded ignore rule for flake8 (#1454) (b4ca9177)
- Use pytest to parametrize tests (#1438) (d2e9bd69)
- Python
Published by sfdye almost 6 years ago
pygithub -
Bug Fixes & Improvements
- Add support to edit and delete a project (#1434) (f11f7395)
- Add method for fetching pull requests associated with a commit (#1433) (0c55381b)
- Add "getrepopermission" to Team class (#1416) (219bde53)
- Add list projects support, update tests (#1431) (e44d11d5)
- Don't transform completely in PullRequest.*assignees (#1428) (b1c35499)
- Add create_project support, add tests (#1429) (bf62f752)
- Add draft attribute, update test (bd285248)
- Docstring for Repository.creategittagandrelease (#1425) (bfeacded)
- Create a tox docs environment (#1426) (b30c09aa)
- Add Deployments API (#1424) (3d93ee1c)
- Add support for editing project cards (#1418) (425280ce)
- Add draft flag parameter, update tests (bd0211eb)
- Switch to using pytest (#1423) (c822dd1c)
- Fix GitMembership with a hammer (#1420) (f2939eb7)
- Add support to reply to a Pull request comment (#1374) (1c82573d)
- PullRequest.updatebranch(): allow expectedhead_sha to be empty (#1412) (806130e9)
- Implement ProjectCard.delete() (#1417) (aeb27b78)
- Add pre-commit plugin for black/isort/flake8 (#1398) (08b1c474)
- Add tox (#1388) (125536fe)
- Open file in text mode in scripts/add_attribute.py (#1396) (0396a493)
- Silence most ResourceWarnings (#1393) (dd31a706)
- Assert more attributes in Membership (#1391) (d6dee016)
- Assert on changed Repository attributes (#1390) (6e3ceb19)
- Add reset to the repr for Rate (#1389) (0829af81)
- Python
Published by s-t-e-v-e-n-k almost 6 years ago
pygithub -
Important
Python 2 support has been removed. If you still require Python 2, use 1.45.
Bug Fixes & Improvements
- Add repo edit support for deletebranchon_merge (#1381) (9564cd4d)
- Fix mistake in Repository.create_fork() (#1383) (ad040baf)
- Correct two attributes in Invitation (#1382) (882fe087)
- Search repo issues by string label (#1379) (4ae1a1e5)
- Correct Repository.creategittagandrelease() (#1362) (ead565ad)
- exposed seats and filled_seats for Github Organization Plan (#1360) (06a300ae)
- Repository.create_project() body is optional (#1359) (0e09983d)
- Implement move action for ProjectCard (#1356) (b11add41)
- Tidy up ProjectCard.get_content() (#1355) (dd80a6c0)
- Added nested teams and parent (#1348) (eacabb2f)
- Correct parameter for Label.edit (#1350) (16e5f989)
- doc: example of Pull Request creation (#1344) (d5ad09ae)
- Fix PyPI wheel deployment (#1330) (4561930b)
- Python
Published by s-t-e-v-e-n-k about 6 years ago
pygithub -
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) (60464f65)
- Support github timeline events. (#1302) (732fd26a)
- Update link to GitHub Enterprise in README (#1324) (e1537f79)
- Cleanup travis config (#1322) (8189a538)
- Add support for update branch (#1317) (baddb719)
- Refactor Logging tests (#1315) (b0ef1909)
- Fix rtd build (b797cac0)
- Add .git-blame-ignore-revs (573c674b)
- Apply black to whole codebase (#1303) (6ceb9e9a)
- Fix class used returning pull request comments (#1307) (f8e33620)
- Support for create_fork (#1306) (2ad51f35)
- Use Repository.get_contents() in tests (#1301) (e40768e0)
- Allow GithubObject.update() to be passed headers (#1300) (989b635e)
- Correct URL for assignees on PRs (#1296) (3170cafc)
- Use inclusive ordered comparison for 'parameterized' requirement (#1281) (fb19d2f2)
- Deprecate Repository.getdircontents() (#1285) (21e89ff1)
- Apply some polish to manage.sh (#1284) (3a723252)
- Python
Published by s-t-e-v-e-n-k about 6 years ago
pygithub -
- Add Python 3.8 to classifiers list (#1280) (fec6034a)
- Expand Topic class and add test coverage (#1252) (ac682742)
- Add support for team discussions (#1246) (#1249) (ec3c8d7b)
- Correct API for NamedUser.getorganizationmembership (#1277) (077c80ba)
- Correct header check for 2FA required (#1274) (6ad592b1)
- Use replay framework for Issue142 test (#1271) (4d258d93)
- Sync httpretty version requirement with setup.py (#1265) (99d38468)
- Handle unicode strings when recording responses (#1253) (#1254) (faa1bbd6)
- Add assignee removal/addition support to PRs (#1241) (a163ba15)
- Check if the version is empty in manage.sh (#1268) (db294837)
- Encode content for {create,update}_file (#1267) (bc225f9d)
- Update changes.rst (#1263) (d7947d82)
- Python
Published by s-t-e-v-e-n-k over 6 years ago
pygithub -
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) (a0765083) * Bump httpretty to be a greater or equal to (#1262) (27092fb0) * Add close all issues example (#1256) (13e2c7c7) * Add six to installrequires (#1245) (a840a906) * Implemented user organization membership. Added test case. (#1237) (e50420f7) * Create DEPLOY.md (c9ed82b2) * Support non-default URLs in GithubIntegration (#1229) (e33858a3) * Cleanup try/except import in PaginatedList (#1228) (89c967bb) * Add an IncompletableObject exception (#1227) (f91cbac2) * Fix redundant int checks (#1226) (850da5af) * Jump from notifications to related PRs/issues. (#1168) (020fbebc) * Code review bodies are optional in some cases. (#1169) (b84d9b19) * Update changes.rst (#1223) (2df7269a) * Do not auto-close issues with high priority tag (ab27ba4d) * Fix bug in repository create new file example PyGithub#1210 (#1211) (74cd6856) * Remove more Python version specific code (#1193) (a0f01cf9) * Drop use of assertEquals (#1194) (7bac694a) * Fix PR review creation. (#1184) (e90cdab0) * Add support to vulnerability alert and automated security fixes APIs (#1195) (8abd50e2) * Delete Legacy submodule (#1192) (7ddb657d) * Remove some uses of atLeastPython3 (#1191) (cca8e3a5) * Run flake8 in Travis (#1163) (f93207b4) * Fix directories for coverage in Travis (#1190) (657f87b5) * Switch to using six (#1189) (dc2f2ad8) * Update Repository.updatefile() docstring (#1186) (f1ae7200) * Correct return type of MainClass.get_organizations (#1179) (6e79d270) * Add cryptography to test-requirements.txt (#1165) (9b1c1e09)
- Python
Published by s-t-e-v-e-n-k over 6 years ago
pygithub -
New features
- Add two factor attributes on organizations (#1132) (a0731685)
- Add Repository methods for pending invitations (#1159) (57af1e05)
- Adds
get_issue_eventstoPullRequestobject (#1154) (acd515aa) - Add invitee and inviter to Invitation (#1156) (0f2beaca)
- Adding support for pending team invitations (#993) (edab176b)
- Add support for custom base_url in GithubIntegration class (#1093) (6cd0d644)
- GithubIntegration: enable getting installation (#1135) (18187045)
- Add sorting capability to Organization.get_repos() (#1139) (ef6f009d)
- Add new Organization.getteamby_slug method (#1144) (4349bca1)
- Add description field when creating a new team (#1125) (4a37860b)
- Handle a path of / in Repository.get_contents() (#1070) (102c8208)
- Add issue lock/unlock (#1107) (ec7bbcf5)
Bug Fixes & Improvements
- Fix bug in recursive repository contents example (#1166) (8b6b4505)
- Allow name to be specified for upload_asset (#1151) (8d2a6b53)
- Fixes #1106 for GitHub Enterprise API (#1110) (54065792)
- Python
Published by sfdye over 6 years ago
pygithub -
- Exclude tests from PyPI distribution (#1031) (78d283b9)
- Add codecov badge (#1090) (4c0b54c0)
- Python
Published by sfdye almost 7 years ago
pygithub -
New features
- Add support for Python 3.7 (#1028) (6faa00ac)
- Adding HTTP retry functionality via urllib3 (#1002) (5ae7af55)
- Add new dismiss() method on PullRequestReview (#1053) (8ef71b1b)
- Add since and before to
get_notifications(#1074) (7ee6c417) - Add url parameter to include anonymous contributors in
get_contributors(#1075) (293846be) - Provide option to extend expiration of jwt token (#1068) (86a9d8e9)
Bug Fixes & Improvements
- Fix the default parameter for
PullRequest.create_review(#1058) (118def30)- Fix
get_access_token(#1042) (6a89eb64) - Fix
Organization.add_to_membersrole passing (#1039) (480f91cf)
- Fix
Deprecation
- Remove Status API (6efd6318)
- Python
Published by sfdye almost 7 years ago
pygithub -
- Add project column create card (#1003) (5f5c2764)
- Fix request got an unexpected keyword argument body (#1012) (ff789dcc)
- Add missing import to PullRequest (#1007) (b5122768)
- Python
Published by sfdye about 7 years ago
pygithub -
New features
- Add Migration API (#899) (b4d895ed)
- Add Traffic API (#977) (a433a2fe)
- New in Project API: create repository project, create project column (#995) (1c0fd97d)
Bug Fixes & Improvements
- Change type of GitRelease.author to NamedUser (#969) (aca50a75)
- Use total_count from data in PaginatedList (#963) (ec177610)
- Python
Published by sfdye about 7 years ago
pygithub -
New features
- Add support for JWT authentication (#948) (8ccf9a94)
- Added support for required signatures on protected branches (#939) (8ee75a28)
- Ability to filter repository collaborators (#938) (5687226b)
- Mark notification as read (#932) (0a10d7cd)
- Add highlight search to
search_codefunction (#925) (1fa25670) - Adding
suspended_atproperty to NamedUSer (#922) (c13b43ea) - Add since parameter for Gists (#914) (e18b1078)
Bug Fixes & improvements
- Fix missing parameters when reversing
PaginatedList(#946) (60a684c5) - Fix unable to trigger
RateLimitExceededException. (#943) (972446d5) - Fix inconsistent behavior of trailing slash usage in file path (#931) (ee9f098d)
- Fix handling of 301 redirects (#916) (6833245d)
- Fix missing attributes of
get_reposfor authenticated users (#915) (c411196f) - Fix
Repository.edit(#904) (7286eec0) - Improve
__repr__method of Milestone class (#921) (562908cb) - Fix rate limit documentation change (#902) (974d1ec5)
- Fix comments not posted in create_review() (#909) (a18eeb3a)
- Python
Published by sfdye over 7 years ago
pygithub -
Version 1.43.2 (September 12, 2018)
- Restore
RateLimit.rateattribute, raise deprecation warning instead (d92389be)
- Python
Published by sfdye over 7 years ago
pygithub -
Version 1.43.1 (September 11, 2018)
New feature: * Add support for Projects (#854) (faca4ce1)
- Python
Published by sfdye over 7 years ago
pygithub -
Version 1.43 (September 08, 2018)
BUGFIX
Repository.get_archive_linkwill now NOT follow HTTP redirect and return the url instead (#858) (43d325a5)- Fixed
Gistfile.content(#486) (e1df09f7) - Restored NamedUser.contributions attribute (#865) (b91dee8d)
New features
- Add support for repository topics (#832) (c6802b51)
- Add support for required approving review count (#888) (ef16702)
- Add
Organization.invite_user(880)(eb80564) - Add support for search/graphql rate limit (fd8a036)
- Add Support search by topics (#893) (3ce0418)
Branch Protection API overhaul (#790) (171cc567)
- (breaking) Removed Repository.protect_branch
- Add
BranchProtection <https://pygithub.readthedocs.io/en/latest/github_objects/BranchProtection.html>__ - Add
RequiredPullRequestReviews <https://pygithub.readthedocs.io/en/latest/github_objects/RequiredPullRequestReviews.html>__ - Add
RequiredStatusChecks <https://pygithub.readthedocs.io/en/latest/github_objects/RequiredStatusChecks.html>__ - Add
Branch.get_protection,Branch.get_required_pull_request_reviews,Branch.get_required_status_checks, etc
Improvements
- Add missing arguments to
Repository.edit(#844) (29d23151) - Add missing attributes to Repository (#842) (2b352fb3)
- Adding archival support for
Repository.edit(#843) (1a90f5db) - Add
tag_nameandtarget_commitisharguments toGitRelease.update_release(#834) (790f7dae) - Allow editing of Team descriptions (#839) (c0021747)
- Add description to Organizations (#838) (1d918809)
- Add missing attributes for IssueEvent (#857) (7ac2a2a)
- Change
MainClass.get_repodefault laziness (#882) (6732517)
Deprecation
- Removed Repository.getprotectedbranch (#871) (49db6f8)
- Python
Published by sfdye over 7 years ago
pygithub -
Version 1.41 (August 19, 2018)
v1.41 is not available on pypi
BUGFIX
Repository.get_archive_linkwill now NOT follow HTTP redirect and return the url instead (#858) (43d325a5)- Fixed
Gistfile.content(#486) (e1df09f7) - Restored NamedUser.contributions attribute (#865) (b91dee8d)
New features
- Add support for repository topics (#832) (c6802b51)
Branch Protection API overhaul (#790) (171cc567)
- (breaking) Removed Repository.protect_branch
- Add
BranchProtection <https://pygithub.readthedocs.io/en/latest/github_objects/BranchProtection.html>__ - Add
RequiredPullRequestReviews <https://pygithub.readthedocs.io/en/latest/github_objects/RequiredPullRequestReviews.html>__ - Add
RequiredStatusChecks <https://pygithub.readthedocs.io/en/latest/github_objects/RequiredStatusChecks.html>__ - Add
Branch.get_protection,Branch.get_required_pull_request_reviews,Branch.get_required_status_checks, etc
Improvements
- Add missing arguments to
Repository.edit(#844) (29d23151) - Add missing properties to Repository (#842) (2b352fb3)
- Adding archival support for
Repository.edit(#843) (1a90f5db) - Add
tag_nameandtarget_commitisharguments toGitRelease.update_release(#834) (790f7dae) - Allow editing of Team descriptions (#839) (c0021747)
- Add description to Organizations (#838) (1d918809)
- Python
Published by sfdye over 7 years ago
pygithub -
Version 1.42 (August 19, 2018)
- Fix travis upload issue
BUGFIX
Repository.get_archive_linkwill now NOT follow HTTP redirect and return the url instead (#858) (43d325a5)- Fixed
Gistfile.content(#486) (e1df09f7) - Restored NamedUser.contributions attribute (#865) (b91dee8d)
New features
- Add support for repository topics (#832) (c6802b51)
Branch Protection API overhaul (#790) (171cc567)
- (breaking) Removed Repository.protect_branch
- Add
BranchProtection <https://pygithub.readthedocs.io/en/latest/github_objects/BranchProtection.html>__ - Add
RequiredPullRequestReviews <https://pygithub.readthedocs.io/en/latest/github_objects/RequiredPullRequestReviews.html>__ - Add
RequiredStatusChecks <https://pygithub.readthedocs.io/en/latest/github_objects/RequiredStatusChecks.html>__ - Add
Branch.get_protection,Branch.get_required_pull_request_reviews,Branch.get_required_status_checks, etc
Improvements
- Add missing arguments to
Repository.edit(#844) (29d23151) - Add missing properties to Repository (#842) (2b352fb3)
- Adding archival support for
Repository.edit(#843) (1a90f5db) - Add
tag_nameandtarget_commitisharguments toGitRelease.update_release(#834) (790f7dae) - Allow editing of Team descriptions (#839) (c0021747)
- Add description to Organizations (#838) (1d918809)
- Python
Published by sfdye over 7 years ago
pygithub -
- Increase default timeout from 10s to 15s (#793) (140c6480)
- Fix Team.description (#797) (0e8ae376)
- Fix Content-Length invalid headers exception (#787) (23395f5f)
- Remove NamedUser.contributions (#774) (a519e467)
- Branch protection methods no longer require loki (#775) (b1e9ae68)
- Python
Published by sfdye over 7 years ago
pygithub -
- Major enhancement: use requests for HTTP instead of httplib (#664) (9aed19dd)
- Increase default timeout from 10s to 15s (#793) (140c6480)
- Test Framework improvement (#795) (faa8f205)
- Handle HTTP 202 HEAD & GET with a retry (#791) (3aead158)
- Fix github API requests after asset upload (#771) (8bdac23c)
- Add remove_membership() method to Teams class (#807) (817f2230)
- Add check-in to projects using PyGithub (#814) (05f49a59)
- Include target_commitish in GitRelease (#788) (ba5bf2d7)
- Fix asset upload timeout, increase default timeout from 10s to 15s (#793) (140c6480)
- Fix Team.description (#797) (0e8ae376)
- Fix Content-Length invalid headers exception (#787) (23395f5f)
- Remove NamedUser.contributions (#774) (a519e467)
- Python
Published by sfdye over 7 years ago
pygithub -
- Add ability to skip SSL cert verification for Github Enterprise (#758) (85a9124b)
- Correct Repository.getgittree recursive use (#767) (bd0cf309)
- Python
Published by sfdye almost 8 years ago
pygithub -
- Re-work PullRequest reviewer request (#765) (e2e29918)
- Add support for team privacy (#763) (1f23c06a)
- Add support for organization outside collaborators (#533) (c4446996)
- Make use of issue_url in PullRequest (#755) (0dba048f)
- Python
Published by sfdye almost 8 years ago
pygithub -
- Use requests instead of httplib (#664) (9aed19dd)
- PullRequest labels should use Issues URL (#754) (678b6b20)
- Support labels for PullRequests (#752) (a308dc92)
- Add get_organizations() (#748) (1e0150b5)
- Python
Published by sfdye almost 8 years ago
pygithub -
- Add documentation to github.Repository.Repository.creategitrelease() (#747) (a769c2ff)
- Add addtomembers() and removefrommembership() (#741) (4da483d1)
- Documentation: clarify semantics of get_comments (#743) (fec3c943)
- Add download_url to ContentFile, closes #575 (ca6fbc45)
- Add PullRequestComment.inreplyto_id (#718) (eaa6a508)
- Add team privacy parameter to create team (#702) (5cb5ab71)
- Implement License API (#734) (b54ccc78)
- Fix delete method for RepositoryKey (911bf615)
- Remove edit for UserKey (722f2534)
- Labels API: support description (#738) (42e75938)
- Added Issue.aspullrequest() and PullReqest.as_issue() (#630) (6bf2acc7)
- Documentation: sort the Github Objects (#735) (1497e826)
- Add support for getting PR single review's comments. (#670) (612c3500)
- Update the RepositoryKey class (#530) (5e8c6832)
- Added since to PR review comments get (#577) (d8508285)
- Remove some duplicate attributes introduced in #522 (566b28d3)
- Added tarballurl, zipballurl, prerelease and draft property (#522) (c76e67b7)
- Source Import API (#673) (864c663a)
- Python
Published by sfdye almost 8 years ago