Skip to content

Commit 4c03a34

Browse files
authored
Merge branch 'main' into fix/version-table
2 parents 65bd97b + f9b9c8d commit 4c03a34

File tree

1,561 files changed

+9260
-21758
lines changed

Some content is hidden

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

1,561 files changed

+9260
-21758
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ composer.json
66
tsconfig.json
77
vendor
88
builddir
9+
foo

.github/actions/setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ runs:
106106
run: |
107107
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.60.3
108108
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
109-
go install golang.org/x/tools/cmd/goimports@latest
109+
go install golang.org/x/tools/cmd/goimports@v0.22.0
110110
111111
- name: Cache golangci-lint analysis
112112
if: ${{ inputs.language == 'go' }}

.github/workflows/check.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
runs-on: ubuntu-22.04
4242
timeout-minutes: 10
4343
env:
44-
CACHE_VERSION: 1 # bump this to run all clients on the CI.
44+
CACHE_VERSION: 1.01 # bump this to run all clients on the CI.
4545
steps:
4646
- name: debugging - dump GitHub context
4747
env:
@@ -199,12 +199,10 @@ jobs:
199199
type: specs
200200

201201
- name: Remove generated clients
202-
if: ${{ startsWith(env.head_ref, 'chore/prepare-release-') }}
202+
if: ${{ startsWith(github.head_ref, 'chore/prepare-release-') }}
203203
run: |
204204
cd clients/algoliasearch-client-javascript/packages
205-
ls | grep -v -E "(client-common|requester-*|algoliasearch)" | xargs rm -rf
206-
cd algoliasearch
207-
ls | grep -v -E "__tests__" | xargs rm -rf
205+
find . -mindepth 1 -maxdepth 1 ! -name 'requester-*' ! -name 'logger-*' ! -name 'client-common' -type d -exec rm -rf {}/src {}/model {}/dist {}/builds \;
208206
209207
- name: Setup
210208
uses: ./.github/actions/setup
@@ -228,11 +226,11 @@ jobs:
228226
run: cd clients/algoliasearch-client-javascript && yarn test ${{ !contains(fromJSON(needs.setup.outputs.JAVASCRIPT_DATA).toRun, 'algoliasearch') && '--ignore algoliasearch' || '' }}
229227

230228
- name: Test JavaScript bundle size
231-
if: ${{ startsWith(env.head_ref, 'chore/prepare-release-') }}
229+
if: ${{ startsWith(github.head_ref, 'chore/prepare-release-') }}
232230
run: cd clients/algoliasearch-client-javascript && yarn test:size
233231

234232
- name: Test JavaScript bundle and types
235-
if: ${{ startsWith(env.head_ref, 'chore/prepare-release-') }}
233+
if: ${{ startsWith(github.head_ref, 'chore/prepare-release-') }}
236234
run: cd clients/algoliasearch-client-javascript && yarn test:bundle
237235

238236
- name: Remove previous CTS output
@@ -335,7 +333,7 @@ jobs:
335333
run: yarn cli generate ${{ matrix.client.language }} ${{ matrix.client.toRun }}
336334

337335
- name: Update composer.lock
338-
if: ${{ matrix.client.language == 'php' && startsWith(env.head_ref, 'chore/renovateBaseBranch') && matrix.client.isMainVersion }}
336+
if: ${{ matrix.client.language == 'php' && startsWith(github.head_ref, 'chore/renovateBaseBranch') && matrix.client.isMainVersion }}
339337
run: cd ${{ matrix.client.path }} && composer update
340338

341339
- name: Check for file duplicates in Swift
@@ -689,7 +687,12 @@ jobs:
689687
env:
690688
GITHUB_TOKEN: ${{ secrets.ALGOLIA_BOT_TOKEN }}
691689

692-
- name: Push generation to the Algolia docs
690+
- name: Push specs and snippets to algolia/doc
693691
run: yarn workspace scripts pushToAlgoliaDoc
694692
env:
695693
GITHUB_TOKEN: ${{ secrets.ALGOLIA_BOT_TOKEN }}
694+
695+
- name: Push guides to algolia/AlgoliaWeb
696+
run: yarn workspace scripts pushToAlgoliaWeb
697+
env:
698+
GITHUB_TOKEN: ${{ secrets.ALGOLIA_BOT_TOKEN }}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Push snippets to AlgoliaWeb
2+
3+
on: workflow_dispatch
4+
5+
jobs:
6+
push:
7+
name: Manual trigger push for onboarding guides
8+
runs-on: ubuntu-22.04
9+
steps:
10+
- uses: actions/checkout@v4
11+
with:
12+
fetch-depth: 0
13+
ref: main
14+
15+
- name: Setup
16+
id: setup
17+
uses: ./.github/actions/setup
18+
with:
19+
type: minimal
20+
21+
- run: yarn workspace scripts pushToAlgoliaWeb
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.ALGOLIA_BOT_TOKEN }}
24+
FORCE: true

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22.9.0
1+
22.10.0

