Skip to content

Releases: nvie/decoders

v1.11.0-alpha1

01 Jan 21:26
Compare
Choose a tag to compare
v1.11.0-alpha1 Pre-release
Pre-release
v1.11.0-alpha1

v1.10.6

30 Oct 10:21
Compare
Choose a tag to compare
  • Flow 0.85 support

v1.10.5

29 Sep 09:55
Compare
Choose a tag to compare
  • Update to latest debrief (which fixes a TypeScript bug)

v1.10.4

26 Sep 09:01
Compare
Choose a tag to compare
  • Drop dependency on babel-runtime to reduce bundle size

v1.10.3

26 Sep 09:01
Compare
Choose a tag to compare
  • Fix minor declaration issue in TypeScript definitions

v1.10.2

26 Sep 09:01
Compare
Choose a tag to compare
  • Tuple decoder error messages now show decoder errors in all positions, not
    just the first occurrence.

New decoders:

  • New tuple decoders: tuple3, tuple4, tuple5, and tuple6
  • unknown decoder is an alias of mixed, which may be more recognizable for
    TypeScript users.

v1.10.1

26 Sep 09:01
Compare
Choose a tag to compare
  • TypeScript support

v1.10.0

26 Sep 09:00
Compare
Choose a tag to compare

Breaking:

  • Private helper function undefined_or_null was accidentally exported in the
    package. This is a private API.

v1.9.0

29 Aug 09:19
Compare
Choose a tag to compare

New decoder:

  • dict() is like mapping(), but will return an object rather than a Map
    instance, which may be more convenient to handle in most cases.

Breaking:

  • optional(..., /* allowNull */ true) has been removed (was deprecated since
    1.8.3)

v1.8.2

11 Jun 19:22
Compare
Choose a tag to compare

Improved error reporting:

  • Fix bug where empty error branches could be shown in complex either expressions