This release adds helpers to ease the transition away from the deprecated features in the 1.0 release. Barring any bugs that require fixing, this is the last planned release in the 1.x series.
⚠️ Deprecated features
- Some deprecations mentioned in the previous release notes weren't actually deprecated in the code. Those will now trigger compiler warnings.
✨ New features
hush
is a new function that takes aDecode.AsResult.OfParseError
decoder and converts it into aJs.Json.t => option('a)
decoder (effectively "hushing" the error). This should make the transition away fromDecode.AsOption
easier.literalBool
,literalTrue
, andliteralFalse
join the otherliteral*
decoders that first decode, then further validate the outputintUnion
works likestringUnion
and should make the transition away fromvariantFromInt
easier