Skip to content

Commit

Permalink
chore(release): 2.0.0 [skip ci]
Browse files Browse the repository at this point in the history
## [2.0.0](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](1d94e69))
* introduce identification error into EventsResponse ([925334e](925334e))
* store RetryAfter in ManyRequestsResponse ([8239e3c](8239e3c))
* Update list of examples in generate.go (new errors) ([a328ad6](a328ad6))
* update module name to github.com/fingerprintjs/fingerprint-pro-server-api-go-sdk/v2 ([aec4af5](aec4af5))

### Documentation

* **README:** update referenced module name ([78f5dac](78f5dac))
  • Loading branch information
semantic-release-bot committed Jan 23, 2023
1 parent 3c052aa commit 19ff81f
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 5 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)


Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions sdk/api_fingerprint.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{}

Expand Down Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion sdk/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 19ff81f

Please sign in to comment.