Skip to content

Releases: gcanti/io-ts-codegen

0.4.5

27 Jun 10:39
Compare
Choose a tag to compare
  • Bug Fix
    • handle duplicated TypeDeclaration names in sort, fix #59 (@gcanti)

0.4.4

30 Apr 14:19
Compare
Choose a tag to compare
  • Bug Fix
    • add support for properties starting with digit in keyofCombinator, #57 (@AurelienRichez)

0.4.3

19 Jan 08:12
Compare
Choose a tag to compare
  • Bug Fix
    • add support for special characters in keyofCombinator, fix #52 (@mmkal)

0.4.2

25 Sep 14:54
Compare
Choose a tag to compare
  • Bug Fix
    • add parens to static unions / intersections, fix #49 (@gcanti)

0.4.1

23 Jul 15:01
Compare
Choose a tag to compare

remove useless io-ts peer dependency, closes #44 (@gcanti)

0.4.0

18 Jul 09:45
Compare
Choose a tag to compare
  • 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

02 Apr 14:35
Compare
Choose a tag to compare
  • New Feature
    • add description optional argument to typeDeclaration (@mk0x9)

0.3.2

07 Feb 10:07
Compare
Choose a tag to compare

Note. This version requires io-ts@1.8.1+

  • New Feature
  • Deprecation
    • deprecate isReadonly in typeDeclaration (@gcanti)
    • deprecate integerType (@gcanti)

0.3.1

06 Feb 15:11
Compare
Choose a tag to compare
  • 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

29 Jan 16:06
Compare
Choose a tag to compare

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