Skip to content

Release v0.2.4

Choose a tag to compare

@jfrench9 jfrench9 released this 08 Jul 05:17

@robosystems/report-components v0.2.4

Summary: This release introduces structured section title parsing across both adapters, enabling richer metadata extraction (definition, title, and kind) for financial statement sections.


✨ Features & Improvements

  • New sections module — Added src/sections.ts providing a dedicated parser for structure titles, decomposing them into definition, title, and kind fields for cleaner downstream rendering of statement headers and section labels.
  • Adapter-level section parsing — Both the SEC adapter (sec.ts) and store adapter (store.ts) now leverage the new section parser, ensuring consistent title/kind metadata regardless of data source.
  • Expanded model types — Updated model.ts to reflect the new section structure, giving consumers typed access to parsed section metadata on report nodes.
  • Updated public exportssrc/index.ts and src/adapters/index.ts re-export the new sections API, making it available to library consumers without deep imports.

⚠️ Breaking Changes

  • Section title shape changed — Components or code relying on raw, unparsed section title strings from adapter output may need to update to consume the new { definition, title, kind } structure. Check any custom renderers that read section-level metadata directly.

🔧 Technical Changes

  • Pivot logic updatedsrc/pivot.ts adjusted to align with the new section model, ensuring the pivot/transpose layer correctly threads parsed titles through to rendered tables.
  • Test coverage expanded — SEC adapter tests (test/sec.test.ts) updated to validate the new title parsing behavior end-to-end.

🐛 Bug Fixes

  • No explicit bug fixes in this release.

PR: #10 · Commits: 3 · Files changed: 9 (+151 / −72)


📊 Release Statistics

  • Commits: 3
  • Files Changed: 9
  • Components Updated: 7
  • Styles Updated: 0
  • Lines Added: 151
  • Lines Deleted: 72
  • Previous Release: v0.2.3

🔗 Links


🤖 Generated with Claude Code