Repository navigation
Releases
Releases · isyuricunha/mcp-prism-search
v0.17.3
v0.17.3
Bug fixes
- providers: reject degraded FreeSerp web responses (
0effb31)- The official FreeSerp contract permits a successful HTTP response to fall back to the homepage index. Reject explicit fallback, site-index and failed envelopes so the orchestrator can continue to a real web provider without caching degraded data. Add contract regressions and update provider documentation.
- search: preserve provider relevance and fuse parallel rankings (
950aeff)- Preserve source ranking for individual and fallback searches, and use deterministic reciprocal rank fusion for parallel searches. Preserve domain filters and duplicate handling; version cached ordering. Add a reproducible 50-query benchmark corpus, offline replay, isolated MCP load harness, historical metrics, and README documentation. Verified 529 tests, 150 keyless captures, replay agreement and 960 successful synthetic requests on the candidate Docker image.
Performance
- search: coalesce concurrent keyless cache misses (
6e323a5)- Coordinate equivalent keyless retrieval cache misses without shared background tasks, preserve cancellation and failure recovery, and exclude keyed and AI operations. Add regression tests, duplicate-request and static routing benchmarks, and isolated three-provider MCP load baselines. Document scope and limits.
Tests
- benchmarks: add graded relevance and external MCP pilots (
b4dd9e8)- Expand the fixed corpus to 100 queries across languages and topics, add a graded 118-document pilot with explicit pooled recall, and compare the official FreeSerp MCP to Prism through real MCP calls. Add metrics and administrative-disablement regressions, publish aggregate results, and document methodology and limitations. All 547 tests and three offline report replays pass.
Full changelog: v0.17.2...v0.17.3
v0.17.2
v0.17.2
Bug fixes
- server: report invalid dashboard port configuration consistently (
18f2814)- Normalize invalid nonnumeric dashboard ports into the same startup error contract as out-of-range ports.
- webui: preserve in-flight search options when navigating from providers (
08e8b3f)- Do not replace the active query's selection from provider shortcuts until the existing search finishes.
- webui: reconcile live environment locks on settings drafts (
d5b2a1d)- Unlock fields when server restrictions disappear and synchronize locked preferred provider values.
- webui: revalidate AI-policy consent before persistence (
01387ec)- Require new consent when the server policy, selected providers or their pricing changes during confirmation.
- webui: scope settings mutation feedback to authenticated session (
efb853f)- Guard settings, defaults and AI mutation feedback against stale session completions.
- webui: isolate provider mutation feedback by session (
f8ed897)- Prevent a failed request from a previous authenticated session from reintroducing provider messages.
- webui: honor default-setting locks during local drafts (
2b12d03)- Refresh environment locks and authoritative values while preserving other unsaved defaults.
- webui: reject ambiguous URL authorities (
e221669)- Reject raw userinfo and percent-encoded host authorities before browser normalization.
- metrics: preserve combined provider failure classification (
b066eb9)- Retain timeout and HTTP status in sanitized metrics without retrying paid requests.
- mwmbl: classify malformed result envelopes as errors (
07f5546)- Do not mark a malformed Mwmbl response as successful emptiness; verify request isolation without making a real upstream request.
- freeserp: reject malformed result envelopes (
dff2b9e)- Require the advertised result array and reject malformed upstream envelopes.
- keenable: reject malformed result envelopes (
dd37e73)- Distinguish empty valid result lists from malformed/error responses while preserving supported list and results/data envelopes.
- tavily: forward documented SafeSearch support (
2096157)- Tavily now documents a Boolean SafeSearch option. Map requested moderate/strict to enabled and leave default off unchanged; verify domain and freshness parameters.
- server: share validated log level with HTTP runtime (
8dc93a6)- Accept the same normalized log level in the SDK and Uvicorn rather than failing on valid padded environment values.
- search: skip invalid combined results before applying result count (
b647537)- Do not let malformed rows consume the requested result window in combined AI retrieval.
- mcp: enforce literal boolean cache-prune flags (
9c4f208)- Prevent string and numeric coercion from silently changing maintenance intent.
- panel: enforce integer JSON settings and result limits (
8eff98e)- Reject bool and string coercion at the administrative JSON boundary; browser requests already send numbers.
- searxng: validate configured instance URLs consistently (
bf30510)- Accept explicit self-hosted HTTP(S) base URLs, including private instances, but reject malformed authorities and query/fragment injection.
- providers: reject unusable configured API credentials (
a229fd7)- Apply the panel's printable ASCII credential contract to environment-managed provider keys too; do not expose the invalid value.
- ddgs: refuse unpinnable registered search backends (
ba3ee9d)- A named provider must not silently fall back to another DDGS engine when the installed API cannot select a backend.
- cache: run periodic pruning in long-lived STDIO sessions (
e0b8176)- Use the official SDK's asynchronous STDIO runner, cancel maintenance on shutdown, and preserve protocol stdout.
- native: ignore empty SSE data messages (
6241d5d)- Treat valid empty data events as non-answer messages in native streams rather than malformed JSON.
- native: apply shared URL authority validation to citations (
ac7ffbb)- Preserve provider citation indices while rejecting the same malformed URL authorities as ordinary retrieval.
- ranking: deduplicate equivalent internationalized hostnames (
4b55af0)- Canonicalize the URL authority through HTTPX before deduplication, preserving path, query, and nondefault ports.
- ranking: rank the text actually returned to the agent (
c515b1a)- Clip titles and snippets before ranking, so discarded text cannot affect ordering or invalidate cached results.
- fetch: classify HTML using exact media types (
65ed1f2)- Use a shared media-type predicate for extraction and cached response validation, rather than substring matching.
- domains: reject ambiguous backslash domain controls (
4ea3dbb)- Use the same unambiguous URL policy as fetch and the dashboard for domain configuration.
- cache: reject empty legacy search cache envelopes (
d3b1691)- Successful search entries must contain usable results, so invalid cached emptiness cannot suppress live retrieval.
- search: bound final result context per document (
b705477)- Limit returned titles to 500 and snippets to 4000 Unicode characters across legacy and aggregated search. Version the cache for the output change.
- search: avoid duplicate paid retrieval after synthesis failures (
67a7b9a)- A combined request can be charged even when its response fails. Preserve valid retrieval, but do not submit a second ordinary request after an error or empty combined result.
- cache: respect expired-only prune scope for fresh entries (
aa4049b)- Keep the panel's non-destructive expired-only operation consistent with its documented behavior.
- cache: prune entries exceeding the reader size cap (
180759d)- Remove unreadable oversized cache entries by file size, including dry-run reporting.
- exa: validate nested grounding citation arrays (
319b852)- Reject invalid citation objects rather than interpreting dictionary keys as sources.
- native: sanitize excessive JSON nesting errors (
6e7f32f)- Keep recursive malformed payload errors inside the existing provider failure contract.
Security
- security: reject mixed public and unsafe DNS records (
1027b1f)- Verify every returned address is validated, not only the preferred address.
- security: fail closed on DNS errors and empty answers ([
5ed6ab5](https://github.com...
v0.17.1
v0.17.1
Bug fixes
- webui: clear stale feedback when administrative sessions change (
30a986c)- Reset operation messages at authentication boundaries and prevent expired cache requests from repopulating them. Exercise expiration during a confirmed mutation.
- webui: revalidate search consent after server state changes (
bd57ac5)- Freeze the submitted search parameters and reject changed provider availability, authorization, or defaults while a cost confirmation is open.
- webui: require explicit absolute HTTP URLs within server limits (
8507216)- Reject browser-repaired malformed schemes and oversized URLs before making hyperlinks or client configuration.
- webui: gate native AI submission on valid provider-specific questions (
c6ca22b)- Keep the run button consistent with empty, whitespace-only, and oversized questions, as well as capability and effort selection.
- webui: validate search inputs before enabling submission (
af4efec)- Reject whitespace-only queries and out-of-range result overrides in the same form, provide actionable feedback, and verify both paths in Chromium.
- panel: accept known log filters before first overview (
16439d3)- Initialize provider metadata for direct authenticated log requests, independently of dashboard navigation.
- mcp: serialize concurrent deep-search progress notifications (
6693b3f)- Prevent delayed callbacks from emitting regressive progress values.
- searxng: resolve instance settings consistently with registry (
146430d)- Use runtime settings at the provider boundary instead of a separate environment lookup.
- ranking: preserve stronger duplicates within provider batches (
2853c4b)- Apply relevance ranking before per-provider deduplication, not only after merge.
- hackernews: recover malformed external URLs using story IDs (
a6919b7)- Reuse the validated Hacker News permalink fallback for all malformed links.
- searxng: forward supported weekly freshness filter (
8d1fc3d)- Current SearXNG SearchQuery supports day, week, month and year.
- wikipedia: distinguish API errors from empty search results (
cbcd86e)- Require the documented query.search list on successful MediaWiki responses.
- ranking: retain the most relevant duplicate result (
e7a3899)- Rank validated candidates before URL deduplication; preserve stable tie order.
- youcom: preserve valid hits after invalid upstream links (
574984c)- Apply the canonical URL validator in the shared authenticated/public decoder.
- bing: validate feed URLs before consuming the result limit (
63808df)- Reuse the shared validator, including backslash rejection.
- search: normalize echoed query across cached and fresh retrieval (
c67d381)- Return the normalized query actually sent to providers.
- search: isolate untyped records in provider batches (
bd0f435)- Skip malformed records instead of losing an otherwise usable batch.
- search: count only usable provider results as success (
7790759)- Use canonical URL and title validation before recording health; regression covers unusable rows.
Security
- security: reject ambiguous backslashes in fetch URLs (
cb5a7b7)- Keep extraction URL validation consistent with retrieval and browser validation.
Performance
- fetch: move bounded document parsing off the event loop (
ccae79a)- Avoid blocking concurrent network work during text and HTML parsing. Verify worker-thread execution.
- fetch: avoid redundant DNS lookups on live retrieval (
0185222)- Resolve and pin once per network hop, retain DNS validation for cache hits. Test lookup counts and private-address rejection.
- domains: partition preferred results in a single pass (
f015a87)- Reduce preferred-domain URL checks from 2N to N without changing stable ordering.
Build
- deps: update Starlette and AnyIO to compatible stable releases (
1832b2d)- Starlette 1.7 fixed the deprecated BlockingPortal import (upstream #3498). Lock Starlette 1.10.0 and AnyIO 4.16.0, raise the minimum Starlette version to the upstream fix, and treat deprecation warnings as pytest errors instead of suppressing them. All 353 tests pass without warnings; verify pip compatibility and the isolated Docker import.
Full changelog: v0.17.0...v0.17.1
v0.17.0
v0.17.0
Features
- webui: display human-readable native operation labels (
3c38a04)- Display registered provider names with Answer or Research suffixes in metrics and log history. Label cache maintenance counts as entries rather than search results.
Bug fixes
- webui: retain last log snapshot on manual refresh failure (
5544e3d)- Keep the previously retrieved log rows and export available if manual refresh fails with unchanged filters. Clear stale rows only when filter selection changes, and document the behavior.
- panel: align Unicode character limits and native answer capabilities (
cce4afb)- Publish the existing You.com Answer limit alongside TinyAnswer, use the same capability metadata for validation, and count Unicode code points in the browser instead of UTF-16 units. Verify full emoji-length input and invalid length blocking.
- webui: distinguish persisted settings from failed dashboard refreshes (
87ff2b2)- Apply successful settings responses immediately and report later overview failures separately. Preserve saved settings and AI policy instead of reverting to a stale snapshot or suggesting a redundant mutation.
- webui: retain abort controller through response body consumption (
d609394)- Keep session cancellation active until JSON reading completes, rather than only until headers arrive. Distinguish malformed JSON from interrupted body consumption and test the pending body lifecycle.
- webui: apply consistent safe URL rules to results and connections (
539edfc)- Reject ambiguous backslashes, control characters and zero ports in browser URL validation. Do not display rejected raw result URLs, and reuse the same validation for generated connection configuration.
- logs: retain HTTP operation statuses and rate limits (
23392ec)- Record safe HTTP response codes for panel operations and distinguish 429 from internal errors. Keep responses and error messages outside structured events.
- panel: validate API keys for safe HTTP header serialization (
1f71617)- Reject non-ASCII and internal whitespace in newly submitted API keys before persisting them. Report whitespace-only environment credentials as unconfigured while retaining the environment ownership lock.
- panel: accept full documented query length in escaped Unicode JSON (
89de7fb)- Raise the bounded admin body cap to 64 KiB so the 4000-character query contract is reachable with escaped supplementary Unicode. Normalize the media type while retaining a hard body limit.
- telemetry: isolate exporter shutdown failures (
3226a46)- Always close local history and release the writer lock even when an optional trace exporter fails during shutdown. Do not propagate exporter exception details.
- ai: reject ambiguous native citation links (
949bb16)- Extend citation URL validation to control characters and backslashes, while preserving citation indices and textual evidence for invalid links.
- ai: handle UTF-8 BOM in server-sent events (
cd9732a)- Honor the SSE specification's initial UTF-8 BOM handling. Preserve CRLF framing state across chunks that decode to no characters.
- telemetry: classify cancelled combined synthesis correctly (
3278656)- Preserve asyncio cancellation semantics in combined retrieval and AI calls, and exclude cancellation from provider error metrics using the existing runtime contract.
- telemetry: normalize HTTPX provider timeout outcomes (
692a72c)- Map HTTPX transport timeout exceptions to the same timeout outcome as the asyncio deadline. Keep private exception details out of attempt summaries.
- providers: validate result links before applying adapter limits (
8b31b89)- Use one retrieval URL contract in common adapters and final deduplication. Skip invalid schemes, ports, credentials and excessive URLs before they consume result slots; Jina no longer slices malformed rows prematurely.
- fetch: preserve HTTP failures without downloading error bodies (
eac455c)- Return upstream non-success status before decoding or streaming arbitrary error pages. Avoid replacing a meaningful status such as 429 with an unsupported compression error.
- fetch: honor explicit media types before filename fallback (
ed4f578)- Accept documented text and JSON media types instead of substring matches. Use filename fallback only for missing or generic binary media types, not an explicit unsupported image type.
- search: deduplicate equivalent default-port URLs (
fc1ce81)- Treat explicit HTTP and HTTPS default ports as equivalent to their omitted form, including IPv6 authorities. Preserve nondefault ports and case-sensitive resource paths.
- search: reject ambiguous result URLs and respect zero limit (
d239526)- Reject URL control characters and backslashes before returning provider results; prevent a zero internal result limit from admitting one row. Add regression cases without altering the ranking algorithm.
Performance
- cache: stream cache directory scans (
c7da33d)- Yield file metadata lazily instead of retaining duplicate lists of paths and records. Cache statistics now consume a streaming scan; pruning retains only the state required for deletion and size ordering.
- fetch: avoid repeated extraction from nested content candidates (
b002120)- Skip candidate descendants whose text is already included in an ancestor candidate. The nested fixture reduces 81 extraction candidates to one while retaining the same extracted content.
Tests
- search: establish deterministic retrieval quality evaluations (
778cb12)- Add offline relevance cases for Python, Docker and MCP technical queries, and verify final dedupe and domain-control behavior. Preserve the existing ranking weights until broader evaluation justifies a change.
Full changelog: v0.16.0...v0.17.0
v0.16.0
v0.16.0
Features
- webui: filter related operational events by request ID (
1f6200a)- Expose an accessible action on each correlated event to show all retained events for the same request, clearing unrelated provider, severity and time filters. Verify the resulting filter and evidence.
- observability: add private operational logs and optional OTLP traces (
06ebed7)- Record allowlisted JSON events with correlation IDs, provider timing and cache outcomes. Add private bounded single-writer history, authenticated filters and responsive live Logs page with JSON export. Keep STDIO clean and redact dependency messages. Offer opt-in OTLP tracing, Docker rotation and documented privacy limits. Verify 296 tests, Chromium and a loopback OTLP collector.
- ai: integrate TinyAnswer and TinyResearch native capabilities (
f089312)- Add explicit TinyFish synthesis with shared personal key, account-dependent Answer billing, Deep/Max pricing, final-only SSE decoding and best-effort cancellation. Extend You.com research to Exhaustive; preserve cost consent and prevent automatic TinyFish synthesis. Synchronize defaults, schemas, UI labels and docs. Verify 289 tests and Chromium without paid requests.
- panel: distinguish release and local development builds (
a8192b1)- Classify installed PEP 440 metadata in the backend and expose the source commit when available. Show release, development or unidentified build identity in the dashboard without substituting a remote version. Keep full version details and link to the exact tag or commit. Document rebuild requirements and verify 273 Python tests and responsive Chromium coverage.
Bug fixes
- webui: revalidate native cost consent against current options (
174f5a2)- Reject confirmation when a provider's availability, pricing, research tier or selected request changes while the modal is open. Require a fresh explicit decision. Document the cache, provider, session and observability contracts introduced in this audit.
- webui: abort stale browser waits on authentication changes (
5740738)- Cancel pending fetch waits when the session resets and suppress feedback from prior search or synthesis requests. This does not promise cancellation of upstream paid work. Exercise an expired session during an outstanding native request and subsequent sign-in.
- webui: preserve native request controls while synthesis is pending (
7717994)- Avoid rebuilding provider options or pricing during an active synthesis request. Preserve the submitted provider and locked controls even when a refresh reports changed availability, then reconcile on completion.
- webui: resume live logs without applying unfinished filter drafts (
4499b12)- Keep committed metadata search separate from in-progress typing. Refresh immediately when live mode resumes or the document becomes visible, and clear log state and filters when the session resets.
- webui: report log writer and refresh failures accurately (
bcaa820)- Distinguish recording, unavailable history, failed persistence and failed refresh. Preserve the last successful snapshot on live errors and recover status on the next successful response. Verify degraded and recovered states in Chromium.
- telemetry: distinguish client cancellation from provider failure (
6f3ece7)- Record cancelled retrieval and synthesis attempts as cancellations, propagate cancellation normally and avoid charging them to aggregate upstream error counters. Verify the retained cancellation event.
- logs: tolerate deeply nested corruption and expose writer health (
6a6389b)- Treat recursive malformed JSON as an invalid log record and preserve the rest of the history. Report failed file writes without printing sensitive records or disrupting tools; restore healthy status on successful writes.
- ai: bound and parse server-sent event frames consistently (
9db64d5)- Share bounded incremental UTF-8 SSE parsing across TinyResearch and chat synthesis. Support multiline data fields and CRLF, reject oversized lines or events, and ignore unterminated frames.
- search: enforce registry disables in legacy DDGS mode (
59f162d)- Prevent legacy explicit or automatic DDGS routing and cached responses from bypassing disabled registered backends. Fail closed when an older DDGS interface cannot honor exclusions.
- ai: enforce explicit-only TinyFish synthesis at native boundary (
60b43b8)- Use the current official TinyAnswer documentation link and enforce standalone-only synthesis in the native dispatcher itself, independently of the automatic-search policy.
- mcp: describe cache tools as closed-world operations (
df6b78a)- Align discovery annotations with the MCP risk vocabulary: cache operations manipulate only the local cache and do not contact external providers. Verify discovered hints with the SDK.
- fetch: enforce supported media types on cached responses (
716c3d7)- Apply the live-fetch content type contract to cached successes. Add independent regression cases for unsafe final redirect URLs with matching request identity and unsupported binary content.
- providers: scope Mwmbl pacing lock to the active event loop (
6608c04)- Recreate the asyncio pacing lock when a new runtime loop owns the provider, while preserving the monotonic inter-request rate limit. Exercise contended requests across two separate event loops.
- providers: recover valid public MCP text results (
6d445a6)- Try documented structured results first and validate each textual JSON fallback independently. A malformed structured response or preceding text block no longer masks usable results.
- providers: validate RSS rows before applying result limits (
ca408e7)- Reject malformed scheme, port, credential and empty-title RSS entries before counting them toward the provider result limit. Keep valid later entries.
- providers: validate Hacker News story identifiers (
175d009)- Skip malformed or missing Algolia object IDs instead of fabricating unusable story links. Validate the hits container and retain valid stories under the requested result limit.
- cache: bound cache entry reads and reject oversized writes (
7a00296)- Limit individual JSON cache entries to 8 MiB to prevent oversized or corrupted local files from consuming unbounded memory. Keep the previous valid entry if a replacement exceeds the limit.
- domains: align international filters and exact IP matching (
b76dfd7)- Use the HTTP client's IDNA canonicalization rather than legacy IDNA2003 mappings. Reject control characters and never interpret an IP literal as a wildcard DNS suffix.
- fetch: use canonical HTTPX hostname for DNS validation (
811f055)- Resolve the same ASCII IDNA hostname used by the pinned HTTP Host and TLS SNI. Reject ambiguous escaped authorities instead of relying on urllib and libc to interpret them consistently.
- providers: require configuration for effective activation (
9fa7c77)- Centralize effective provider activation in the registry, expose configured state to the dashboard and reject enabling engines without required configuration. Atomically disable on key removal, preserve environment locks, and prevent missing-key switches from being enabled until a draft key is entered. Verify MCP rejection, API persistence and browser key lifecycle with 276 passing tests.
Security
- security: validate resolver output at both fetch boundaries ([
4f24881](4f248816cf6a54e84...
v0.15.3
v0.15.3
Bug fixes
- webui: reveal invalid fields in collapsed settings groups (
0192294)- Open the corresponding settings group during native form validation and provide a field-specific status message. Prevent invisible invalid controls from silently blocking saves. Document backend-aligned limits and explicit native selections; verify the full responsive and accessibility suite.
- webui: validate all outbound source links consistently (
26c595f)- Centralize HTTP(S) URL validation for provider docs, search results and citations. Reject unsafe schemes, embedded credentials and whitespace; render nonclickable fallbacks. Verify malformed sources remain text in browser tests.
- webui: distinguish successful cache mutation from refresh failure (
1e3e3f8)- Keep newly rendered cache controls disabled during an operation and accurately report committed deletion even when the subsequent overview refresh fails. Describe age-based pruning without promising corrupt-file detection. Verify refresh failure after successful clear.
- webui: cancel open confirmations when session expires (
48c205a)- Bind confirmation dialogs to their authentication epoch and close any open modal on login reset. Prevent a destructive confirmation from carrying into a new session. Simulate expiry while a cache-clear modal is open.
- webui: keep settings controls locked while saving (
e11aa67)- Prevent a concurrent dashboard refresh from re-enabling controls or replacing form state while an update is in flight. Exercise a held settings response and simultaneous overview refresh in Chromium.
- webui: reconcile provider drafts with environment locks (
527e3b3)- When the server newly locks a provider, reset the stale enable draft to the authoritative state while retaining an editable credential draft. Verify live lock transition and draft preservation in the browser.
- webui: require deliberate unsupported-default research effort (
d91cad0)- Prevent silent escalation to the first available research tier when the configured default is incompatible. Reset effort when changing providers and require an explicit supported selection. Browser regression simulates a provider with only deep research.
- webui: respect explicit native provider defaults (
f827643)- Do not implicitly select a configured paid engine when the server requires explicit provider choice. Render a clear placeholder and pricing guidance, and disable synthesis until a supported provider is chosen. Cover both answer and research selection in Chromium.
- state: reject nonregular administrative state files (
96ef867)- Reject directories and special filesystem objects at database and encryption-key paths before opening them. Preserve the private state boundary and cover invalid paths without touching production data.
- panel: apply security headers to authorization failures (
99b0837)- Separate request authorization from common response hardening so early authentication and origin denials also receive no-store, nosniff and frame restrictions. Cover 401 and 403 responses.
- panel: require explicit cache deletion confirmation (
39a1857)- Apply strict boolean confirmation at the administrative HTTP boundary as well as the core cache API. Verify numeric, string and false values cannot remove cached data.
- panel: strictly validate provider switches and credentials (
22b7d0d)- Reject coerced booleans, empty credentials after trimming and header control characters before changing provider state. Exercise four invalid updates and verify storage remains unchanged.
- panel: align playground limits with MCP discovery (
e58aed0)- Expose backend query and selection bounds in overview and align the playground request model and browser counter. Add API boundary tests plus browser counter coverage.
- cache: constrain cache objects to registered namespaces (
61efb9a)- Reject path-like or unknown namespace identifiers at the storage constructor, keeping all cache writes in search or fetch. Add traversal regression.
- providers: enforce availability at execution boundary (
1f2f261)- Recheck enabled and configured status immediately before provider execution so a previously resolved chain cannot call a disabled engine. Verify disabled provider never reaches upstream.
- domains: preserve single-label suffix and validate authority (
ba4dbf7)- Avoid widening a filter such as www.example into the single-label example suffix; validate URL scheme and port for domain preferences. Cover exact and nonmatching hosts.
- fetch: retain byte-limit warning after HTML extraction (
3b2e66a)- Insert the partial-download warning after parsing HTML so article selection cannot silently discard it. Keep the total within the character budget and invalidate old extraction cache keys.
- fetch: encode internationalized Host and TLS SNI correctly (
c5e0682)- Use HTTPX's canonical ASCII raw hostname for the pinned request Host and TLS SNI, including IDNA and bracketed IPv6 authorities. Verify encoded host and non-default port.
- cache: require literal consent for destructive clears (
a361111)- Reject coercible truthy values in cache clear and declare strict boolean confirmation at MCP discovery boundary. Exercise four invalid confirmation values.
Security
- auth: rotate prior panel session on successful login (
2865086)- Invalidate the previous browser cookie when reauthenticating, preserving other legitimate sessions. Test that the old token fails while the replacement remains authorized.
- auth: reject ambiguous duplicate authorization headers (
a2488a2)- Fail closed when a request contains more than one authorization header rather than selecting an arbitrary first value. Add direct ASGI header regression.
Performance
- fetch: avoid redundant DNS resolution on every redirect (
4ea79bf)- Use a single validated pinned address lookup per network hop. Preserve initial cache-hit URL validation and every-hop shape checks. Mock redirect chain and assert exact DNS lookup count.
Full changelog: v0.15.2...v0.15.3
v0.15.2
v0.15.2
Bug fixes
- routing: use bounded recent provider health for fallback order (
52539b5)- Replace lifetime-only health ranking with a bounded window of 32 observed outcomes while retaining aggregate counters. Allow recovered providers to regain priority without restarting the server. Verify recovery, bounded storage and updated documentation.
- fetch: reject non-success responses and recover unknown charsets (
4dc2d71)- Only report successful page extraction for HTTP 2xx responses; unsupported redirect/status responses are structured failures. Fall back to UTF-8 for invalid encoding declarations and cover both cases.
- state: refuse to regenerate missing encryption keys (
78bd104)- Move existing database and key validation into the storage boundary itself rather than relying only on server startup. Protect direct PanelStore callers from accidental key regeneration and preserve existing state.
- cache: preserve refreshed entries during maintenance scans (
2ff16f5)- Compare file identity, timestamp and size immediately before removing scanned entries. Skip replaced files and symlinked namespaces during clear/prune, reducing races with atomic cache writes. Test concurrent replacement between scan and deletion.
- cache: validate legacy search cache against effective filters (
4455b81)- Match the legacy DuckDuckGo cache to request identity, routing, enabled-provider policy and final domain controls. Reject unexpected native answers and errors. Cover corrupted cross-query entries without removing legacy compatibility.
- providers: stop redundant TinyFish pagination (
1de2733)- Use canonical validated URL identities when paging TinyFish results so fragments and malformed URLs cannot inflate result counts or consume additional page credits. Cover repeated pages with an HTTP fixture.
- providers: unify You.com web result decoding (
7558fa4)- Share strict response decoding between authenticated REST and keyless MCP adapters. Ignore malformed rows and snippet elements without discarding valid hits, and reject invalid result containers. Remove duplicate parser.
- cache: validate cached page identity and safety (
670cc1d)- Check cached fetch request identity, successful status, final URL shape and output size before returning stored content. Reject invalid envelopes as misses and verify cross-URL and local-address cases.
- fetch: isolate deep-search page failures and report live progress (
98005b3)- Report progress as pages complete, finish progress when fewer than requested sources exist, and preserve successful pages when an individual fetch raises. Retain deterministic source order and sanitized per-page errors. Cover partial results and completion with a regression test.
- mcp: advertise enforced input bounds in tool schemas (
5f59f73)- Align discovered JSON Schema with shared core validation for search queries, fetch URLs and domain lists. Document AI search-window behavior in tool discovery. Verify all affected tool schemas and the full suite.
Full changelog: v0.15.1...v0.15.2
v0.15.1
v0.15.1
Bug fixes
- ai: recheck administrator consent before synthesis (
346065e)- Revalidate current opt-in and provider authorization at the combined/separate synthesis boundary, including when retrieval awaited before an administrator disabled AI. Add a revoked-consent regression and document limits and stream behavior.
- models: bound request sizes at shared validation boundary (
29c9d16)- Limit search queries to 4000 characters, URLs to 8192 and domain lists to 50 entries. Apply the same backend bounds across transports and cover oversized input without upstream calls.
- ai: reject prematurely terminated synthesis streams (
50f9a20)- Treat non-stop terminal reasons as incomplete synthesis even with a DONE marker. Prevent partial, filtered or error outputs from being reported as complete. Add three mocked SSE regressions without spending provider credits.
- fetch: report extracted character truncation accurately (
ac8788b)- Track character-limit truncation separately from download byte truncation, including HTML extraction. Invalidate old fetch cache keys and update cache fixtures; cover plain text and HTML with regression tests.
- cache: validate cached retrieval against the active request (
947105c)- Reject cached results with wrong queries, invalid routing, unexpected AI answers or incompatible domain/ranking constraints. Cache corruption becomes a miss rather than a cross-query response. Verify fresh retrieval on a mismatched envelope.
- runtime: isolate optional telemetry failures (
1c5d0ca)- Keep successful tool calls independent of telemetry backend failures, including failures outside SQLite's normal exception family. Do not log arbitrary exception contents. Add regression for both counters and provider metrics.
- search: isolate malformed legacy rows before ranking (
bd55369)- Skip non-object DDGS rows and validate/deduplicate URLs before scoring, so malformed provider data cannot discard valid results. Regression covers malformed host and port.
- domains: normalize international hosts and reject invalid filters (
4dcd546)- Canonicalize IDNA and IP literals; reject malformed domain preferences instead of silently widening filters. Handle malformed upstream URLs safely. Add Unicode, IPv6 and invalid filter regressions.
- search: honor explicit search windows in AI eligibility (
1bef574)- Keep retrieval-only mode when a caller supplies a search window that synthesis cannot guarantee. Extend the existing policy matrix to cover explicit windows; run full lint and regression suite.
Security
- security: reject non-global and scoped fetch destinations (
a99c1c7)- Apply public IP classification in addition to existing explicit network blocks, reject IPv6 scope identifiers, and cap redirect URL length before parsing. Exercise special-purpose IP ranges and redirect validation.
Maintenance
- deps: bump the all-actions group with 5 updates (
7ab833a)- Bumps the all-actions group with 5 updates:
- | Package | From | To | | --- | --- | --- | | actions/checkout |
6.1.0|7.0.1| | actions/setup-python |6.3.0|7.1.0| | actions/setup-node |6.5.0|7.1.0| | actions/upload-artifact |4.6.2|7.0.2| | actions/download-artifact |4.3.0|8.0.2| - Updates
actions/checkoutfrom 6.1.0 to 7.0.1 - Release notes - Changelog - Commits - Updates
actions/setup-pythonfrom 6.3.0 to 7.1.0 - Release notes - Commits - Updates
actions/setup-nodefrom 6.5.0 to 7.1.0 - Release notes - Commits - Updates
actions/upload-artifactfrom 4.6.2 to 7.0.2 - Release notes - Commits - Updates
actions/download-artifactfrom 4.3.0 to 8.0.2 - Release notes - Commits - --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 7.0.1
- dependency-type: direct:production
- update-type: version-update:semver-major
- dependency-group: all-actions
-
- dependency-name: actions/setup-python dependency-version: 7.1.0
-
- dependency-name: actions/setup-node dependency-version: 7.1.0
-
- dependency-name: actions/upload-artifact dependency-version: 7.0.2
-
- dependency-name: actions/download-artifact dependency-version: 8.0.2
- dependency-group: all-actions ...
- Signed-off-by: dependabot[bot] support@github.com
- Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- ci: group Dependabot updates and require checks before automerge (
05d5fa2)- Group Actions version updates weekly and security fixes separately. Auto-merge only grouped same-repository Dependabot PRs after trusted CI; require strict CI and GitGuardian branch checks, exact head matching and SHA-only action reference changes. Keep administrator direct pushes and avoid executing PR code with write permissions.
- Verify actionlint, real PR patch filtering and 209 tests.
- ci: require complete release changelogs without release commits (
51b32d0)- Generate cumulative and version-specific Markdown using the pinned Semantic Release parser and exact tag ranges, preserving commit details across legacy merge history. Require and publish notes plus CHANGELOG.md; repair link-only releases without replacing existing assets.
- Preserve recovery helpers across tagged checkouts. Verify 209 tests, actionlint, planned and published tag history, and backfill v0.15.0.
- ci: recover published images using platform-specific digests (
f43616b)- Validate each immutable platform manifest independently to avoid classic Docker image-store digest collisions. Verify architecture, package version and OCI source revision before promoting the original multiarch index.
- Add explicit digest recovery for the existing release and bounded retries for transient browser installation failures. Keep the existing tag and avoid a version bump.
Full changelog: v0.15.0...v0.15.1
v0.15.0
v0.15.0
Features
- ci: publish tag-based releases without automatic commits (
8979ec9)- Derive package and runtime versions from Git tags with Hatch VCS. Plan SemVer with Semantic Release, validate exact source with locked dependencies, and publish only a tag. Serialize releases, guard latest promotion, support retry and draft recovery, pin actions, and verify multiarch manifests.
- Fix browser test race; validate actionlint, 205 tests, Chromium 159, wheel/sdist and Docker version metadata.
- core: centralize persistent server defaults and provider metadata (
a1fde6d)- Resolve omitted tool arguments from environment or persisted defaults. Add keyless fallback, prioritize authorized AI in auto mode, retain settings without WebUI, and expose one canonical provider registry.
- Simplify Playground and settings, preserve legacy contracts, fix cache TTL caps, and document headless operation. Verify 174 tests, browser accessibility, real stdio/HTTP searches and LAB deployment.
- search: add opt-in provider AI answers to web search (
0c94ed1)- Persist administrator consent and per-provider authorization; expose per-call override and typed answers. Combine retrieval and synthesis for Tavily, Exa and You.com; add Brave Answers, Jina DeepSearch and Tavily Research. Preserve results and ordinary cache on failures.
- Update dashboard, pricing and docs. Verify 164 tests, both MCP protocols, browser accessibility, live keyless searches and LAB deployment.
- search: add explicit provider-native AI synthesis tools (
a0be343)- Integrate Tavily, Exa and You.com answers plus Exa Deep Search and You.com Research. Require explicit cost consent, preserve source indices, bound requests and sanitize failures without retries or fallback.
- Expose capabilities and pricing in the dashboard, document optional usage, verify both MCP protocols, 149 tests, browser accessibility, three live keyless searches and LAB HTTP deployment.
- webui: refine every dashboard page and report installed MCP versions (
03dbcf1)- Improve login, navigation, provider discovery and credential forms, search modes, cache controls, settings and client connection guidance. Preserve drafts, strengthen accessible states and White contrast, and expose runtime versions without hardcoded frontend values.
- Add browser/axe regression tests to release CI and verify 137 Python tests, Docker build and live HTTPS search.
- webui: enable Starfield Depth by default in Dark mode (
4707462)- Default new browser preferences to enabled while preserving explicit opt-outs, White-mode suspension and reduced-motion behavior. Benchmark Chromium at desktop and mobile widths, verify the preference lifecycle and regression suite, and document the new default.
- webui: add optional canonical YuTheme starfield (
0d9da17)- Vendor the original Starfield Depth implementation and compile it with Astro into a CSP-compatible external script. Add a browser-local appearance preference, Dark-only activation, hidden-tab disposal and reduced-motion support.
- Validate canvas lifecycle and persistence in Chromium, retain all Python test coverage, and verify deployed assets and HTTPS authentication.
- webui: add optional lightweight YuTheme dashboard (
9afeeee)- Serve static Astro assets on an isolated admin listener without Node at runtime. Protect sessions and encrypted provider credentials, persist settings and aggregate metrics, and expose provider management, search playground and cache controls.
- Document opt-in Compose setup and validate headless compatibility, authentication, CSRF, persistence, MCP HTTP and Docker smoke tests.
Bug fixes
- ci: await matching browser requests before assertions (
d7a566b)- Synchronize every repeated search and native synthesis test with its exact HTTP response and completed DOM state. Correct the research fixture to echo its requested mode and introduce simulated response latency to expose stale result races. Verify three consecutive Chromium headless runs without weakening assertions or accessibility checks.
- providers: repair API contracts and deduplicate parsing (
1b11794)- Use ISO 8601 Exa freshness, bound Brave and Tavily result counts, encode Jina queries and Wikipedia paths, skip malformed rows and preserve URL semantics. Share DuckDuckGo parsing, fix DDGS request windows and remove unused symbols.
- Patch sharp and esbuild, document Astro CPU blocker, correct image metadata and healthcheck. Verify 197 tests, browser audits, real keyless MCP/fetch and Docker deployment.
- core: harden cache, fetch validation and HTTP task lifecycle (
6e7ca74)- Treat malformed cache envelopes and storage failures as misses or nonfatal writes. Reject malformed URLs, mapped private addresses and mixed DNS answers; preserve download prefixes, disable proxy and connection reuse for pinned fetches, and bound requests.
- Cancel prune tasks on shutdown, honor disabled legacy providers on cache hits, remove unused request wrappers and add 17 regression cases. Verify 191 tests.
- webui: align dashboard with canonical YuTheme Dark (
bb99533)- Restore upstream charcoal/teal token cascade and independent White palette. Refine navigation, hairline borders, provider rows, switches, radio picker and accessible confirmation dialogs without adding runtime dependencies.
- Verify computed colors and all six pages at 375, 768 and 1440px in Chromium, plus keyboard focus, UI interactions, Python tests and production HTTPS assets.
Full changelog: v0.14.0...v0.15.0
v0.14.0
v0.14.0 (2026-11-27)
Bug Fixes
- mcp: Upgrade SDK to 2.3.0 and improve protocol compatibility (
368c2a1)
Documentation
-
Slim README — operational detail moved to docs/ (
1a3747a) -
readme: Rebuild project overview and keyless setup guide (
e02428f)
Features
-
search: Add TinyFish TinySearch provider (
f9eed6e) -
search: Streamline providers and add reliable parallel search (
390928a)
Detailed Changes: v0.13.0...v0.14.0