Skip to content

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 24 Oct 18:46
· 18 commits to main since this release

Breaking

  • Packs: a request's pack_id must name a loaded pack, and an unknown template_id with a
    pack is an error (default keeps the built-in layout); before, both were ignored.
  • Packs: the loader refuses packs whose manifest lists missing files or whose components and
    templates do not define their Typst function. Templates are keyed by their manifest name
    (seo-report), not their file name.
  • Components: ComponentDescriptor has the new fields fn_name and normalize; without
    the barcodes feature, barcode is no longer registered.

Added

  • Packs: pack components (also inside grids and flow groups, and as overrides of built-in
    components), the template selected by template_id, its default theme and pack assets are
    rendered. Details: PACKS_README.
  • Packs: the bundled standard and seo-audit packs load and render.
  • CLI: render --pack-path <DIR>; a request with pack_id loads that pack.

Changed

  • Components: a component is registered by one component_catalog! call next to its
    struct; the grid and flow-group dispatchers are generated from the catalog.
  • Crate: no stray PDFs and rendered example outputs in the published package.
  • Docs: all documentation lives on the project site;
    new pages for template packs and
    report patterns. The README is a
    short entry point.
  • Contributors: CI runs on pull requests and main only; beta tests and coverage run on
    demand.
  • Contributors: component structs live in one module per catalog category; public paths
    (components::*, components::advanced::*) are unchanged.

Fixed

  • Packs: the default search path ~/.renderreport/packs resolves the home directory; before,
    the ~ was taken literally.

Full changelog: https://github.com/casoon/renderreport/blob/main/CHANGELOG.md