- Rename package from @sinclair/typebox to @alkdev/typebox - Update author, repository, and homepage to alkdev - Remove GitHub workflows, .vscode config, and branding assets - Update all source, test, example, changelog, and task imports - Update tsconfig.json path mappings - Clean up readme header (remove upstream badges/branding)
957 B
957 B
0.22.0
Updates:
- The type
TSchemais now expressed as an HKT compatible interface. All types now extend theTSchemainterface and are themselves also expressed as interfaces. This work was undertaken to explore recursive type aliases in future releases. - The phantom property
_inferhas been renamed to$static. Callers should not interact with this property as it will always beundefinedand used exclusively for optimizing type inference in TypeScript 4.5 and above. - TypeBox re-adds the feature to deeply introspect schema properties. This feature was temporarily removed on the
0.21.0update to resolve deep instantiation errors on TypeScript 4.5. - The
Type.Box(...)andType.Rec(...)functions internally rename the propertydefinitionsto$defsinline with JSON schema draft 2019-09 conventions. Reference here.