Skip to content

Commit 8335abe

Browse files
authored
Merge branch 'main' into fix/ruby-browse-helpers
2 parents 9fab24b + 0bdefd1 commit 8335abe

File tree

1,060 files changed

+126449
-25741
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,060 files changed

+126449
-25741
lines changed

.github/actions/setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ runs:
2626

2727
- name: Setup gradle
2828
if: inputs.type != 'minimal'
29-
uses: gradle/actions/[email protected].1 # v4.4.2 fails because it uses Gradle 9.0 which is not compatible with Java < 17
29+
uses: gradle/actions/[email protected].3
3030
with:
3131
validate-wrappers: true
3232
add-job-summary: 'on-failure'

.github/workflows/check.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,8 @@ jobs:
316316
ALGOLIA_APPLICATION_ID: ${{ secrets.ALGOLIA_APPLICATION_ID }}
317317
ALGOLIA_ADMIN_KEY: ${{ secrets.ALGOLIA_ADMIN_KEY }}
318318
MONITORING_API_KEY: ${{ secrets.MONITORING_API_KEY }}
319+
METIS_APPLICATION_ID: ${{ secrets.METIS_APPLICATION_ID }}
320+
METIS_API_KEY: ${{ secrets.METIS_API_KEY }}
319321
outputs:
320322
hasBreakingChanges: ${{ steps.breakingChanges.outputs.hasBreakingChanges }}
321323
name: client ${{ matrix.client.language }}@${{ matrix.client.version }}
@@ -586,7 +588,7 @@ jobs:
586588
echo 'BREAKING_CHANGES_SECTION<<EOF'
587589
echo "# 💥 Breaking changes detected !!"
588590
echo "Either this PR or a previous PR not released yet introduced breaking changes, be careful when merging."
589-
echo "You can find the details in the 'client java@17' CI job."
591+
echo "You can find the details in the 'client java@21' CI job."
590592
echo 'EOF'
591593
} >> "$GITHUB_OUTPUT"
592594

.redocly.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
apis:
22
abtesting:
33
root: specs/abtesting/spec.yml
4+
abtesting-v3:
5+
root: specs/abtesting-v3/spec.yml
6+
advanced-personalization:
7+
root: specs/advanced-personalization/spec.yml
48
analytics:
59
root: specs/analytics/spec.yml
10+
composition:
11+
root: specs/composition/spec.yml
612
ingestion:
713
root: specs/ingestion/spec.yml
814
insights:
915
root: specs/insights/spec.yml
1016
monitoring:
1117
root: specs/monitoring/spec.yml
12-
rules:
13-
security-defined: off
1418
personalization:
1519
root: specs/personalization/spec.yml
1620
query-suggestions:

.yarn/releases/yarn-4.9.4.cjs renamed to .yarn/releases/yarn-4.10.0.cjs

Lines changed: 330 additions & 330 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.9.4.cjs
7+
yarnPath: .yarn/releases/yarn-4.10.0.cjs
88

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

CODEOWNERS

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ specs/ @algolia/doc-approvers
55
website/ @algolia/doc-approvers
66
specs/advanced-personalization @algolia/predict-fe
77
specs/composition @algolia/composition
8-
specs/composition-full @algolia/composition
98
specs/abtesting-v3 @algolia/optimization
109
specs/analytics @algolia/optimization
1110

clients/algoliasearch-client-csharp/.github/workflows/issue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Create ticket
15-
uses: actions/github-script@v7
15+
uses: actions/github-script@v8
1616
with:
1717
script: |
1818
const action = context.payload.action;

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

