Releases: Snowflyt/typroof
Releases · Snowflyt/typroof
v0.4.1
v0.4.0
- ✨ feat!: Use type-level functions instead to define validators and serializers, aiming to boost compile-time performance. The newly introduced type-level functions (
Validator
andSerializer
) are compatible with the hkt-core V1 standard. As part of this update, the originalValidator
is now renamed toValidatorRegistry
andStringifySerializer
toStringifySerializerRegistry
, and these have been migrated fromtyproof
totyproof/plugin
for better modularity. (4e48a45) - 🦄 refactor!: Relocate several type exports—including
Stringify
and its related types,ValidatorRegistry
,Analyzer
,AnalyzerMeta
,Match
, andToAnalyze
—fromtyproof
totyproof/plugin
, enhancing code organization and clarity. (a584e4e)
v0.3.8
v0.3.7
v0.3.6
v0.3.5
v0.3.4
v0.3.3
v0.3.2
v0.3.0
- ✨ feat (BREAKING CHANGE): Analyzer is now only called when type-level validation does not pass. Note that the function signature of
Analyzer
is also changed accordingly. - ✨ feat: Assume validation fails when validator evaluates to never.
- 🐞 fix: Fix the BUG that
Stringify
evaluates tonever
when stringifying a function with parameter typenever
.