v5.0.0
- 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 theencode
function returns aMaybe String
. To recover the previous implementation when you know the encoding is valid, you can useunsafePartial
on theMaybe
result. (@nsaunders) - There is now a
decode
function (@nsaunders)