diff --git a/CHANGELOG.md b/CHANGELOG.md index 8fb0c6945..f0b9e8be8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## [4.1.0](https://github.com/algolia/algoliasearch-client-go/compare/4.0.2...4.1.0) + +- [d53060d96](https://github.com/algolia/api-clients-automation/commit/d53060d96) feat(specs): add /schedule endpoint ([#3350](https://github.com/algolia/api-clients-automation/pull/3350)) by [@febeck](https://github.com/febeck/) + ## [4.0.2](https://github.com/algolia/algoliasearch-client-go/compare/4.0.1...4.0.2) - [6cfc2d479](https://github.com/algolia/api-clients-automation/commit/6cfc2d479) chore(specs): update rendered title for search params ([#3553](https://github.com/algolia/api-clients-automation/pull/3553)) by [@shortcuts](https://github.com/shortcuts/) diff --git a/algolia/abtesting/client.go b/algolia/abtesting/client.go index a54711b59..139ef6bde 100644 --- a/algolia/abtesting/client.go +++ b/algolia/abtesting/client.go @@ -80,7 +80,7 @@ func getDefaultHosts(r Region) []transport.StatefulHost { } func getUserAgent() string { - return fmt.Sprintf("Algolia for Go (4.0.2); Go (%s); Abtesting (4.0.2)", runtime.Version()) + return fmt.Sprintf("Algolia for Go (4.1.0); Go (%s); Abtesting (4.1.0)", runtime.Version()) } // AddDefaultHeader adds a new HTTP header to the default header in the request. diff --git a/algolia/analytics/client.go b/algolia/analytics/client.go index 39749b44b..41b7b83fc 100644 --- a/algolia/analytics/client.go +++ b/algolia/analytics/client.go @@ -80,7 +80,7 @@ func getDefaultHosts(r Region) []transport.StatefulHost { } func getUserAgent() string { - return fmt.Sprintf("Algolia for Go (4.0.2); Go (%s); Analytics (4.0.2)", runtime.Version()) + return fmt.Sprintf("Algolia for Go (4.1.0); Go (%s); Analytics (4.1.0)", runtime.Version()) } // AddDefaultHeader adds a new HTTP header to the default header in the request. diff --git a/algolia/ingestion/client.go b/algolia/ingestion/client.go index c48b511b4..7513ef1d2 100644 --- a/algolia/ingestion/client.go +++ b/algolia/ingestion/client.go @@ -76,7 +76,7 @@ func getDefaultHosts(r Region) []transport.StatefulHost { } func getUserAgent() string { - return fmt.Sprintf("Algolia for Go (4.0.2); Go (%s); Ingestion (4.0.2)", runtime.Version()) + return fmt.Sprintf("Algolia for Go (4.1.0); Go (%s); Ingestion (4.1.0)", runtime.Version()) } // AddDefaultHeader adds a new HTTP header to the default header in the request. diff --git a/algolia/insights/client.go b/algolia/insights/client.go index 432ffff00..4a9087daa 100644 --- a/algolia/insights/client.go +++ b/algolia/insights/client.go @@ -80,7 +80,7 @@ func getDefaultHosts(r Region) []transport.StatefulHost { } func getUserAgent() string { - return fmt.Sprintf("Algolia for Go (4.0.2); Go (%s); Insights (4.0.2)", runtime.Version()) + return fmt.Sprintf("Algolia for Go (4.1.0); Go (%s); Insights (4.1.0)", runtime.Version()) } // AddDefaultHeader adds a new HTTP header to the default header in the request. diff --git a/algolia/monitoring/client.go b/algolia/monitoring/client.go index 53dd28877..cb5362f03 100644 --- a/algolia/monitoring/client.go +++ b/algolia/monitoring/client.go @@ -71,7 +71,7 @@ func getDefaultHosts() []transport.StatefulHost { } func getUserAgent() string { - return fmt.Sprintf("Algolia for Go (4.0.2); Go (%s); Monitoring (4.0.2)", runtime.Version()) + return fmt.Sprintf("Algolia for Go (4.1.0); Go (%s); Monitoring (4.1.0)", runtime.Version()) } // AddDefaultHeader adds a new HTTP header to the default header in the request. diff --git a/algolia/personalization/client.go b/algolia/personalization/client.go index 75c790a6e..076111e84 100644 --- a/algolia/personalization/client.go +++ b/algolia/personalization/client.go @@ -76,7 +76,7 @@ func getDefaultHosts(r Region) []transport.StatefulHost { } func getUserAgent() string { - return fmt.Sprintf("Algolia for Go (4.0.2); Go (%s); Personalization (4.0.2)", runtime.Version()) + return fmt.Sprintf("Algolia for Go (4.1.0); Go (%s); Personalization (4.1.0)", runtime.Version()) } // AddDefaultHeader adds a new HTTP header to the default header in the request. diff --git a/algolia/query-suggestions/client.go b/algolia/query-suggestions/client.go index 5a5ac03ec..53ef420f1 100644 --- a/algolia/query-suggestions/client.go +++ b/algolia/query-suggestions/client.go @@ -76,7 +76,7 @@ func getDefaultHosts(r Region) []transport.StatefulHost { } func getUserAgent() string { - return fmt.Sprintf("Algolia for Go (4.0.2); Go (%s); QuerySuggestions (4.0.2)", runtime.Version()) + return fmt.Sprintf("Algolia for Go (4.1.0); Go (%s); QuerySuggestions (4.1.0)", runtime.Version()) } // AddDefaultHeader adds a new HTTP header to the default header in the request. diff --git a/algolia/recommend/client.go b/algolia/recommend/client.go index c51bbcd45..0c8a435c1 100644 --- a/algolia/recommend/client.go +++ b/algolia/recommend/client.go @@ -82,7 +82,7 @@ func getDefaultHosts(appID string) []transport.StatefulHost { } func getUserAgent() string { - return fmt.Sprintf("Algolia for Go (4.0.2); Go (%s); Recommend (4.0.2)", runtime.Version()) + return fmt.Sprintf("Algolia for Go (4.1.0); Go (%s); Recommend (4.1.0)", runtime.Version()) } // AddDefaultHeader adds a new HTTP header to the default header in the request. diff --git a/algolia/search/client.go b/algolia/search/client.go index 5c40aa33b..59a6a34d0 100644 --- a/algolia/search/client.go +++ b/algolia/search/client.go @@ -82,7 +82,7 @@ func getDefaultHosts(appID string) []transport.StatefulHost { } func getUserAgent() string { - return fmt.Sprintf("Algolia for Go (4.0.2); Go (%s); Search (4.0.2)", runtime.Version()) + return fmt.Sprintf("Algolia for Go (4.1.0); Go (%s); Search (4.1.0)", runtime.Version()) } // AddDefaultHeader adds a new HTTP header to the default header in the request. diff --git a/algolia/usage/client.go b/algolia/usage/client.go index f42825059..4331a0303 100644 --- a/algolia/usage/client.go +++ b/algolia/usage/client.go @@ -82,7 +82,7 @@ func getDefaultHosts(appID string) []transport.StatefulHost { } func getUserAgent() string { - return fmt.Sprintf("Algolia for Go (4.0.2); Go (%s); Usage (4.0.2)", runtime.Version()) + return fmt.Sprintf("Algolia for Go (4.1.0); Go (%s); Usage (4.1.0)", runtime.Version()) } // AddDefaultHeader adds a new HTTP header to the default header in the request.