Skip to content

v5.0.0

Compare
Choose a tag to compare
@thomashoneyman thomashoneyman released this 14 Aug 23:33
  • The previous encode function had a type signature which assumed it would always succeed, but the underlying function used from JavaScript could throw an exception. That exception is now caught and the encode function returns a Maybe String. To recover the previous implementation when you know the encoding is valid, you can use unsafePartial on the Maybe result. (@nsaunders)
  • There is now a decode function (@nsaunders)