Skip to content

Commit 569e4e5

Browse files
authored
Merge branch 'main' into chore/javascript-oxlint
2 parents b390a8b + cf65d54 commit 569e4e5

File tree

243 files changed

+622
-467
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

243 files changed

+622
-467
lines changed

.github/workflows/check.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ jobs:
2121
notification:
2222
runs-on: ubuntu-22.04
2323
timeout-minutes: 1
24-
if: ${{ github.event.number }}
24+
if: ${{ !github.event.pull_request.head.repo.fork && github.event.number }}
2525
permissions:
2626
pull-requests: write
2727
steps:
2828
- uses: actions/checkout@v4
2929

3030
- uses: marocchino/sticky-pull-request-comment@v2
3131
with:
32-
GITHUB_TOKEN: ${{ secrets.ALGOLIA_BOT_TOKEN != '' && secrets.ALGOLIA_BOT_TOKEN || secrets.GITHUB_TOKEN }}
32+
GITHUB_TOKEN: ${{ secrets.ALGOLIA_BOT_TOKEN }}
3333
message: |
3434
### 🪓 The generated code will be pushed at the end of the CI.
3535
@@ -265,7 +265,7 @@ jobs:
265265
- name: Run e2e CTS
266266
id: cts-e2e
267267
continue-on-error: true
268-
if: ${{ env.ALGOLIA_APPLICATION_ID != '' && !contains(format('{0} {1}', github.event.pull_request.title, github.event.head_commit.message), '[skip-e2e]') }}
268+
if: ${{ !github.event.pull_request.head.repo.fork && !contains(format('{0} {1}', github.event.pull_request.title, github.event.head_commit.message), '[skip-e2e]') }}
269269
run: yarn cli cts run javascript ${{ fromJSON(needs.setup.outputs.JAVASCRIPT_DATA).toRun }} --no-client --no-requests
270270

271271
- name: Retry e2e CTS
@@ -379,7 +379,7 @@ jobs:
379379
- name: Run e2e CTS
380380
id: cts-e2e
381381
continue-on-error: true
382-
if: ${{ env.ALGOLIA_APPLICATION_ID != '' && !contains(format('{0} {1}', github.event.pull_request.title, github.event.head_commit.message), '[skip-e2e]') }}
382+
if: ${{ !github.event.pull_request.head.repo.fork && !contains(format('{0} {1}', github.event.pull_request.title, github.event.head_commit.message), '[skip-e2e]') }}
383383
run: yarn cli cts run ${{ matrix.client.language }} ${{ matrix.client.toRun }} --no-client --no-requests
384384

385385
- name: Retry e2e CTS
@@ -482,24 +482,24 @@ jobs:
482482
if: ${{ env.ALGOLIA_APPLICATION_ID != '' }}
483483

484484
- name: Download artifacts
485-
if: ${{ env.ALGOLIA_APPLICATION_ID != '' }}
486485
uses: ./scripts/ci/actions/restore-artifacts
486+
if: ${{ env.ALGOLIA_APPLICATION_ID != '' }}
487487
with:
488488
type: languages
489489
languages: |
490490
swift
491491
492492
- name: Setup
493-
if: ${{ env.ALGOLIA_APPLICATION_ID != '' }}
494493
uses: ./.github/actions/setup
494+
if: ${{ env.ALGOLIA_APPLICATION_ID != '' }}
495495
with:
496496
type: minimal
497497
language: swift
498498
version: ${{ fromJSON(needs.setup.outputs.SWIFT_DATA).version }}
499499

500500
- name: Run tests on macOS
501-
if: ${{ env.ALGOLIA_APPLICATION_ID != '' }}
502501
id: run-test
502+
if: ${{ env.ALGOLIA_APPLICATION_ID != '' }}
503503
continue-on-error: true
504504
run: yarn cli cts run swift ${{ fromJSON(needs.setup.outputs.SWIFT_DATA).toRun }} -v ${{ !contains(format('{0} {1}', github.event.pull_request.title, github.event.head_commit.message), '[skip-e2e]') && '--no-e2e' || '' }}
505505

