Packages

io-ts

2.2.22 · 10 Dec 2024MIT4.1M / weekRepositorynpmAtom feed

Your version

2.2.3

21 May 2020Where it was published

2.2.22 is the newest release of 2.x.

In short

9 new1 fixed5 changed1 internal

Release note

  • Polish

    • use the built-in Readonly type in readonly combinator, closes #472

  • Experimental

    • split instances

    • add Type experimental module, #464

    • restore the O type parameter to Encoder, #469

    • add the O type parameter to Codec

    • add JsonCodec experimental module

    • add JsonEncoder experimental module

    • Schemable

      • rename Schemable interface to Schemable1

      • rename WithUnion interface to WithUnion1

      • add Schemable interface

      • add WithUnion interface

      • add WithRefinement / WithRefinement1 interfaces

      • add WithUnknownContainers / WithUnknownContainers1 interfaces

        • move UnknownArray and UnknownRecord to WithUnknownContainers

    • Schema

      • refactoring with the new Schemable interface

      • add interpreter function

  • Internal

    • upgrade to typescript@3.9.3