Skip to content

Commit 8508735

Browse files
authored
Release v2.4.0 (PyGithub#3027)
1 parent 7522416 commit 8508735

File tree

143 files changed

+204
-17
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

143 files changed

+204
-17
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
# Copyright 2023 Enrico Minack <[email protected]> #
1616
# Copyright 2023 Sol Redfern <[email protected]> #
1717
# Copyright 2024 Aiden Grossman <[email protected]> #
18+
# Copyright 2024 Enrico Minack <[email protected]> #
19+
# Copyright 2024 Jacky Lam <[email protected]> #
1820
# #
1921
# This file is part of PyGithub. #
2022
# http://pygithub.readthedocs.io/ #

doc/changes.rst

+38-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Change log
44
Stable versions
55
~~~~~~~~~~~~~~~
66

7-
Version 2.4.0 (???)
8-
-------------------
7+
Version 2.4.0 (August 26, 2024)
8+
-------------------------------
99

1010
Breaking Changes
1111
^^^^^^^^^^^^^^^^
@@ -28,6 +28,42 @@ does not support the ``len()`` method. Use the ``totalCount`` property instead:
2828
2929
* Removed support for Python 3.7.
3030

31+
New features
32+
^^^^^^^^^^^^
33+
34+
* Allow custom authentication (#2987) (32b826fd)
35+
36+
Improvements
37+
^^^^^^^^^^^^
38+
39+
* Add `has_discussions` to `AuthenticatedUser` and `Repository` classes (#3020) (75224167)
40+
* Update more `SecurityAndAnalysis` attributes (#3025) (fa168279)
41+
* Implement support for re-running only failed workflow jobs. (#2983) (23e87563)
42+
* Add possibility to mark a thread/notification as done (#2985) (5ba24379)
43+
* Add "pull_request_review_id" to PullRequestComment object (#3000) (6a59cf82)
44+
* Add minimize and unminimize functions for IssueComment class (#3005) (09c4f58e)
45+
* Support Organization/Repository custom properties (#2968) (c5e6b702)
46+
* Add `dict` type to `add_attribute` script (#2977) (2a04f9cc)
47+
* Allow for deleting and restoring branch associated with PR (#1784) (4ba1e412)
48+
* Add "archived_at" to Organization object. (#2974) (cc766a6f)
49+
* Adds Security & Analysis To Repository (#2960) (f22af54d)
50+
* Add added_by and last_used attributes to RepositoryKey (#2952) (5dffa64d)
51+
* Add `make_latest` to `GitRelease.update_release` (#2888) (60136105)
52+
* Make Commit.files return PaginatedList (#2939) (fa885f00)
53+
54+
Bug Fixes
55+
^^^^^^^^^
56+
57+
* Fix GraphQL Queries with Variables (#3002) (4324a3d9)
58+
59+
Maintenance
60+
^^^^^^^^^^^
61+
62+
* Remove support for Python 3.7 (#2975, #3008) (d0e05072, 6d60b754)
63+
* docs: add missing code-block (#2982) (c93e73e2)
64+
* Update README.md (#2961) (5d9f90d2)
65+
* CI: Fix test success job (#3010) (61d37dce)
66+
3167
Version 2.3.0 (March 21, 2024)
3268
------------------------------
3369

github/AdvisoryCredit.py

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
# Copyright 2023 Jonathan Leitschuh <[email protected]> #
66
# Copyright 2023 Joseph Henrich <[email protected]> #
77
# Copyright 2023 Trim21 <[email protected]> #
8+
# Copyright 2024 Enrico Minack <[email protected]> #
89
# Copyright 2024 Jirka Borovec <[email protected]> #
910
# #
1011
# This file is part of PyGithub. #

github/AdvisoryCreditDetailed.py

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
# Copyright 2023 Jonathan Leitschuh <[email protected]> #
1919
# Copyright 2023 Joseph Henrich <[email protected]> #
2020
# Copyright 2023 Trim21 <[email protected]> #
21+
# Copyright 2024 Enrico Minack <[email protected]> #
2122
# Copyright 2024 Jirka Borovec <[email protected]> #
2223
# #
2324
# This file is part of PyGithub. #

github/AdvisoryVulnerability.py

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
# Copyright 2023 Jonathan Leitschuh <[email protected]> #
66
# Copyright 2023 Joseph Henrich <[email protected]> #
77
# Copyright 2023 Trim21 <[email protected]> #
8+
# Copyright 2024 Enrico Minack <[email protected]> #
89
# Copyright 2024 Jirka Borovec <[email protected]> #
910
# #
1011
# This file is part of PyGithub. #

github/Artifact.py

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
# Copyright 2023 Enrico Minack <[email protected]> #
2222
# Copyright 2023 Jirka Borovec <[email protected]> #
2323
# Copyright 2023 Trim21 <[email protected]> #
24+
# Copyright 2024 Enrico Minack <[email protected]> #
2425
# Copyright 2024 Jirka Borovec <[email protected]> #
2526
# #
2627
# This file is part of PyGithub. #

github/Auth.py

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# Copyright 2023 chantra <[email protected]> #
77
# Copyright 2024 Enrico Minack <[email protected]> #
88
# Copyright 2024 Jirka Borovec <[email protected]> #
9+
# Copyright 2024 Jonathan Kliem <[email protected]> #
910
# #
1011
# This file is part of PyGithub. #
1112
# http://pygithub.readthedocs.io/ #

github/AuthenticatedUser.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@
4747
# Copyright 2023 Mark Amery <[email protected]> #
4848
# Copyright 2023 Trim21 <[email protected]> #
4949
# Copyright 2023 chantra <[email protected]> #
50+
# Copyright 2024 Chris Wells <[email protected]> #
5051
# Copyright 2024 Enrico Minack <[email protected]> #
5152
# Copyright 2024 Oskar Jansson <[email protected]>#
52-
# Copyright 2024 Chris Wells <[email protected]> #
5353
# #
5454
# This file is part of PyGithub. #
5555
# http://pygithub.readthedocs.io/ #

github/Authorization.py

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
# Copyright 2023 Enrico Minack <[email protected]> #
1717
# Copyright 2023 Jirka Borovec <[email protected]> #
1818
# Copyright 2023 Trim21 <[email protected]> #
19+
# Copyright 2024 Enrico Minack <[email protected]> #
1920
# Copyright 2024 Jirka Borovec <[email protected]> #
2021
# #
2122
# This file is part of PyGithub. #

github/AuthorizationApplication.py

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
# Copyright 2020 Steve Kowalik <[email protected]> #
1515
# Copyright 2023 Enrico Minack <[email protected]> #
1616
# Copyright 2023 Trim21 <[email protected]> #
17+
# Copyright 2024 Enrico Minack <[email protected]> #
1718
# Copyright 2024 Jirka Borovec <[email protected]> #
1819
# #
1920
# This file is part of PyGithub. #

github/Autolink.py

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
# Copyright 2023 Enrico Minack <[email protected]> #
1818
# Copyright 2023 Oskar Jansson <[email protected]>#
1919
# Copyright 2023 Trim21 <[email protected]> #
20+
# Copyright 2024 Enrico Minack <[email protected]> #
2021
# Copyright 2024 Jirka Borovec <[email protected]> #
2122
# #
2223
# This file is part of PyGithub. #

github/CVSS.py

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
# Copyright 2023 Enrico Minack <[email protected]> #
1818
# Copyright 2023 Joseph Henrich <[email protected]> #
1919
# Copyright 2023 Trim21 <[email protected]> #
20+
# Copyright 2024 Enrico Minack <[email protected]> #
2021
# Copyright 2024 Jirka Borovec <[email protected]> #
2122
# #
2223
# This file is part of PyGithub. #

github/CWE.py

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
# Copyright 2023 Enrico Minack <[email protected]> #
1818
# Copyright 2023 Jonathan Leitschuh <[email protected]> #
1919
# Copyright 2023 Trim21 <[email protected]> #
20+
# Copyright 2024 Enrico Minack <[email protected]> #
2021
# Copyright 2024 Jirka Borovec <[email protected]> #
2122
# #
2223
# This file is part of PyGithub. #

github/CheckRun.py

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# Copyright 2023 Enrico Minack <[email protected]> #
88
# Copyright 2023 Jirka Borovec <[email protected]> #
99
# Copyright 2023 Trim21 <[email protected]> #
10+
# Copyright 2024 Enrico Minack <[email protected]> #
1011
# Copyright 2024 Jirka Borovec <[email protected]> #
1112
# #
1213
# This file is part of PyGithub. #

github/CheckRunAnnotation.py

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
# Copyright 2023 Enrico Minack <[email protected]> #
66
# Copyright 2023 Jirka Borovec <[email protected]> #
77
# Copyright 2023 Trim21 <[email protected]> #
8+
# Copyright 2024 Enrico Minack <[email protected]> #
89
# Copyright 2024 Jirka Borovec <[email protected]> #
910
# #
1011
# This file is part of PyGithub. #

github/CheckRunOutput.py

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
# Copyright 2023 Enrico Minack <[email protected]> #
1717
# Copyright 2023 Jirka Borovec <[email protected]> #
1818
# Copyright 2023 Trim21 <[email protected]> #
19+
# Copyright 2024 Enrico Minack <[email protected]> #
1920
# Copyright 2024 Jirka Borovec <[email protected]> #
2021
# #
2122
# This file is part of PyGithub. #

github/CheckSuite.py

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# Copyright 2023 Enrico Minack <[email protected]> #
88
# Copyright 2023 Jirka Borovec <[email protected]> #
99
# Copyright 2023 Trim21 <[email protected]> #
10+
# Copyright 2024 Enrico Minack <[email protected]> #
1011
# Copyright 2024 Jirka Borovec <[email protected]> #
1112
# #
1213
# This file is part of PyGithub. #

github/Clones.py

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
# Copyright 2021 Steve Kowalik <[email protected]> #
1717
# Copyright 2023 Enrico Minack <[email protected]> #
1818
# Copyright 2023 Trim21 <[email protected]> #
19+
# Copyright 2024 Enrico Minack <[email protected]> #
1920
# Copyright 2024 Jirka Borovec <[email protected]> #
2021
# #
2122
# This file is part of PyGithub. #

github/CodeScanAlert.py

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# Copyright 2023 Enrico Minack <[email protected]> #
55
# Copyright 2023 Jirka Borovec <[email protected]> #
66
# Copyright 2023 Trim21 <[email protected]> #
7+
# Copyright 2024 Enrico Minack <[email protected]> #
78
# Copyright 2024 Jirka Borovec <[email protected]> #
89
# #
910
# This file is part of PyGithub. #

github/CodeScanAlertInstance.py

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# Copyright 2023 Enrico Minack <[email protected]> #
55
# Copyright 2023 Jirka Borovec <[email protected]> #
66
# Copyright 2023 Trim21 <[email protected]> #
7+
# Copyright 2024 Enrico Minack <[email protected]> #
78
# Copyright 2024 Jirka Borovec <[email protected]> #
89
# #
910
# This file is part of PyGithub. #

github/CodeScanAlertInstanceLocation.py

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
# Copyright 2022 Eric Nieuwland <[email protected]> #
66
# Copyright 2023 Enrico Minack <[email protected]> #
77
# Copyright 2023 Trim21 <[email protected]> #
8+
# Copyright 2024 Enrico Minack <[email protected]> #
89
# Copyright 2024 Jirka Borovec <[email protected]> #
910
# #
1011
# This file is part of PyGithub. #

github/CodeScanRule.py

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
# Copyright 2023 Enrico Minack <[email protected]> #
1818
# Copyright 2023 Jirka Borovec <[email protected]> #
1919
# Copyright 2023 Trim21 <[email protected]> #
20+
# Copyright 2024 Enrico Minack <[email protected]> #
2021
# Copyright 2024 Jirka Borovec <[email protected]> #
2122
# #
2223
# This file is part of PyGithub. #

github/CodeScanTool.py

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
# Copyright 2022 Eric Nieuwland <[email protected]> #
1717
# Copyright 2023 Enrico Minack <[email protected]> #
1818
# Copyright 2023 Trim21 <[email protected]> #
19+
# Copyright 2024 Enrico Minack <[email protected]> #
1920
# Copyright 2024 Jirka Borovec <[email protected]> #
2021
# #
2122
# This file is part of PyGithub. #

github/Commit.py

+2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
# Copyright 2023 Enrico Minack <[email protected]> #
2222
# Copyright 2023 Jirka Borovec <[email protected]> #
2323
# Copyright 2023 Trim21 <[email protected]> #
24+
# Copyright 2024 Enrico Minack <[email protected]> #
2425
# Copyright 2024 Jirka Borovec <[email protected]> #
26+
# Copyright 2024 iarspider <[email protected]> #
2527
# #
2628
# This file is part of PyGithub. #
2729
# http://pygithub.readthedocs.io/ #

github/CommitCombinedStatus.py

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
# Copyright 2023 Enrico Minack <[email protected]> #
1818
# Copyright 2023 Jirka Borovec <[email protected]> #
1919
# Copyright 2023 Trim21 <[email protected]> #
20+
# Copyright 2024 Enrico Minack <[email protected]> #
2021
# Copyright 2024 Jirka Borovec <[email protected]> #
2122
# #
2223
# This file is part of PyGithub. #

github/CommitComment.py

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
# Copyright 2023 Enrico Minack <[email protected]> #
2121
# Copyright 2023 Jirka Borovec <[email protected]> #
2222
# Copyright 2023 Trim21 <[email protected]> #
23+
# Copyright 2024 Enrico Minack <[email protected]> #
2324
# Copyright 2024 Jirka Borovec <[email protected]> #
2425
# #
2526
# This file is part of PyGithub. #

github/ContentFile.py

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
# Copyright 2023 Enrico Minack <[email protected]> #
2121
# Copyright 2023 Jirka Borovec <[email protected]> #
2222
# Copyright 2023 Trim21 <[email protected]> #
23+
# Copyright 2024 Enrico Minack <[email protected]> #
2324
# Copyright 2024 Jirka Borovec <[email protected]> #
2425
# #
2526
# This file is part of PyGithub. #

github/Deployment.py

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
# Copyright 2023 Jirka Borovec <[email protected]> #
2222
# Copyright 2023 Nevins <[email protected]> #
2323
# Copyright 2023 Trim21 <[email protected]> #
24+
# Copyright 2024 Enrico Minack <[email protected]> #
2425
# Copyright 2024 Jirka Borovec <[email protected]> #
2526
# #
2627
# This file is part of PyGithub. #

github/DeploymentStatus.py

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
# Copyright 2023 Enrico Minack <[email protected]> #
2121
# Copyright 2023 Jirka Borovec <[email protected]> #
2222
# Copyright 2023 Trim21 <[email protected]> #
23+
# Copyright 2024 Enrico Minack <[email protected]> #
2324
# Copyright 2024 Jirka Borovec <[email protected]> #
2425
# #
2526
# This file is part of PyGithub. #

github/Download.py

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
# Copyright 2021 Steve Kowalik <[email protected]> #
1616
# Copyright 2023 Enrico Minack <[email protected]> #
1717
# Copyright 2023 Trim21 <[email protected]> #
18+
# Copyright 2024 Enrico Minack <[email protected]> #
1819
# Copyright 2024 Jirka Borovec <[email protected]> #
1920
# #
2021
# This file is part of PyGithub. #

github/Enterprise.py

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
# Copyright 2023 Mark Amery <[email protected]> #
1717
# Copyright 2023 Trim21 <[email protected]> #
1818
# Copyright 2023 YugoHino <[email protected]> #
19+
# Copyright 2024 Enrico Minack <[email protected]> #
1920
# Copyright 2024 Jirka Borovec <[email protected]> #
2021
# #
2122
# This file is part of PyGithub. #

0 commit comments

Comments
 (0)