This release introduces major trust and diagram enhancements, including a unified hybrid-trust model, absolute unit-based unitholder relationships, and free-form annotation lines and arrows on diagrams. It also improves runtime resilience with stronger client-side null safety and dedicated error/not-found handling.
Highlights
- Hybrid Trust Consolidation (Story 68.0): Consolidated hybrid trusts under the
unittrust type with anisHybridflag, simplifying trust modelling while retaining hybrid-specific semantics across forms, display, and diagram styling. - Absolute Unit Holdings for Unitholders (Story 68.0): Migrated unitholder relationships from percentage allocation to absolute
numberOfUnits+unitClass, aligned with shareholder behaviour across forms, validation, APIs, and diagram labels. - Unit Capital Management for Trusts (Story 68.0): Added full trust unit-capital management (unit classes, rights, untracked units, notes) with supporting routes, hooks, and UI sections/dialogs.
- Diagram Annotation Lines and Arrows (Story 69.0): Introduced free-form canvas annotations with dedicated JointJS shape/service/hook support and context-menu styling controls (color, thickness, dash pattern, arrowheads).
- Client-Side Robustness Improvements: Added null-guard patterns around route/query hooks like
useParams()anduseSearchParams()to reduce runtime edge-case failures. - Application Error Handling Improvements: Added dedicated
error.tsxandnot-found.tsxboundaries for clearer and more consistent failure/404 UX.