Skip to content

Commit a4221f8

Browse files
committed
Release v7.6.0
1 parent 41c3397 commit a4221f8

27 files changed

+35
-35
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
The easiest way to install this client is to simply include the built distribution from the [jsDelivr](https://www.jsdelivr.com/) CDN.
2626

2727
```html
28-
<script src="https://cdn.jsdelivr.net/npm/@elastic/app-search-javascript@7.5.0/dist/elastic_app_search.umd.js"></script>
28+
<script src="https://cdn.jsdelivr.net/npm/@elastic/app-search-javascript@7.6.0/dist/elastic_app_search.umd.js"></script>
2929
```
3030

3131
This will make the client available globally at:
@@ -88,7 +88,7 @@ var client = ElasticAppSearch.createClient({
8888
});
8989
```
9090

91-
\* Please note that you should only ever use a **Public Search Key** within Javascript code on the browser. By default, your account should have a Key prefixed with `search-` that is read-only. More information can be found in the [documentation](https://swiftype.com/documentation/app-search/authentication).
91+
\* Please note that you should only ever use a **Public Search Key** within Javascript code on the browser. By default, your account should have a Key prefixed with `search-` that is read-only. More information can be found in the [documentation](https://swiftype.com/documentation/app-search/authentication).
9292

9393
### Swiftype.com App Search users:
9494

@@ -105,14 +105,14 @@ var client = ElasticAppSearch.createClient({
105105

106106
### List of configuration options:
107107

108-
| Option | Required | Description |
109-
| ----------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
110-
| hostIdentifier | No | Your **Host Identifier**, should start with `host-`. Required unless explicitly setting `endpointBase` |
111-
| searchKey | Yes | Your **Public Search Key**. It should start with `search-`. |
112-
| engineName | Yes | |
108+
| Option | Required | Description |
109+
| ----------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
110+
| hostIdentifier | No | Your **Host Identifier**, should start with `host-`. Required unless explicitly setting `endpointBase` |
111+
| searchKey | Yes | Your **Public Search Key**. It should start with `search-`. |
112+
| engineName | Yes | |
113113
| endpointBase | No | Overrides the base of the App Search API endpoint completely. Useful when proxying the App Search API, developing against a local server, or a Self-Managed or Cloud Deployment. Ex. "http://localhost:3002" |
114-
| cacheResponses | No | Whether or not API responses should be cached. Default: `true`. |
115-
| additionalHeaders | No | An Object with keys and values that will be converted to header names and values on all API requests
114+
| cacheResponses | No | Whether or not API responses should be cached. Default: `true`. |
115+
| additionalHeaders | No | An Object with keys and values that will be converted to header names and values on all API requests |
116116

117117
### API Methods
118118

fixtures/host-2376rb.api.swiftype.com-443/additional_headers

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ POST /api/as/v1/engines/node-modules/search.json
22
authorization: Bearer api-hean6g8dmxnm2shqqiag757a
33
content-type: bogus/format
44
x-swiftype-client: elastic-app-search-javascript
5-
x-swiftype-client-version: 7.5.0
5+
x-swiftype-client-version: 7.6.0
66
accept: */*
77
accept-encoding: gzip,deflate
88
body: {\"query\":\"cat\"}

fixtures/host-2376rb.api.swiftype.com-443/click_no_options

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ POST /api/as/v1/engines/node-modules/click.json
22
authorization: Bearer api-hean6g8dmxnm2shqqiag757a
33
content-type: application/json
44
x-swiftype-client: elastic-app-search-javascript
5-
x-swiftype-client-version: 7.5.0
5+
x-swiftype-client-version: 7.6.0
66
accept: */*
77
accept-encoding: gzip,deflate
88
body: {\"tags\":[]}

fixtures/host-2376rb.api.swiftype.com-443/click_no_tags

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ POST /api/as/v1/engines/node-modules/click.json
22
authorization: Bearer api-hean6g8dmxnm2shqqiag757a
33
content-type: application/json
44
x-swiftype-client: elastic-app-search-javascript
5-
x-swiftype-client-version: 7.5.0
5+
x-swiftype-client-version: 7.6.0
66
accept: */*
77
accept-encoding: gzip,deflate
88
body: {\"query\":\"Cat\",\"document_id\":\"rex-cli\",\"request_id\":\"8b55561954484f13d872728f849ffd22\",\"tags\":[]}

fixtures/host-2376rb.api.swiftype.com-443/click_simple

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ POST /api/as/v1/engines/node-modules/click.json
22
authorization: Bearer api-hean6g8dmxnm2shqqiag757a
33
content-type: application/json
44
x-swiftype-client: elastic-app-search-javascript
5-
x-swiftype-client-version: 7.5.0
5+
x-swiftype-client-version: 7.6.0
66
accept: */*
77
accept-encoding: gzip,deflate
88
body: {\"query\":\"Cat\",\"document_id\":\"rex-cli\",\"request_id\":\"8b55561954484f13d872728f849ffd22\",\"tags\":[\"Cat\"]}

fixtures/host-2376rb.api.swiftype.com-443/disjunctive_deps_also_license

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ POST /api/as/v1/engines/node-modules/search.json
22
authorization: Bearer api-hean6g8dmxnm2shqqiag757a
33
content-type: application/json
44
x-swiftype-client: elastic-app-search-javascript
5-
x-swiftype-client-version: 7.5.0
5+
x-swiftype-client-version: 7.6.0
66
accept: */*
77
accept-encoding: gzip,deflate
88
body: {\"query\":\"cat\",\"page\":{\"size\":0},\"filters\":{\"all\":[{\"license\":\"BSD\"}]},\"facets\":{\"dependencies\":[{\"type\":\"value\",\"size\":3}]},\"analytics\":{\"tags\":[\"Facet-Only\"]}}

fixtures/host-2376rb.api.swiftype.com-443/disjunctive_deps_also_license_no_array_syntax

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ POST /api/as/v1/engines/node-modules/search.json
22
authorization: Bearer api-hean6g8dmxnm2shqqiag757a
33
content-type: application/json
44
x-swiftype-client: elastic-app-search-javascript
5-
x-swiftype-client-version: 7.5.0
5+
x-swiftype-client-version: 7.6.0
66
accept: */*
77
accept-encoding: gzip,deflate
88
body: {\"query\":\"cat\",\"page\":{\"size\":0},\"filters\":{\"all\":[{\"dependencies\":\"socket.io\"}]},\"facets\":{\"license\":{\"type\":\"value\",\"size\":3}},\"analytics\":{\"tags\":[\"Facet-Only\"]}}

fixtures/host-2376rb.api.swiftype.com-443/disjunctive_license

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ POST /api/as/v1/engines/node-modules/search.json
22
authorization: Bearer api-hean6g8dmxnm2shqqiag757a
33
content-type: application/json
44
x-swiftype-client: elastic-app-search-javascript
5-
x-swiftype-client-version: 7.5.0
5+
x-swiftype-client-version: 7.6.0
66
accept: */*
77
accept-encoding: gzip,deflate
88
body: {\"query\":\"cat\",\"page\":{\"size\":0},\"filters\":{},\"facets\":{\"license\":[{\"type\":\"value\",\"size\":3}]},\"analytics\":{\"tags\":[\"Facet-Only\"]}}

fixtures/host-2376rb.api.swiftype.com-443/disjunctive_license_also_deps

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ POST /api/as/v1/engines/node-modules/search.json
22
authorization: Bearer api-hean6g8dmxnm2shqqiag757a
33
content-type: application/json
44
x-swiftype-client: elastic-app-search-javascript
5-
x-swiftype-client-version: 7.5.0
5+
x-swiftype-client-version: 7.6.0
66
accept: */*
77
accept-encoding: gzip,deflate
88
body: {\"query\":\"cat\",\"page\":{\"size\":0},\"filters\":{\"all\":[{\"dependencies\":\"socket.io\"}]},\"facets\":{\"license\":[{\"type\":\"value\",\"size\":3}]},\"analytics\":{\"tags\":[\"Facet-Only\"]}}

fixtures/host-2376rb.api.swiftype.com-443/disjunctive_license_with_override_tags

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ POST /api/as/v1/engines/node-modules/search.json
22
authorization: Bearer api-hean6g8dmxnm2shqqiag757a
33
content-type: application/json
44
x-swiftype-client: elastic-app-search-javascript
5-
x-swiftype-client-version: 7.5.0
5+
x-swiftype-client-version: 7.6.0
66
accept: */*
77
accept-encoding: gzip,deflate
88
body: {\"query\":\"cat\",\"page\":{\"size\":0},\"filters\":{},\"facets\":{\"license\":[{\"type\":\"value\",\"size\":3}]},\"analytics\":{\"tags\":[\"FromSERP\",\"Disjunctive\"]}}

fixtures/host-2376rb.api.swiftype.com-443/multi_search

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ POST /api/as/v1/engines/node-modules/multi_search.json
22
authorization: Bearer api-hean6g8dmxnm2shqqiag757a
33
content-type: application/json
44
x-swiftype-client: elastic-app-search-javascript
5-
x-swiftype-client-version: 7.5.0
5+
x-swiftype-client-version: 7.6.0
66
accept: */*
77
accept-encoding: gzip,deflate
88
body: {\"queries\":[{\"query\":\"cat\",\"page\":{\"size\":1}},{\"query\":\"dog\"}]}

fixtures/host-2376rb.api.swiftype.com-443/multi_search_error

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ POST /api/as/v1/engines/node-modules/multi_search.json
22
authorization: Bearer api-hean6g8dmxnm2shqqiag757a
33
content-type: application/json
44
x-swiftype-client: elastic-app-search-javascript
5-
x-swiftype-client-version: 7.5.0
5+
x-swiftype-client-version: 7.6.0
66
accept: */*
77
accept-encoding: gzip,deflate
88
body: {\"queries\":[{\"query\":\"cat\",\"invalid\":\"parameter\"},{\"query\":\"dog\",\"another\":\"parameter\"}]}

fixtures/host-2376rb.api.swiftype.com-443/query_suggestion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ POST /api/as/v1/engines/node-modules/query_suggestion
22
authorization: Bearer api-hean6g8dmxnm2shqqiag757a
33
content-type: application/json
44
x-swiftype-client: elastic-app-search-javascript
5-
x-swiftype-client-version: 7.5.0
5+
x-swiftype-client-version: 7.6.0
66
accept: */*
77
accept-encoding: gzip,deflate
88
body: {\"query\":\"cat\"}

fixtures/host-2376rb.api.swiftype.com-443/query_suggestion_bad_options

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ POST /api/as/v1/engines/node-modules/query_suggestion
22
authorization: Bearer api-hean6g8dmxnm2shqqiag757a
33
content-type: application/json
44
x-swiftype-client: elastic-app-search-javascript
5-
x-swiftype-client-version: 7.5.0
5+
x-swiftype-client-version: 7.6.0
66
accept: */*
77
accept-encoding: gzip,deflate
88
body: {\"query\":\"cat\",\"bad\":\"option\"}

fixtures/host-2376rb.api.swiftype.com-443/query_suggestion_with_options

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ POST /api/as/v1/engines/node-modules/query_suggestion
22
authorization: Bearer api-hean6g8dmxnm2shqqiag757a
33
content-type: application/json
44
x-swiftype-client: elastic-app-search-javascript
5-
x-swiftype-client-version: 7.5.0
5+
x-swiftype-client-version: 7.6.0
66
accept: */*
77
accept-encoding: gzip,deflate
88
body: {\"query\":\"cat\",\"size\":3,\"types\":{\"documents\":{\"fields\":[\"name\"]}}}

fixtures/host-2376rb.api.swiftype.com-443/search_filter_and_facet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ POST /api/as/v1/engines/node-modules/search.json
22
authorization: Bearer api-hean6g8dmxnm2shqqiag757a
33
content-type: application/json
44
x-swiftype-client: elastic-app-search-javascript
5-
x-swiftype-client-version: 7.5.0
5+
x-swiftype-client-version: 7.6.0
66
accept: */*
77
accept-encoding: gzip,deflate
88
body: {\"query\":\"cat\",\"page\":{\"size\":1},\"filters\":{\"license\":[\"BSD\"]},\"facets\":{\"license\":[{\"type\":\"value\",\"size\":3}]}}

fixtures/host-2376rb.api.swiftype.com-443/search_filter_and_multi_facet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ POST /api/as/v1/engines/node-modules/search.json
22
authorization: Bearer api-hean6g8dmxnm2shqqiag757a
33
content-type: application/json
44
x-swiftype-client: elastic-app-search-javascript
5-
x-swiftype-client-version: 7.5.0
5+
x-swiftype-client-version: 7.6.0
66
accept: */*
77
accept-encoding: gzip,deflate
88
body: {\"query\":\"cat\",\"page\":{\"size\":1},\"filters\":{\"license\":\"BSD\"},\"facets\":{\"license\":[{\"type\":\"value\",\"size\":3}],\"dependencies\":[{\"type\":\"value\",\"size\":3}]}}

fixtures/host-2376rb.api.swiftype.com-443/search_filter_and_multi_facet_with_tags

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ POST /api/as/v1/engines/node-modules/search.json
22
authorization: Bearer api-hean6g8dmxnm2shqqiag757a
33
content-type: application/json
44
x-swiftype-client: elastic-app-search-javascript
5-
x-swiftype-client-version: 7.5.0
5+
x-swiftype-client-version: 7.6.0
66
accept: */*
77
accept-encoding: gzip,deflate
88
body: {\"query\":\"cat\",\"page\":{\"size\":1},\"filters\":{\"license\":\"BSD\"},\"facets\":{\"license\":[{\"type\":\"value\",\"size\":3}],\"dependencies\":[{\"type\":\"value\",\"size\":3}]},\"analytics\":{\"tags\":[\"SERP\"]}}

fixtures/host-2376rb.api.swiftype.com-443/search_grouped

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ POST /api/as/v1/engines/node-modules/search.json
22
authorization: Bearer api-hean6g8dmxnm2shqqiag757a
33
content-type: application/json
44
x-swiftype-client: elastic-app-search-javascript
5-
x-swiftype-client-version: 7.5.0
5+
x-swiftype-client-version: 7.6.0
66
accept: */*
77
accept-encoding: gzip,deflate
88
body: {\"query\":\"cat\",\"page\":{\"size\":1},\"group\":{\"field\":\"license\"}}

fixtures/host-2376rb.api.swiftype.com-443/search_missing_query

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ POST /api/as/v1/engines/node-modules/search.json
22
authorization: Bearer api-hean6g8dmxnm2shqqiag757a
33
content-type: application/json
44
x-swiftype-client: elastic-app-search-javascript
5-
x-swiftype-client-version: 7.5.0
5+
x-swiftype-client-version: 7.6.0
66
accept: */*
77
accept-encoding: gzip,deflate
88
body: {}

fixtures/host-2376rb.api.swiftype.com-443/search_multi_facet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ POST /api/as/v1/engines/node-modules/search.json
22
authorization: Bearer api-hean6g8dmxnm2shqqiag757a
33
content-type: application/json
44
x-swiftype-client: elastic-app-search-javascript
5-
x-swiftype-client-version: 7.5.0
5+
x-swiftype-client-version: 7.6.0
66
accept: */*
77
accept-encoding: gzip,deflate
88
body: {\"query\":\"cat\",\"page\":{\"size\":1},\"facets\":{\"license\":[{\"type\":\"value\",\"size\":3}],\"dependencies\":[{\"type\":\"value\",\"size\":3}]}}

fixtures/host-2376rb.api.swiftype.com-443/search_multi_filter_multi_facet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ POST /api/as/v1/engines/node-modules/search.json
22
authorization: Bearer api-hean6g8dmxnm2shqqiag757a
33
content-type: application/json
44
x-swiftype-client: elastic-app-search-javascript
5-
x-swiftype-client-version: 7.5.0
5+
x-swiftype-client-version: 7.6.0
66
accept: */*
77
accept-encoding: gzip,deflate
88
body: {\"query\":\"cat\",\"page\":{\"size\":1},\"filters\":{\"all\":[{\"license\":\"BSD\"},{\"dependencies\":\"socket.io\"}]},\"facets\":{\"license\":[{\"type\":\"value\",\"size\":3}],\"dependencies\":[{\"type\":\"value\",\"size\":3}]}}

fixtures/host-2376rb.api.swiftype.com-443/search_multi_filter_multi_facet_no_array_syntax

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ POST /api/as/v1/engines/node-modules/search.json
22
authorization: Bearer api-hean6g8dmxnm2shqqiag757a
33
content-type: application/json
44
x-swiftype-client: elastic-app-search-javascript
5-
x-swiftype-client-version: 7.5.0
5+
x-swiftype-client-version: 7.6.0
66
accept: */*
77
accept-encoding: gzip,deflate
88
body: {\"query\":\"cat\",\"page\":{\"size\":1},\"filters\":{\"all\":[{\"license\":\"BSD\"},{\"dependencies\":\"socket.io\"}]},\"facets\":{\"license\":{\"type\":\"value\",\"size\":3},\"dependencies\":[{\"type\":\"value\",\"size\":3}]}}

fixtures/host-2376rb.api.swiftype.com-443/search_simple

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ POST /api/as/v1/engines/node-modules/search.json
22
authorization: Bearer api-hean6g8dmxnm2shqqiag757a
33
content-type: application/json
44
x-swiftype-client: elastic-app-search-javascript
5-
x-swiftype-client-version: 7.5.0
5+
x-swiftype-client-version: 7.6.0
66
accept: */*
77
accept-encoding: gzip,deflate
88
body: {\"query\":\"cat\"}

fixtures/host-2376rb.api.swiftype.com-443/search_with_license_facet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ POST /api/as/v1/engines/node-modules/search.json
22
authorization: Bearer api-hean6g8dmxnm2shqqiag757a
33
content-type: application/json
44
x-swiftype-client: elastic-app-search-javascript
5-
x-swiftype-client-version: 7.5.0
5+
x-swiftype-client-version: 7.6.0
66
accept: */*
77
accept-encoding: gzip,deflate
88
body: {\"query\":\"cat\",\"page\":{\"size\":1},\"filters\":{},\"facets\":{\"license\":[{\"type\":\"value\",\"size\":3}]}}

fixtures/localhost.swiftype.com-3002/localhost_search

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ POST /api/as/v1/engines/node-modules/search.json
22
authorization: Bearer api-hean6g8dmxnm2shqqiag757a
33
content-type: application/json
44
x-swiftype-client: elastic-app-search-javascript
5-
x-swiftype-client-version: 7.5.0
5+
x-swiftype-client-version: 7.6.0
66
accept: */*
77
accept-encoding: gzip,deflate
88
body: {\"query\":\"cat\"}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@elastic/app-search-javascript",
3-
"version": "7.5.0",
3+
"version": "7.6.0",
44
"description": "Javascript client for the Elastic App Search Api",
55
"browser": "dist/elastic_app_search.umd.js",
66
"main": "dist/elastic_app_search.umd.js",

0 commit comments

Comments
 (0)