Architecture Log

The typeDiagram Blog

Updates, deep dives, and release notes from the people building the DSL, parser, layout engine, and renderer.

The typeDiagram team

typeDiagram 0.11: Native DateTime, Uuid and Decimal Scalars — Codegen That Refuses to Lie

typeDiagram 0.11 adds native DateTime, Uuid, and Decimal scalars that generate real datetime / UUID / decimal types in TypeScript, Python, Rust, Go, C#, F#, Dart, PHP, and Protobuf — plus strict code generation that fails on unknown type names instead of emitting code that won't compile. The fix for schema drift on timestamps and ids.

Read post →
The typeDiagram team

Class Diagrams for Modern Type Systems: Diagram-as-Code and Source Generation with typeDiagram

A practical guide to class diagrams for modern type systems, including records, discriminated unions, and tagged unions. Generate TypeScript, Rust, C#, F#, Go, Python, Dart, PHP, and Protobuf types from one diagram, render SVG via pluggable hooks, and embed in Markdown — all diagram-as-code, all open source.

Read post →