Skip to content

v2.29.0

Latest

Choose a tag to compare

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

Behavior changes

  • Search finds headings the way GitHub renders them. Setext headings (a line underlined with === or ---) and headings inside blockquotes and list items now start their own search sections and get anchors, and # lines inside code blocks no longer do. Anchors follow GitHub's rules: they're built from the heading's rendered text, so link URLs and Markdown markup no longer leak in, repeated headings never share an anchor, and non-Latin headings keep their combining marks. Search results show heading paths as plain text. Indexed sites re-chunk once at the next mcp-server start or crawl, with no re-crawl. Anchors saved from earlier results for the affected headings stop resolving; read_page lists the valid ones (#101).
  • The JSONL headings field lists the same headings search uses, as plain text: Setext headings and headings in blockquotes and list items are included, # lines inside code blocks are not, and link URLs and Markdown markup are gone. Unchanged pages keep their old arrays until they're rewritten or the site is crawled fresh (#147).
  • read_page's headings line shows each heading with its anchor (Text #anchor), is built from the page content so it also works for pages crawled by older versions, and is capped at 4 KB, ending in (+N more) when cut (#147).
  • get_page calls with an offset reuse the page from the first call for up to 5 minutes instead of fetching and converting it again. Their header shows fetch_time_ms: 0 and cached_at, the time of that fetch. A call without an offset always fetches live (#143).

Performance

  • read_page and list_pages no longer read the whole pages.jsonl on every call. The first call after a server start or a crawl indexes the file once, and later calls take well under a millisecond on a 98 MB corpus (were 0.3 to 0.8 s) (#113).
  • list_sites and describe_server read each site's last crawl time from the end of pages.jsonl instead of scanning the whole file: under 1 ms per site instead of about 100 ms on a 98 MB corpus.
  • Reading a long page through get_page in parts makes one request instead of one per part: Flask's API page, read in 12 parts, went from 12 requests and 2.3 s to 1 request and 0.2 s (#143).

Dependencies

  • github.com/yuin/goldmark 1.8.7 (new), used to find headings.