.yarn/releases/yarn-4.5.0.cjs renamed to .yarn/releases/yarn-4.5.1.cjs

Lines changed: 367 additions & 358 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ enableGlobalCache: false
44

55
nodeLinker: node-modules
66

7-
yarnPath: .yarn/releases/yarn-4.5.0.cjs
7+
yarnPath: .yarn/releases/yarn-4.5.1.cjs
88

99
# esbuild use native binaries, we need both to work locally and on the CI.
1010
supportedArchitectures:

clients/algoliasearch-client-csharp/CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
## [7.6.2](https://github.com/algolia/algoliasearch-client-csharp/compare/7.6.1...7.6.2)
2+
3+
- [cd98290fa](https://github.com/algolia/api-clients-automation/commit/cd98290fa) fix(specs): Typo tolernace on words ([#3968](https://github.com/algolia/api-clients-automation/pull/3968)) by [@gazconroy](https://github.com/gazconroy/)
4+
- [5866c2954](https://github.com/algolia/api-clients-automation/commit/5866c2954) fix(specs): Add context to hitsPerPage ([#3969](https://github.com/algolia/api-clients-automation/pull/3969)) by [@gazconroy](https://github.com/gazconroy/)
5+
- [95e4149a3](https://github.com/algolia/api-clients-automation/commit/95e4149a3) chore(deps): dependencies 2024-10-14 ([#3944](https://github.com/algolia/api-clients-automation/pull/3944)) by [@algolia-bot](https://github.com/algolia-bot/)
6+
- [162dfafa1](https://github.com/algolia/api-clients-automation/commit/162dfafa1) fix(clients): escape char in comments ([#3973](https://github.com/algolia/api-clients-automation/pull/3973)) by [@millotp](https://github.com/millotp/)
7+
- [8b879dead](https://github.com/algolia/api-clients-automation/commit/8b879dead) fix(specs): alternativesAsExact is plurals and synonyms ([#3974](https://github.com/algolia/api-clients-automation/pull/3974)) by [@gazconroy](https://github.com/gazconroy/)
8+
- [1a9b95e85](https://github.com/algolia/api-clients-automation/commit/1a9b95e85) fix(specs): Separators are non-alphanumeric characters ([#3978](https://github.com/algolia/api-clients-automation/pull/3978)) by [@gazconroy](https://github.com/gazconroy/)
9+
- [519fd9840](https://github.com/algolia/api-clients-automation/commit/519fd9840) fix(specs): multiple clients fixes ([#3971](https://github.com/algolia/api-clients-automation/pull/3971)) by [@shortcuts](https://github.com/shortcuts/)
10+
- [70f2f49cb](https://github.com/algolia/api-clients-automation/commit/70f2f49cb) chore: use skip-checks trailers [skip-bc] ([#3982](https://github.com/algolia/api-clients-automation/pull/3982)) by [@shortcuts](https://github.com/shortcuts/)
11+
12+
## [7.6.1](https://github.com/algolia/algoliasearch-client-csharp/compare/7.6.0...7.6.1)
13+
14+
- [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/)
15+
- [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]/)
16+
- [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/)
17+
- [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/)
18+
119
## [7.6.0](https://github.com/algolia/algoliasearch-client-csharp/compare/7.5.0...7.6.0)
220

321
- [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/)

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

Lines changed: 4 additions & 4 deletions
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.6.0</Version>
23+
<Version>7.6.2</Version>
2424
<GenerateDocumentationFile>true</GenerateDocumentationFile>
2525
<TargetFrameworks>netstandard2.1;netstandard2.0</TargetFrameworks>
2626
<IncludeSymbols>true</IncludeSymbols>
@@ -37,9 +37,9 @@
3737
</PropertyGroup>
3838

3939
<ItemGroup>
40-
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" />
41-
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.1" />
42-
<PackageReference Include="System.Text.Json" Version="8.0.4" />
40+
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.1" />
41+
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.2" />
42+
<PackageReference Include="System.Text.Json" Version="8.0.5" />
4343
</ItemGroup>
4444

4545
<ItemGroup>

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.6.0")
31+
public AbtestingConfig(string appId, string apiKey, string region = null) : base(appId, apiKey, "Abtesting", "7.6.2")
3232
{
3333
DefaultHosts = GetDefaultHosts(region);
3434
Compression = CompressionType.None;

0 commit comments

Comments
 (0)