Repository navigation
Release v0.21.0
xbrlkit v0.21.0
This release enhances TAVI serialization with fact location metadata, emitting the draft's fact location alongside a QName set describing where a fact sits in the broader document structure. Documentation also gains a working Python quickstart example.
Key Features & Improvements
- Fact location in TAVI output (#98) — The serializer now writes the draft's fact location, giving consumers a direct pointer to where each fact originates.
- QName context set — Each fact is accompanied by a set of QNames describing the surrounding structure it sits in, enabling richer downstream navigation and reconciliation.
- Round-trip support —
xbrlkit/deserialize/tavi.pywas updated in step with the serializer so the new fields survive a serialize → deserialize cycle. - Runnable README example (#97) — The Python snippet in the README is now a complete, executable example rather than an illustrative fragment.
Notable Technical Changes
xbrlkit/model.pyandxbrlkit/information_block.pyextended to carry and expose fact location and QName set data.- Test coverage expanded across
test_tavi.py,test_deserialize.py, andtest_information_block.pyto cover the new serialization fields. server.jsonandpyproject.tomlupdated for the 0.21.0 release.
Breaking Changes
xbrlkit versions.
Bug Fixes
No standalone bug fixes in this release; changes are feature and documentation focused.
Upgrading
Most users can upgrade in place. If you persist or compare TAVI artifacts, regenerate them after upgrading and review any schema or fixture assertions that assume the prior field set.
📊 Release Statistics
- Commits: 5
- Files Changed: 10
- Lines Added: 332
- Lines Deleted: 76
- Previous Release: v0.20.9
🔗 Links
- Full Changelog: v0.20.9...v0.21.0
- All Releases: View all releases
🤖 Generated with Claude Code