diff --git a/CHANGELOG.md b/CHANGELOG.md index 976e05966..29f8d3e29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## [4.8.1](https://github.com/algolia/algoliasearch-client-go/compare/4.8.0...4.8.1) + +- [36d583e35](https://github.com/algolia/api-clients-automation/commit/36d583e35) fix(specs): make the searchParams compatible with v4 ([#4108](https://github.com/algolia/api-clients-automation/pull/4108)) by [@millotp](https://github.com/millotp/) +- [996ba5036](https://github.com/algolia/api-clients-automation/commit/996ba5036) fix(specs): remove private beta endpoint from recommend ([#4110](https://github.com/algolia/api-clients-automation/pull/4110)) by [@shortcuts](https://github.com/shortcuts/) + ## [4.8.0](https://github.com/algolia/algoliasearch-client-go/compare/4.7.1...4.8.0) - [4c73f4c9a](https://github.com/algolia/api-clients-automation/commit/4c73f4c9a) feat(specs): add estimate path and responses ([#4057](https://github.com/algolia/api-clients-automation/pull/4057)) by [@cdhawke](https://github.com/cdhawke/) diff --git a/algolia/abtesting/client.go b/algolia/abtesting/client.go index 2cb1ef65c..11039bc5c 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.8.0); Go (%s); Abtesting (4.8.0)", runtime.Version()) + return fmt.Sprintf("Algolia for Go (4.8.1); Go (%s); Abtesting (4.8.1)", 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 3cc7bef2a..026a691a6 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.8.0); Go (%s); Analytics (4.8.0)", runtime.Version()) + return fmt.Sprintf("Algolia for Go (4.8.1); Go (%s); Analytics (4.8.1)", 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 b2c8489ef..687f115af 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.8.0); Go (%s); Ingestion (4.8.0)", runtime.Version()) + return fmt.Sprintf("Algolia for Go (4.8.1); Go (%s); Ingestion (4.8.1)", 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 c7e770d4c..e590f892b 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.8.0); Go (%s); Insights (4.8.0)", runtime.Version()) + return fmt.Sprintf("Algolia for Go (4.8.1); Go (%s); Insights (4.8.1)", 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 21d94efd0..a8061d46f 100644 --- a/algolia/monitoring/client.go +++ b/algolia/monitoring/client.go @@ -73,7 +73,7 @@ func getDefaultHosts() []transport.StatefulHost { } func getUserAgent() string { - return fmt.Sprintf("Algolia for Go (4.8.0); Go (%s); Monitoring (4.8.0)", runtime.Version()) + return fmt.Sprintf("Algolia for Go (4.8.1); Go (%s); Monitoring (4.8.1)", 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 e32e10b0e..1e4fb35ba 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.8.0); Go (%s); Personalization (4.8.0)", runtime.Version()) + return fmt.Sprintf("Algolia for Go (4.8.1); Go (%s); Personalization (4.8.1)", 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 454ad04ce..5a9a9cf08 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.8.0); Go (%s); QuerySuggestions (4.8.0)", runtime.Version()) + return fmt.Sprintf("Algolia for Go (4.8.1); Go (%s); QuerySuggestions (4.8.1)", 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 f16ab5f13..73ca942bc 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.8.0); Go (%s); Recommend (4.8.0)", runtime.Version()) + return fmt.Sprintf("Algolia for Go (4.8.1); Go (%s); Recommend (4.8.1)", 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 309f2f6c9..64e75e0d0 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.8.0); Go (%s); Search (4.8.0)", runtime.Version()) + return fmt.Sprintf("Algolia for Go (4.8.1); Go (%s); Search (4.8.1)", runtime.Version()) } // AddDefaultHeader adds a new HTTP header to the default header in the request.