io-ts-codegen

Code generation for io-ts

MIT License

Downloads
30.6K
Stars
156
Committers
8
io-ts-codegen - 0.4.5 Latest Release

Published by gcanti over 4 years ago

  • Bug Fix
    • handle duplicated TypeDeclaration names in sort, fix #59 (@gcanti)
io-ts-codegen - 0.4.4

Published by gcanti over 4 years ago

  • Bug Fix
    • add support for properties starting with digit in keyofCombinator, #57 (@AurelienRichez)
io-ts-codegen - 0.4.3

Published by gcanti almost 5 years ago

  • Bug Fix
    • add support for special characters in keyofCombinator, fix #52 (@mmkal)
io-ts-codegen - 0.4.2

Published by gcanti about 5 years ago

  • Bug Fix
    • add parens to static unions / intersections, fix #49 (@gcanti)
io-ts-codegen - 0.4.1

Published by gcanti over 5 years ago

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

io-ts-codegen - 0.4.0

Published by gcanti over 5 years ago

  • 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)
io-ts-codegen - 0.3.3

Published by gcanti over 5 years ago

  • New Feature
    • add description optional argument to typeDeclaration (@mk0x9)
io-ts-codegen - 0.3.2

Published by gcanti over 5 years ago

Note. This version requires [email protected]+

  • New Feature
    • revert drop strictCombinator (@gcanti)
    • add readonlyCombinator (@gcanti)
    • add intType (@gcanti)
    • add brandCombinator (@gcanti)
  • Deprecation
    • deprecate isReadonly in typeDeclaration (@gcanti)
    • deprecate integerType (@gcanti)
io-ts-codegen - 0.3.1

Published by gcanti over 5 years ago

  • 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)
io-ts-codegen - 0.3.0

Published by gcanti over 5 years ago

Note. This version requires [email protected]+

  • 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
    • add UnknownType (@gcanti)
  • 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
    • Test: 100% coverage (@gcanti)
io-ts-codegen - 0.2.2

Published by gcanti almost 6 years ago

  • Bug Fix
    • the static type outputted by dictionaries should use in (@gcanti)
io-ts-codegen - 0.2.1

Published by gcanti about 6 years ago

  • Bug Fix
    • Interface properties containing square bracket should also be escaped, #28 (@MaximeRDY)
io-ts-codegen - 0.2.0

Published by gcanti about 6 years ago

  • New Feature
    • update optional property support, see #27 (@mmkal)
io-ts-codegen - 0.1.11

Published by gcanti over 6 years ago

  • Bug Fix
    • recursive types should be emitted before "normal" types, fix #21 (@gcanti)
io-ts-codegen - 0.1.10

Published by gcanti over 6 years ago

  • Bug Fix
    • recursive tagged unions should not output an interface (@gcanti)
    • add an explicit type annotation when printing recursive types (@gcanti)
io-ts-codegen - 0.1.9

Published by gcanti over 6 years ago

  • New feature
    • add aliasPattern helper (@gcanti)
io-ts-codegen - 0.1.8

Published by gcanti over 6 years ago

  • Bug Fix
    • interface properties containing dots should also be escaped (@leemhenson)
io-ts-codegen - 0.1.7

Published by gcanti over 6 years ago

  • Experimental
    • add exact combinator (@gcanti)
io-ts-codegen - 0.1.6

Published by gcanti over 6 years ago

  • Bug Fix
    • fix recursive type declarations (@gcanti)
io-ts-codegen - 0.1.5

Published by gcanti over 6 years ago

  • New Feature
    • add CustomCombinator (@leemhenson)
    • add getNodeDependencies (@gcanti)