Skip to content

v0.3.5

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Nov 16:12
af310b2

Sponsored by TestMu AI · AgentAPIGate — thank you for keeping wigolo free for everyone.

Search says when it failed: responses carry status and reason, a failed search is an error on the CLI, REST, MCP and the SDKs, and wigolo warmup exits 1 when a component fails. Search now refuses result sets that share almost no words with the query instead of returning them as success; sets that match the query only by chance can still come back (#788).

⚠️ Breaking

  • wigolo search exits 1 when the search fails. Search responses carry status (ok, partial, empty, failed) and a reason code whenever the status is not ok. A search that returns no results is failed when any engine failed, and empty when no engine failed (including when every result was filtered out). A one-shot wigolo search whose status is failed now exits 1 instead of 0, and --json still prints the full body. partial and empty still exit 0. (#735)
  • A failed search is an error over REST and MCP. POST /v1/search returns HTTP 502 when the search status is failed, instead of 200. The body keeps the full search response and adds the REST error fields, with error_reason set to the same code as reason. Over MCP, a failed search sets isError: true and keeps the same JSON body. partial and empty stay successful responses on both. The TypeScript and Python SDKs' search() now throws on a failed search; the TypeScript error carries the parsed body as body. (#736)
  • wigolo warmup exits 1 when a component fails. It exited 0 before, even when --json reported "browserEngine": "failed", so scripts and install checks took a failed setup for a success. Warmup now exits 1 when any component you asked for failed, and --json still prints the full body. A component skipped on purpose still exits 0: one you did not ask for, a turned-off reranker, or a search engine sidecar that falls back to the built-in backend. (#777)

Changed

  • Mojeek and Marginalia are opt-in. A default search no longer calls them, including the retry rounds that run when other engines fail. Name them in search_engines to use them. docs/configuration.md lists the default and opt-in engines. (#740)
  • Search drops an engine's result set that shares almost no words with the query, instead of returning it as a successful result. A set of three or more results is dropped when none of its top three results, and fewer than one in five of all its results, contain a word of the query in the title, snippet or URL. Small spelling slips in longer words count as a match. The engine is reported as failed for that call, with an off_query code in engine_warnings. When every engine's set is dropped, search returns no results with status: failed and reason: off_query. The check is lenient: a set that matches a query word only by chance still comes back (#788). A query written only in a non-Latin script drops result sets with no text in that script, so correct results in another language can be dropped for it. (#734, #766)

Added

  • WIGOLO_MARGINALIA_API_KEY sends your own Marginalia key instead of the shared, rate-limited public key. (#740)
  • The repository has a set of measurement scripts, npm run referee, that measure a wigolo build against its own earlier versions: off-topic searches, answers in search results, fetch results on live pages, install and download size, memory and start-up time, and reply size. docs/measurements.md explains each number, how to rerun it and its limits. The reports recorded for the published 0.3.4 are in benchmarks/referee/reports/0.3.4/. (#749, #750)

Removed

  • WIGOLO_MOJEEK_PROBE_ONLY. Mojeek no longer runs in default searches at all, so the setting has nothing left to control. To use Mojeek, name it in search_engines. (#740)

Fixed

  • On the legacy search backend, a search that returns no results is no longer cached. Before, an answer search whose engines all failed was cached, and the same query run again was then answered from the cache as empty with no results instead of running the engines and reporting the failure. (#769)
  • The README, the contributing guide, the site and the examples state Node 22 or later, which is what package.json requires. Several places still said Node 20. (#752)
  • The README comparison table was checked again and corrected where it was out of date, and the docs no longer carry pinned old version strings or hand-written test counts. (#753)