Skip to content

v0.5.0: Outline mode, section selectors, and multi-part Formex 4 assembly

Choose a tag to compare

@cyanheads cyanheads released this 02 Jul 03:17
v0.5.0
2798ba9

Outline mode, section selectors, and multi-part Formex 4 assembly

eurlex_get_document can navigate an act by structure instead of raw character offsets, and the xml format now returns the full act for multi-part OJ documents.

Added:

  • Outline mode and structural selectors for eurlex_get_document (#12) — outline:true lists chapters/sections/articles/annexes/recitals with character offsets; select returns specific sections by number (Roman or Arabic). Acts with no detectable structure degrade to the paging floor with a notice, never an error.
  • Multi-part Formex 4 assembly for format:"xml" (#18) — follows the CELLAR HTTP 300 sibling part references and concatenates them in stream order, so acts like the GDPR (32016R0679) return the full act. Best-effort, falling back to content_available:false on any failure.

Changed:

  • Dependencies: @biomejs/biome ^2.5.1 → ^2.5.2, @types/node ^26.0.1 → ^26.1.0

195 tests pass; bun run devcheck clean.