Skip to content

Commit 8e419a0

Browse files
authored
chore: release v3.8.0 (#2349)
1 parent 08d9a37 commit 8e419a0

File tree

10 files changed

+42
-26
lines changed

10 files changed

+42
-26
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# [3.8.0](https://github.com/algolia/docsearch/compare/v3.7.0...v3.8.0) (2024-11-12)
2+
3+
This version introduces a new type [DocSearchTransformClient](https://github.com/algolia/docsearch/blob/main/packages/docsearch-react/src/DocSearch.tsx#L19) to allow the `transformSearchClient` to use either the lite client, or the full algoliasearch client.
4+
Users are encouraged to use the [lite client](https://www.algolia.com/doc/libraries/javascript/v5/methods/search/) (`import { liteClient } from 'algoliasearch/lite`) to reduce bundle size.
5+
6+
### Bug Fixes
7+
8+
* **types:** use a minimal type for transformSearchClient ([#2348](https://github.com/algolia/docsearch/issues/2348)) ([08d9a37](https://github.com/algolia/docsearch/commit/08d9a37807a136da99ca2dd39f4cbc86ade9c5bf))
9+
10+
11+
### Features
12+
13+
* **a11y:** add hotkeys to search input aria-label ([#2337](https://github.com/algolia/docsearch/issues/2337)) ([44aa7dc](https://github.com/algolia/docsearch/commit/44aa7dcf3831b533d9546c95a916d6acdee9d6d8))
14+
15+
16+
117
# [3.7.0](https://github.com/algolia/docsearch/compare/v3.6.3...v3.7.0) (2024-11-04)
218

319

examples/demo/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@docsearch/react-example",
33
"description": "DocSearch v3 React example",
4-
"version": "3.7.0",
4+
"version": "3.8.0",
55
"private": true,
66
"license": "MIT",
77
"type": "module",
@@ -11,8 +11,8 @@
1111
"preview": "vite preview"
1212
},
1313
"dependencies": {
14-
"@docsearch/css": "3.7.0",
15-
"@docsearch/react": "3.7.0",
14+
"@docsearch/css": "3.8.0",
15+
"@docsearch/react": "3.8.0",
1616
"react": "^18.0.0",
1717
"react-dom": "^18.0.0"
1818
},

examples/js-demo/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@docsearch/js-example",
33
"description": "DocSearch v3 Vanilla JavaScript example",
4-
"version": "3.7.0",
4+
"version": "3.8.0",
55
"private": true,
66
"license": "MIT",
77
"scripts": {
@@ -10,8 +10,8 @@
1010
"preview": "vite preview"
1111
},
1212
"dependencies": {
13-
"@docsearch/css": "3.7.0",
14-
"@docsearch/js": "3.7.0"
13+
"@docsearch/css": "3.8.0",
14+
"@docsearch/js": "3.8.0"
1515
},
1616
"devDependencies": {
1717
"vite": "^5.4.10"

lerna.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"packages/*",
44
"examples/*"
55
],
6-
"version": "3.7.0",
6+
"version": "3.8.0",
77
"npmClient": "yarn"
8-
}
8+
}

packages/docsearch-css/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@docsearch/css",
33
"description": "Styles for DocSearch.",
4-
"version": "3.7.0",
4+
"version": "3.8.0",
55
"license": "MIT",
66
"homepage": "https://docsearch.algolia.com",
77
"repository": {

packages/docsearch-js/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@docsearch/js",
33
"description": "JavaScript package for DocSearch, the best search experience for docs.",
4-
"version": "3.7.0",
4+
"version": "3.8.0",
55
"license": "MIT",
66
"homepage": "https://docsearch.algolia.com",
77
"repository": {
@@ -32,7 +32,7 @@
3232
"watch": "watch \"yarn on:change\" --ignoreDirectoryPattern \"/dist/\""
3333
},
3434
"dependencies": {
35-
"@docsearch/react": "3.7.0",
35+
"@docsearch/react": "3.8.0",
3636
"preact": "^10.0.0"
3737
},
3838
"devDependencies": {

packages/docsearch-react/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@docsearch/react",
33
"description": "React package for DocSearch, the best search experience for docs.",
4-
"version": "3.7.0",
4+
"version": "3.8.0",
55
"license": "MIT",
66
"homepage": "https://docsearch.algolia.com",
77
"repository": {
@@ -37,7 +37,7 @@
3737
"dependencies": {
3838
"@algolia/autocomplete-core": "1.17.7",
3939
"@algolia/autocomplete-preset-algolia": "1.17.7",
40-
"@docsearch/css": "3.7.0",
40+
"@docsearch/css": "3.8.0",
4141
"algoliasearch": "^5.12.0"
4242
},
4343
"devDependencies": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const version = '3.7.0';
1+
export const version = '3.8.0';

packages/website/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@docsearch/website",
3-
"version": "3.7.0",
3+
"version": "3.8.0",
44
"private": true,
55
"homepage": "https://docsearch.algolia.com/",
66
"scripts": {
@@ -17,7 +17,7 @@
1717
},
1818
"dependencies": {
1919
"@algolia/ui-library": "5.86.0",
20-
"@docsearch/react": "3.7.0",
20+
"@docsearch/react": "3.8.0",
2121
"@docusaurus/core": "3.6.1",
2222
"@docusaurus/preset-classic": "3.6.1",
2323
"@mdx-js/react": "^3.1.0",

yarn.lock

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2232,7 +2232,7 @@ __metadata:
22322232
languageName: node
22332233
linkType: hard
22342234

2235-
"@docsearch/css@npm:3.7.0, @docsearch/css@workspace:packages/docsearch-css":
2235+
"@docsearch/css@npm:3.8.0, @docsearch/css@workspace:packages/docsearch-css":
22362236
version: 0.0.0-use.local
22372237
resolution: "@docsearch/css@workspace:packages/docsearch-css"
22382238
languageName: unknown
@@ -2242,17 +2242,17 @@ __metadata:
22422242
version: 0.0.0-use.local
22432243
resolution: "@docsearch/js-example@workspace:examples/js-demo"
22442244
dependencies:
2245-
"@docsearch/css": "npm:3.7.0"
2246-
"@docsearch/js": "npm:3.7.0"
2245+
"@docsearch/css": "npm:3.8.0"
2246+
"@docsearch/js": "npm:3.8.0"
22472247
vite: "npm:^5.4.10"
22482248
languageName: unknown
22492249
linkType: soft
22502250

2251-
"@docsearch/js@npm:3.7.0, @docsearch/js@workspace:packages/docsearch-js":
2251+
"@docsearch/js@npm:3.8.0, @docsearch/js@workspace:packages/docsearch-js":
22522252
version: 0.0.0-use.local
22532253
resolution: "@docsearch/js@workspace:packages/docsearch-js"
22542254
dependencies:
2255-
"@docsearch/react": "npm:3.7.0"
2255+
"@docsearch/react": "npm:3.8.0"
22562256
"@rollup/plugin-replace": "npm:6.0.1"
22572257
preact: "npm:^10.0.0"
22582258
languageName: unknown
@@ -2320,22 +2320,22 @@ __metadata:
23202320
version: 0.0.0-use.local
23212321
resolution: "@docsearch/react-example@workspace:examples/demo"
23222322
dependencies:
2323-
"@docsearch/css": "npm:3.7.0"
2324-
"@docsearch/react": "npm:3.7.0"
2323+
"@docsearch/css": "npm:3.8.0"
2324+
"@docsearch/react": "npm:3.8.0"
23252325
"@vitejs/plugin-react": "npm:^4.3.3"
23262326
react: "npm:^18.0.0"
23272327
react-dom: "npm:^18.0.0"
23282328
vite: "npm:^5.4.10"
23292329
languageName: unknown
23302330
linkType: soft
23312331

2332-
"@docsearch/react@npm:3.7.0, @docsearch/react@npm:^3.5.2, @docsearch/react@workspace:packages/docsearch-react":
2332+
"@docsearch/react@npm:3.8.0, @docsearch/react@npm:^3.5.2, @docsearch/react@workspace:packages/docsearch-react":
23332333
version: 0.0.0-use.local
23342334
resolution: "@docsearch/react@workspace:packages/docsearch-react"
23352335
dependencies:
23362336
"@algolia/autocomplete-core": "npm:1.17.7"
23372337
"@algolia/autocomplete-preset-algolia": "npm:1.17.7"
2338-
"@docsearch/css": "npm:3.7.0"
2338+
"@docsearch/css": "npm:3.8.0"
23392339
"@rollup/plugin-replace": "npm:6.0.1"
23402340
"@testing-library/jest-dom": "npm:6.6.3"
23412341
"@testing-library/react": "npm:16.0.1"
@@ -2363,7 +2363,7 @@ __metadata:
23632363
resolution: "@docsearch/website@workspace:packages/website"
23642364
dependencies:
23652365
"@algolia/ui-library": "npm:5.86.0"
2366-
"@docsearch/react": "npm:3.7.0"
2366+
"@docsearch/react": "npm:3.8.0"
23672367
"@docusaurus/core": "npm:3.6.1"
23682368
"@docusaurus/preset-classic": "npm:3.6.1"
23692369
"@mdx-js/react": "npm:^3.1.0"

0 commit comments

Comments
 (0)