Tags:
- [New Feature]
- [Bug Fix]
- [Breaking Change]
- [Documentation]
- [Internal]
- [Polish]
- [Experimental]
Note: Gaps between patch versions are faulty/broken releases. Note: A feature tagged as Experimental is in a high state of flux, you're at risk of it changing without notice.
- New Fetaure
- add
forceTypeCombinator
to generate type instead of interface declarations, #63 (@silasdavis)
- add
- Bug Fix
- handle duplicated
TypeDeclaration
names insort
, fix #59 (@gcanti)
- handle duplicated
- Bug Fix
- add support properties starting with digit in
keyofCombinator
, #57 (@AurelienRichez)
- add support properties starting with digit in
- Bug Fix
- add support for special characters in
keyofCombinator
, fix #52 (@mmkal)
- add support for special characters in
- Bug Fix
- add parens to static unions / intersections, fix #49 (@gcanti)
remove useless io-ts
peer dependency, closes #44 (@gcanti)
- New Feature
- handle recursive codecs with
A !== O
, closes #98 (@gcanti)
- handle recursive codecs with
- Bug Fix
- fix recursive type declaration output (@gcanti)
- always extract the result type of an identifier when printing the static type, fix #43 (@gcanti)
- New Feature
- add
description
optional argument totypeDeclaration
(@mk0x9)
- add
Note. This version requires io-ts@1.8.1+
- New Feature
- revert drop
strictCombinator
(@gcanti) - add
readonlyCombinator
(@gcanti) - add
intType
(@gcanti) - add
brandCombinator
(@gcanti)
- revert drop
- Deprecation
- deprecate
isReadonly
intypeDeclaration
(@gcanti) - deprecate
integerType
(@gcanti)
- deprecate
- Bug Fix
printRuntimeInterfaceCombinator
should propagatename
when there are optional properties, fix #31 (@gcanti)
- Polish
- use type declaration name when wrapping in a
readonly
(@gcanti)
- use type declaration name when wrapping in a
Note. This version requires io-ts@1.7.1+
- Breaking Change
- drop
AnyType
(@gcanti) - rename
AnyArrayType
toUnknownArrayType
(@gcanti) - rename
AnyDictionaryType
toUnknownRecordType
(@gcanti) - drop
ObjectType
(@gcanti) - drop
StrictCombinator
(@gcanti) - drop
aliasPattern
(@gcanti)
- drop
- New Feature
- add
UnknownType
(@gcanti)
- add
- Polish
- use
t.type
instead oft.interface
(@gcanti) - use
t.record
instead oft.dictionary
(@gcanti) - recursive type output (@gcanti)
- use
- Deprecation
- deprecate
dictionaryCombinator
in favour ofrecordCombinator
(@gcanti) - deprecate
interfaceCombinator
in favour oftypeCombinator
(@gcanti)
- deprecate
- Internal
- Test: 100% coverage (@gcanti)
- Bug Fix
- the static type outputted by dictionaries should use
in
(@gcanti)
- the static type outputted by dictionaries should use
- Bug Fix
- Interface properties containing square bracket should also be escaped, #28 (@MaximeRDY)
- New Feature
- update optional property support, #27 (@mmkal)
- Bug Fix
- recursive types should be emitted before "normal" types, fix #21 (@gcanti)
- Bug Fix
- recursive tagged unions should not output an interface (@gcanti)
- add an explicit type annotation when printing recursive types (@gcanti)
- New feature
- add
aliasPattern
helper (@gcanti)
- add
- Bug Fix
- interface properties containing dots should also be escaped (@leemhenson)
- Experimental
- add
exact
combinator (@gcanti)
- add
- Bug Fix
- fix recursive type declarations (@gcanti)
- New Feature
- add
CustomCombinator
(@leemhenson) - add
getNodeDependencies
(@gcanti)
- add
- New Feature
- New Feature: add
AnyArrayType
,AnyDictionaryType
,ObjectType
,FunctionType
(@gcanti)
- New Feature: add
- New Feature
- add
CustomTypeDeclaration
(@gcanti)
- add
- New Feature
- add
TaggedUnionCombinator
(@gcanti)
- add
- New Feature
- add
PartialCombinator
(@gcanti) - avoid
undefinedType
duplications when a property is tagged as optional (@gcanti)
- add
- New Feature
- add
StrictCombinator
(@gcanti)
- add
- New Feature
- add
AnyType
(@gcanti)
- add
- New Feature
- add
IntegerType
(@gcanti)
- add
Initial release