From c2d0f4f66ac1d71faa6c632a2862254068f3b40a Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Mon, 30 Jan 2023 12:36:46 +0000 Subject: [PATCH] chore(release): 3.0.0 [skip ci] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## [3.0.0](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/compare/v2.0.0...v3.0.0) (2023-01-30) ### ⚠ BREAKING CHANGES * changed `before` parameter type from `int32` to `int64` ### Features * change `before` parameter type in /visits endpoint ([436f3bf](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/commit/436f3bfa14bbd6a4f31eaecc477324b5c0023352)) ### Documentation * **README:** fix invalid install command ([fbb1769](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/commit/fbb1769287dc83b89848455df35943fde8567b70)) --- CHANGELOG.md | 16 ++++++++++++++++ README.md | 2 +- config.json | 2 +- sdk/api_fingerprint.go | 4 ++-- sdk/configuration.go | 2 +- 5 files changed, 21 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d976fe2..1c7aec1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,19 @@ +## [3.0.0](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/compare/v2.0.0...v3.0.0) (2023-01-30) + + +### ⚠ BREAKING CHANGES + +* changed `before` parameter type from `int32` to `int64` + +### Features + +* change `before` parameter type in /visits endpoint ([436f3bf](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/commit/436f3bfa14bbd6a4f31eaecc477324b5c0023352)) + + +### Documentation + +* **README:** fix invalid install command ([fbb1769](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/commit/fbb1769287dc83b89848455df35943fde8567b70)) + ## [2.0.0](https://github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/compare/v1.2.0...v2.0.0) (2023-01-23) diff --git a/README.md b/README.md index 7d4f63b..12d751a 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 +- Package version: 3.0.0 - Build package: io.swagger.codegen.v3.generators.go.GoClientCodegen ## Requirements. diff --git a/config.json b/config.json index c0a8d8e..6a1fa1a 100644 --- a/config.json +++ b/config.json @@ -1,5 +1,5 @@ { - "packageVersion": "2.0.0", + "packageVersion": "3.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 2a1746a..686b0bf 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") + localVarQueryParams.Add("ii", "fingerprint-pro-server-go-sdk/3.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") + localVarQueryParams.Add("ii", "fingerprint-pro-server-go-sdk/3.0.0") if localVarOptionals != nil { if localVarOptionals.RequestId.IsSet() { diff --git a/sdk/configuration.go b/sdk/configuration.go index e5e4003..8d00507 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/go", + UserAgent: "Swagger-Codegen/3.0.0/go", region: RegionUS, } cfg.basePath = resolveBasePath(cfg.region)