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
hushis a new function that takes aDecode.AsResult.OfParseErrordecoder and converts it into aJs.Json.t => option('a)decoder (effectively "hushing" the error). This should make the transition away fromDecode.AsOptioneasier.literalBool,literalTrue, andliteralFalsejoin the otherliteral*decoders that first decode, then further validate the outputintUnionworks likestringUnionand should make the transition away fromvariantFromInteasier