waargonaut v0.6.0.0 Release Notes
Release Date: 2019-02-19 // about 5 years ago-
๐ Fixes
- Handling of HeXDigit4 values was not correct. The bug was partly due to the choice of optic, instead of producing a (type/failure) error when working with mixed-case hex values, it seems to be zero'ing them out.
- โ Added regression tests
Rework
- ๐ Redesigned ParseFn to handle:
- Data.String.String
- Data.Text.Text
- Data.ByteString.ByteString
- ๐ Updated documentation for ParseFn to match changes
- ๐ Updated documentation for default parsing functions
- ๐ Generalised the Builder process to handle Text and ByteString
- Created a record type to hold the required functions for builders
- Created submodules to house the generalised builders (see Waargonaut.Encode.Builder and friends)
- Added test to ensure both builders produce identical output
- ๐ Updated documentation for Encode process to match changes
- โ Added deprecation notice to
Waargonaut.Decode.Traversal
Cleanup
- Factored out components into more submodules:
- UnescapedJChar
- EscapedJChar
- HexDigit4
- Elem
- Elems
- JAssoc
- Decode.Runners
- ๐ Updated documentation if required for module changes.
- โ Deleted commented out code
- ๐ Changed all file textual encoding/decoding tests to Test.Tasty.Golden.
๐ New hotness
- โ Added a few prisms to allow for similar behaviour to the lens-aeson package.
- โ Added property tests for these new prisms to check they comply with the prism law.