Skip to content

Releases: nvie/decoders

v1.21.0

15 Jun 22:17
Compare
Choose a tag to compare
  • New decoder lazy(): lazily-evaluated decoder, suitable to define
    self-referential types.

  • Fix compatibility with Flow 0.127.0

v1.20.2

07 Jun 09:35
Compare
Choose a tag to compare
  • Fix compatibility with Flow 0.126.0+

v1.20.1

25 May 12:01
Compare
Choose a tag to compare
  • Upgrade debrief to correct (final) version

v1.20.0

25 May 11:51
Compare
Choose a tag to compare
  • Fix issue where infinite recursion occurs when input object (the object being validated) contains a circular reference

v1.20.0-rc1

25 May 11:05
Compare
Choose a tag to compare
v1.20.0-rc1 Pre-release
Pre-release
Bump to 1.20.0-rc1

v1.19.1

15 May 10:02
Compare
Choose a tag to compare
  • Republish due to an NPM outage

v1.19.0

15 May 09:58
Compare
Choose a tag to compare

New decoders:

  • To complement the tuple family of decoders, there's now also tuple1 (thanks
    @sfarthin!)

v1.18.1

11 Feb 22:24
Compare
Choose a tag to compare
  • Also fix Flow type bugs when Flow option exact_by_default=true in debrief dependency

v1.18.0

11 Feb 22:09
Compare
Choose a tag to compare

New decoders:

  • nonEmptyString: like string, but will fail on inputs with only whitespace
    (or the empty string)

  • nonEmptyArray: like array, but will fail on inputs with 0 elements

Fixes:

  • Fix Flow type bugs when Flow option exact_by_default=true is enabled

v1.17.0

13 Nov 09:50
Compare
Choose a tag to compare

May cause breakage for Flow users:*

  • Fix subtle bug in object() and exact() Flow type definitions that could
    cause Flow to leak any under rare circumstances.

(*: For TypeScript users, this version is identical to v1.16.1.)