From 19ff81f631565febeeae0ab4a401c0513fb03805 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Mon, 23 Jan 2023 13:03:00 +0000 Subject: [PATCH] chore(release): 2.0.0 [skip ci] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## [2.0.0](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/compare/v1.2.0...v2.0.0) (2023-01-23) ### ⚠ BREAKING CHANGES * `StSeenAt` type renamed to `SeenAt` ### Features * generate new source file with updated swagger ([1d94e69](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/commit/1d94e698850a2f753b7f1398cdd667a6ae5aea10)) * introduce identification error into EventsResponse ([925334e](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/commit/925334e52b4046b97d6b814f734b81ff2086fee7)) * store RetryAfter in ManyRequestsResponse ([8239e3c](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/commit/8239e3cae5e6246440f4ab76fcd605fb78aa50ab)) * Update list of examples in generate.go (new errors) ([a328ad6](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/commit/a328ad6defbeff6cedc6769b87595fb18f56ba9e)) * update module name to github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/v2 ([aec4af5](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/commit/aec4af5bd7ec823dabbbf10ef77203c7881079a0)) ### Documentation * **README:** update referenced module name ([78f5dac](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/commit/78f5dac76507a993ce4f553ece7b4ceb5c39d67f)) --- CHANGELOG.md | 20 ++++++++++++++++++++ README.md | 2 +- config.json | 2 +- sdk/api_fingerprint.go | 4 ++-- sdk/configuration.go | 2 +- 5 files changed, 25 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 265e1a0..d976fe2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,23 @@ +## [2.0.0](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/compare/v1.2.0...v2.0.0) (2023-01-23) + + +### ⚠ BREAKING CHANGES + +* `StSeenAt` type renamed to `SeenAt` + +### Features + +* generate new source file with updated swagger ([1d94e69](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/commit/1d94e698850a2f753b7f1398cdd667a6ae5aea10)) +* introduce identification error into EventsResponse ([925334e](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/commit/925334e52b4046b97d6b814f734b81ff2086fee7)) +* store RetryAfter in ManyRequestsResponse ([8239e3c](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/commit/8239e3cae5e6246440f4ab76fcd605fb78aa50ab)) +* Update list of examples in generate.go (new errors) ([a328ad6](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/commit/a328ad6defbeff6cedc6769b87595fb18f56ba9e)) +* update module name to github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/v2 ([aec4af5](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/commit/aec4af5bd7ec823dabbbf10ef77203c7881079a0)) + + +### Documentation + +* **README:** update referenced module name ([78f5dac](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/commit/78f5dac76507a993ce4f553ece7b4ceb5c39d67f)) + ## [2.0.0-test.3](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/compare/v2.0.0-test.2...v2.0.0-test.3) (2023-01-23) diff --git a/README.md b/README.md index 532bccf..d1c1156 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ Fingerprint Pro Server API allows you to get information about visitors and abou This Go package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: - API version: 3 -- Package version: 2.0.0-test.3 +- Package version: 2.0.0 - Build package: io.swagger.codegen.v3.generators.go.GoClientCodegen ## Requirements. diff --git a/config.json b/config.json index e1586f8..c0a8d8e 100644 --- a/config.json +++ b/config.json @@ -1,5 +1,5 @@ { - "packageVersion": "2.0.0-test.3", + "packageVersion": "2.0.0", "gitRepoId": "fingerprint-pro-server-api-go-sdk", "gitUserId": "fingerprintjs", "packageName": "sdk", diff --git a/sdk/api_fingerprint.go b/sdk/api_fingerprint.go index 6e95b43..2925566 100644 --- a/sdk/api_fingerprint.go +++ b/sdk/api_fingerprint.go @@ -46,7 +46,7 @@ func (a *FingerprintApiService) GetEvent(ctx context.Context, requestId string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - localVarQueryParams.Add("ii", "fingerprint-pro-server-go-sdk/2.0.0-test.3") + localVarQueryParams.Add("ii", "fingerprint-pro-server-go-sdk/2.0.0") // to determine the Content-Type header localVarHttpContentTypes := []string{} @@ -200,7 +200,7 @@ func (a *FingerprintApiService) GetVisits(ctx context.Context, visitorId string, localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - localVarQueryParams.Add("ii", "fingerprint-pro-server-go-sdk/2.0.0-test.3") + localVarQueryParams.Add("ii", "fingerprint-pro-server-go-sdk/2.0.0") if localVarOptionals != nil { if localVarOptionals.RequestId.IsSet() { diff --git a/sdk/configuration.go b/sdk/configuration.go index 34848cb..e5e4003 100644 --- a/sdk/configuration.go +++ b/sdk/configuration.go @@ -93,7 +93,7 @@ func (c *Configuration) AddDefaultHeader(key string, value string) { func NewConfiguration() *Configuration { cfg := &Configuration{ DefaultHeader: make(map[string]string), - UserAgent: "Swagger-Codegen/2.0.0-test.3/go", + UserAgent: "Swagger-Codegen/2.0.0/go", region: RegionUS, } cfg.basePath = resolveBasePath(cfg.region)