Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: algolia/algoliasearch-client-javascript
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 5.22.0
Choose a base ref
...
head repository: algolia/algoliasearch-client-javascript
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5.23.0
Choose a head ref
  • 2 commits
  • 47 files changed
  • 2 contributors

Commits on Mar 25, 2025

  1. feat(specs): add CT Query predicate property (generated)

    algolia/api-clients-automation#4654
    
    Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
    Co-authored-by: Morgan Leroi <morgan.leroi@gmail.com>
    algolia-bot and morganleroi committed Mar 25, 2025
    Copy the full SHA
    b04615e View commit details
  2. chore: release 5.23.0

    Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
    Co-authored-by: Morgan Leroi <morgan.leroi@gmail.com>
    algolia-bot and morganleroi committed Mar 25, 2025
    Copy the full SHA
    406face View commit details
Showing with 246 additions and 230 deletions.
  1. +6 −0 CHANGELOG.md
  2. +5 −5 README.md
  3. +5 −5 packages/algoliasearch/README.md
  4. +1 −1 packages/algoliasearch/lite/src/liteClient.ts
  5. +15 −15 packages/algoliasearch/package.json
  6. +4 −4 packages/client-abtesting/README.md
  7. +5 −5 packages/client-abtesting/package.json
  8. +1 −1 packages/client-abtesting/src/abtestingClient.ts
  9. +4 −4 packages/client-analytics/README.md
  10. +5 −5 packages/client-analytics/package.json
  11. +1 −1 packages/client-analytics/src/analyticsClient.ts
  12. +1 −1 packages/client-common/package.json
  13. +4 −4 packages/client-composition/README.md
  14. +5 −5 packages/client-composition/package.json
  15. +1 −1 packages/client-composition/src/compositionFullClient.ts
  16. +4 −4 packages/client-insights/README.md
  17. +5 −5 packages/client-insights/package.json
  18. +1 −1 packages/client-insights/src/insightsClient.ts
  19. +4 −4 packages/client-personalization/README.md
  20. +5 −5 packages/client-personalization/package.json
  21. +1 −1 packages/client-personalization/src/personalizationClient.ts
  22. +4 −4 packages/client-query-suggestions/README.md
  23. +5 −5 packages/client-query-suggestions/package.json
  24. +1 −1 packages/client-query-suggestions/src/querySuggestionsClient.ts
  25. +4 −4 packages/client-search/README.md
  26. +5 −5 packages/client-search/package.json
  27. +1 −1 packages/client-search/src/searchClient.ts
  28. +4 −4 packages/composition/README.md
  29. +5 −5 packages/composition/package.json
  30. +1 −1 packages/composition/src/compositionClient.ts
  31. +4 −4 packages/ingestion/README.md
  32. +5 −0 packages/ingestion/model/sourceCommercetools.ts
  33. +5 −0 packages/ingestion/model/sourceUpdateCommercetools.ts
  34. +5 −5 packages/ingestion/package.json
  35. +1 −1 packages/ingestion/src/ingestionClient.ts
  36. +2 −2 packages/logger-console/package.json
  37. +4 −4 packages/monitoring/README.md
  38. +5 −5 packages/monitoring/package.json
  39. +1 −1 packages/monitoring/src/monitoringClient.ts
  40. +4 −4 packages/recommend/README.md
  41. +5 −5 packages/recommend/package.json
  42. +1 −1 packages/recommend/src/recommendClient.ts
  43. +2 −2 packages/requester-browser-xhr/package.json
  44. +2 −2 packages/requester-fetch/package.json
  45. +2 −2 packages/requester-node-http/package.json
  46. +5 −5 packages/requester-testing/package.json
  47. +80 −80 yarn.lock
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## [5.23.0](https://github.com/algolia/algoliasearch-client-javascript/compare/5.22.0...5.23.0)

