waargonaut v0.8.0.0 Release NotesRelease Date: 2019-09-04 // over 2 years ago
onObj'which is just
onObjbut specialised to
ObjEncoderstructures for record types only. Using the
record-soppackage. This makes it easier to leverage the Contravariant functionality of the
ObjEncoderwithout losing the benefits of deriving more trivial encoders.
➕ Added the
FieldNameAsKeyoption to the newtype options for generic derived enc/decoders.
🛠 Fixes #69 by removing duplicate call to
_optionsFieldNamefunction. Added regression test.
👌 Improved the handling of newtype options for generic deriving to give a bit more flexibility and avoid strangeness with respect to some combinations of options.
🔄 Change the building of escaped whitespace chars to actually use the
escapedWhitespaceCharfunction, instead of incorrectly generating an unescaped character.
➕ Add haddock to gObjEncoder function
Correctly bump version to 0.8.0.0 as this is a breaking change because of new constructors on an exported sum type.
✂ Remove some commented out code.
➕ Add a better failure message to "impossible" error case.
Regenerate nix after cabal file changes