io-ts-types

A collection of codecs and combinators for use with io-ts

MIT License

Downloads
1.4M
Stars
311
Committers
16
io-ts-types - 0.4.7

Published by gcanti over 5 years ago

  • Bug Fix
    • bind decode to the provided validate in withValidate, fix #95 (@gcanti)
io-ts-types - 0.4.6

Published by gcanti over 5 years ago

  • New Feature
    • add UUID codec (@mlegenhausen)
io-ts-types - 0.4.5

Published by gcanti over 5 years ago

  • New Feature
    • add NonEmptyString codec (@gcanti)
io-ts-types - 0.4.4

Published by gcanti over 5 years ago

  • New Feature
    • add optionFromJSON combinator (@gcanti)
    • add eitherFromJSON combinator (@gcanti)
    • add IntFromString codec (@gcanti)
    • add fromRefinement combinator (@gcanti)
    • add regexp codec (@StefanoMagrassi)
  • Deprecation
    • deprecate number/IntegerFromString in favour of IntFromString (@gcanti)
    • deprecate fp-ts/createOptionFromJSON in favour of optionFromJSON (@gcanti)
    • deprecate fp-ts/createEitherFromJSON in favour of eitherFromJSON (@gcanti)
io-ts-types - 0.4.3

Published by gcanti over 5 years ago

  • New Feature
    • add clone (@gcanti)
    • add withValidate (@gcanti)
    • add withMessage (@gcanti)
io-ts-types - 0.4.2

Published by gcanti over 5 years ago

  • Polish
    • export all interfaces, fix #77 (@sledorze)
    • use record instead of deprecated dictionary (@sledorze)
    • upgrade to latest io-ts (@gcanti)
io-ts-types - 0.4.1

Published by gcanti over 5 years ago

io-ts-types - 0.4.0

Published by gcanti almost 6 years ago

  • Bug fix
    • switch to io-ts pattern, fix #67 (PR #71) (@gcanti)

Note. This fix should NOT be a breaking change for most users. However since some signatures are changed, namely their type parameters, this release is published with a minor bump as a precaution.

io-ts-types - 0.3.14

Published by gcanti about 6 years ago

  • New Feature
    • add Date/date (@mlegenhausen)
io-ts-types - 0.3.13

Published by gcanti about 6 years ago

io-ts-types - 0.3.12

Published by gcanti about 6 years ago

io-ts-types - 0.3.11

Published by gcanti about 6 years ago

  • New Feature
    • add boolean/BooleanFromString, fixes #55 (@sledorze)
io-ts-types - 0.3.10

Published by gcanti about 6 years ago

  • New Feature
    • add fallback, fixes #49 (@sledorze)
    • add fromNullable, closes #51 (@sledorze)
io-ts-types - 0.3.9

Published by gcanti about 6 years ago

  • New Feature
    • string/UUID type added (@mlegenhausen)
io-ts-types - 0.3.8

Published by gcanti over 6 years ago

  • New Feature
    • add newtype-ts/fromRefinement (@gcanti)
    • add newtype-ts/fromNewtypeCurried, closes #44 (@gcanti)
io-ts-types - 0.3.7

Published by gcanti over 6 years ago

broken release

io-ts-types - 0.3.6

Published by gcanti over 6 years ago

  • Bug Fix
    • fix NumberFromString validation, closes #40 (@sledorze)
  • Internal
    • simplify lensesFromInterface typings, closes #37 (@gcanti)
io-ts-types - 0.3.4

Published by gcanti over 6 years ago

  • New Feature
    • add createStrMapFromDictionary (@mlegenhausen)
io-ts-types - 0.3.3

Published by gcanti over 6 years ago

  • New Feature
    • add tagged custom types for (@gcanti, @sledorze)
      • createOptionFromNullable
      • createOptionFromJSON
      • createNonEmptyArrayFromArray
      • createEitherFromJSON
      • DateFromISOString
      • DateFromNumber
      • DateFromUnixTime
      • NumberFromString
      • JSONFromString
    • add createSetFromArray, closes #24 (@sledorze)
io-ts-types - 0.3.2

Published by gcanti over 6 years ago

  • New Feature
    • add mapOutput, closes #21 (@gcanti)