Skip to content

Commit d309260

Browse files
authored
Merge branch 'main' into fix-recommend-query-params
2 parents 730683e + 4545f0f commit d309260

File tree

578 files changed

+7546
-12609
lines changed

Some content is hidden

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

578 files changed

+7546
-12609
lines changed

.github/actions/setup/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ runs:
1919
# Java for code generation
2020
- name: Install Java
2121
if: inputs.type != 'minimal'
22-
uses: actions/setup-java@v4.2.2
22+
uses: actions/setup-java@v4.3.0
2323
with:
2424
distribution: zulu
2525
java-version-file: config/.java-version
@@ -201,7 +201,7 @@ runs:
201201
if: ${{ inputs.language == 'swift' }}
202202
id: swiftformat-version
203203
shell: bash
204-
run: echo "SWIFTFORMAT_VERSION=0.54.4" >> $GITHUB_OUTPUT
204+
run: echo "SWIFTFORMAT_VERSION=0.54.5" >> $GITHUB_OUTPUT
205205

206206
- name: Checkout swiftformat
207207
if: ${{ inputs.language == 'swift' }}

.github/workflows/check.yml

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ jobs:
204204
cd clients/algoliasearch-client-javascript/packages
205205
ls | grep -v -E "(client-common|requester-*|algoliasearch)" | xargs rm -rf
206206
cd algoliasearch
207-
ls | grep -v -E "(__tests__|jest.config.ts)" | xargs rm -rf
207+
ls | grep -v -E "__tests__" | xargs rm -rf
208208
209209
- name: Setup
210210
uses: ./.github/actions/setup
@@ -289,7 +289,7 @@ jobs:
289289
path: clients-javascript.zip
290290

291291
client_gen:
292-
timeout-minutes: 10
292+
timeout-minutes: 15
293293
runs-on: ubuntu-22.04
294294
needs:
295295
- setup
@@ -400,7 +400,7 @@ jobs:
400400
path: clients-${{matrix.client.language }}.zip
401401

402402
kotlin_build_macos:
403-
timeout-minutes: 10
403+
timeout-minutes: 15
404404
runs-on: macos-latest
405405
needs:
406406
- setup
@@ -430,13 +430,14 @@ jobs:
430430
type: minimal
431431
language: kotlin
432432

433-
- name: remove previous build from linux
434-
run: |
435-
rm -rf clients/algoliasearch-client-kotlin/build || true
436-
rm -rf clients/algoliasearch-client-kotlin/.kotlin || true
437-
rm -rf clients/algoliasearch-client-kotlin/.gradle || true
433+
- name: Build clients for macOS
434+
id: build
435+
continue-on-error: true
436+
run: yarn cli build clients kotlin
438437

439-
- run: yarn cli build clients kotlin
438+
- name: Retry build
439+
if: ${{ steps.build.outcome == 'failure' }}
440+
run: yarn cli build clients kotlin
440441

441442
- name: Set output
442443
id: setoutput
@@ -478,7 +479,14 @@ jobs:
478479
language: swift
479480
version: ${{ fromJSON(needs.setup.outputs.SWIFT_DATA).version }}
480481

481-
- 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' || '' }}
482+
- name: Run tests on macOS
483+
id: run-test
484+
continue-on-error: true
485+
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' || '' }}
486+
487+
- name: Retry tests
488+
if: ${{ steps.run-test.outcome == 'failure' }}
489+
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' || '' }}
482490

483491
- name: Set output
484492
id: setoutput
@@ -622,7 +630,7 @@ jobs:
622630
623631
push_and_release:
624632
runs-on: ubuntu-22.04
625-
timeout-minutes: 15
633+
timeout-minutes: 30
626634
needs:
627635
- codegen
628636
- check_green

.yarnrc.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,9 @@ enableGlobalCache: false
55
nodeLinker: node-modules
66

77
yarnPath: .yarn/releases/yarn-4.4.1.cjs
8+
9+
# esbuild use native binaries, we need both to work locally and on the CI.
10+
supportedArchitectures:
11+
os:
12+
- darwin
13+
- linux

clients/algoliasearch-client-csharp/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## [7.3.2](https://github.com/algolia/algoliasearch-client-csharp/compare/7.3.1...7.3.2)
2+
3+
- [638058eae](https://github.com/algolia/api-clients-automation/commit/638058eae) fix(specs): update search api specs [skip-bc] ([#3760](https://github.com/algolia/api-clients-automation/pull/3760)) by [@Fluf22](https://github.com/Fluf22/)
4+
- [08d8ee6de](https://github.com/algolia/api-clients-automation/commit/08d8ee6de) chore(deps): dependencies 2024-09-16 [skip-bc] ([#3704](https://github.com/algolia/api-clients-automation/pull/3704)) by [@algolia-bot](https://github.com/algolia-bot/)
5+
16
## [7.3.1](https://github.com/algolia/algoliasearch-client-csharp/compare/7.3.0...7.3.1)
27

38
- [d4df544d6](https://github.com/algolia/api-clients-automation/commit/d4df544d6) fix(specs): remove usage [skip-bc] ([#3691](https://github.com/algolia/api-clients-automation/pull/3691)) by [@kai687](https://github.com/kai687/)

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.3.1</Version>
23+
<Version>7.3.2</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.3.1")
31+
public AbtestingConfig(string appId, string apiKey, string region = null) : base(appId, apiKey, "Abtesting", "7.3.2")
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.3.1")
31+
public AnalyticsConfig(string appId, string apiKey, string region = null) : base(appId, apiKey, "Analytics", "7.3.2")
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.3.1")
31+
public IngestionConfig(string appId, string apiKey, string region) : base(appId, apiKey, "Ingestion", "7.3.2")
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.3.1")
31+
public InsightsConfig(string appId, string apiKey, string region = null) : base(appId, apiKey, "Insights", "7.3.2")
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.3.1")
30+
public MonitoringConfig(string appId, string apiKey) : base(appId, apiKey, "Monitoring", "7.3.2")
3131
{
3232
DefaultHosts = GetDefaultHosts();
3333
Compression = CompressionType.None;

0 commit comments

Comments
 (0)