From f759dc06da8cb8e1f89c23ba61ed0d868738d0cd Mon Sep 17 00:00:00 2001 From: algolia-bot Date: Thu, 29 Aug 2024 23:07:12 +0000 Subject: [PATCH] chore: release 4.2.2 Co-authored-by: algolia-bot Co-authored-by: Pierre Millot --- CHANGELOG.md | 4 ++++ algolia/abtesting/client.go | 2 +- algolia/analytics/client.go | 2 +- algolia/ingestion/client.go | 2 +- algolia/insights/client.go | 2 +- algolia/monitoring/client.go | 2 +- algolia/personalization/client.go | 2 +- algolia/query-suggestions/client.go | 2 +- algolia/recommend/client.go | 2 +- algolia/search/client.go | 2 +- algolia/usage/client.go | 2 +- 11 files changed, 14 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c6d38ab4..2d1f784d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## [4.2.2](https://github.com/algolia/algoliasearch-client-go/compare/4.2.1...4.2.2) + +- [327e08d4e](https://github.com/algolia/api-clients-automation/commit/327e08d4e) fix(specs): ingestion push task payload [skip-bc] ([#3607](https://github.com/algolia/api-clients-automation/pull/3607)) by [@shortcuts](https://github.com/shortcuts/) + ## [4.2.1](https://github.com/algolia/algoliasearch-client-go/compare/4.2.0...4.2.1) - [41f849e41](https://github.com/algolia/api-clients-automation/commit/41f849e41) fix(specs): partial update operation ([#3486](https://github.com/algolia/api-clients-automation/pull/3486)) by [@kai687](https://github.com/kai687/) diff --git a/algolia/abtesting/client.go b/algolia/abtesting/client.go index 2d24f0327..39c242d5f 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.2.1); Go (%s); Abtesting (4.2.1)", runtime.Version()) + return fmt.Sprintf("Algolia for Go (4.2.2); Go (%s); Abtesting (4.2.2)", 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 ac684987f..27f82a436 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.2.1); Go (%s); Analytics (4.2.1)", runtime.Version()) + return fmt.Sprintf("Algolia for Go (4.2.2); Go (%s); Analytics (4.2.2)", 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 f8b4a2e90..87ad55570 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.2.1); Go (%s); Ingestion (4.2.1)", runtime.Version()) + return fmt.Sprintf("Algolia for Go (4.2.2); Go (%s); Ingestion (4.2.2)", 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 521c9216a..989e0b3c8 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.2.1); Go (%s); Insights (4.2.1)", runtime.Version()) + return fmt.Sprintf("Algolia for Go (4.2.2); Go (%s); Insights (4.2.2)", 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 09df9e143..7a1b2088c 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.2.1); Go (%s); Monitoring (4.2.1)", runtime.Version()) + return fmt.Sprintf("Algolia for Go (4.2.2); Go (%s); Monitoring (4.2.2)", 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 95b991f1a..bfc1dc98c 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.2.1); Go (%s); Personalization (4.2.1)", runtime.Version()) + return fmt.Sprintf("Algolia for Go (4.2.2); Go (%s); Personalization (4.2.2)", 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 f2ff54910..6553d4639 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.2.1); Go (%s); QuerySuggestions (4.2.1)", runtime.Version()) + return fmt.Sprintf("Algolia for Go (4.2.2); Go (%s); QuerySuggestions (4.2.2)", 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 a77228bf5..c6637a913 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.2.1); Go (%s); Recommend (4.2.1)", runtime.Version()) + return fmt.Sprintf("Algolia for Go (4.2.2); Go (%s); Recommend (4.2.2)", 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 71cfda514..5c918e5e9 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.2.1); Go (%s); Search (4.2.1)", runtime.Version()) + return fmt.Sprintf("Algolia for Go (4.2.2); Go (%s); Search (4.2.2)", 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 790205ebc..206f1b665 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.2.1); Go (%s); Usage (4.2.1)", runtime.Version()) + return fmt.Sprintf("Algolia for Go (4.2.2); Go (%s); Usage (4.2.2)", runtime.Version()) } // AddDefaultHeader adds a new HTTP header to the default header in the request.