git-extra-commands
git-extra-commands copied to clipboard
build(deps): bump pygithub from 2.1.1 to 2.2.0
Bumps pygithub from 2.1.1 to 2.2.0.
Release notes
Sourced from pygithub's releases.
v2.2.0
Breaking Changes
The
github.Comparison.Comparisoninstance returned byRepository.compareprovides acommitsproperty that used to return alist[github.Commit.Commit], which has now been changed toPaginatedList[github.Commit.Commit]. This breaks user code that assumes alist:commits = repo.compare("v0.6", "v0.7").commits no_of_commits = len(commits) # will raise a TypeErrorThis will raise a
TypeError: object of type 'PaginatedList' has no len(), as the returnedPaginatedListdoes not support thelen()method. Use thetotalCountproperty instead:commits = repo.compare("v0.6", "v0.7").commits no_of_commits = commits.totalCountNew features
- Add support to call GraphQL API
Improvements
- Add parent_team_id, maintainers and notification_setting for creating and updating teams. by
@Cheshirezin PyGithub/PyGithub#2863- Add support for issue reactions summary by
@smuzaffarin PyGithub/PyGithub#2866- Support for DependabotAlert APIs by
@coopernetesin PyGithub/PyGithub#2879- Derive GraphQL URL from base_url by
@EnricoMiin PyGithub/PyGithub#2880- Make
Repository.compare().commitsreturn paginated list by@EnricoMiin PyGithub/PyGithub#2882- Add missing branch protection fields by
@treee111in PyGithub/PyGithub#2873- Add
include_all_branchestocreate_repo_from_templateofAuthenticatedUserandOrganizationby@janssonoskarin PyGithub/PyGithub#2871- Add and update organisation dependabot secrets by
@mohy01in PyGithub/PyGithub#2316- Add missing params to
Organization.create_repoby@tekumarain PyGithub/PyGithub#2700- Update allowed values for
Repositorycollaborator permissions by@flying-sheepin PyGithub/PyGithub#1996- Support editing PullRequestReview by
@ColasGaelin PyGithub/PyGithub#2851- Update attributes after calling
PullRequestReview.dismissby@ColasGaelin PyGithub/PyGithub#2854- Add
request_cveonRepositoryAdvisoriesby@JLLeitschuhin PyGithub/PyGithub#2855- Filter collaborators of a repository by permissions by
@notmicaelfilipein PyGithub/PyGithub#2792- Set pull request to auto merge via GraphQL API by
@heitorpolidoroin PyGithub/PyGithub#2816- Support Environment Variables and Secrets by
@AndrewJDawesin PyGithub/PyGithub#2848- Update workflow.get_runs & pullrequest.add_to_assignees function signature by
@sd-kialoin PyGithub/PyGithub#2799- Add
GithubObject.last_modified_datetimeto havelast_modifiedas adatetimeby@chouetzin PyGithub/PyGithub#2772- Add support for global advisories and unify some shared logic with repository advisories by
@crimsonknavein PyGithub/PyGithub#2702- Add
internalas valid Repository visibility value by@AndrewJDawesin PyGithub/PyGithub#2806- Add support for issue comments reactions summary by
@smuzaffarin PyGithub/PyGithub#2813Bug Fixes
- Add a bunch of missing urllib.parse.quote calls by
@ExplodingCabbagein PyGithub/PyGithub#1976- Fix Variable and Secret url bugs by
@AndrewJDawesin PyGithub/PyGithub#2835
... (truncated)
Changelog
Sourced from pygithub's changelog.
Version 2.2.0 (January 28, 2024)
Breaking Changes ^^^^^^^^^^^^^^^^
- The
github.Comparison.Comparisoninstance returned byRepository.compareprovides acommitsproperty that used to return alist[github.Commit.Commit], which has now been changed toPaginatedList[github.Commit.Commit]. This breaks user code that assumes alist:.. code-block:: python
commits = repo.compare("v0.6", "v0.7").commits no_of_commits = len(commits)This will raise a
TypeError: object of type 'PaginatedList' has no len(), as the returnedPaginatedListdoes not support thelen()method. Use thetotalCountproperty instead:.. code-block:: python
commits = repo.compare("v0.6", "v0.7").commits no_of_commits = commits.totalCountNew features ^^^^^^^^^^^^
- Add support to call GraphQL API
Improvements ^^^^^^^^^^^^
- Add parent_team_id, maintainers and notification_setting for creating and updating teams. (#2863) (49d07d16)
- Add support for issue reactions summary (#2866) (cc4c5269)
- Support for DependabotAlert APIs (#2879) (14af7051)
- Derive GraphQL URL from base_url (#2880) (d0caa3c3)
- Make
Repository.compare().commitsreturn paginated list (#2882) (2d284d1e)- Add missing branch protection fields (#2873) (e47c153b)
- Add
include_all_branchestocreate_repo_from_templateofAuthenticatedUserandOrganization(#2871) (34c4642e)- Add and update organisation dependabot secrets (#2316) (603896f4)
- Add missing params to
Organization.create_repo(#2700) (9c61a2a4)- Update allowed values for
Repositorycollaborator permissions (#1996) (b5b66da8)- Support editing PullRequestReview (#2851) (b1c4c561)
- Update attributes after calling
PullRequestReview.dismiss(#2854) (6f3d714c)- Add
request_cveonRepositoryAdvisories(#2855) (41b617b7)- Filter collaborators of a repository by permissions (#2792) (702c127a)
- Set pull request to auto merge via GraphQL API (#2816) (232df79a)
- Support Environment Variables and Secrets (#2848) (7df97398)
- Update workflow.get_runs & pullrequest.add_to_assignees function signature (#2799) (26eedbb0)
- Add
GithubObject.last_modified_datetimeto havelast_modifiedas adatetime(#2772) (e7ce8189)
... (truncated)
Commits
7e7653fRelease v2.2.0 (#2886)49d07d1Add parent_team_id, maintainers and notification_setting for creating and upd...cc4c526Add support for issue reactions summary (#2866)2d284d1MakeRepository.compare().commitsreturn paginated list (#2882)14af705Support for DependabotAlert APIs (#2879)d0caa3cDerive GraphQL URL from base_url (#2880)e47c153Add missing branch protection fields (#2873)34c4642Addinclude_all_branchestocreate_repo_from_templateof `AuthenticatedUs...603896fAdd and update organisation dependabot secrets (#2316)2f44b2eUpdate the class name for NetrcAuth in the examples (#2860)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Code Climate has analyzed commit 05599338 and detected 0 issues on this pull request.
View more on Code Climate.