forked from google/go-github
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump version of go-github to v54.0.0 (google#2881)
- Loading branch information
Showing
32 changed files
with
94 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,13 +11,17 @@ | |
178inaba <[email protected]> | ||
2BFL <[email protected]> | ||
413x <[email protected]> | ||
6543 <[email protected]> | ||
Abed Kibbe <[email protected]> | ||
Abhinav Gupta <[email protected]> | ||
Abhishek Veeramalla <[email protected]> | ||
aboy <[email protected]> | ||
Adam Kohring <[email protected]> | ||
adrienzieba <[email protected]> | ||
afdesk <[email protected]> | ||
Ahmad Nurus S <[email protected]> | ||
Ahmed Hagy <[email protected]> | ||
Aidan <[email protected]> | ||
Aidan Steele <[email protected]> | ||
Ainsley Chong <[email protected]> | ||
ajz01 <[email protected]> | ||
|
@@ -26,6 +30,7 @@ Akhil Mohan <[email protected]> | |
Alec Thomas <[email protected]> | ||
Aleks Clark <[email protected]> | ||
Alex Bramley <[email protected]> | ||
Alex Ellis <[email protected]> | ||
Alex Orr <[email protected]> | ||
Alex Su <[email protected]> | ||
Alex Unger <[email protected]> | ||
|
@@ -51,6 +56,7 @@ Anton Nguyen <[email protected]> | |
Anubha Kushwaha <[email protected]> | ||
appilon <[email protected]> | ||
aprp <[email protected]> | ||
apurwaj2 <[email protected]> | ||
Aravind <[email protected]> | ||
Arda Kuyumcu <[email protected]> | ||
Arıl Bozoluk <[email protected]> | ||
|
@@ -60,12 +66,15 @@ Austin Dizzy <[email protected]> | |
Azuka Okuleye <[email protected]> | ||
Ben Batha <[email protected]> | ||
Benjamen Keroack <[email protected]> | ||
Berkay Tacyildiz <[email protected]> | ||
Beshr Kayali <[email protected]> | ||
Beyang Liu <[email protected]> | ||
Billy Keyes <[email protected]> | ||
Billy Lynch <[email protected]> | ||
Bingtan Lu <[email protected]> | ||
Bjorn Neergaard <[email protected]> | ||
Björn Häuser <[email protected]> | ||
Bo Huang <[email protected]> | ||
boljen <[email protected]> | ||
Bracken <[email protected]> | ||
Brad Harris <[email protected]> | ||
|
@@ -74,6 +83,7 @@ Bradley Falzon <[email protected]> | |
Bradley McAllister <[email protected]> | ||
Brandon Butler <[email protected]> | ||
Brandon Cook <[email protected]> | ||
Brandon Stubbs <[email protected]> | ||
Brett Kuhlman <[email protected]> | ||
Brett Logan <[email protected]> | ||
Brian Egizi <[email protected]> | ||
|
@@ -96,6 +106,7 @@ Chris Schaefer <[email protected]> | |
chrisforrette <[email protected]> | ||
Christian Bargmann <[email protected]> | ||
Christian Muehlhaeuser <[email protected]> | ||
Christoph Jerolimov <[email protected]> | ||
Christoph Sassenberg <[email protected]> | ||
CI Monk <[email protected]> | ||
Colin Misare <github.com/cmisare> | ||
|
@@ -132,6 +143,7 @@ Don Petersen <[email protected]> | |
Doug Turner <[email protected]> | ||
Drew Fradette <[email protected]> | ||
Dustin Deus <[email protected]> | ||
Dustin Lish <[email protected]> | ||
Eivind <[email protected]> | ||
Eli Uriegas <[email protected]> | ||
Elliott Beach <[email protected]> | ||
|
@@ -142,10 +154,12 @@ eperm <[email protected]> | |
Erick Fejta <[email protected]> | ||
Erik Nobel <[email protected]> | ||
erwinvaneyk <[email protected]> | ||
Evan Anderson <[email protected]> | ||
Evan Elias <[email protected]> | ||
Fabian Holler <[email protected]> | ||
Fabrice <[email protected]> | ||
Fatema-Moaiyadi <[email protected]> | ||
Federico Di Pierro <[email protected]> | ||
Felix Geisendörfer <[email protected]> | ||
Filippo Valsorda <[email protected]> | ||
Florian Forster <[email protected]> | ||
|
@@ -156,6 +170,7 @@ Francisco Guimarães <[email protected]> | |
François de Metz <[email protected]> | ||
Fredrik Jönsson <[email protected]> | ||
Gabriel <[email protected]> | ||
Gal Ofri <[email protected]> | ||
Garrett Squire <[email protected]> | ||
George Kontridze <[email protected]> | ||
Georgy Buranov <[email protected]> | ||
|
@@ -164,6 +179,7 @@ Gnahz <[email protected]> | |
Google Inc. | ||
Grachev Mikhail <[email protected]> | ||
griffin_stewie <[email protected]> | ||
guangwu <[email protected]> | ||
Guillaume Jacquet <[email protected]> | ||
Guz Alexander <[email protected]> | ||
Guðmundur Bjarni Ólafsson <[email protected]> | ||
|
@@ -179,6 +195,7 @@ huydx <[email protected]> | |
i2bskn <[email protected]> | ||
Iain Steers <[email protected]> | ||
Ikko Ashimine <[email protected]> | ||
Ilia Choly <[email protected]> | ||
Ioannis Georgoulas <[email protected]> | ||
Isao Jonas <[email protected]> | ||
ishan upadhyay <[email protected]> | ||
|
@@ -190,11 +207,15 @@ Jameel Haffejee <[email protected]> | |
James Bowes <[email protected]> | ||
James Cockbain <[email protected]> | ||
James Loh <[email protected]> | ||
James Maguire <[email protected]> | ||
James Turley <[email protected]> | ||
Jamie West <[email protected]> | ||
Jan Kosecki <[email protected]> | ||
Jan Švábík <[email protected]> | ||
Jason Field <[email protected]> | ||
Javier Campanini <[email protected]> | ||
Jef LeCompte <[email protected]> | ||
Jeff Wenzbauer <[email protected]> | ||
Jens Rantil <[email protected]> | ||
Jeremy Morris <[email protected]> | ||
Jesse Haka <[email protected]> | ||
|
@@ -209,7 +230,9 @@ John Engelman <[email protected]> | |
John Jones <[email protected]> | ||
John Liu <[email protected]> | ||
Jordan Brockopp <[email protected]> | ||
Jordan Burandt <[email protected]> | ||
Jordan Sussman <[email protected]> | ||
Jorge Gómez Reus <[email protected]> | ||
Joshua Bezaleel Abednego <[email protected]> | ||
João Cerqueira <[email protected]> | ||
JP Phillips <[email protected]> | ||
|
@@ -223,14 +246,17 @@ Justin Abrahms <[email protected]> | |
Justin Toh <[email protected]> | ||
Jusung Lee <[email protected]> | ||
jzhoucliqr <[email protected]> | ||
k0ral <[email protected]> | ||
k1rnt <[email protected]> | ||
kadern0 <[email protected]> | ||
Karthik Sundari <[email protected]> | ||
Katrina Owen <[email protected]> | ||
Kautilya Tripathi <[email protected]> | ||
Keita Urashima <[email protected]> | ||
Kevin Burke <[email protected]> | ||
Kevin Wang <[email protected]> | ||
Kevin Zhao <[email protected]> | ||
kgalli <[email protected]> | ||
Kirill <[email protected]> | ||
Konrad Malawski <[email protected]> | ||
Kookheon Kwon <[email protected]> | ||
|
@@ -240,19 +266,24 @@ Kshitij Saraogi <[email protected]> | |
Kumar Saurabh <[email protected]> | ||
Kyle Kurz <[email protected]> | ||
kyokomi <[email protected]> | ||
Lars Lehtonen <[email protected]> | ||
Laurent Verdoïa <[email protected]> | ||
leopoldwang <[email protected]> | ||
Liam Galvin <[email protected]> | ||
Lluis Campos <[email protected]> | ||
Lovro Mažgon <[email protected]> | ||
Loïs Postula <[email protected]> | ||
Luca Campese <[email protected]> | ||
Lucas Alcantara <[email protected]> | ||
Lucas Martin-King <[email protected]> | ||
Luis Davim <[email protected]> | ||
Luke Evers <[email protected]> | ||
Luke Hinds <[email protected]> | ||
Luke Kysow <[email protected]> | ||
Luke Roberts <[email protected]> | ||
Luke Young <[email protected]> | ||
lynn [they] <[email protected]> | ||
Magnus Kulke <[email protected]> | ||
Maksim Zhylinski <[email protected]> | ||
Marc Binder <[email protected]> | ||
Marcelo Carlos <[email protected]> | ||
|
@@ -267,9 +298,11 @@ Matija Horvat <[email protected]> | |
Matin Rahmanian <[email protected]> | ||
Matt <[email protected]> | ||
Matt Brender <[email protected]> | ||
Matt Dainty <[email protected]> | ||
Matt Gaunt <[email protected]> | ||
Matt Landis <[email protected]> | ||
Matt Moore <[email protected]> | ||
Matt Simons <[email protected]> | ||
Maxime Bury <[email protected]> | ||
Michael Meng <[email protected]> | ||
Michael Spiegel <[email protected]> | ||
|
@@ -278,26 +311,33 @@ Michał Glapa <[email protected]> | |
Michelangelo Morrillo <[email protected]> | ||
Miguel Elias dos Santos <[email protected]> | ||
Mike Chen <[email protected]> | ||
mohammad ali <[email protected]> | ||
Mohammed AlDujaili <[email protected]> | ||
Mukundan Senthil <[email protected]> | ||
Munia Balayil <[email protected]> | ||
Mustafa Abban <[email protected]> | ||
Nadav Kaner <[email protected]> | ||
Naoki Kanatani <[email protected]> | ||
Nathan VanBenschoten <[email protected]> | ||
Navaneeth Suresh <[email protected]> | ||
Neal Caffery <[email protected]> | ||
Neil O'Toole <[email protected]> | ||
Nick Miyake <[email protected]> | ||
Nick Platt <[email protected]> | ||
Nick Spragg <[email protected]> | ||
Nicolas Chapurlat <[email protected]> | ||
Nikhita Raghunath <[email protected]> | ||
Nilesh Singh <[email protected]> | ||
Noah Hanjun Lee <[email protected]> | ||
Noah Zoschke <[email protected]> | ||
ns-cweber <[email protected]> | ||
nxya <[email protected]> | ||
Ole Orhagen <[email protected]> | ||
Oleg Kovalov <[email protected]> | ||
Ondřej Kupka <[email protected]> | ||
Ori Talmor <[email protected]> | ||
Osama Faqhruldin <[email protected]> | ||
oslowalk <[email protected]> | ||
Pablo Pérez Schröder <[email protected]> | ||
Palash Nigam <[email protected]> | ||
Panagiotis Moustafellos <[email protected]> | ||
|
@@ -308,6 +348,7 @@ parkhyukjun89 <[email protected]> | |
Pat Alwell <[email protected]> | ||
Patrick DeVivo <[email protected]> | ||
Patrick Marabeas <[email protected]> | ||
Patrik Nordlén <[email protected]> | ||
Pavel Dvoinos <[email protected]> | ||
Pavel Shtanko <[email protected]> | ||
Pete Wagner <[email protected]> | ||
|
@@ -324,6 +365,7 @@ Quinn Slack <[email protected]> | |
Rackspace US, Inc. | ||
Radek Simko <[email protected]> | ||
Radliński Ignacy <[email protected]> | ||
Rafael Aramizu Gomes <[email protected]> | ||
Rajat Jindal <[email protected]> | ||
Rajendra arora <[email protected]> | ||
Rajkumar <[email protected]> | ||
|
@@ -352,6 +394,7 @@ Ryo Nakao <[email protected]> | |
Saaarah <[email protected]> | ||
Safwan Olaimat <[email protected]> | ||
Sahil Dua <[email protected]> | ||
Sai Ravi Teja Chintakrindi <[email protected]> | ||
saisi <[email protected]> | ||
Sam Minnée <[email protected]> | ||
Sandeep Sukhani <[email protected]> | ||
|
@@ -378,6 +421,7 @@ Sho Okada <[email protected]> | |
Shrikrishna Singh <[email protected]> | ||
Simon Davis <[email protected]> | ||
sona-tar <[email protected]> | ||
soniachikh <[email protected]> | ||
SoundCloud, Ltd. | ||
Sridhar Mocherla <[email protected]> | ||
SriVignessh Pss <[email protected]> | ||
|
@@ -388,6 +432,7 @@ Suhaib Mujahid <[email protected]> | |
sushmita wable <[email protected]> | ||
Szymon Kodrebski <[email protected]> | ||
Søren Hansen <[email protected]> | ||
T.J. Corrigan <[email protected]> | ||
Takashi Yoneuchi <[email protected]> | ||
Takayuki Watanabe <[email protected]> | ||
Taketoshi Fujiwara <[email protected]> | ||
|
@@ -399,6 +444,7 @@ Theofilos Petsios <[email protected]> | |
Thomas Aidan Curran <[email protected]> | ||
Thomas Bruyelle <[email protected]> | ||
Tim Rogers <[email protected]> | ||
Timothy O'Brien <[email protected]> | ||
Timothée Peignier <[email protected]> | ||
Tingluo Huang <[email protected]> | ||
tkhandel <[email protected]> | ||
|
@@ -411,24 +457,31 @@ Vaibhav Singh <[email protected]> | |
Varadarajan Aravamudhan <[email protected]> | ||
Victor Castell <[email protected]> | ||
Victor Vrantchan <[email protected]> | ||
Victory Osikwemhe <[email protected]> | ||
vikkyomkar <[email protected]> | ||
Vivek <[email protected]> | ||
Vlad Ungureanu <[email protected]> | ||
Wasim Thabraze <[email protected]> | ||
Weslei Juan Moser Pereira <[email protected]> | ||
Wheeler Law <[email protected]> | ||
Will Maier <[email protected]> | ||
Will Norris <[email protected]> | ||
Willem D'Haeseleer <[email protected]> | ||
William Bailey <[email protected]> | ||
William Cooke <[email protected]> | ||
Xabi <[email protected]> | ||
xibz <[email protected]> | ||
Yann Malet <[email protected]> | ||
Yannick Utard <[email protected]> | ||
Yarden Shoham <[email protected]> | ||
Yicheng Qin <[email protected]> | ||
Yosuke Akatsuka <[email protected]> | ||
Yumikiyo Osanai <[email protected]> | ||
Yurii Soldak <[email protected]> | ||
Yusef Mohamadi <[email protected]> | ||
Yusuke Kuoka <[email protected]> | ||
Zach Latta <[email protected]> | ||
zhouhaibing089 <[email protected]> | ||
六开箱 <[email protected]> | ||
缘生 <[email protected]> | ||
蒋航 <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# go-github # | ||
|
||
[![go-github release (latest SemVer)](https://img.shields.io/github/v/release/google/go-github?sort=semver)](https://github.com/google/go-github/releases) | ||
[![GoDoc](https://img.shields.io/static/v1?label=godoc&message=reference&color=blue)](https://pkg.go.dev/github.com/google/go-github/v53/github) | ||
[![GoDoc](https://img.shields.io/static/v1?label=godoc&message=reference&color=blue)](https://pkg.go.dev/github.com/google/go-github/v54/github) | ||
[![Test Status](https://github.com/google/go-github/workflows/tests/badge.svg)](https://github.com/google/go-github/actions?query=workflow%3Atests) | ||
[![Test Coverage](https://codecov.io/gh/google/go-github/branch/master/graph/badge.svg)](https://codecov.io/gh/google/go-github) | ||
[![Discuss at [email protected]](https://img.shields.io/badge/discuss-go--github%40googlegroups.com-blue.svg)](https://groups.google.com/group/go-github) | ||
|
@@ -24,29 +24,29 @@ If you're interested in using the [GraphQL API v4][], the recommended library is | |
go-github is compatible with modern Go releases in module mode, with Go installed: | ||
|
||
```bash | ||
go get github.com/google/go-github/v53 | ||
go get github.com/google/go-github/v54 | ||
``` | ||
|
||
will resolve and add the package to the current development module, along with its dependencies. | ||
|
||
Alternatively the same can be achieved if you use import in a package: | ||
|
||
```go | ||
import "github.com/google/go-github/v53/github" | ||
import "github.com/google/go-github/v54/github" | ||
``` | ||
|
||
and run `go get` without parameters. | ||
|
||
Finally, to use the top-of-trunk version of this repo, use the following command: | ||
|
||
```bash | ||
go get github.com/google/go-github/v53@master | ||
go get github.com/google/go-github/v54@master | ||
``` | ||
|
||
## Usage ## | ||
|
||
```go | ||
import "github.com/google/go-github/v53/github" // with go modules enabled (GO111MODULE=on or outside GOPATH) | ||
import "github.com/google/go-github/v54/github" // with go modules enabled (GO111MODULE=on or outside GOPATH) | ||
import "github.com/google/go-github/github" // with go modules disabled | ||
``` | ||
|
||
|
@@ -135,7 +135,7 @@ import ( | |
"net/http" | ||
|
||
"github.com/bradleyfalzon/ghinstallation/v2" | ||
"github.com/google/go-github/v53/github" | ||
"github.com/google/go-github/v54/github" | ||
) | ||
|
||
func main() { | ||
|
@@ -323,7 +323,7 @@ For complete usage of go-github, see the full [package docs][]. | |
[oauth2]: https://github.com/golang/oauth2 | ||
[oauth2 docs]: https://godoc.org/golang.org/x/oauth2 | ||
[personal API token]: https://github.com/blog/1509-personal-api-tokens | ||
[package docs]: https://pkg.go.dev/github.com/google/go-github/v53/github | ||
[package docs]: https://pkg.go.dev/github.com/google/go-github/v54/github | ||
[GraphQL API v4]: https://developer.github.com/v4/ | ||
[shurcooL/githubv4]: https://github.com/shurcooL/githubv4 | ||
[GitHub webhook events]: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads | ||
|
@@ -396,6 +396,7 @@ Versions prior to 48.2.0 are not listed. | |
|
||
| go-github Version | GitHub v3 API Version | | ||
| ----------------- | --------------------- | | ||
| 54.0.0 | 2022-11-28 | | ||
| 53.2.0 | 2022-11-28 | | ||
| 53.1.0 | 2022-11-28 | | ||
| 53.0.0 | 2022-11-28 | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.