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\"]}}

0 commit comments

Comments
 (0)