You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All error-related types now live in Decode.ParseError. Specifically, this means that DecodeBase.failure is now Decode.ParseError.base, which is important if you're extending the base errors to create your own custom errors.
Using ParseError.ResultOf will return a module that conforms to MONAD instead of giving you a Monad submodule back. This is consistent with our shift toward structural typeclasses instead of named typeclasses. This is only a breaking change if you extend the underlying error type, and the tests have been updated if you're looking for an example.
📝 Documentation
README explains peer dependencies better
Nested array decoding is demonstrated in the tests
Haskell-style object decoding operates on the decoders, not the result
✔️ Code quality
Bump dependencies and allow compilation with BuckleScript 7.1
Internally, use structural typing for typeclasses rather than named modules