Repository navigation
chore: release - #164
Merged
Merged
chore: release#164
Conversation
dgesteves-release
Bot
force-pushed
the
changeset-release/main
branch
3 times, most recently
from
October 16, 2026 08:10
2fdf6ad to
00e1edf
Compare
dgesteves-release
Bot
force-pushed
the
changeset-release/main
branch
from
October 16, 2026 09:17
00e1edf to
b498235
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
ondocs@0.12.0
Minor Changes
#167
a4a7fe2Thanks @dgesteves! - The Astro, Starlight and VitePress plugins no longer need React. Their dialog now comes prebuilt with its own React, Radix and cmdk, from the newondocs/embed/standalone, so a site installsondocs,aiand@ai-sdk/openaiand nothing else. Before, a Vue or Astro site without React had to installreact,react-dom,@radix-ui/react-dialogandcmdk, or its build failed.ondocs initno longer lists them for these sites, andstarlight-ondocsno longer asks for them as peers, so npm no longer installs them with it. The dialog still loads only the first time it is wanted, in a chunk of its own: 92.6 KB gzipped on the Starlight example (93.6 KB before) and 95.6 KB on the VitePress one (96.8 KB before). A site that installed the four packages only for the dialog can remove them. On an Astro site with React islands, the dialog no longer shares their React.ondocs/embed/standalonehas the samemountAskDialogandopenAskDialogasondocs/embed, for an app with a bundler and no React. On such a site, importopenAskDialogfrom it:ondocs/embedrenders the dialog with the site's React, so the build fails without React installed.launcherScriptfromondocs/integrationnow mounts the launcher with it.Patch Changes
#163
4b368afThanks @dgesteves! - Keyword search finds Chinese, Japanese and Korean text. A run of it with no space was one term, which a question matched only where a page had the same run, so every keyword path (MCP search without anembeddingModel,-e noneand-e mockindexes, the keyword half of hybrid search) found almost nothing:怎么安装插件?was refused on a page headed 安装插件. A run is now split into overlapping pairs of characters, without question words such as 怎么, 如何, どこ and 어떻게, and kana keep their voicing marks (デプロイwas folded toテフロイ). On the docs' five-page test site, a-e noneindex now answers 7 of 8 Chinese questions with the right page first, up from 1, and 6 of 8 Japanese ones, up from 1, and still refuses all 6 off-topic questions in each language.A CJK paragraph longer than a chunk is now cut at
。,!,?,;or:, and the next chunk repeats the end of the one before, as in other languages; before, it was cut mid-sentence with no overlap. A hard cut never splits a surrogate pair, so a chunk no longer ends or starts with half an emoji.The keyword side is built when an index loads, so an index needs no rebuild for it. One with a CJK paragraph longer than a chunk is cut differently now, so
ondocs index --checkfails on it until you rebuild it, which embeds only the changed chunks again. An-e mockindex of CJK pages keeps the vectors of the chunks that did not change, made from the old terms: delete it (andnode_modules/.cache/ondocsfor a plugin's build) and build it again. Indexes of other languages are unchanged.#162
856edfdThanks @dgesteves! - An endpoint that cannot answer as it is set up now says so, instead of telling every reader to try again:The ask endpoint is misconfigured., followed by amessage-metadatapart withmisconfigured: true. The dialog shows "Answers aren’t set up on this site yet." with no Retry button, where before it showed "The answer could not be generated. Please try again." with a Retry that could not fix it. The endpoint's 500 (an index it could not load, or one embedded with another model) now shows the same words, but keeps Retry: an index that failed to load, such as aremoteIndexthe site did not serve, is loaded again on the next request. The newerrorMisconfiguredlabel changes the words, anduseAskreports both withreason: 'misconfigured': the first withkind: 'stream', the 500 withkind: 'http'. Other model failures still say to try again.ASK_ENDPOINT=http://localhost:8787/api/ask, as the docs do, rather than to point the dialog'sendpointat it, which a deployed site would then post to. It links to the deployment guide instead of the README.ondocs initno longer callsOPENAI_API_KEYoptional where one variable serves the build and the functions (Vercel, Netlify, and Next.js on any host). It says that without the key the MCP endpoint works and off-topic questions are refused, but the Ask box cannot answer, and thatinit --host github-pagesanswers with Workers AI and no key.embedding: 'mock'now says the index is for local testing only: the Vercel, Netlify and Cloudflare endpointsinitwrites refuse it with a 500, and the GitHub Pages Worker ignores its vectors.#165
30843b9Thanks @dgesteves! -remoteIndexno longer lets a site that stops answering hold up every question. Before, once the index was due for a check, every request waited for that check, so a hung site held them all until the platform's own fetch gave up.fetchignores the abort signal. The newtimeoutSecondsoption changes it, up to 2147483, the longest a timer can wait: raise it for a very large index on a slow link. A check that times out keeps the index it has. A first fetch that times out fails its request with an error that names the option, and the next request tries again.timeoutSeconds, so it gets a redeployed index at once. This also holds on a Worker, which cancels what a request started once it has answered. Requests that arrive during the check no longer wait for it: they are answered from the index in memory.starlight-ondocs@0.12.0
Minor Changes
#167
a4a7fe2Thanks @dgesteves! - The Astro, Starlight and VitePress plugins no longer need React. Their dialog now comes prebuilt with its own React, Radix and cmdk, from the newondocs/embed/standalone, so a site installsondocs,aiand@ai-sdk/openaiand nothing else. Before, a Vue or Astro site without React had to installreact,react-dom,@radix-ui/react-dialogandcmdk, or its build failed.ondocs initno longer lists them for these sites, andstarlight-ondocsno longer asks for them as peers, so npm no longer installs them with it. The dialog still loads only the first time it is wanted, in a chunk of its own: 92.6 KB gzipped on the Starlight example (93.6 KB before) and 95.6 KB on the VitePress one (96.8 KB before). A site that installed the four packages only for the dialog can remove them. On an Astro site with React islands, the dialog no longer shares their React.ondocs/embed/standalonehas the samemountAskDialogandopenAskDialogasondocs/embed, for an app with a bundler and no React. On such a site, importopenAskDialogfrom it:ondocs/embedrenders the dialog with the site's React, so the build fails without React installed.launcherScriptfromondocs/integrationnow mounts the launcher with it.Patch Changes
4b368af,856edfd,30843b9,a4a7fe2]:docusaurus-plugin-ondocs@0.12.0
Patch Changes
4b368af,856edfd,30843b9,a4a7fe2]: