1
0
mirror of https://github.com/strongdm/comply synced 2024-11-25 09:04:54 +00:00
comply/vendor/github.com/kevinburke/rest/CHANGELOG.md
Justin McCarthy 7468711b3b
go.mod: update gitlab dep to v0.30.1
Releases after github.com/xanzy/go-gitlab@v0.31.0 introduce breaking
changes to the NewClient call.

Addresses #94
2020-09-14 11:31:56 -07:00

522 B

2.2

Support Bearer authentication.

If the path value in *Client.NewRequest() begins with Client.Base (e.g. `client.NewRequest("GET", "https://api.github.com"), it will be stripped before making the request.

2.1

Remove Bazel for testing purposes.

2.0

  • rest.Error.StatusCode has been renamed to rest.Error.Status to match the change in the accepted RFC.

  • rest.Client no longer has a default timeout. Use context.Context to specify a timeout for HTTP requests.

  • Add rest.Gone for 410 responses.