Features
-
OCaml Planet now has keyword-based search with faceted filtering (type, source, year, keyword, author) over 2,378 posts. Keywords are generated at scrape time and backfilled for existing posts. #3907, #3908
-
Per-document "Authors and history" records are precomputed from git history and baked into data.bin. The generator recovers pre-v3 authorship from v2.ocaml.org and ocaml-tutorial.org, crediting 22 tutorials with their original authors. #3904
-
The MCP server endpoint (
/mcp) is re-enabled after a security hardening pass. The tool page at/tools/docs-mcpis refreshed with verified vendor documentation. #3899
Compatibility and Releases
-
Package state persistence moves from Marshal to a repr-derived binary codec. The GraphQL field
packgeByVersionsis renamed topackageByVersions(breaking for external callers of the old spelling). #3903 -
A stacked PR series (#3923–#3928, open) extends mdx testing to 36 of 45 OCaml-bearing tutorials (671 live blocks, up from 41) and adds a tripwire that fails the build when an allow-listed file tests nothing.
Fixes
-
Tutorial search: Str replaced by Re (fixes crash on regex characters), snippets cut at UTF-8 boundaries, and Unicode case folding enables accented-text matching. Sectionless documents are now searchable. #3911, #3913, #3915, #3917, #3922
-
MCP server: POST body capped at 1 MB (413 on excess), rate limiter no longer bypassable via X-Forwarded-For spoofing, docs fetch has a 30 s timeout, and caches are byte-bounded. #3891, #3893, #3894, #3895, #3897
-
Inline code inside a prose link now inherits the link colour, so code-only links (e.g.
Mapon /docs/maps) are visually distinguishable from plain code. #3882