chore: release v5.0.0-beta.2 (#2950)
This commit is contained in:
parent
c4dd1c0363
commit
c7e1a8824e
19 changed files with 251 additions and 24 deletions
|
|
@ -16,6 +16,9 @@
|
|||
"@docsearch/website": "4.6.0"
|
||||
},
|
||||
"changesets": [
|
||||
"better-cars-smell",
|
||||
"brave-things-join",
|
||||
"ready-clubs-serve",
|
||||
"sharp-donkeys-search",
|
||||
"tidy-moons-argue",
|
||||
"vast-numbers-read"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,50 @@
|
|||
# @docsearch/docusaurus-adapter
|
||||
|
||||
## 5.0.0-beta.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 5eac1fd: feat(v5): General UI styling updates and fixes
|
||||
|
||||
- New `--docsearch-font-family` variable, used by the search button, keyboard
|
||||
keys, modal, and sidepanel. It replaces the system font stacks that were
|
||||
duplicated across `sidepanel.css` and `button.css`, so overriding one
|
||||
variable now themes every DocSearch surface
|
||||
- The search input and modal heading are `1rem` at every breakpoint
|
||||
(previously `0.875rem` with a mobile-only override)
|
||||
- `.DocSearch-Title` uses `line-height: 1.5em` instead of `0.5em` and adds
|
||||
`overflow-wrap: anywhere`, so long titles wrap instead of overlapping (#2908)
|
||||
- Hit icon `svg` sizing moved into `.DocSearch-Hit-icon`. The
|
||||
`.DocSearch-Hit-icon--small` modifier is replaced by
|
||||
`.DocSearch-Hit-icon--start`, which top-aligns the icon; recent
|
||||
conversations use it
|
||||
- The Ask AI button icon centers with `display: inline-flex` instead of
|
||||
`margin-block-start`/`align-self` overrides
|
||||
- Removed the 2px offset on the Ask AI sources action text
|
||||
- `SourcesPanel` accepts `pluralTitleText`. `titleText` is now the singular
|
||||
label, and the trigger renders `{count} {label}`
|
||||
- `AskAiScreenTranslations` and `ConversationScreenTranslations` expose
|
||||
`relatedSourcesTextPlural`
|
||||
- Docusaurus adapter: `theme.SearchModal.askAiScreen.relatedSourcesText` is
|
||||
now the singular "Source", and the new
|
||||
`theme.SearchModal.askAiScreen.relatedSourcesTextPlural` provides "Sources"
|
||||
|
||||
- 4f6b5b1: feat(v5): UI and DX updates
|
||||
|
||||
- Rename the Ask AI assistantId option to agentId (adapter theme.SearchModal.askAi.assistantId → agentId)
|
||||
- appId and apiKey moved up into @docsearch/core, so they're configured once and shared
|
||||
- Removed the indexName prop from the Sidepanel
|
||||
- Facet defaults can now be read from the index searchParameters
|
||||
- Restored nested grouping of search results
|
||||
|
||||
- Updated dependencies [5eac1fd]
|
||||
- Updated dependencies [4f6b5b1]
|
||||
- Updated dependencies [9fe6738]
|
||||
- @docsearch/react@5.0.0-beta.2
|
||||
- @docsearch/sidepanel@5.0.0-beta.2
|
||||
- @docsearch/modal@5.0.0-beta.2
|
||||
- @docsearch/core@5.0.0-beta.2
|
||||
|
||||
## 5.0.0-beta.1
|
||||
|
||||
### Patch Changes
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@docsearch/docusaurus-adapter",
|
||||
"version": "5.0.0-beta.1",
|
||||
"version": "5.0.0-beta.2",
|
||||
"description": "Algolia search component for Docusaurus.",
|
||||
"main": "lib/index.js",
|
||||
"sideEffects": [
|
||||
|
|
|
|||
|
|
@ -10,9 +10,9 @@
|
|||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"@docsearch/css": "5.0.0-beta.1",
|
||||
"@docsearch/js": "5.0.0-beta.1",
|
||||
"@docsearch/sidepanel-js": "5.0.0-beta.1"
|
||||
"@docsearch/css": "5.0.0-beta.2",
|
||||
"@docsearch/js": "5.0.0-beta.2",
|
||||
"@docsearch/sidepanel-js": "5.0.0-beta.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"vite": "^6.0.7"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,17 @@
|
|||
# @docsearch/core
|
||||
|
||||
## 5.0.0-beta.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 4f6b5b1: feat(v5): UI and DX updates
|
||||
|
||||
- Rename the Ask AI assistantId option to agentId (adapter theme.SearchModal.askAi.assistantId → agentId)
|
||||
- appId and apiKey moved up into @docsearch/core, so they're configured once and shared
|
||||
- Removed the indexName prop from the Sidepanel
|
||||
- Facet defaults can now be read from the index searchParameters
|
||||
- Restored nested grouping of search results
|
||||
|
||||
## 5.0.0-beta.1
|
||||
|
||||
## 5.0.0-beta.0
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@docsearch/core",
|
||||
"description": "Core package logic for DocSearch",
|
||||
"version": "5.0.0-beta.1",
|
||||
"version": "5.0.0-beta.2",
|
||||
"license": "MIT",
|
||||
"type": "module",
|
||||
"homepage": "https://docsearch.algolia.com",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,53 @@
|
|||
# @docsearch/css
|
||||
|
||||
## 5.0.0-beta.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 5eac1fd: feat(v5): General UI styling updates and fixes
|
||||
|
||||
- New `--docsearch-font-family` variable, used by the search button, keyboard
|
||||
keys, modal, and sidepanel. It replaces the system font stacks that were
|
||||
duplicated across `sidepanel.css` and `button.css`, so overriding one
|
||||
variable now themes every DocSearch surface
|
||||
- The search input and modal heading are `1rem` at every breakpoint
|
||||
(previously `0.875rem` with a mobile-only override)
|
||||
- `.DocSearch-Title` uses `line-height: 1.5em` instead of `0.5em` and adds
|
||||
`overflow-wrap: anywhere`, so long titles wrap instead of overlapping (#2908)
|
||||
- Hit icon `svg` sizing moved into `.DocSearch-Hit-icon`. The
|
||||
`.DocSearch-Hit-icon--small` modifier is replaced by
|
||||
`.DocSearch-Hit-icon--start`, which top-aligns the icon; recent
|
||||
conversations use it
|
||||
- The Ask AI button icon centers with `display: inline-flex` instead of
|
||||
`margin-block-start`/`align-self` overrides
|
||||
- Removed the 2px offset on the Ask AI sources action text
|
||||
- `SourcesPanel` accepts `pluralTitleText`. `titleText` is now the singular
|
||||
label, and the trigger renders `{count} {label}`
|
||||
- `AskAiScreenTranslations` and `ConversationScreenTranslations` expose
|
||||
`relatedSourcesTextPlural`
|
||||
- Docusaurus adapter: `theme.SearchModal.askAiScreen.relatedSourcesText` is
|
||||
now the singular "Source", and the new
|
||||
`theme.SearchModal.askAiScreen.relatedSourcesTextPlural` provides "Sources"
|
||||
|
||||
- 9fe6738: fix(askai): Ask AI fixes for v5
|
||||
|
||||
- `getMessageContent` now joins every assistant text part instead of stopping
|
||||
at the first one, so copying an answer that interleaves text with tool calls
|
||||
returns the complete response (#2782)
|
||||
- Key Ask AI conversation storage by `appId` instead of `indexName`, fixes
|
||||
triggering a new conversation in hybrid mode
|
||||
- Negative feedback panel is labelled with `aria-labelledby` and reason chips
|
||||
expose selection via `aria-pressed` (styling moved off the
|
||||
`--selected` modifier)
|
||||
- `Popover.Trigger` forwards refs, fixes sources panel not showing in some cases
|
||||
- Add `--docsearch-error-soft-color`, `--docsearch-error-text-color`, and
|
||||
`--docsearch-code-block-background` variables; restyle the Ask AI error panel
|
||||
and markdown code blocks to use them
|
||||
|
||||
```
|
||||
|
||||
```
|
||||
|
||||
## 5.0.0-beta.1
|
||||
|
||||
### Patch Changes
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@docsearch/css",
|
||||
"description": "Styles for DocSearch.",
|
||||
"version": "5.0.0-beta.1",
|
||||
"version": "5.0.0-beta.2",
|
||||
"license": "MIT",
|
||||
"homepage": "https://docsearch.algolia.com",
|
||||
"repository": {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,15 @@
|
|||
# @docsearch/js
|
||||
|
||||
## 5.0.0-beta.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [5eac1fd]
|
||||
- Updated dependencies [4f6b5b1]
|
||||
- Updated dependencies [9fe6738]
|
||||
- @docsearch/react@5.0.0-beta.2
|
||||
- @docsearch/core@5.0.0-beta.2
|
||||
|
||||
## 5.0.0-beta.1
|
||||
|
||||
### Patch Changes
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@docsearch/js",
|
||||
"description": "JavaScript package for DocSearch, the best search experience for docs.",
|
||||
"version": "5.0.0-beta.1",
|
||||
"version": "5.0.0-beta.2",
|
||||
"license": "MIT",
|
||||
"homepage": "https://docsearch.algolia.com",
|
||||
"repository": {
|
||||
|
|
@ -33,8 +33,8 @@
|
|||
"watch": "tsdown --watch"
|
||||
},
|
||||
"dependencies": {
|
||||
"@docsearch/core": "5.0.0-beta.1",
|
||||
"@docsearch/react": "5.0.0-beta.1"
|
||||
"@docsearch/core": "5.0.0-beta.2",
|
||||
"@docsearch/react": "5.0.0-beta.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"htm": "3.1.1",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,23 @@
|
|||
# @docsearch/modal
|
||||
|
||||
## 5.0.0-beta.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 4f6b5b1: feat(v5): UI and DX updates
|
||||
|
||||
- Rename the Ask AI assistantId option to agentId (adapter theme.SearchModal.askAi.assistantId → agentId)
|
||||
- appId and apiKey moved up into @docsearch/core, so they're configured once and shared
|
||||
- Removed the indexName prop from the Sidepanel
|
||||
- Facet defaults can now be read from the index searchParameters
|
||||
- Restored nested grouping of search results
|
||||
|
||||
- Updated dependencies [5eac1fd]
|
||||
- Updated dependencies [4f6b5b1]
|
||||
- Updated dependencies [9fe6738]
|
||||
- @docsearch/react@5.0.0-beta.2
|
||||
- @docsearch/core@5.0.0-beta.2
|
||||
|
||||
## 5.0.0-beta.1
|
||||
|
||||
### Patch Changes
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@docsearch/modal",
|
||||
"description": "DocSearch modal package for keyword search and Ask AI.",
|
||||
"version": "5.0.0-beta.1",
|
||||
"version": "5.0.0-beta.2",
|
||||
"license": "MIT",
|
||||
"homepage": "https://docsearch.algolia.com",
|
||||
"repository": {
|
||||
|
|
@ -35,8 +35,8 @@
|
|||
"watch": "tsdown --watch"
|
||||
},
|
||||
"dependencies": {
|
||||
"@docsearch/core": "5.0.0-beta.1",
|
||||
"@docsearch/react": "5.0.0-beta.1"
|
||||
"@docsearch/core": "5.0.0-beta.2",
|
||||
"@docsearch/react": "5.0.0-beta.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@testing-library/jest-dom": "6.6.3",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,67 @@
|
|||
# @docsearch/react
|
||||
|
||||
## 5.0.0-beta.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 5eac1fd: feat(v5): General UI styling updates and fixes
|
||||
|
||||
- New `--docsearch-font-family` variable, used by the search button, keyboard
|
||||
keys, modal, and sidepanel. It replaces the system font stacks that were
|
||||
duplicated across `sidepanel.css` and `button.css`, so overriding one
|
||||
variable now themes every DocSearch surface
|
||||
- The search input and modal heading are `1rem` at every breakpoint
|
||||
(previously `0.875rem` with a mobile-only override)
|
||||
- `.DocSearch-Title` uses `line-height: 1.5em` instead of `0.5em` and adds
|
||||
`overflow-wrap: anywhere`, so long titles wrap instead of overlapping (#2908)
|
||||
- Hit icon `svg` sizing moved into `.DocSearch-Hit-icon`. The
|
||||
`.DocSearch-Hit-icon--small` modifier is replaced by
|
||||
`.DocSearch-Hit-icon--start`, which top-aligns the icon; recent
|
||||
conversations use it
|
||||
- The Ask AI button icon centers with `display: inline-flex` instead of
|
||||
`margin-block-start`/`align-self` overrides
|
||||
- Removed the 2px offset on the Ask AI sources action text
|
||||
- `SourcesPanel` accepts `pluralTitleText`. `titleText` is now the singular
|
||||
label, and the trigger renders `{count} {label}`
|
||||
- `AskAiScreenTranslations` and `ConversationScreenTranslations` expose
|
||||
`relatedSourcesTextPlural`
|
||||
- Docusaurus adapter: `theme.SearchModal.askAiScreen.relatedSourcesText` is
|
||||
now the singular "Source", and the new
|
||||
`theme.SearchModal.askAiScreen.relatedSourcesTextPlural` provides "Sources"
|
||||
|
||||
- 4f6b5b1: feat(v5): UI and DX updates
|
||||
|
||||
- Rename the Ask AI assistantId option to agentId (adapter theme.SearchModal.askAi.assistantId → agentId)
|
||||
- appId and apiKey moved up into @docsearch/core, so they're configured once and shared
|
||||
- Removed the indexName prop from the Sidepanel
|
||||
- Facet defaults can now be read from the index searchParameters
|
||||
- Restored nested grouping of search results
|
||||
|
||||
- 9fe6738: fix(askai): Ask AI fixes for v5
|
||||
|
||||
- `getMessageContent` now joins every assistant text part instead of stopping
|
||||
at the first one, so copying an answer that interleaves text with tool calls
|
||||
returns the complete response (#2782)
|
||||
- Key Ask AI conversation storage by `appId` instead of `indexName`, fixes
|
||||
triggering a new conversation in hybrid mode
|
||||
- Negative feedback panel is labelled with `aria-labelledby` and reason chips
|
||||
expose selection via `aria-pressed` (styling moved off the
|
||||
`--selected` modifier)
|
||||
- `Popover.Trigger` forwards refs, fixes sources panel not showing in some cases
|
||||
- Add `--docsearch-error-soft-color`, `--docsearch-error-text-color`, and
|
||||
`--docsearch-code-block-background` variables; restyle the Ask AI error panel
|
||||
and markdown code blocks to use them
|
||||
|
||||
```
|
||||
|
||||
```
|
||||
|
||||
- Updated dependencies [5eac1fd]
|
||||
- Updated dependencies [4f6b5b1]
|
||||
- Updated dependencies [9fe6738]
|
||||
- @docsearch/css@5.0.0-beta.2
|
||||
- @docsearch/core@5.0.0-beta.2
|
||||
|
||||
## 5.0.0-beta.1
|
||||
|
||||
### Patch Changes
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@docsearch/react",
|
||||
"description": "React package for DocSearch, the best search experience for docs.",
|
||||
"version": "5.0.0-beta.1",
|
||||
"version": "5.0.0-beta.2",
|
||||
"license": "MIT",
|
||||
"homepage": "https://docsearch.algolia.com",
|
||||
"repository": {
|
||||
|
|
@ -50,8 +50,8 @@
|
|||
"@ai-sdk/react": "^2.0.30",
|
||||
"@algolia/autocomplete-core": "1.19.2",
|
||||
"@base-ui/react": "^1.5.0",
|
||||
"@docsearch/core": "5.0.0-beta.1",
|
||||
"@docsearch/css": "5.0.0-beta.1",
|
||||
"@docsearch/core": "5.0.0-beta.2",
|
||||
"@docsearch/css": "5.0.0-beta.2",
|
||||
"ai": "^5.0.30",
|
||||
"algoliasearch": "^5.28.0",
|
||||
"marked": "^16.3.0",
|
||||
|
|
@ -59,7 +59,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@algolia/autocomplete-core": "1.19.2",
|
||||
"@docsearch/core": "5.0.0-beta.1",
|
||||
"@docsearch/core": "5.0.0-beta.2",
|
||||
"@testing-library/jest-dom": "6.6.3",
|
||||
"@testing-library/react": "16.2.0",
|
||||
"preact": "11.0.0-beta.0",
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
export const version = '5.0.0-beta.0';
|
||||
export const version = '5.0.0-beta.2';
|
||||
|
|
|
|||
|
|
@ -1,5 +1,15 @@
|
|||
# @docsearch/sidepanel-js
|
||||
|
||||
## 5.0.0-beta.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [5eac1fd]
|
||||
- Updated dependencies [4f6b5b1]
|
||||
- Updated dependencies [9fe6738]
|
||||
- @docsearch/react@5.0.0-beta.2
|
||||
- @docsearch/core@5.0.0-beta.2
|
||||
|
||||
## 5.0.0-beta.1
|
||||
|
||||
### Patch Changes
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@docsearch/sidepanel-js",
|
||||
"description": "JavaScript package for DocSearch Sidepanel for interfacing with Ask AI.",
|
||||
"version": "5.0.0-beta.1",
|
||||
"version": "5.0.0-beta.2",
|
||||
"license": "MIT",
|
||||
"homepage": "https://docsearch.algolia.com",
|
||||
"repository": {
|
||||
|
|
@ -32,8 +32,8 @@
|
|||
"watch": "tsdown --watch"
|
||||
},
|
||||
"dependencies": {
|
||||
"@docsearch/core": "5.0.0-beta.1",
|
||||
"@docsearch/react": "5.0.0-beta.1"
|
||||
"@docsearch/core": "5.0.0-beta.2",
|
||||
"@docsearch/react": "5.0.0-beta.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"preact": "11.0.0-beta.0",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,24 @@
|
|||
# @docsearch/sidepanel
|
||||
|
||||
## 5.0.0-beta.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 4f6b5b1: feat(v5): UI and DX updates
|
||||
|
||||
- Rename the Ask AI assistantId option to agentId (adapter theme.SearchModal.askAi.assistantId → agentId)
|
||||
- appId and apiKey moved up into @docsearch/core, so they're configured once and shared
|
||||
- Removed the indexName prop from the Sidepanel
|
||||
- Facet defaults can now be read from the index searchParameters
|
||||
- Restored nested grouping of search results
|
||||
|
||||
- Updated dependencies [5eac1fd]
|
||||
- Updated dependencies [4f6b5b1]
|
||||
- Updated dependencies [9fe6738]
|
||||
- @docsearch/react@5.0.0-beta.2
|
||||
- @docsearch/css@5.0.0-beta.2
|
||||
- @docsearch/core@5.0.0-beta.2
|
||||
|
||||
## 5.0.0-beta.1
|
||||
|
||||
### Patch Changes
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@docsearch/sidepanel",
|
||||
"description": "DocSearch Sidepanel package for Ask AI.",
|
||||
"version": "5.0.0-beta.1",
|
||||
"version": "5.0.0-beta.2",
|
||||
"license": "MIT",
|
||||
"homepage": "https://docsearch.algolia.com",
|
||||
"repository": {
|
||||
|
|
@ -38,9 +38,9 @@
|
|||
"watch": "tsdown --watch"
|
||||
},
|
||||
"dependencies": {
|
||||
"@docsearch/core": "5.0.0-beta.1",
|
||||
"@docsearch/css": "5.0.0-beta.1",
|
||||
"@docsearch/react": "5.0.0-beta.1"
|
||||
"@docsearch/core": "5.0.0-beta.2",
|
||||
"@docsearch/css": "5.0.0-beta.2",
|
||||
"@docsearch/react": "5.0.0-beta.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@testing-library/jest-dom": "6.6.3",
|
||||
|
|
|
|||
Loading…
Reference in a new issue