Releases: gcanti/io-ts-codegen
Releases · gcanti/io-ts-codegen
0.4.5
- Bug Fix
- handle duplicated
TypeDeclaration
names in sort
, fix #59 (@gcanti)
0.4.3
- Bug Fix
- add support for special characters in
keyofCombinator
, fix #52 (@mmkal)
0.4.2
- Bug Fix
- add parens to static unions / intersections, fix #49 (@gcanti)
0.4.1
remove useless io-ts
peer dependency, closes #44 (@gcanti)
0.4.0
- New Feature
- handle recursive codecs with
A !== O
, closes #98 (@gcanti)
- Bug Fix
- fix recursive type declaration output (@gcanti)
- always extract the result type of an identifier when printing the static type, fix #43 (@gcanti)
0.3.3
- New Feature
- add
description
optional argument to typeDeclaration
(@mk0x9)
0.3.2
Note. This version requires io-ts@1.8.1+
- New Feature
- Deprecation
- deprecate
isReadonly
in typeDeclaration
(@gcanti)
- deprecate
integerType
(@gcanti)
0.3.1
- Bug Fix
printRuntimeInterfaceCombinator
should propagate name
when there are optional properties, fix #31 (@gcanti)
- Polish
- use type declaration name when wrapping in a
readonly
(@gcanti)
0.3.0
Note. This version requires io-ts@1.7.1+
- Breaking Change
- drop
AnyType
(@gcanti)
- rename
AnyArrayType
to UnknownArrayType
(@gcanti)
- rename
AnyDictionaryType
to UnknownRecordType
(@gcanti)
- drop
ObjectType
(@gcanti)
- drop
StrictCombinator
(@gcanti)
- drop
aliasPattern
(@gcanti)
- New Feature
- Polish
- use
t.type
instead of t.interface
(@gcanti)
- use
t.record
instead of t.dictionary
(@gcanti)
- recursive type output (@gcanti)
- Deprecation
- deprecate
dictionaryCombinator
in favour of recordCombinator
(@gcanti)
- deprecate
interfaceCombinator
in favour of typeCombinator
(@gcanti)
- Internal