Skip to content

v1.0.2

Choose a tag to compare

@github-actions github-actions released this 10 Jun 00:50
· 2 commits to main since this release

v1.0.2

Highlights

  • Adds builder-style add(...) and extend(...) methods to Document,
    Body, sections, boxes, multi-column containers, parts, column spans, and
    theorem-like countable blocks.
  • Adds Python-native table helpers: Table.from_records(...),
    Table.from_mapping(...), Table.from_csv(...), and Table.from_tsv(...).
  • Adds table style presets through TableStyle.plain(),
    TableStyle.compact(), and TableStyle.evidence().
  • Adds Figure.from_bytes(...) and Figure.from_buffer(...) for in-memory
    image workflows.
  • Adds validation serialization with ValidationIssue.to_dict(),
    ValidationResult.to_dict(), and ValidationResult.to_json().
  • Adds CLI support for oodocs validate --format json, --traceback,
    --show-warnings, and --fail-on-warning.

Compatibility Notes

  • Existing constructor-style documents keep the same public behavior and render
    path. All new authoring APIs are opt-in convenience layers over the existing
    object model.
  • CLI text output remains the default. JSON validation output and stricter
    warning handling only apply when the new flags are passed.
  • No new required runtime dependencies were added.

Release Notes

  • Builder APIs reuse the same block coercion rules as constructors, including
    None, strings, existing blocks, and nested child sequences.
  • CSV and TSV table imports use Python's standard library csv module.
  • Validation JSON is intended for CI logs, release evidence, and other
    machine-readable checks.