Skip to content

Releases: justinwoo/purescript-simple-json

v9.0.0

12 May 18:43
b85e112
Compare
Choose a tag to compare

generated by gh:

What's Changed

New Contributors

Full Changelog: v8.0.0...v9.0.0

v8.0.0 for PureScript 0.14.0

20 Mar 13:28
Compare
Choose a tag to compare

PureScript 0.14.0

v7.0.0

10 Jun 22:26
Compare
Choose a tag to compare
v7.0.0

v5.1.0

24 Apr 07:30
Compare
Choose a tag to compare

Fixed readArray Foreign Errors

v4.3.0

31 Oct 09:38
Compare
Choose a tag to compare

Adds read_ and readJSON_ for Maybe forms

v4.0.0

28 May 17:46
Compare
Choose a tag to compare

PureScript 0.12.0 release

Removes Foreign-Generics dependency

Simple-JSON 3.0

24 Apr 14:08
Compare
Choose a tag to compare

Same great simple usage.

Major changes:

  • NullOrUndefined removed, as it is also removed from Foreign-Generics
  • Maybe instance now uses the same NullOrUndefined behavior as Foreign-Generics, outputting undefined (no properties) for Nothing.
  • Nullable will continue to write null and explicitly check for null in reading.

2.0!

07 Mar 13:20
Compare
Choose a tag to compare

This release changes the signature of read to Foreign -> Either _ a and adds read' as Foreign -> F a

Variant

16 Dec 10:37
Compare
Choose a tag to compare

Now there is variant support in Simple-JSON.

Tl;dr

type MyTestVariant = Variant
  ( a :: String
  , b :: Int
  )
{
  "type": "b",
  "value": 123
}

1.0!

26 Sep 14:05
Compare
Choose a tag to compare

Many people have already been using this library to great effect, so nothing much new comes in this release except for one big change by @kritzcreek:

  • readJSON now returns Either MultipleErrors a
  • readJSON' is available to return the old F a

This makes usage for many people easier as you no longer need to manually runExcept anymore.