Skip to content

v2.27.0

Choose a tag to compare

@github-actions github-actions released this 13 Nov 13:34
· 64 commits to main since this release
Immutable release. Only release title and notes can be modified.

Behavior changes

  • get_page and read_page return the page as plain text instead of JSON: a few header lines (url, title, the byte range with next_offset when truncated, and for read_page the crawl metadata), an empty line, then the markdown. They no longer declare an outputSchema or send structuredContent. Clients that forward only structuredContent, such as Claude Code, used to show the model the page escaped inside JSON; every client now gets the markdown as is, once (#112).
  • max_bytes for get_page and read_page defaults to 32768 (was 102400), so a default page stays under the size at which Claude Code moves a tool result to a file and Gemini CLI cuts out its middle. The 1 MiB maximum is unchanged; larger pages page through next_offset as before (#112).
  • A rejected site entry lists every problem at once, in draft_site, save_site and doc-scraper config validate/crawl/watch: unknown, refused or mistyped fields, missing start_urls, allowed_domain or content_selector, and invalid disallowed_path_patterns. config validate prints each on its own ERROR: [site] line, and -json puts them one per line in the site's error (#111).

New

  • tools/list declares every site entry field on draft_site's overrides and save_site's entry (type, a short description, and which fields entry needs), including that max_depth is an exclusive bound: max_depth: 1 crawls only the start pages (#111).

Fixes

  • search and search_docs show each section once. A long section is split into several chunks for the index, and each chunk used to take its own slot, so one section could fill half the results ("progress bar" on the Click docs gave 10 results from 5 sections). Results are now one per page and anchor, keeping the best-ranked chunk, and the list still fills to the limit when there are enough distinct sections (#46, #53).
  • A site key with nothing under it (b: or b: null) no longer crashes config validate, config list, crawl, watch, search or mcp-server. Loading the config now fails with site 'b' has no settings, naming every such site (#70, #122).

Thanks to @CloudCorpRecords for the search dedupe and @dbisina for the empty site fix.

Dependencies

  • modernc.org/sqlite 1.62.0.