Skip to content

Release v0.2.2

Choose a tag to compare

@jfrench9 jfrench9 released this 08 Jul 00:56

@robosystems/report-components v0.2.2

Summary: This release improves section rendering order to follow the XBRL presentation structure and adds sandboxed HTML rendering for text-block disclosures, ensuring financial statements render with correct ordering and rich narrative content.

✨ Features & Improvements

  • Structure-based section ordering — Statement sections are now ordered by their structural identity (presentation linkbase position) rather than by blockType, producing output that faithfully follows the filer's intended disclosure sequence.
  • Sandboxed HTML text-block renderingExternalTextBlock now renders XBRL text-block disclosures (e.g., accounting policies, footnotes) as sandboxed HTML, preserving the original formatting while isolating styles from the host application.

🔧 Technical Changes

  • Extended the adapter store (src/adapters/store.ts) to support the new ordering logic, with accompanying unit tests (test/store.test.ts).
  • Updated internal model types (src/model.ts) and constants (src/constants.ts) to capture structure identity metadata used for section sorting.

⚠️ Breaking Changes

None.

🐛 Bug Fixes

  • Fixed an issue where sections could render in an incorrect or non-deterministic order when multiple block types shared the same presentation group, improving correctness of multi-section financial statements.

📊 Release Statistics

  • Commits: 4
  • Files Changed: 7
  • Components Updated: 5
  • Styles Updated: 0
  • Lines Added: 118
  • Lines Deleted: 2
  • Previous Release: v0.2.1

🔗 Links


🤖 Generated with Claude Code