io-ts
2.2.22 · 10 Dec 2024MIT4.1M / weekRepositorynpmAtom feed
114 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 2.x · latest line
2.2.22
10 Dec 2024Bug Fix
2.2.21
3 Dec 2023Bug Fix
2.2.20
3 Dec 2022Undeprecate
FunctionType,FunctionC,FunctionUndeprecate
NeverType,NeverC,neverUndeprecate
AnyType,AnyC,any
Undeprecate
FunctionType,FunctionC,FunctionUndeprecate
NeverType,NeverC,neverUndeprecate
AnyType,AnyC,anyUndeprecate
RefinementC,refinement,IntegerAdd refinement overload to allow custom branding, closes #373
2.2.19
6 Oct 2022Bug Fix
2.2.18
29 Aug 2022Bug Fix
2.2.17
28 Jul 2022Bug Fix
2.2.16
8 Mar 2021Experimental
Experimental modules require
fp-ts@^2.5.0.Experimental
Codecadd
readonlycombinator
Encoderadd
readonlycombinator
2.2.15
22 Feb 2021Experimental
Experimental
Schemable(*) add
readonlycombinator(*) add
structcombinator
deprecate
typein favour ofstructdeprecate
fromTypein favour offromStruct
(*) breaking change
2.2.14
3 Feb 2021Experimental
2.2.13
20 Nov 2020Bug Fix
2.2.12
28 Oct 2020Experimental
Experimental
(*) make
sumsafer, closes #523
(*) breaking change
In case of non-
stringtag values, the respective key must be enclosed in bracketsexport const MySum: D.Decoder< unknown, | { type: 1 // non-`string` tag value a: string } | { type: 2 // non-`string` tag value b: number } > = D.sum('type')({ [1]: D.type({ type: D.literal(1), a: D.string }), [2]: D.type({ type: D.literal(2), b: D.number }) })2.2.11
5 Oct 2020Polish
2.2.10
19 Aug 2020Polish
2.2.9
16 Jul 2020Polish
Experimental
2.2.8
13 Jul 2020Experimental
Experimental
(*) remove
KleisliDecodermodule(*) remove
KleisliTaskDecodermodule(*) remove
JsonCodecmodule(*) remove
JsonEncodermoduleCodec(*) make
Codecmore general by adding aItype parameteradd
fromTypefunctionadd
fromPartialfunctionadd
fromArrayfunctionadd
fromRecordfunctionadd
fromTuplefunctionadd
fromSumfunctionadd
composefunction
Decoder(*) make
Decodermore general by adding aItype parameteradd
fromRefinementfunctionchange
fromGuardsignatureadd
fromTypefunctionadd
fromPartialfunctionadd
fromArrayfunctionadd
fromRecordfunctionadd
fromTuplefunctionadd
fromSumfunctionadd
composefunctionadd
idfunction(*) rename
functorDecoderinstance toFunctor(*) rename
altDecoderinstance toAlt(*) rename and split
schemableDecoderadd
Categoryinstanceadd
InputOftype
TaskDecoder(*) make
TaskDecodermore general by adding aItype parameteradd
fromRefinementfunctionchange
fromDecodersignatureadd
fromTypefunctionadd
fromPartialfunctionadd
fromArrayfunctionadd
fromRecordfunctionadd
fromTuplefunctionadd
fromSumfunctionadd
composefunctionadd
idfunction(*) rename
functorTaskDecoderinstance toFunctor(*) rename
altTaskDecoderinstance toAlt(*) rename and split
schemableTaskDecoderadd
Categoryinstanceadd
InputOftype
Guard(*) make
Guardmore general by adding aItype parameter(*) rename
schemableGuardadd
InputOftypeadd
altfunctionadd
zerofunctionadd
composefunctionadd
idfunction
Codec(*) rename
invariantCodectoInvariant
Encoder(*) rename
contravariantEncodertoContravariant(*) rename
categoryEncodertoCategory
Eq(*) rename and split
schemableEq
Kleisliadd
idrename
typetofromTyperename
partialtofromPartialrename
arraytofromArrayrename
recordtofromRecordrename
tupletofromTuplerename
sumtofromSum
Schemableadd
Schemable2C,WithUnknownContainers2C,WithUnion2C,WithRefine2C
Type(*) rename and split
schemableType
(*) breaking change
2.2.7
29 Jun 2020Experimental
Experimental
add
DecodeErrormoduleadd
FreeSemigroupmoduleadd
TaskDecodermoduleadd
Kleislimoduleadd
KleisliDecodermoduleadd
KleisliTaskDecodermodule(*) remove
NaNfromnumberinstances(*) remove
Treemodule(*) make
Jsontype immutableDecoder(*) remove
never(*) make
parsepipeable and change itsparserargument(*) change
DecoderError(*) remove
withExpectedin favour ofmapLeftWithInput
Guard(*) remove
never
Schemable(*) better
literalsignature(*) better
unionsignature(*) make intersections pipeables
(*) make refinements pipeables
(*) breaking change
2.2.6
16 Jun 2020Experimental
2.2.5
14 Jun 2020Experimental
2.2.4
27 May 2020Reading the note…
2.2.3
21 May 2020Reading the note…
2.2.2
4 May 2020Reading the note…
2.2.1
20 Apr 2020Reading the note…
2.2.0
16 Apr 2020Experimental
2.1.3
3 Apr 2020Reading the note…
2.1.2
24 Feb 2020Reading the note…
2.1.1
17 Feb 2020Reading the note…
2.1.0
10 Feb 2020New Feature
2.0.6
22 Jan 2020Reading the note…
2.0.5
16 Jan 2020Reading the note…
2.0.4
7 Jan 2020Reading the note…
2.0.3
20 Dec 2019Reading the note…
2.0.2
16 Dec 2019Reading the note…
2.0.1
6 Aug 2019Reading the note…
2.0.0
2 Jul 2019- breaking
Breaking Change
- 1.x
1.10.4
2 Jul 2019Reading the note…
1.10.3
2 Jul 2019Reading the note…
1.10.2
21 Jun 2019Reading the note…
1.10.1
20 Jun 2019Reading the note…
1.10.0
19 Jun 2019Reading the note…
1.9.0
13 Jun 2019Reading the note…
1.8.6
13 May 2019Reading the note…
1.8.5
30 Mar 2019Reading the note…
1.8.4
26 Mar 2019Reading the note…
1.8.3
14 Mar 2019Reading the note…
1.8.2
11 Feb 2019Reading the note…
1.8.1
5 Feb 2019Reading the note…
1.8.0
4 Feb 2019Reading the note…
1.7.1
28 Jan 2019Reading the note…
1.7.0
24 Jan 2019Reading the note…
1.6.4
18 Jan 2019Reading the note…