Skip to content

Releases: nvie/decoders

v1.24.0

18 Jun 09:29
Compare
Choose a tag to compare
  • New decoders:

    • describe: change the error message for an existing decoder
  • Add support for Flow 0.153.x

  • Drop support for Node 13.x (unstable)

v1.23.5

01 Apr 10:08
Compare
Choose a tag to compare
  • TypeScript: Add missing export for tuple1

v1.23.4

10 Feb 22:32
Compare
Choose a tag to compare

TypeScript types:

  • Add missing export for nonEmptyString

v1.23.3

06 Oct 21:00
Compare
Choose a tag to compare
  • Returned objects that are the result from object(), inexact(), and exact() decoders will no longer contain explicit undefined values for optional keys, but instead those keys will be missing in the returned object entirely. (#574, thanks @w01fgang!)

v1.23.2

15 Sep 11:53
Compare
Choose a tag to compare
  • Add missing exports for nonEmptyArray and nonEmptyString (for TypeScript)

v1.23.1

14 Sep 13:06
Compare
Choose a tag to compare
  • Include an error code with every FlowFixMe suppression (Flow 0.132.x compatibility)

v1.23.0

09 Sep 19:18
Compare
Choose a tag to compare
  • New decoders:
    • json: decodes any valid JSON value
    • jsonObject: decodes any valid JSON object
    • jsonArray: decodes any valid JSON array

v1.22.2

22 Jun 11:34
Compare
Choose a tag to compare
  • New decoders:

  • Improved type inference for object() and exact() decoders (see #515, thanks @dimfeld)

  • DecoderType is now an alias for $DecoderType (to support both TypeScript and Flow conventional naming)

  • GuardType (and $GuardType) is a new type function to extract the type of a guard instance

v1.22.1

22 Jun 11:25
Compare
Choose a tag to compare
v1.22.1 Pre-release
Pre-release
Bump to 1.22.1

v1.22.0

22 Jun 11:03
Compare
Choose a tag to compare
v1.22.0 Pre-release
Pre-release
Bump to 1.22.0