Skip to content

Commit

Permalink
chore: merge main
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcuts committed Oct 10, 2024
2 parents 0c5602a + ed203c6 commit a12d8b2
Show file tree
Hide file tree
Showing 347 changed files with 1,142 additions and 2,627 deletions.
7 changes: 7 additions & 0 deletions clients/algoliasearch-client-csharp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [7.6.1](https://github.com/algolia/algoliasearch-client-csharp/compare/7.6.0...7.6.1)

- [f516d0243](https://github.com/algolia/api-clients-automation/commit/f516d0243) fix(specs): Typos in API descriptions ([#3932](https://github.com/algolia/api-clients-automation/pull/3932)) by [@gazconroy](https://github.com/gazconroy/)
- [33565ee92](https://github.com/algolia/api-clients-automation/commit/33565ee92) chore(deps): bump System.Text.Json from 8.0.4 to 8.0.5 in /clients/algoliasearch-client-csharp/algoliasearch ([#3931](https://github.com/algolia/api-clients-automation/pull/3931)) by [@dependabot[bot]](https://github.com/dependabot[bot]/)
- [434c99f80](https://github.com/algolia/api-clients-automation/commit/434c99f80) fix(specs): use the read transporter for browse ([#3938](https://github.com/algolia/api-clients-automation/pull/3938)) by [@millotp](https://github.com/millotp/)
- [45d433d0a](https://github.com/algolia/api-clients-automation/commit/45d433d0a) fix(specs): correct type for banners [skip-bc] ([#3939](https://github.com/algolia/api-clients-automation/pull/3939)) by [@millotp](https://github.com/millotp/)

## [7.6.0](https://github.com/algolia/algoliasearch-client-csharp/compare/7.5.0...7.6.0)

- [ad8e3d224](https://github.com/algolia/api-clients-automation/commit/ad8e3d224) fix(specs): update analytics and abtesting max pagination query limit ([#3696](https://github.com/algolia/api-clients-automation/pull/3696)) by [@febeck](https://github.com/febeck/)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<RepositoryUrl>https://github.com/algolia/algoliasearch-client-csharp</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<RequireLicenseAcceptance>false</RequireLicenseAcceptance>
<Version>7.6.0</Version>
<Version>7.6.1</Version>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<TargetFrameworks>netstandard2.1;netstandard2.0</TargetFrameworks>
<IncludeSymbols>true</IncludeSymbols>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public sealed class AbtestingConfig : AlgoliaConfig
/// <param name="appId">Your application ID</param>
/// <param name="apiKey">Your API Key</param>
/// <param name="region">Targeted region (optional)</param>
public AbtestingConfig(string appId, string apiKey, string region = null) : base(appId, apiKey, "Abtesting", "7.6.0")
public AbtestingConfig(string appId, string apiKey, string region = null) : base(appId, apiKey, "Abtesting", "7.6.1")
{
DefaultHosts = GetDefaultHosts(region);
Compression = CompressionType.None;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public sealed class AnalyticsConfig : AlgoliaConfig
/// <param name="appId">Your application ID</param>
/// <param name="apiKey">Your API Key</param>
/// <param name="region">Targeted region (optional)</param>
public AnalyticsConfig(string appId, string apiKey, string region = null) : base(appId, apiKey, "Analytics", "7.6.0")
public AnalyticsConfig(string appId, string apiKey, string region = null) : base(appId, apiKey, "Analytics", "7.6.1")
{
DefaultHosts = GetDefaultHosts(region);
Compression = CompressionType.None;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public sealed class IngestionConfig : AlgoliaConfig
/// <param name="appId">Your application ID</param>
/// <param name="apiKey">Your API Key</param>
/// <param name="region">Targeted region </param>
public IngestionConfig(string appId, string apiKey, string region) : base(appId, apiKey, "Ingestion", "7.6.0")
public IngestionConfig(string appId, string apiKey, string region) : base(appId, apiKey, "Ingestion", "7.6.1")
{
DefaultHosts = GetDefaultHosts(region);
Compression = CompressionType.None;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public sealed class InsightsConfig : AlgoliaConfig
/// <param name="appId">Your application ID</param>
/// <param name="apiKey">Your API Key</param>
/// <param name="region">Targeted region (optional)</param>
public InsightsConfig(string appId, string apiKey, string region = null) : base(appId, apiKey, "Insights", "7.6.0")
public InsightsConfig(string appId, string apiKey, string region = null) : base(appId, apiKey, "Insights", "7.6.1")
{
DefaultHosts = GetDefaultHosts(region);
Compression = CompressionType.None;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public sealed class MonitoringConfig : AlgoliaConfig
/// </summary>
/// <param name="appId">Your application ID</param>
/// <param name="apiKey">Your API Key</param>
public MonitoringConfig(string appId, string apiKey) : base(appId, apiKey, "Monitoring", "7.6.0")
public MonitoringConfig(string appId, string apiKey) : base(appId, apiKey, "Monitoring", "7.6.1")
{
DefaultHosts = GetDefaultHosts();
Compression = CompressionType.None;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public sealed class PersonalizationConfig : AlgoliaConfig
/// <param name="appId">Your application ID</param>
/// <param name="apiKey">Your API Key</param>
/// <param name="region">Targeted region </param>
public PersonalizationConfig(string appId, string apiKey, string region) : base(appId, apiKey, "Personalization", "7.6.0")
public PersonalizationConfig(string appId, string apiKey, string region) : base(appId, apiKey, "Personalization", "7.6.1")
{
DefaultHosts = GetDefaultHosts(region);
Compression = CompressionType.None;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public sealed class QuerySuggestionsConfig : AlgoliaConfig
/// <param name="appId">Your application ID</param>
/// <param name="apiKey">Your API Key</param>
/// <param name="region">Targeted region </param>
public QuerySuggestionsConfig(string appId, string apiKey, string region) : base(appId, apiKey, "QuerySuggestions", "7.6.0")
public QuerySuggestionsConfig(string appId, string apiKey, string region) : base(appId, apiKey, "QuerySuggestions", "7.6.1")
{
DefaultHosts = GetDefaultHosts(region);
Compression = CompressionType.None;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public sealed class RecommendConfig : AlgoliaConfig
/// </summary>
/// <param name="appId">Your application ID</param>
/// <param name="apiKey">Your API Key</param>
public RecommendConfig(string appId, string apiKey) : base(appId, apiKey, "Recommend", "7.6.0")
public RecommendConfig(string appId, string apiKey) : base(appId, apiKey, "Recommend", "7.6.1")
{
DefaultHosts = GetDefaultHosts(appId);
Compression = CompressionType.None;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public sealed class SearchConfig : AlgoliaConfig
/// </summary>
/// <param name="appId">Your application ID</param>
/// <param name="apiKey">Your API Key</param>
public SearchConfig(string appId, string apiKey) : base(appId, apiKey, "Search", "7.6.0")
public SearchConfig(string appId, string apiKey) : base(appId, apiKey, "Search", "7.6.1")
{
DefaultHosts = GetDefaultHosts(appId);
Compression = CompressionType.None;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public BannerImage()
/// Gets or Sets Urls
/// </summary>
[JsonPropertyName("urls")]
public BannerImageUrl Urls { get; set; }
public List<BannerImageUrl> Urls { get; set; }

/// <summary>
/// Gets or Sets Title
Expand Down Expand Up @@ -71,7 +71,7 @@ public override bool Equals(object obj)
}

return
(Urls == input.Urls || (Urls != null && Urls.Equals(input.Urls))) &&
(Urls == input.Urls || Urls != null && input.Urls != null && Urls.SequenceEqual(input.Urls)) &&
(Title == input.Title || (Title != null && Title.Equals(input.Title)));
}

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ public Widgets()
}

/// <summary>
/// Gets or Sets Banners
/// banners defined in the merchandising studio for the given search.
/// </summary>
/// <value>banners defined in the merchandising studio for the given search.</value>
[JsonPropertyName("banners")]
public Banners Banners { get; set; }
public List<Banner> Banners { get; set; }

/// <summary>
/// Returns the string presentation of the object
Expand Down Expand Up @@ -64,7 +65,7 @@ public override bool Equals(object obj)
}

return
(Banners == input.Banners || (Banners != null && Banners.Equals(input.Banners)));
(Banners == input.Banners || Banners != null && input.Banners != null && Banners.SequenceEqual(input.Banners));
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public BannerImage()
/// Gets or Sets Urls
/// </summary>
[JsonPropertyName("urls")]
public BannerImageUrl Urls { get; set; }
public List<BannerImageUrl> Urls { get; set; }

/// <summary>
/// Gets or Sets Title
Expand Down Expand Up @@ -71,7 +71,7 @@ public override bool Equals(object obj)
}

return
(Urls == input.Urls || (Urls != null && Urls.Equals(input.Urls))) &&
(Urls == input.Urls || Urls != null && input.Urls != null && Urls.SequenceEqual(input.Urls)) &&
(Title == input.Title || (Title != null && Title.Equals(input.Title)));
}

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ public Widgets()
}

/// <summary>
/// Gets or Sets Banners
/// banners defined in the merchandising studio for the given search.
/// </summary>
/// <value>banners defined in the merchandising studio for the given search.</value>
[JsonPropertyName("banners")]
public Banners Banners { get; set; }
public List<Banner> Banners { get; set; }

/// <summary>
/// Returns the string presentation of the object
Expand Down Expand Up @@ -64,7 +65,7 @@ public override bool Equals(object obj)
}

return
(Banners == input.Banners || (Banners != null && Banners.Equals(input.Banners)));
(Banners == input.Banners || Banners != null && input.Banners != null && Banners.SequenceEqual(input.Banners));
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## [1.26.1](https://github.com/algolia/algoliasearch-client-dart/compare/1.26.0...1.26.1)

- [434c99f80](https://github.com/algolia/api-clients-automation/commit/434c99f80) fix(specs): use the read transporter for browse ([#3938](https://github.com/algolia/api-clients-automation/pull/3938)) by [@millotp](https://github.com/millotp/)
- [45d433d0a](https://github.com/algolia/api-clients-automation/commit/45d433d0a) fix(specs): correct type for banners [skip-bc] ([#3939](https://github.com/algolia/api-clients-automation/pull/3939)) by [@millotp](https://github.com/millotp/)

## [1.26.0](https://github.com/algolia/algoliasearch-client-dart/compare/1.25.0...1.26.0)

- [bed119166](https://github.com/algolia/api-clients-automation/commit/bed119166) feat(specs): add support for widgets / banners in search for the csharp client ([#3870](https://github.com/algolia/api-clients-automation/pull/3870)) by [@Kalmar99](https://github.com/Kalmar99/)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ export 'src/model/banner.dart';
export 'src/model/banner_image.dart';
export 'src/model/banner_image_url.dart';
export 'src/model/banner_link.dart';
export 'src/model/banners.dart';
export 'src/model/base_get_api_key_response.dart';
export 'src/model/base_index_settings.dart';
export 'src/model/base_recommend_index_settings.dart';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import 'package:algoliasearch/src/model/banner.dart';
import 'package:algoliasearch/src/model/banner_image.dart';
import 'package:algoliasearch/src/model/banner_image_url.dart';
import 'package:algoliasearch/src/model/banner_link.dart';
import 'package:algoliasearch/src/model/banners.dart';
import 'package:algoliasearch/src/model/base_get_api_key_response.dart';
import 'package:algoliasearch/src/model/base_index_settings.dart';
import 'package:algoliasearch/src/model/base_recommend_index_settings.dart';
Expand Down Expand Up @@ -146,8 +145,6 @@ ReturnType deserialize<ReturnType, BaseType>(dynamic value, String targetType,
as ReturnType;
case 'BannerLink':
return BannerLink.fromJson(value as Map<String, dynamic>) as ReturnType;
case 'Banners':
return Banners.fromJson(value as Map<String, dynamic>) as ReturnType;
case 'BaseGetApiKeyResponse':
return BaseGetApiKeyResponse.fromJson(value as Map<String, dynamic>)
as ReturnType;
Expand Down
Loading

0 comments on commit a12d8b2

Please sign in to comment.