Skip to content

v2.25.0

Choose a tag to compare

@github-actions github-actions released this 05 Nov 16:39
· 112 commits to main since this release
Immutable release. Only release title and notes can be modified.

Crawls that lose pages are kept back

A crawl that finishes but would publish no pages, fails at least 3 pages and a quarter of its content pages with temporary errors, or has 30% fewer pages than the last recorded crawl (sites with 20+ pages) is no longer swapped in. The previous corpus stays, the run is not recorded in crawl history, and crawl exits 3; crawl --resume retries the failed pages and --resume -allow-shrink publishes the kept crawl (#56). A crawl where every page fails now exits 3 instead of 1.

During a fresh crawl, a page that fails with a temporary error keeps its previous copy instead of disappearing, so diff_crawl no longer reports it as removed.

noindex pages no longer count as successful pages.

MCP: crawl jobs report pages_saved, pages_failed, pages_carried_forward and failures by class, a kept-back job fails with refused and an error_message that says how to continue, and crawl_site takes allow_shrink (#84).

Tables

Tables with line breaks or paragraphs in their cells stay tables, with <br> between the lines, instead of being flattened into text with the cells run together (#121). A table that can't be a Markdown table (for example a list, multi-line code or another table in a cell) now keeps its cells apart and labels each one with its column header. Line-numbered code from Pygments (MkDocs Material, mkdocstrings), Hugo and Jekyll comes out as one code block without the line numbers, and a | inside code, an image's alt text or a title in a table no longer breaks the row.

A table of a single cell, which sites use for layout (a byline, a short page TOC), is written as just its content.

The Markdown format version changed, so the first incremental crawl after upgrading re-saves every page.

Fixes

  • Hostnames are compared case-insensitively everywhere a URL is checked against the site: start URLs, followed links, redirects, output paths, sitemaps, and add's scope, sampling, redirect and canonical checks. Before, an allowed_domain with a capital letter put every page out of scope, and a link or sitemap URL with an uppercase host was dropped (#125).
  • A state_dir path containing # or ? no longer makes the search index open at the wrong path (#97).
  • A search query that repeats a word no longer slows down with every repeat. Repeated terms count once, and results are unchanged; a query repeating one word 3,000 times took 296 s and now takes 0.025 s (#99).
  • When two links touch, like [a](x)[b](y), a page's JSONL links now lists both instead of dropping the second (#133).
  • A BEL control character in a page no longer gets read as the Markdown converter's internal escape marker, which could leave a bare | in a table row.

Performance

  • Crawls with more than 8 workers no longer queue on a single shared Markdown converter. On a 2,001-page local crawl, the crawl phase at 32 workers went from 3.58 s to 2.21 s, and at 16 workers from 3.42 s to 2.39 s; at 4 workers it is unchanged.

Docs

  • PRIVACY.md and the MCP overview name every MCP tool that makes network requests.
  • The configuration reference documents the *.example.com wildcard in allowed_image_domains and disallowed_image_domains, the output reference notes that JSONL headings, links and images are null when a page has none, and the watch log sample says which versions it holds for.
  • The watch guide's note on retrying failed runs covers crawls that were kept back.

Dependencies

  • github.com/mark3labs/mcp-go 1.4.0.

Thanks to @jayyyyqwq, @raven-clown, @bettercallcaleb, @19anveshh and @canakyuz for this release's fixes and docs, and to @M3R14M for the table report.