Oh My Pi v17.2.8: omptype schema engine upgrades
Oh My Pi v17.2.8 upgrades the bundled omptype schema engine with intersection and pipe operators, bigint and RegExp literals in the string DSL, Standard Schema V1 interop, fromJsonSchema() for rebuilding schemas from JSON Schema documents, $defs/$ref emission for recursive aliases, an AnyType constraint, and richer union/collection error reporting. Default() values now materialize for undefined input, and .narrow()/.filter() accept OmpErrors returns.
PUBLISHED2026-08-04
OBSERVED2026-08-21
AGE21d
SOURCES1
- Intersection and pipe operators in schema DSL
- BigInt and RegExp literal support in string DSL
- Standard Schema V1 interop (
~standardwith synchronous validation) fromJsonSchema(): rebuild callable schemas from JSON Schema (draft-07/2020-12)$defs/$refemission for recursive alias schemas intoJsonSchema()AnyTypefor generic functions accepting any schema- Root
.default()materializes forundefinedinput .narrow()/.filter()acceptOmpErrorsreturnsio: 'input'/io: 'output'options ontoJsonSchema()- Lazy activation of advanced normalization for low-overhead construction
.default()typed input-side, marks input as optional- Parse keywords union-aware in inference
- Alias intersections defer through memoized lazy nodes (fixes cyclic scope stack overflow)
COMMUNITY
No curated reactions recorded for this event. Facts and takes are kept in separate layers — community context is added by hand, never blended into the record above.