File tree 27 files changed +89
-75
lines changed
clients/algoliasearch-client-javascript 27 files changed +89
-75
lines changed Original file line number Diff line number Diff line change
1
+ ## [ 0.3.0] ( https://github.com/algolia/algoliasearch-client-javascript/compare/0.2.0...0.3.0 )
2
+
3
+ ### javascript
4
+ - b8e6be72 fix(specs): correctly pass ` searchParams ` to the request (#531 )
5
+ - 000f62d9 refactor(javascript): type setTimeout in a way compatible with node & browser (#527 )
6
+ - bf427124 fix(specs): allow ` POST ` methods to send ` read ` requests (#525 )
7
+ - 588539c4 fix(javascript): remove unused methods of algoliasearch-lite (#524 )
8
+ - 4f8d3558 feat(javascript): add waitForTask in search client (#510 )
9
+ - 0d23c52c fix(specs): rename ` search ` method (#514 )
10
+ - 3b3d7067 fix(specs): correct mistakes (#509 )
11
+ - 6361b602 style(specs): add out-of-line-one-of rule (and allOf and anyOf) APIC-418 (#512 )
12
+ - 340b7bd5 fix(specs): correct type for taskID APIC-478 (#504 )
13
+ - f516c247 fix(javascript): move logic to custom gens (#486 )
14
+
1
15
## [ 0.1.1] ( https://github.com/algolia/algoliasearch-client-javascript/compare/0.1.0...0.1.1 )
2
16
3
17
### javascript
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @experimental-api-clients-automation/algoliasearch-lite" ,
3
- "version" : " 0.2 .0" ,
3
+ "version" : " 0.3 .0" ,
4
4
"description" : " JavaScript client for @experimental-api-clients-automation/algoliasearch-lite" ,
5
5
"repository" : " algolia/algoliasearch-client-javascript" ,
6
6
"license" : " MIT" ,
21
21
"clean" : " rm -rf ./dist"
22
22
},
23
23
"dependencies" : {
24
- "@experimental-api-clients-automation/client-common" : " 0.2 .0" ,
25
- "@experimental-api-clients-automation/requester-browser-xhr" : " 0.2 .0" ,
26
- "@experimental-api-clients-automation/requester-node-http" : " 0.2 .0"
24
+ "@experimental-api-clients-automation/client-common" : " 0.3 .0" ,
25
+ "@experimental-api-clients-automation/requester-browser-xhr" : " 0.3 .0" ,
26
+ "@experimental-api-clients-automation/requester-node-http" : " 0.3 .0"
27
27
},
28
28
"devDependencies" : {
29
29
"@types/node" : " 16.11.26" ,
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import type { SearchMethodParams } from '../model/searchMethodParams';
17
17
import type { SearchResponses } from '../model/searchResponses' ;
18
18
19
19
export * from '../model' ;
20
- export const apiClientVersion = '0.2 .0' ;
20
+ export const apiClientVersion = '0.3 .0' ;
21
21
22
22
function getDefaultHosts ( appId : string ) : Host [ ] {
23
23
return (
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @experimental-api-clients-automation/algoliasearch" ,
3
- "version" : " 0.2 .0" ,
3
+ "version" : " 0.3 .0" ,
4
4
"description" : " A fully-featured and blazing-fast JavaScript API client to interact with Algolia API." ,
5
5
"repository" : " algolia/algoliasearch-client-javascript" ,
6
6
"license" : " MIT" ,
15
15
"clean" : " rm -rf ./dist"
16
16
},
17
17
"dependencies" : {
18
- "@experimental-api-clients-automation/client-analytics" : " 0.2 .0" ,
19
- "@experimental-api-clients-automation/client-common" : " 0.2 .0" ,
20
- "@experimental-api-clients-automation/client-personalization" : " 0.2 .0" ,
21
- "@experimental-api-clients-automation/client-search" : " 0.2 .0" ,
22
- "@experimental-api-clients-automation/requester-browser-xhr" : " 0.2 .0" ,
23
- "@experimental-api-clients-automation/requester-node-http" : " 0.2 .0"
18
+ "@experimental-api-clients-automation/client-analytics" : " 0.3 .0" ,
19
+ "@experimental-api-clients-automation/client-common" : " 0.3 .0" ,
20
+ "@experimental-api-clients-automation/client-personalization" : " 0.3 .0" ,
21
+ "@experimental-api-clients-automation/client-search" : " 0.3 .0" ,
22
+ "@experimental-api-clients-automation/requester-browser-xhr" : " 0.3 .0" ,
23
+ "@experimental-api-clients-automation/requester-node-http" : " 0.3 .0"
24
24
},
25
25
"devDependencies" : {
26
26
"@types/node" : " 16.11.26" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @experimental-api-clients-automation/client-abtesting" ,
3
- "version" : " 0.2 .0" ,
3
+ "version" : " 0.3 .0" ,
4
4
"description" : " JavaScript client for @experimental-api-clients-automation/client-abtesting" ,
5
5
"repository" : " algolia/algoliasearch-client-javascript" ,
6
6
"license" : " MIT" ,
21
21
"clean" : " rm -rf ./dist"
22
22
},
23
23
"dependencies" : {
24
- "@experimental-api-clients-automation/client-common" : " 0.2 .0" ,
25
- "@experimental-api-clients-automation/requester-browser-xhr" : " 0.2 .0" ,
26
- "@experimental-api-clients-automation/requester-node-http" : " 0.2 .0"
24
+ "@experimental-api-clients-automation/client-common" : " 0.3 .0" ,
25
+ "@experimental-api-clients-automation/requester-browser-xhr" : " 0.3 .0" ,
26
+ "@experimental-api-clients-automation/requester-node-http" : " 0.3 .0"
27
27
},
28
28
"devDependencies" : {
29
29
"@types/node" : " 16.11.26" ,
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import type { AddABTestsRequest } from '../model/addABTestsRequest';
18
18
import type { ListABTestsResponse } from '../model/listABTestsResponse' ;
19
19
20
20
export * from '../model' ;
21
- export const apiClientVersion = '0.2 .0' ;
21
+ export const apiClientVersion = '0.3 .0' ;
22
22
23
23
export type Region = 'de' | 'us' ;
24
24
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @experimental-api-clients-automation/client-analytics" ,
3
- "version" : " 0.2 .0" ,
3
+ "version" : " 0.3 .0" ,
4
4
"description" : " JavaScript client for @experimental-api-clients-automation/client-analytics" ,
5
5
"repository" : " algolia/algoliasearch-client-javascript" ,
6
6
"license" : " MIT" ,
21
21
"clean" : " rm -rf ./dist"
22
22
},
23
23
"dependencies" : {
24
- "@experimental-api-clients-automation/client-common" : " 0.2 .0" ,
25
- "@experimental-api-clients-automation/requester-browser-xhr" : " 0.2 .0" ,
26
- "@experimental-api-clients-automation/requester-node-http" : " 0.2 .0"
24
+ "@experimental-api-clients-automation/client-common" : " 0.3 .0" ,
25
+ "@experimental-api-clients-automation/requester-browser-xhr" : " 0.3 .0" ,
26
+ "@experimental-api-clients-automation/requester-node-http" : " 0.3 .0"
27
27
},
28
28
"devDependencies" : {
29
29
"@types/node" : " 16.11.26" ,
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ import type { GetUsersCountResponse } from '../model/getUsersCountResponse';
33
33
import type { OrderBy } from '../model/orderBy' ;
34
34
35
35
export * from '../model' ;
36
- export const apiClientVersion = '0.2 .0' ;
36
+ export const apiClientVersion = '0.3 .0' ;
37
37
38
38
export type Region = 'de' | 'us' ;
39
39
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @experimental-api-clients-automation/client-common" ,
3
- "version" : " 0.2 .0" ,
3
+ "version" : " 0.3 .0" ,
4
4
"description" : " Common package for the Algolia JavaScript API client." ,
5
5
"repository" : " algolia/algoliasearch-client-javascript" ,
6
6
"license" : " MIT" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @experimental-api-clients-automation/client-insights" ,
3
- "version" : " 0.2 .0" ,
3
+ "version" : " 0.3 .0" ,
4
4
"description" : " JavaScript client for @experimental-api-clients-automation/client-insights" ,
5
5
"repository" : " algolia/algoliasearch-client-javascript" ,
6
6
"license" : " MIT" ,
21
21
"clean" : " rm -rf ./dist"
22
22
},
23
23
"dependencies" : {
24
- "@experimental-api-clients-automation/client-common" : " 0.2 .0" ,
25
- "@experimental-api-clients-automation/requester-browser-xhr" : " 0.2 .0" ,
26
- "@experimental-api-clients-automation/requester-node-http" : " 0.2 .0"
24
+ "@experimental-api-clients-automation/client-common" : " 0.3 .0" ,
25
+ "@experimental-api-clients-automation/requester-browser-xhr" : " 0.3 .0" ,
26
+ "@experimental-api-clients-automation/requester-node-http" : " 0.3 .0"
27
27
},
28
28
"devDependencies" : {
29
29
"@types/node" : " 16.11.26" ,
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import type { InsightEvents } from '../model/insightEvents';
16
16
import type { PushEventsResponse } from '../model/pushEventsResponse' ;
17
17
18
18
export * from '../model' ;
19
- export const apiClientVersion = '0.2 .0' ;
19
+ export const apiClientVersion = '0.3 .0' ;
20
20
21
21
export type Region = 'de' | 'us' ;
22
22
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @experimental-api-clients-automation/client-personalization" ,
3
- "version" : " 0.2 .0" ,
3
+ "version" : " 0.3 .0" ,
4
4
"description" : " JavaScript client for @experimental-api-clients-automation/client-personalization" ,
5
5
"repository" : " algolia/algoliasearch-client-javascript" ,
6
6
"license" : " MIT" ,
21
21
"clean" : " rm -rf ./dist"
22
22
},
23
23
"dependencies" : {
24
- "@experimental-api-clients-automation/client-common" : " 0.2 .0" ,
25
- "@experimental-api-clients-automation/requester-browser-xhr" : " 0.2 .0" ,
26
- "@experimental-api-clients-automation/requester-node-http" : " 0.2 .0"
24
+ "@experimental-api-clients-automation/client-common" : " 0.3 .0" ,
25
+ "@experimental-api-clients-automation/requester-browser-xhr" : " 0.3 .0" ,
26
+ "@experimental-api-clients-automation/requester-node-http" : " 0.3 .0"
27
27
},
28
28
"devDependencies" : {
29
29
"@types/node" : " 16.11.26" ,
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import type { PersonalizationStrategyParams } from '../model/personalizationStra
18
18
import type { SetPersonalizationStrategyResponse } from '../model/setPersonalizationStrategyResponse' ;
19
19
20
20
export * from '../model' ;
21
- export const apiClientVersion = '0.2 .0' ;
21
+ export const apiClientVersion = '0.3 .0' ;
22
22
23
23
export type Region = 'eu' | 'us' ;
24
24
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @experimental-api-clients-automation/client-predict" ,
3
- "version" : " 0.2 .0" ,
3
+ "version" : " 0.3 .0" ,
4
4
"description" : " JavaScript client for @experimental-api-clients-automation/client-predict" ,
5
5
"repository" : " algolia/algoliasearch-client-javascript" ,
6
6
"license" : " MIT" ,
21
21
"clean" : " rm -rf ./dist"
22
22
},
23
23
"dependencies" : {
24
- "@experimental-api-clients-automation/client-common" : " 0.2 .0" ,
25
- "@experimental-api-clients-automation/requester-browser-xhr" : " 0.2 .0" ,
26
- "@experimental-api-clients-automation/requester-node-http" : " 0.2 .0"
24
+ "@experimental-api-clients-automation/client-common" : " 0.3 .0" ,
25
+ "@experimental-api-clients-automation/requester-browser-xhr" : " 0.3 .0" ,
26
+ "@experimental-api-clients-automation/requester-node-http" : " 0.3 .0"
27
27
},
28
28
"devDependencies" : {
29
29
"@types/node" : " 16.11.26" ,
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import type { FetchUserProfileResponse } from '../model/fetchUserProfileResponse
16
16
import type { Params } from '../model/params' ;
17
17
18
18
export * from '../model' ;
19
- export const apiClientVersion = '0.2 .0' ;
19
+ export const apiClientVersion = '0.3 .0' ;
20
20
21
21
export type Region = 'ew' | 'ue' ;
22
22
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @experimental-api-clients-automation/client-query-suggestions" ,
3
- "version" : " 0.2 .0" ,
3
+ "version" : " 0.3 .0" ,
4
4
"description" : " JavaScript client for @experimental-api-clients-automation/client-query-suggestions" ,
5
5
"repository" : " algolia/algoliasearch-client-javascript" ,
6
6
"license" : " MIT" ,
21
21
"clean" : " rm -rf ./dist"
22
22
},
23
23
"dependencies" : {
24
- "@experimental-api-clients-automation/client-common" : " 0.2 .0" ,
25
- "@experimental-api-clients-automation/requester-browser-xhr" : " 0.2 .0" ,
26
- "@experimental-api-clients-automation/requester-node-http" : " 0.2 .0"
24
+ "@experimental-api-clients-automation/client-common" : " 0.3 .0" ,
25
+ "@experimental-api-clients-automation/requester-browser-xhr" : " 0.3 .0" ,
26
+ "@experimental-api-clients-automation/requester-node-http" : " 0.3 .0"
27
27
},
28
28
"devDependencies" : {
29
29
"@types/node" : " 16.11.26" ,
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import type { Status } from '../model/status';
20
20
import type { SuccessResponse } from '../model/successResponse' ;
21
21
22
22
export * from '../model' ;
23
- export const apiClientVersion = '0.2 .0' ;
23
+ export const apiClientVersion = '0.3 .0' ;
24
24
25
25
export type Region = 'eu' | 'us' ;
26
26
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @experimental-api-clients-automation/client-search" ,
3
- "version" : " 0.2 .0" ,
3
+ "version" : " 0.3 .0" ,
4
4
"description" : " JavaScript client for @experimental-api-clients-automation/client-search" ,
5
5
"repository" : " algolia/algoliasearch-client-javascript" ,
6
6
"license" : " MIT" ,
21
21
"clean" : " rm -rf ./dist"
22
22
},
23
23
"dependencies" : {
24
- "@experimental-api-clients-automation/client-common" : " 0.2 .0" ,
25
- "@experimental-api-clients-automation/requester-browser-xhr" : " 0.2 .0" ,
26
- "@experimental-api-clients-automation/requester-node-http" : " 0.2 .0"
24
+ "@experimental-api-clients-automation/client-common" : " 0.3 .0" ,
25
+ "@experimental-api-clients-automation/requester-browser-xhr" : " 0.3 .0" ,
26
+ "@experimental-api-clients-automation/requester-node-http" : " 0.3 .0"
27
27
},
28
28
"devDependencies" : {
29
29
"@types/node" : " 16.11.26" ,
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ import type { UpdatedRuleResponse } from '../model/updatedRuleResponse';
75
75
import type { UserId } from '../model/userId' ;
76
76
77
77
export * from '../model' ;
78
- export const apiClientVersion = '0.2 .0' ;
78
+ export const apiClientVersion = '0.3 .0' ;
79
79
80
80
function getDefaultHosts ( appId : string ) : Host [ ] {
81
81
return (
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @experimental-api-clients-automation/client-sources" ,
3
- "version" : " 0.2 .0" ,
3
+ "version" : " 0.3 .0" ,
4
4
"description" : " JavaScript client for @experimental-api-clients-automation/client-sources" ,
5
5
"repository" : " algolia/algoliasearch-client-javascript" ,
6
6
"license" : " MIT" ,
21
21
"clean" : " rm -rf ./dist"
22
22
},
23
23
"dependencies" : {
24
- "@experimental-api-clients-automation/client-common" : " 0.2 .0" ,
25
- "@experimental-api-clients-automation/requester-browser-xhr" : " 0.2 .0" ,
26
- "@experimental-api-clients-automation/requester-node-http" : " 0.2 .0"
24
+ "@experimental-api-clients-automation/client-common" : " 0.3 .0" ,
25
+ "@experimental-api-clients-automation/requester-browser-xhr" : " 0.3 .0" ,
26
+ "@experimental-api-clients-automation/requester-node-http" : " 0.3 .0"
27
27
},
28
28
"devDependencies" : {
29
29
"@types/node" : " 16.11.26" ,
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import type { PostIngestUrlResponse } from '../model/postIngestUrlResponse';
16
16
import type { PostURLJob } from '../model/postURLJob' ;
17
17
18
18
export * from '../model' ;
19
- export const apiClientVersion = '0.2 .0' ;
19
+ export const apiClientVersion = '0.3 .0' ;
20
20
21
21
export type Region = 'de' | 'us' ;
22
22
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @experimental-api-clients-automation/recommend" ,
3
- "version" : " 0.2 .0" ,
3
+ "version" : " 0.3 .0" ,
4
4
"description" : " JavaScript client for @experimental-api-clients-automation/recommend" ,
5
5
"repository" : " algolia/algoliasearch-client-javascript" ,
6
6
"license" : " MIT" ,
21
21
"clean" : " rm -rf ./dist"
22
22
},
23
23
"dependencies" : {
24
- "@experimental-api-clients-automation/client-common" : " 0.2 .0" ,
25
- "@experimental-api-clients-automation/requester-browser-xhr" : " 0.2 .0" ,
26
- "@experimental-api-clients-automation/requester-node-http" : " 0.2 .0"
24
+ "@experimental-api-clients-automation/client-common" : " 0.3 .0" ,
25
+ "@experimental-api-clients-automation/requester-browser-xhr" : " 0.3 .0" ,
26
+ "@experimental-api-clients-automation/requester-node-http" : " 0.3 .0"
27
27
},
28
28
"devDependencies" : {
29
29
"@types/node" : " 16.11.26" ,
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import type { GetRecommendationsParams } from '../model/getRecommendationsParams
17
17
import type { GetRecommendationsResponse } from '../model/getRecommendationsResponse' ;
18
18
19
19
export * from '../model' ;
20
- export const apiClientVersion = '0.2 .0' ;
20
+ export const apiClientVersion = '0.3 .0' ;
21
21
22
22
function getDefaultHosts ( appId : string ) : Host [ ] {
23
23
return (
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @experimental-api-clients-automation/requester-browser-xhr" ,
3
- "version" : " 0.2 .0" ,
3
+ "version" : " 0.3 .0" ,
4
4
"description" : " Promise-based request library for browser using xhr." ,
5
5
"repository" : " algolia/algoliasearch-client-javascript" ,
6
6
"license" : " MIT" ,
18
18
"clean" : " rm -rf dist/"
19
19
},
20
20
"dependencies" : {
21
- "@experimental-api-clients-automation/client-common" : " 0.2 .0"
21
+ "@experimental-api-clients-automation/client-common" : " 0.3 .0"
22
22
},
23
23
"devDependencies" : {
24
24
"@types/node" : " 16.11.26" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @experimental-api-clients-automation/requester-node-http" ,
3
- "version" : " 0.2 .0" ,
3
+ "version" : " 0.3 .0" ,
4
4
"description" : " Promise-based request library for node using the native http module." ,
5
5
"repository" : " algolia/algoliasearch-client-javascript" ,
6
6
"license" : " MIT" ,
17
17
"clean" : " rm -rf dist/"
18
18
},
19
19
"dependencies" : {
20
- "@experimental-api-clients-automation/client-common" : " 0.2 .0"
20
+ "@experimental-api-clients-automation/client-common" : " 0.3 .0"
21
21
},
22
22
"devDependencies" : {
23
23
"@types/node" : " 16.11.26" ,
You can’t perform that action at this time.
0 commit comments