@@ -533,6 +533,7 @@ jobs:
533533
fetch-depth: 0
534534
ref: ${{ github.event.pull_request.head.ref }}
535535
token: ${{ secrets.ALGOLIA_BOT_TOKEN != '' && secrets.ALGOLIA_BOT_TOKEN || secrets.GITHUB_TOKEN }}
536+
repository: ${{ github.event.pull_request.head.repo.full_name }}
536537

537538
- name: Download all artifacts
538539
uses: ./scripts/ci/actions/restore-artifacts
@@ -571,17 +572,12 @@ jobs:
571572
} >> "$GITHUB_OUTPUT"
572573
rm -rf tests/output/**/benchmarkResult.json
573574
574-
- name: Extract branch name
575-
id: extract_branch
576-
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
577-
578575
- name: Push generated code
579576
id: pushGeneratedCode
580577
run: yarn workspace scripts pushGeneratedCode
581578
env:
582579
GITHUB_TOKEN: ${{ secrets.ALGOLIA_BOT_TOKEN != '' && secrets.ALGOLIA_BOT_TOKEN || secrets.GITHUB_TOKEN }}
583580
PR_NUMBER: ${{ github.event.number }}
584-
BRANCH_NAME: ${{ steps.extract_branch.outputs.branch }}
585581

586582
- name: update generation comment
587583
uses: marocchino/sticky-pull-request-comment@v2

