You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cardinality fields on RelationDef:carDirect and carInverse are now stored on every resolved relation and used by /_about E/R diagram to render accurate crow's-foot notation instead of inferring cardinality from relation type
parseRelations() DSL parser (src/storage/parseRelations.ts): new parseDslString() internal function handles all three DSL levels; all forms expand to the same canonical RelationDef at parse time
parseRoutes.ts (src/storage/parseRoutes.ts): extracted _routes parsing logic from yrestStorage.ts into its own module
E/R diagram canvas split (src/router/templates/about.diagram.canvas.ts): the inline JavaScript canvas renderer is now in a dedicated file using the /*js*/ comment tag for editor syntax highlighting; about.diagram.ts retains only TypeScript types and generateERData()
Changed
_ prefix convention enforced on all yrest reserved keys: verbose relation objects now use _type, _target, _foreignKey, _otherKey, _through, _nested, _car-direct, _car-inverse (all prefixed with _). The previous unprefixed form (type, target, nested, etc.) is no longer supported
yrestStorage.ts now serialises _foreignKey, _car-direct and _car-inverse back to YAML on snapshot/persist
init --sample ecommerce and init --sample relational templates updated to use the _ prefix convention throughout
Breaking
Verbose _rel object keys without _ prefix (type, target, nested, through, foreignKey, otherKey) are no longer parsed. Migrate existing db.yml files by adding _ to each key: type → _type, target → _target, nested → _nested, etc.