Release v0.2.4
@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
sectionsmodule — Addedsrc/sections.tsproviding a dedicated parser for structure titles, decomposing them intodefinition,title, andkindfields 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.tsto reflect the new section structure, giving consumers typed access to parsed section metadata on report nodes. - Updated public exports —
src/index.tsandsrc/adapters/index.tsre-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 updated —
src/pivot.tsadjusted 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
- npm: @robosystems/report-components
- Full Changelog: v0.2.3...v0.2.4
- All Releases: View all releases
🤖 Generated with Claude Code