clients/algoliasearch-client-csharp/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## [7.6.0](https://github.com/algolia/algoliasearch-client-csharp/compare/7.5.0...7.6.0)
2+
3+
- [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/)
4+
- [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/)
5+
- [844e57f35](https://github.com/algolia/api-clients-automation/commit/844e57f35) fix(specs): correct typos is Search API ([#3898](https://github.com/algolia/api-clients-automation/pull/3898)) by [@gazconroy](https://github.com/gazconroy/)
6+
17
## [7.5.0](https://github.com/algolia/algoliasearch-client-csharp/compare/7.4.3...7.5.0)
28

39
- [788483537](https://github.com/algolia/api-clients-automation/commit/788483537) chore(clients): add workflow to auto-close PR ([#3834](https://github.com/algolia/api-clients-automation/pull/3834)) by [@shortcuts](https://github.com/shortcuts/)

clients/algoliasearch-client-csharp/algoliasearch/Algolia.Search.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<RepositoryUrl>https://github.com/algolia/algoliasearch-client-csharp</RepositoryUrl>
2121
<RepositoryType>git</RepositoryType>
2222
<RequireLicenseAcceptance>false</RequireLicenseAcceptance>
23-
<Version>7.5.0</Version>
23+
<Version>7.6.0</Version>
2424
<GenerateDocumentationFile>true</GenerateDocumentationFile>
2525
<TargetFrameworks>netstandard2.1;netstandard2.0</TargetFrameworks>
2626
<IncludeSymbols>true</IncludeSymbols>

clients/algoliasearch-client-csharp/algoliasearch/Clients/AbtestingConfiguration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public sealed class AbtestingConfig : AlgoliaConfig
2828
/// <param name="appId">Your application ID</param>
2929
/// <param name="apiKey">Your API Key</param>
3030
/// <param name="region">Targeted region (optional)</param>
31-
public AbtestingConfig(string appId, string apiKey, string region = null) : base(appId, apiKey, "Abtesting", "7.5.0")
31+
public AbtestingConfig(string appId, string apiKey, string region = null) : base(appId, apiKey, "Abtesting", "7.6.0")
3232
{
3333
DefaultHosts = GetDefaultHosts(region);
3434
Compression = CompressionType.None;

clients/algoliasearch-client-csharp/algoliasearch/Clients/AnalyticsConfiguration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public sealed class AnalyticsConfig : AlgoliaConfig
2828
/// <param name="appId">Your application ID</param>
2929
/// <param name="apiKey">Your API Key</param>
3030
/// <param name="region">Targeted region (optional)</param>
31-
public AnalyticsConfig(string appId, string apiKey, string region = null) : base(appId, apiKey, "Analytics", "7.5.0")
31+
public AnalyticsConfig(string appId, string apiKey, string region = null) : base(appId, apiKey, "Analytics", "7.6.0")
3232
{
3333
DefaultHosts = GetDefaultHosts(region);
3434
Compression = CompressionType.None;

clients/algoliasearch-client-csharp/algoliasearch/Clients/IngestionConfiguration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public sealed class IngestionConfig : AlgoliaConfig
2828
/// <param name="appId">Your application ID</param>
2929
/// <param name="apiKey">Your API Key</param>
3030
/// <param name="region">Targeted region </param>
31-
public IngestionConfig(string appId, string apiKey, string region) : base(appId, apiKey, "Ingestion", "7.5.0")
31+
public IngestionConfig(string appId, string apiKey, string region) : base(appId, apiKey, "Ingestion", "7.6.0")
3232
{
3333
DefaultHosts = GetDefaultHosts(region);
3434
Compression = CompressionType.None;

clients/algoliasearch-client-csharp/algoliasearch/Clients/InsightsConfiguration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public sealed class InsightsConfig : AlgoliaConfig
2828
/// <param name="appId">Your application ID</param>
2929
/// <param name="apiKey">Your API Key</param>
3030
/// <param name="region">Targeted region (optional)</param>
31-
public InsightsConfig(string appId, string apiKey, string region = null) : base(appId, apiKey, "Insights", "7.5.0")
31+
public InsightsConfig(string appId, string apiKey, string region = null) : base(appId, apiKey, "Insights", "7.6.0")
3232
{
3333
DefaultHosts = GetDefaultHosts(region);
3434
Compression = CompressionType.None;

clients/algoliasearch-client-csharp/algoliasearch/Clients/MonitoringConfiguration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public sealed class MonitoringConfig : AlgoliaConfig
2727
/// </summary>
2828
/// <param name="appId">Your application ID</param>
2929
/// <param name="apiKey">Your API Key</param>
30-
public MonitoringConfig(string appId, string apiKey) : base(appId, apiKey, "Monitoring", "7.5.0")
30+
public MonitoringConfig(string appId, string apiKey) : base(appId, apiKey, "Monitoring", "7.6.0")
3131
{
3232
DefaultHosts = GetDefaultHosts();
3333
Compression = CompressionType.None;

clients/algoliasearch-client-csharp/algoliasearch/Clients/PersonalizationConfiguration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public sealed class PersonalizationConfig : AlgoliaConfig
2828
/// <param name="appId">Your application ID</param>
2929
/// <param name="apiKey">Your API Key</param>
3030
/// <param name="region">Targeted region </param>
31-
public PersonalizationConfig(string appId, string apiKey, string region) : base(appId, apiKey, "Personalization", "7.5.0")
31+
public PersonalizationConfig(string appId, string apiKey, string region) : base(appId, apiKey, "Personalization", "7.6.0")
3232
{
3333
DefaultHosts = GetDefaultHosts(region);
3434
Compression = CompressionType.None;

clients/algoliasearch-client-csharp/algoliasearch/Clients/QuerySuggestionsConfiguration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public sealed class QuerySuggestionsConfig : AlgoliaConfig
2828
/// <param name="appId">Your application ID</param>
2929
/// <param name="apiKey">Your API Key</param>
3030
/// <param name="region">Targeted region </param>
31-
public QuerySuggestionsConfig(string appId, string apiKey, string region) : base(appId, apiKey, "QuerySuggestions", "7.5.0")
31+
public QuerySuggestionsConfig(string appId, string apiKey, string region) : base(appId, apiKey, "QuerySuggestions", "7.6.0")
3232
{
3333
DefaultHosts = GetDefaultHosts(region);
3434
Compression = CompressionType.None;

0 commit comments

Comments
 (0)