Skip to content

Commit

Permalink
chore: release v3.8.0 (#2349)
Browse files Browse the repository at this point in the history
  • Loading branch information
millotp authored Nov 12, 2024
1 parent 08d9a37 commit 8e419a0
Show file tree
Hide file tree
Showing 10 changed files with 42 additions and 26 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# [3.8.0](https://github.com/algolia/docsearch/compare/v3.7.0...v3.8.0) (2024-11-12)

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.
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.

### Bug Fixes

* **types:** use a minimal type for transformSearchClient ([#2348](https://github.com/algolia/docsearch/issues/2348)) ([08d9a37](https://github.com/algolia/docsearch/commit/08d9a37807a136da99ca2dd39f4cbc86ade9c5bf))


### Features

* **a11y:** add hotkeys to search input aria-label ([#2337](https://github.com/algolia/docsearch/issues/2337)) ([44aa7dc](https://github.com/algolia/docsearch/commit/44aa7dcf3831b533d9546c95a916d6acdee9d6d8))



# [3.7.0](https://github.com/algolia/docsearch/compare/v3.6.3...v3.7.0) (2024-11-04)


Expand Down
6 changes: 3 additions & 3 deletions examples/demo/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@docsearch/react-example",
"description": "DocSearch v3 React example",
"version": "3.7.0",
"version": "3.8.0",
"private": true,
"license": "MIT",
"type": "module",
Expand All @@ -11,8 +11,8 @@
"preview": "vite preview"
},
"dependencies": {
"@docsearch/css": "3.7.0",
"@docsearch/react": "3.7.0",
"@docsearch/css": "3.8.0",
"@docsearch/react": "3.8.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
Expand Down
6 changes: 3 additions & 3 deletions examples/js-demo/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@docsearch/js-example",
"description": "DocSearch v3 Vanilla JavaScript example",
"version": "3.7.0",
"version": "3.8.0",
"private": true,
"license": "MIT",
"scripts": {
Expand All @@ -10,8 +10,8 @@
"preview": "vite preview"
},
"dependencies": {
"@docsearch/css": "3.7.0",
"@docsearch/js": "3.7.0"
"@docsearch/css": "3.8.0",
"@docsearch/js": "3.8.0"
},
"devDependencies": {
"vite": "^5.4.10"
Expand Down
4 changes: 2 additions & 2 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"packages/*",
"examples/*"
],
"version": "3.7.0",
"version": "3.8.0",
"npmClient": "yarn"
}
}
2 changes: 1 addition & 1 deletion packages/docsearch-css/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@docsearch/css",
"description": "Styles for DocSearch.",
"version": "3.7.0",
"version": "3.8.0",
"license": "MIT",
"homepage": "https://docsearch.algolia.com",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions packages/docsearch-js/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@docsearch/js",
"description": "JavaScript package for DocSearch, the best search experience for docs.",
"version": "3.7.0",
"version": "3.8.0",
"license": "MIT",
"homepage": "https://docsearch.algolia.com",
"repository": {
Expand Down Expand Up @@ -32,7 +32,7 @@
"watch": "watch \"yarn on:change\" --ignoreDirectoryPattern \"/dist/\""
},
"dependencies": {
"@docsearch/react": "3.7.0",
"@docsearch/react": "3.8.0",
"preact": "^10.0.0"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/docsearch-react/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@docsearch/react",
"description": "React package for DocSearch, the best search experience for docs.",
"version": "3.7.0",
"version": "3.8.0",
"license": "MIT",
"homepage": "https://docsearch.algolia.com",
"repository": {
Expand Down Expand Up @@ -37,7 +37,7 @@
"dependencies": {
"@algolia/autocomplete-core": "1.17.7",
"@algolia/autocomplete-preset-algolia": "1.17.7",
"@docsearch/css": "3.7.0",
"@docsearch/css": "3.8.0",
"algoliasearch": "^5.12.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/docsearch-react/src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = '3.7.0';
export const version = '3.8.0';
4 changes: 2 additions & 2 deletions packages/website/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@docsearch/website",
"version": "3.7.0",
"version": "3.8.0",
"private": true,
"homepage": "https://docsearch.algolia.com/",
"scripts": {
Expand All @@ -17,7 +17,7 @@
},
"dependencies": {
"@algolia/ui-library": "5.86.0",
"@docsearch/react": "3.7.0",
"@docsearch/react": "3.8.0",
"@docusaurus/core": "3.6.1",
"@docusaurus/preset-classic": "3.6.1",
"@mdx-js/react": "^3.1.0",
Expand Down
20 changes: 10 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2232,7 +2232,7 @@ __metadata:
languageName: node
linkType: hard

"@docsearch/css@npm:3.7.0, @docsearch/css@workspace:packages/docsearch-css":
"@docsearch/css@npm:3.8.0, @docsearch/css@workspace:packages/docsearch-css":
version: 0.0.0-use.local
resolution: "@docsearch/css@workspace:packages/docsearch-css"
languageName: unknown
Expand All @@ -2242,17 +2242,17 @@ __metadata:
version: 0.0.0-use.local
resolution: "@docsearch/js-example@workspace:examples/js-demo"
dependencies:
"@docsearch/css": "npm:3.7.0"
"@docsearch/js": "npm:3.7.0"
"@docsearch/css": "npm:3.8.0"
"@docsearch/js": "npm:3.8.0"
vite: "npm:^5.4.10"
languageName: unknown
linkType: soft

"@docsearch/js@npm:3.7.0, @docsearch/js@workspace:packages/docsearch-js":
"@docsearch/js@npm:3.8.0, @docsearch/js@workspace:packages/docsearch-js":
version: 0.0.0-use.local
resolution: "@docsearch/js@workspace:packages/docsearch-js"
dependencies:
"@docsearch/react": "npm:3.7.0"
"@docsearch/react": "npm:3.8.0"
"@rollup/plugin-replace": "npm:6.0.1"
preact: "npm:^10.0.0"
languageName: unknown
Expand Down Expand Up @@ -2320,22 +2320,22 @@ __metadata:
version: 0.0.0-use.local
resolution: "@docsearch/react-example@workspace:examples/demo"
dependencies:
"@docsearch/css": "npm:3.7.0"
"@docsearch/react": "npm:3.7.0"
"@docsearch/css": "npm:3.8.0"
"@docsearch/react": "npm:3.8.0"
"@vitejs/plugin-react": "npm:^4.3.3"
react: "npm:^18.0.0"
react-dom: "npm:^18.0.0"
vite: "npm:^5.4.10"
languageName: unknown
linkType: soft

"@docsearch/react@npm:3.7.0, @docsearch/react@npm:^3.5.2, @docsearch/react@workspace:packages/docsearch-react":
"@docsearch/react@npm:3.8.0, @docsearch/react@npm:^3.5.2, @docsearch/react@workspace:packages/docsearch-react":
version: 0.0.0-use.local
resolution: "@docsearch/react@workspace:packages/docsearch-react"
dependencies:
"@algolia/autocomplete-core": "npm:1.17.7"
"@algolia/autocomplete-preset-algolia": "npm:1.17.7"
"@docsearch/css": "npm:3.7.0"
"@docsearch/css": "npm:3.8.0"
"@rollup/plugin-replace": "npm:6.0.1"
"@testing-library/jest-dom": "npm:6.6.3"
"@testing-library/react": "npm:16.0.1"
Expand Down Expand Up @@ -2363,7 +2363,7 @@ __metadata:
resolution: "@docsearch/website@workspace:packages/website"
dependencies:
"@algolia/ui-library": "npm:5.86.0"
"@docsearch/react": "npm:3.7.0"
"@docsearch/react": "npm:3.8.0"
"@docusaurus/core": "npm:3.6.1"
"@docusaurus/preset-classic": "npm:3.6.1"
"@mdx-js/react": "npm:^3.1.0"
Expand Down

0 comments on commit 8e419a0

Please sign in to comment.