waargonaut v0.8.0.1 Release Notes

Release Date: 2019-09-22 // over 4 years ago
    • ๐Ÿ‘Œ Support GHC 8.8.1

    • ๐Ÿ‘Œ Support generics-sop 0.5


Previous changes from v0.8.0.0

    • โž• Add onObj' which is just onObj but specialised to Identity.

    • โž• Add gObjEncoder for deriving ObjEncoder structures for record types only. Using the IsRecord constraint from record-sop package. This makes it easier to leverage the Contravariant functionality of the ObjEncoder without losing the benefits of deriving more trivial encoders.

    • โž• Added the FieldNameAsKey option to the newtype options for generic derived enc/decoders.

    • ๐Ÿ›  Fixes #69 by removing duplicate call to _optionsFieldName function. 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 escapedWhitespaceChar function, 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