Lines changed: 1319 additions & 109 deletions
Large diffs are not rendered by default.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Composition API
33
*
4-
* The Algolia Composition API lets you run composed search requests on your Compositions. ## Client libraries Use Algolia's API clients and libraries to reliably integrate Algolia's APIs with your apps. See: [Algolia's ecosystem](https://www.algolia.com/doc/guides/getting-started/how-algolia-works/in-depth/ecosystem/) ## Base URLs The base URLs for requests to the Composition API are: - `https://{APPLICATION_ID}.algolia.net` - `https://{APPLICATION_ID}-dsn.algolia.net`. If your subscription includes a [Distributed Search Network](https://dashboard.algolia.com/infra), this ensures that requests are sent to servers closest to users. Both URLs provide high availability by distributing requests with load balancing. **All requests must use HTTPS.** ## Retry strategy To guarantee high availability, implement a retry strategy for all API requests using the URLs of your servers as fallbacks: - `https://{APPLICATION_ID}-1.algolianet.com` - `https://{APPLICATION_ID}-2.algolianet.com` - `https://{APPLICATION_ID}-3.algolianet.com` These URLs use a different DNS provider than the primary URLs. You should randomize this list to ensure an even load across the three servers. All Algolia API clients implement this retry strategy. ## Authentication To authenticate your API requests, add these headers: - `x-algolia-application-id`. Your Algolia application ID. - `x-algolia-api-key`. An API key with the necessary permissions to make the request. The required access control list (ACL) to make a request is listed in each endpoint's reference. You can find your application ID and API key in the [Algolia dashboard](https://dashboard.algolia.com/account). ## Request format Depending on the endpoint, request bodies are either JSON objects or arrays of JSON objects, ## Parameters Parameters are passed as query parameters for GET and DELETE requests, and in the request body for POST and PUT requests. Query parameters must be [URL-encoded](https://developer.mozilla.org/en-US/docs/Glossary/Percent-encoding). Non-ASCII characters must be UTF-8 encoded. Plus characters (`+`) are interpreted as spaces. Arrays as query parameters must be one of: - A comma-separated string: `attributesToRetrieve=title,description` - A URL-encoded JSON array: `attributesToRetrieve=%5B%22title%22,%22description%22%D` ## Response status and errors The Composition API returns JSON responses. Since JSON doesn't guarantee any specific ordering, don't rely on the order of attributes in the API response. Successful responses return a `2xx` status. Client errors return a `4xx` status. Server errors are indicated by a `5xx` status. Error responses have a `message` property with more information. ## Version The current version of the Composition API is version 1, as indicated by the `/1/` in each endpoint's URL.
4+
* The Algolia Composition API lets you run composed search requests on your Compositions. ## Client libraries Use Algolia's API clients and libraries to reliably integrate Algolia's APIs with your apps. See: [Algolia's ecosystem](https://www.algolia.com/doc/guides/getting-started/how-algolia-works/in-depth/ecosystem/) ## Base URLs The base URLs for requests to the Composition API are: - `https://{APPLICATION_ID}.algolia.net` - `https://{APPLICATION_ID}-dsn.algolia.net`. If your subscription includes a [Distributed Search Network](https://dashboard.algolia.com/infra), this ensures that requests are sent to servers closest to users. Both URLs provide high availability by distributing requests with load balancing. **All requests must use HTTPS.** ## Retry strategy To guarantee high availability, implement a retry strategy for all API requests using the URLs of your servers as fallbacks: - `https://{APPLICATION_ID}-1.algolianet.com` - `https://{APPLICATION_ID}-2.algolianet.com` - `https://{APPLICATION_ID}-3.algolianet.com` These URLs use a different DNS provider than the primary URLs. You should randomize this list to ensure an even load across the three servers. All Algolia API clients implement this retry strategy. ## Authentication To authenticate your API requests, add these headers: - `x-algolia-application-id`. Your Algolia application ID. - `x-algolia-api-key`. An API key with the necessary permissions to make the request. The required access control list (ACL) to make a request is listed in each endpoint's reference. You can find your application ID and API key in the [Algolia dashboard](https://dashboard.algolia.com/account). ## Request format Depending on the endpoint, request bodies are either JSON objects or arrays of JSON objects, ## Parameters Parameters are passed in the request body for POST and PUT requests. Query parameters must be [URL-encoded](https://developer.mozilla.org/en-US/docs/Glossary/Percent-encoding). Non-ASCII characters must be UTF-8 encoded. Plus characters (`+`) are interpreted as spaces. ## Response status and errors The Composition API returns JSON responses. Since JSON doesn't guarantee any specific ordering, don't rely on the order of attributes in the API response. Successful responses return a `2xx` status. Client errors return a `4xx` status. Server errors are indicated by a `5xx` status. Error responses have a `message` property with more information. ## Version The current version of the Composition API is version 1, as indicated by the `/1/` in each endpoint's URL.
55
*
66
* The version of the OpenAPI document: 1.0.0
77
* Generated by: https://github.com/openapitools/openapi-generator.git
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
//
2+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
3+
//
4+
using System;
5+
using System.Collections.Generic;
6+
using System.Linq;
7+
using System.Text;
8+
using System.Text.Json;
9+
using System.Text.Json.Serialization;
10+
using Algolia.Search.Serializer;
11+
12+
namespace Algolia.Search.Models.Composition;
13+
14+
/// <summary>
15+
/// Type of Composition Batch operation.
16+
/// </summary>
17+
/// <value>Type of Composition Batch operation.</value>
18+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<Action>))]
19+
public enum Action
20+
{
21+
/// <summary>
22+
/// Enum Upsert for value: upsert
23+
/// </summary>
24+
[JsonPropertyName("upsert")]
25+
Upsert = 1,
26+
27+
/// <summary>
28+
/// Enum Delete for value: delete
29+
/// </summary>
30+
[JsonPropertyName("delete")]
31+
Delete = 2,
32+
}

0 commit comments

Comments
 (0)