Skip to content

Commit

Permalink
chore: release 5.15.0
Browse files Browse the repository at this point in the history
Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Clément Vannicatte <vannicattec@gmail.com>
  • Loading branch information
algolia-bot and shortcuts committed Nov 19, 2024
1 parent 49fc82b commit 1c23972
Show file tree
Hide file tree
Showing 45 changed files with 577 additions and 827 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## [5.15.0](https://github.com/algolia/algoliasearch-client-javascript/compare/5.14.2...5.15.0)

- [0787a3d2a](https://github.com/algolia/api-clients-automation/commit/0787a3d2a) chore(scripts): change dist folder and bump ([#4113](https://github.com/algolia/api-clients-automation/pull/4113)) by [@millotp](https://github.com/millotp/)
- [f246995a7](https://github.com/algolia/api-clients-automation/commit/f246995a7) chore(deps): dependencies 2024-11-18 ([#4109](https://github.com/algolia/api-clients-automation/pull/4109)) by [@algolia-bot](https://github.com/algolia-bot/)
- [ff954678e](https://github.com/algolia/api-clients-automation/commit/ff954678e) fix(playground): add formatter for python ([#4125](https://github.com/algolia/api-clients-automation/pull/4125)) by [@millotp](https://github.com/millotp/)
- [da4169e1b](https://github.com/algolia/api-clients-automation/commit/da4169e1b) fix(specs): do not cache searchCompositionRules ([#4127](https://github.com/algolia/api-clients-automation/pull/4127)) by [@e-krebs](https://github.com/e-krebs/)
- [08669e2b3](https://github.com/algolia/api-clients-automation/commit/08669e2b3) feat(specs): default authMode to WithinHeaders for Composition Client ([#4129](https://github.com/algolia/api-clients-automation/pull/4129)) by [@e-krebs](https://github.com/e-krebs/)
- [f97e44ce0](https://github.com/algolia/api-clients-automation/commit/f97e44ce0) fix(cts): add tests for HTML error ([#4097](https://github.com/algolia/api-clients-automation/pull/4097)) by [@millotp](https://github.com/millotp/)

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

- [b97a88beb](https://github.com/algolia/api-clients-automation/commit/b97a88beb) fix(javascript): add support for private package publish ([#4106](https://github.com/algolia/api-clients-automation/pull/4106)) by [@shortcuts](https://github.com/shortcuts/)
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.14.2
yarn add algoliasearch@5.15.0
# or
npm install algoliasearch@5.14.2
npm install algoliasearch@5.15.0
# or
pnpm add algoliasearch@5.14.2
pnpm add algoliasearch@5.15.0
```

### Without a package manager
Expand All @@ -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.14.2/dist/algoliasearch.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/algoliasearch@5.15.0/dist/algoliasearch.umd.js"></script>

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

### Usage
Expand Down
52 changes: 0 additions & 52 deletions bundlesize.config.json

This file was deleted.

56 changes: 54 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,69 @@
"clean": "lerna run clean",
"release:publish": "tsc --project scripts/tsconfig.json && node scripts/dist/publish.js",
"test": "lerna run test $*",
"test:size": "bundlesize",
"test:size": "bundlewatch",
"test:bundle": "lerna run test:bundle --verbose --include-dependencies"
},
"devDependencies": {
"@types/node": "22.9.0",
"bundlesize": "0.18.2",
"bundlewatch": "0.4.0",
"execa": "9.5.1",
"lerna": "8.1.9",
"rollup": "4.27.2",
"typescript": "5.6.3"
},
"bundlewatch": {
"files": [
{
"path": "packages/algoliasearch/dist/algoliasearch.umd.js",
"maxSize": "18.15KB"
},
{
"path": "packages/algoliasearch/dist/lite/builds/browser.umd.js",
"maxSize": "3.95KB"
},
{
"path": "packages/client-abtesting/dist/builds/browser.umd.js",
"maxSize": "4.20KB"
},
{
"path": "packages/client-analytics/dist/builds/browser.umd.js",
"maxSize": "4.85KB"
},
{
"path": "packages/client-composition/dist/builds/browser.umd.js",
"maxSize": "4.55KB"
},
{
"path": "packages/client-insights/dist/builds/browser.umd.js",
"maxSize": "3.90KB"
},
{
"path": "packages/client-personalization/dist/builds/browser.umd.js",
"maxSize": "4.05KB"
},
{
"path": "packages/client-query-suggestions/dist/builds/browser.umd.js",
"maxSize": "4.05KB"
},
{
"path": "packages/client-search/dist/builds/browser.umd.js",
"maxSize": "7.25KB"
},
{
"path": "packages/ingestion/dist/builds/browser.umd.js",
"maxSize": "5.90KB"
},
{
"path": "packages/monitoring/dist/builds/browser.umd.js",
"maxSize": "3.95KB"
},
{
"path": "packages/recommend/dist/builds/browser.umd.js",
"maxSize": "4.15KB"
}
]
},
"engines": {
"node": ">= 14.0.0",
"yarn": "^4.0.0"
Expand Down
10 changes: 5 additions & 5 deletions packages/algoliasearch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.14.2
yarn add algoliasearch@5.15.0
# or
npm install algoliasearch@5.14.2
npm install algoliasearch@5.15.0
# or
pnpm add algoliasearch@5.14.2
pnpm add algoliasearch@5.15.0
```

### Without a package manager
Expand All @@ -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.14.2/dist/algoliasearch.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/algoliasearch@5.15.0/dist/algoliasearch.umd.js"></script>

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

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

export const apiClientVersion = '5.14.2';
export const apiClientVersion = '5.15.0';

function getDefaultHosts(appId: string): Host[] {
return (
Expand Down
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.14.2",
"version": "5.15.0",
"repository": {
"type": "git",
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
Expand Down Expand Up @@ -73,22 +73,22 @@
"lite.d.ts"
],
"dependencies": {
"@algolia/client-abtesting": "5.14.2",
"@algolia/client-analytics": "5.14.2",
"@algolia/client-common": "5.14.2",
"@algolia/client-insights": "5.14.2",
"@algolia/client-personalization": "5.14.2",
"@algolia/client-query-suggestions": "5.14.2",
"@algolia/client-search": "5.14.2",
"@algolia/ingestion": "1.14.2",
"@algolia/monitoring": "1.14.2",
"@algolia/recommend": "5.14.2",
"@algolia/requester-browser-xhr": "5.14.2",
"@algolia/requester-fetch": "5.14.2",
"@algolia/requester-node-http": "5.14.2"
"@algolia/client-abtesting": "5.15.0",
"@algolia/client-analytics": "5.15.0",
"@algolia/client-common": "5.15.0",
"@algolia/client-insights": "5.15.0",
"@algolia/client-personalization": "5.15.0",
"@algolia/client-query-suggestions": "5.15.0",
"@algolia/client-search": "5.15.0",
"@algolia/ingestion": "1.15.0",
"@algolia/monitoring": "1.15.0",
"@algolia/recommend": "5.15.0",
"@algolia/requester-browser-xhr": "5.15.0",
"@algolia/requester-fetch": "5.15.0",
"@algolia/requester-node-http": "5.15.0"
},
"devDependencies": {
"@algolia/requester-testing": "5.14.2",
"@algolia/requester-testing": "5.15.0",
"@arethetypeswrong/cli": "0.17.0",
"@types/node": "22.9.0",
"jsdom": "25.0.1",
Expand Down
8 changes: 4 additions & 4 deletions packages/client-abtesting/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.14.2
yarn add @algolia/client-abtesting@5.15.0
# or
npm install @algolia/client-abtesting@5.14.2
npm install @algolia/client-abtesting@5.15.0
# or
pnpm add @algolia/client-abtesting@5.14.2
pnpm add @algolia/client-abtesting@5.15.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.14.2/dist/builds/browser.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@algolia/client-abtesting@5.15.0/dist/builds/browser.umd.js"></script>
```

### Usage
Expand Down
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.14.2",
"version": "5.15.0",
"repository": {
"type": "git",
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
Expand Down Expand Up @@ -48,10 +48,10 @@
"index.d.ts"
],
"dependencies": {
"@algolia/client-common": "5.14.2",
"@algolia/requester-browser-xhr": "5.14.2",
"@algolia/requester-fetch": "5.14.2",
"@algolia/requester-node-http": "5.14.2"
"@algolia/client-common": "5.15.0",
"@algolia/requester-browser-xhr": "5.15.0",
"@algolia/requester-fetch": "5.15.0",
"@algolia/requester-node-http": "5.15.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.17.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/client-abtesting/src/abtestingClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import type {
StopABTestProps,
} from '../model/clientMethodProps';

export const apiClientVersion = '5.14.2';
export const apiClientVersion = '5.15.0';

export const REGIONS = ['de', 'us'] as const;
export type Region = (typeof REGIONS)[number];
Expand Down
8 changes: 4 additions & 4 deletions packages/client-analytics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.14.2
yarn add @algolia/client-analytics@5.15.0
# or
npm install @algolia/client-analytics@5.14.2
npm install @algolia/client-analytics@5.15.0
# or
pnpm add @algolia/client-analytics@5.14.2
pnpm add @algolia/client-analytics@5.15.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.14.2/dist/builds/browser.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@algolia/client-analytics@5.15.0/dist/builds/browser.umd.js"></script>
```

### Usage
Expand Down
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.14.2",
"version": "5.15.0",
"repository": {
"type": "git",
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
Expand Down Expand Up @@ -48,10 +48,10 @@
"index.d.ts"
],
"dependencies": {
"@algolia/client-common": "5.14.2",
"@algolia/requester-browser-xhr": "5.14.2",
"@algolia/requester-fetch": "5.14.2",
"@algolia/requester-node-http": "5.14.2"
"@algolia/client-common": "5.15.0",
"@algolia/requester-browser-xhr": "5.15.0",
"@algolia/requester-fetch": "5.15.0",
"@algolia/requester-node-http": "5.15.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.17.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/client-analytics/src/analyticsClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ import type {
GetUsersCountProps,
} from '../model/clientMethodProps';

export const apiClientVersion = '5.14.2';
export const apiClientVersion = '5.15.0';

export const REGIONS = ['de', 'us'] as const;
export type Region = (typeof REGIONS)[number];
Expand Down
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.14.2",
"version": "5.15.0",
"description": "Common package for the Algolia JavaScript API client.",
"repository": {
"type": "git",
Expand Down
Loading

0 comments on commit 1c23972

Please sign in to comment.