- [3994f53d4](https://github.com/algolia/api-clients-automation/commit/3994f53d4) feat(clients): add new realtime-personalization api ([#4613](https://github.com/algolia/api-clients-automation/pull/4613)) by [@benamib](https://github.com/benamib/)
- [6d8c0548d](https://github.com/algolia/api-clients-automation/commit/6d8c0548d) chore: do not generate realtime personalization ([#4655](https://github.com/algolia/api-clients-automation/pull/4655)) by [@shortcuts](https://github.com/shortcuts/)
- [c3addb449](https://github.com/algolia/api-clients-automation/commit/c3addb449) feat(specs): add CT Query predicate property ([#4654](https://github.com/algolia/api-clients-automation/pull/4654)) by [@morganleroi](https://github.com/morganleroi/)

## [5.22.0](https://github.com/algolia/algoliasearch-client-javascript/compare/5.21.0...5.22.0)

- [03a7074763](https://github.com/algolia/api-clients-automation/commit/03a7074763) chore(deps): dependencies 2025-03-10 ([#4566](https://github.com/algolia/api-clients-automation/pull/4566)) by [@algolia-bot](https://github.com/algolia-bot/)
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -38,11 +38,11 @@ All of our clients comes with type definition, and are available for both browse
### With a package manager

```bash
yarn add algoliasearch@5.22.0
yarn add algoliasearch@5.23.0
# or
npm install algoliasearch@5.22.0
npm install algoliasearch@5.23.0
# or
pnpm add algoliasearch@5.22.0
pnpm add algoliasearch@5.23.0
```

### Without a package manager
@@ -51,10 +51,10 @@ Add the following JavaScript snippet to the <head> of your website:

```html
// for the full client
<script src="https://cdn.jsdelivr.net/npm/algoliasearch@5.22.0/dist/algoliasearch.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/algoliasearch@5.23.0/dist/algoliasearch.umd.js"></script>

// for the lite client
<script src="https://cdn.jsdelivr.net/npm/algoliasearch@5.22.0/dist/lite/builds/browser.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/algoliasearch@5.23.0/dist/lite/builds/browser.umd.js"></script>
```

### Usage
10 changes: 5 additions & 5 deletions packages/algoliasearch/README.md
Original file line number Diff line number Diff line change
@@ -38,11 +38,11 @@ All of our clients comes with type definition, and are available for both browse
### With a package manager

```bash
yarn add algoliasearch@5.22.0
yarn add algoliasearch@5.23.0
# or
npm install algoliasearch@5.22.0
npm install algoliasearch@5.23.0
# or
pnpm add algoliasearch@5.22.0
pnpm add algoliasearch@5.23.0
```

### Without a package manager
@@ -51,10 +51,10 @@ Add the following JavaScript snippet to the <head> of your website:

```html
// for the full client
<script src="https://cdn.jsdelivr.net/npm/algoliasearch@5.22.0/dist/algoliasearch.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/algoliasearch@5.23.0/dist/algoliasearch.umd.js"></script>

// for the lite client
<script src="https://cdn.jsdelivr.net/npm/algoliasearch@5.22.0/dist/lite/builds/browser.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/algoliasearch@5.23.0/dist/lite/builds/browser.umd.js"></script>
```

### Usage
2 changes: 1 addition & 1 deletion packages/algoliasearch/lite/src/liteClient.ts
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ import type {
import type { SearchForFacetValuesResponse } from '../model/searchForFacetValuesResponse';
import type { SearchResponse } from '../model/searchResponse';

export const apiClientVersion = '5.22.0';
export const apiClientVersion = '5.23.0';

function getDefaultHosts(appId: string): Host[] {
return (
30 changes: 15 additions & 15 deletions packages/algoliasearch/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "5.22.0",
"version": "5.23.0",
"repository": {
"type": "git",
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
@@ -74,22 +74,22 @@
"lite.d.ts"
],
"dependencies": {
"@algolia/client-abtesting": "5.22.0",
"@algolia/client-analytics": "5.22.0",
"@algolia/client-common": "5.22.0",
"@algolia/client-insights": "5.22.0",
"@algolia/client-personalization": "5.22.0",
"@algolia/client-query-suggestions": "5.22.0",
"@algolia/client-search": "5.22.0",
"@algolia/ingestion": "1.22.0",
"@algolia/monitoring": "1.22.0",
"@algolia/recommend": "5.22.0",
"@algolia/requester-browser-xhr": "5.22.0",
"@algolia/requester-fetch": "5.22.0",
"@algolia/requester-node-http": "5.22.0"
"@algolia/client-abtesting": "5.23.0",
"@algolia/client-analytics": "5.23.0",
"@algolia/client-common": "5.23.0",
"@algolia/client-insights": "5.23.0",
"@algolia/client-personalization": "5.23.0",
"@algolia/client-query-suggestions": "5.23.0",
"@algolia/client-search": "5.23.0",
"@algolia/ingestion": "1.23.0",
"@algolia/monitoring": "1.23.0",
"@algolia/recommend": "5.23.0",
"@algolia/requester-browser-xhr": "5.23.0",
"@algolia/requester-fetch": "5.23.0",
"@algolia/requester-node-http": "5.23.0"
},
"devDependencies": {
"@algolia/requester-testing": "5.22.0",
"@algolia/requester-testing": "5.23.0",
"@arethetypeswrong/cli": "0.17.4",
"@types/node": "22.13.11",
"jsdom": "26.0.0",
8 changes: 4 additions & 4 deletions packages/client-abtesting/README.md
Original file line number Diff line number Diff line change
@@ -41,19 +41,19 @@ All of our clients comes with type definition, and are available for both browse
### With a package manager

```bash
yarn add @algolia/client-abtesting@5.22.0
yarn add @algolia/client-abtesting@5.23.0
# or
npm install @algolia/client-abtesting@5.22.0
npm install @algolia/client-abtesting@5.23.0
# or
pnpm add @algolia/client-abtesting@5.22.0
pnpm add @algolia/client-abtesting@5.23.0
```

### Without a package manager

Add the following JavaScript snippet to the <head> of your website:

```html
<script src="https://cdn.jsdelivr.net/npm/@algolia/client-abtesting@5.22.0/dist/builds/browser.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@algolia/client-abtesting@5.23.0/dist/builds/browser.umd.js"></script>
```

### Usage
10 changes: 5 additions & 5 deletions packages/client-abtesting/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "5.22.0",
"version": "5.23.0",
"repository": {
"type": "git",
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
@@ -49,10 +49,10 @@
"index.d.ts"
],
"dependencies": {
"@algolia/client-common": "5.22.0",
"@algolia/requester-browser-xhr": "5.22.0",
"@algolia/requester-fetch": "5.22.0",
"@algolia/requester-node-http": "5.22.0"
"@algolia/client-common": "5.23.0",
"@algolia/requester-browser-xhr": "5.23.0",
"@algolia/requester-fetch": "5.23.0",
"@algolia/requester-node-http": "5.23.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.17.4",
2 changes: 1 addition & 1 deletion packages/client-abtesting/src/abtestingClient.ts
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ import type {
StopABTestProps,
} from '../model/clientMethodProps';

export const apiClientVersion = '5.22.0';
export const apiClientVersion = '5.23.0';

export const REGIONS = ['de', 'us'] as const;
export type Region = (typeof REGIONS)[number];
8 changes: 4 additions & 4 deletions packages/client-analytics/README.md
Original file line number Diff line number Diff line change
@@ -41,19 +41,19 @@ All of our clients comes with type definition, and are available for both browse
### With a package manager

```bash
yarn add @algolia/client-analytics@5.22.0
yarn add @algolia/client-analytics@5.23.0
# or
npm install @algolia/client-analytics@5.22.0
npm install @algolia/client-analytics@5.23.0
# or
pnpm add @algolia/client-analytics@5.22.0
pnpm add @algolia/client-analytics@5.23.0
```

### Without a package manager

Add the following JavaScript snippet to the <head> of your website:

```html
<script src="https://cdn.jsdelivr.net/npm/@algolia/client-analytics@5.22.0/dist/builds/browser.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@algolia/client-analytics@5.23.0/dist/builds/browser.umd.js"></script>
```

### Usage
10 changes: 5 additions & 5 deletions packages/client-analytics/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "5.22.0",
"version": "5.23.0",
"repository": {
"type": "git",
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
@@ -49,10 +49,10 @@
"index.d.ts"
],
"dependencies": {
"@algolia/client-common": "5.22.0",
"@algolia/requester-browser-xhr": "5.22.0",
"@algolia/requester-fetch": "5.22.0",
"@algolia/requester-node-http": "5.22.0"
"@algolia/client-common": "5.23.0",
"@algolia/requester-browser-xhr": "5.23.0",
"@algolia/requester-fetch": "5.23.0",
"@algolia/requester-node-http": "5.23.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.17.4",
2 changes: 1 addition & 1 deletion packages/client-analytics/src/analyticsClient.ts
Original file line number Diff line number Diff line change
@@ -58,7 +58,7 @@ import type {
GetUsersCountProps,
} from '../model/clientMethodProps';

export const apiClientVersion = '5.22.0';
export const apiClientVersion = '5.23.0';

export const REGIONS = ['de', 'us'] as const;
export type Region = (typeof REGIONS)[number];
2 changes: 1 addition & 1 deletion packages/client-common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@algolia/client-common",
"version": "5.22.0",
"version": "5.23.0",
"description": "Common package for the Algolia JavaScript API client.",
"repository": {
"type": "git",
8 changes: 4 additions & 4 deletions packages/client-composition/README.md
Original file line number Diff line number Diff line change
@@ -41,19 +41,19 @@ All of our clients comes with type definition, and are available for both browse
### With a package manager

```bash
yarn add @algolia/client-composition@0.0.1-alpha.16
yarn add @algolia/client-composition@0.0.1-alpha.17
# or
npm install @algolia/client-composition@0.0.1-alpha.16
npm install @algolia/client-composition@0.0.1-alpha.17
# or
pnpm add @algolia/client-composition@0.0.1-alpha.16
pnpm add @algolia/client-composition@0.0.1-alpha.17
```

### Without a package manager

Add the following JavaScript snippet to the <head> of your website:

```html
<script src="https://cdn.jsdelivr.net/npm/@algolia/client-composition@0.0.1-alpha.16/dist/builds/browser.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@algolia/client-composition@0.0.1-alpha.17/dist/builds/browser.umd.js"></script>
```

### Usage
10 changes: 5 additions & 5 deletions packages/client-composition/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.0.1-alpha.16",
"version": "0.0.1-alpha.17",
"repository": {
"type": "git",
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
@@ -49,10 +49,10 @@
"index.d.ts"
],
"dependencies": {
"@algolia/client-common": "5.22.0",
"@algolia/requester-browser-xhr": "5.22.0",
"@algolia/requester-fetch": "5.22.0",
"@algolia/requester-node-http": "5.22.0"
"@algolia/client-common": "5.23.0",
"@algolia/requester-browser-xhr": "5.23.0",
"@algolia/requester-fetch": "5.23.0",
"@algolia/requester-node-http": "5.23.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.17.4",
2 changes: 1 addition & 1 deletion packages/client-composition/src/compositionFullClient.ts
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@ import type {
WaitForCompositionTaskOptions,
} from '../model/clientMethodProps';

export const apiClientVersion = '0.0.1-alpha.16';
export const apiClientVersion = '0.0.1-alpha.17';

function getDefaultHosts(appId: string): Host[] {
return (
8 changes: 4 additions & 4 deletions packages/client-insights/README.md
Original file line number Diff line number Diff line change
@@ -41,19 +41,19 @@ All of our clients comes with type definition, and are available for both browse
### With a package manager

```bash
yarn add @algolia/client-insights@5.22.0
yarn add @algolia/client-insights@5.23.0
# or
npm install @algolia/client-insights@5.22.0
npm install @algolia/client-insights@5.23.0
# or
pnpm add @algolia/client-insights@5.22.0
pnpm add @algolia/client-insights@5.23.0
```

### Without a package manager

Add the following JavaScript snippet to the <head> of your website:

```html
<script src="https://cdn.jsdelivr.net/npm/@algolia/client-insights@5.22.0/dist/builds/browser.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@algolia/client-insights@5.23.0/dist/builds/browser.umd.js"></script>
```

### Usage
10 changes: 5 additions & 5 deletions packages/client-insights/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "5.22.0",
"version": "5.23.0",
"repository": {
"type": "git",
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
@@ -49,10 +49,10 @@
"index.d.ts"
],
"dependencies": {
"@algolia/client-common": "5.22.0",
"@algolia/requester-browser-xhr": "5.22.0",
"@algolia/requester-fetch": "5.22.0",
"@algolia/requester-node-http": "5.22.0"
"@algolia/client-common": "5.23.0",
"@algolia/requester-browser-xhr": "5.23.0",
"@algolia/requester-fetch": "5.23.0",
"@algolia/requester-node-http": "5.23.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.17.4",
2 changes: 1 addition & 1 deletion packages/client-insights/src/insightsClient.ts
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ import type {
DeleteUserTokenProps,
} from '../model/clientMethodProps';

export const apiClientVersion = '5.22.0';
export const apiClientVersion = '5.23.0';

export const REGIONS = ['de', 'us'] as const;
export type Region = (typeof REGIONS)[number];
8 changes: 4 additions & 4 deletions packages/client-personalization/README.md
Original file line number Diff line number Diff line change
@@ -41,19 +41,19 @@ All of our clients comes with type definition, and are available for both browse
### With a package manager

```bash
yarn add @algolia/client-personalization@5.22.0
yarn add @algolia/client-personalization@5.23.0
# or
npm install @algolia/client-personalization@5.22.0
npm install @algolia/client-personalization@5.23.0
# or
pnpm add @algolia/client-personalization@5.22.0
pnpm add @algolia/client-personalization@5.23.0
```

### Without a package manager

Add the following JavaScript snippet to the <head> of your website:

```html
<script src="https://cdn.jsdelivr.net/npm/@algolia/client-personalization@5.22.0/dist/builds/browser.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@algolia/client-personalization@5.23.0/dist/builds/browser.umd.js"></script>
```

### Usage
10 changes: 5 additions & 5 deletions packages/client-personalization/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "5.22.0",
"version": "5.23.0",
"repository": {
"type": "git",
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
@@ -49,10 +49,10 @@
"index.d.ts"
],
"dependencies": {
"@algolia/client-common": "5.22.0",
"@algolia/requester-browser-xhr": "5.22.0",
"@algolia/requester-fetch": "5.22.0",
"@algolia/requester-node-http": "5.22.0"
"@algolia/client-common": "5.23.0",
"@algolia/requester-browser-xhr": "5.23.0",
"@algolia/requester-fetch": "5.23.0",
"@algolia/requester-node-http": "5.23.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.17.4",
Loading