Skip to content

v0.3.2

Latest

Choose a tag to compare

@github-actions github-actions released this 22 Oct 14:38
· 11 commits to main since this release
3f80dfe

Compatibility endpoints now use best-effort translation across providers. Existing SDK calls continue when the selected backend cannot implement every optional parameter.

  • Map available domain, language, date and recency options; ignore unsupported options without gateway-generated 422 errors or skipping usable providers.
  • Report ignored option names in X-Search2AI-Ignored and adjustments in X-Search2AI-Warnings, exposed through CORS.
  • Clamp translated result counts to backend limits and retain search results when optional page-content enrichment is unavailable or partially fails.
  • Preserve native request/response fields within the existing search and single-page scope. Invalid requests, authentication failures and upstream errors still return errors.
  • Update English/Chinese guides and OpenAPI documentation.

Validated with 160 tests, including 48 provider/protocol combinations, official SDK smoke tests in native and translated modes, TypeScript checks, production build and a Workers bundle check. Test upstreams are mocked.

Upgrade: npm install search2ai@0.3.2 or npx -y search2ai@0.3.2 serve.

PR: #51

Full changelog: v0.3.1...v0.3.2