-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(release): 6.0.0-test.1 [skip ci]
## [6.0.0-test.1](v5.0.2...v6.0.0-test.1) (2024-06-21) ### ⚠ BREAKING CHANGES * it is now easier to check for too many requests error (429): ```go response, httpRes, err := client.FingerprintApi.GetVisits(auth, visitorId, &opts) fmt.Printf("%+v\n", httpRes) if err != nil { var tooManyRequestsError *sdk.TooManyRequestsError if errors.As(err, &tooManyRequestsError) { log.Fatalf("Too many requests, retry after %d seconds", tooManyRequestsError.RetryAfter()) } else { log.Fatal(err) } } ``` * rename `GenericSwaggerError` to `ApiError` * rename `ManyRequestsResponse` to `TooManyRequestsResponse` * go 1.20 has reached EOL. Minimal supported version of go is now 1.21 * right now we use native `errors` package for joining errors, meaning that multiple error messages are now joined by new line rather than colon (:) * optional pkg is no longer used in this SDK. Please pass native GO types instead. ### Features * add `IsValidWebhookSignature` function for validating webhook signature ([a5bf13d](a5bf13d)) * add delete API ([0e077c3](0e077c3)) * add os Mismatch ([30b0215](30b0215)) * add revision string field to confidence object ([8a2f270](8a2f270)) * drop support for go 1.20 ([46953bc](46953bc)) * drop usage of `github.com/pkg/errors` ([186d30a](186d30a)) * introduce `TooManyRequestsError` ([6ee7ff2](6ee7ff2)) * provide `HttpResponse()` in `ApiError` ([acd1274](acd1274)) * re-write request handling logic ([14b7e7f](14b7e7f)) * remove usage of github.com/antihax/optional package ([62db97f](62db97f)) * rename `GenericSwaggerError` to `ApiError` ([259b7b4](259b7b4)) * rename `ManyRequestsResponse` to `TooManyRequestsResponse` ([3f66641](3f66641)) ### Bug Fixes * allow passing `nil` configuration to `NewAPIClient` ([595eaf8](595eaf8)) * move test related dependencies to test module ([298275d](298275d)) ### Reverts * "chore(release): 6.0.0-test.1 [skip ci]" ([84ec138](84ec138))
- Loading branch information
1 parent
3b5e3ae
commit afc8148
Showing
22 changed files
with
90 additions
and
41 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
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
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
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
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
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,3 +1,3 @@ | ||
module github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/v5 | ||
module github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/v6 | ||
|
||
go 1.21 |
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
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
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
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
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
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