Releases: kowainik/tomland
Releases · kowainik/tomland
v1.3.3.2 - GHC-9.2
v1.3.3.1: Bounds + flags for executables
See CHANGELOG.md for more details.
GHC-9.0 support
- Upgrade
hashable
- Sort keys in printing by default
v1.3.2.0 Exact Decode
Prepare release 1.3.2.0 (#367)
v1.3.1.0: GHC support, bugfixes, better format support
Grand release: GHC-8.10, Validation, DerivingVia, Combinators
- #253: Support GHC-8.10.1. Move to GHC-8.8.3 from 8.8.1.
- Drop support of GHC-8.2.2.
- #271: Use
Validation
fromvalidation-selective
inTomlEnv
. This allows to accumulate and display all errors that occurs during the decoding phase. All previous decode functions return list of allTomlDecodeError
s.
Note: Due to the specific ofValidation
data type, there is noMonad
instanse ofCodec
anymore. However, this doesn't limit any previously released features. - Add
decodeValidation
,decodeFileValidation
functions to returnValidation
instead ofEither
. - #263: Simplify
Codec
abstraction. Instead of havingCodec r w c a
now it isCodec TomlEnv TomlState c a
. RemoveBiCodec
as it is simpleTomlCodec
with this change. - #256, #278: Rename modules to simplify module structure.
- #283: Documentation improvements:
- Add Codec Tables to each kind of codecs with examples
- Add high-level description to each reexported module
- Add @SInCE annotations
- Improve README
- Add more examples into functions
- #237: Add
BiMap
_Validate
and codecsvalidate
andvalidateIf
for custom validation. - #289: Add
_Coerce
TomlBiMap
. - #270: Add
pair
andtriple
codecs for tuples. - #261: Implement
tableMap
codec to use TOML keys asMap
keys. - #243: Implement
hashMap
,tableHashMap
,intMap
,tableIntMap
codec combinators. - Add
intSet
codec. - Add
_KeyInt
BiMap
for key-as-int approach. - #242: Add
HasCodec
instances forMap
,HashMap
andIntMap
forGeneric
deriving. - #272: Add
TomlTable
newtype to be used in genericDerivingVia
. - #251: Implement
ByteStringAsText
,ByteStringAsBytes
,LByteStringAsText
,LByteStringAsBytes
newtypes. Add correspondingHasCodec
instances for these data types. - #311: Reimplement custom
TomlState
instead of usingMaybeT
andState
. - Rename
ParseException
toTomlParseError
. - Rename
DecodeException
toTomlDecodeError
. - Add
TableArrayNotFound
constructor toTomlDecodeError
. - Remove
TrivialError
andTypeMismatch
constructors of theTomlDecodeError
type. - #313: Store
Key
in theBiMapError
constructor ofTomlDecodeError
. - Add
decodeFileEither
andencodeToFile
functions. - Fix
sum
andproduct
behaviour on missing fields. Now it returns the wrapper ofmempty
instead of failure. - #302:
nonEmpty
codec throwsTableArrayNotFound
instead ofTableNotFound
. - #318: Export a function for parsing TOML keys
parseKey
. - #310: Add tests on all kinds of
TomlDecodeError
withdecode
function. - #218: Add tests for TOML validation.
- #252: Move to
hspec-*
family of libraries fromtasty-*
. - #297: Tests parallelism and speed-up.
- #246: Bump up
megaparsec
version to8.0.0
.
For more detailed information, see CHANGELOG.
v1.2.1.0: Map + Monoid = ❤️
More useful codecs: Map and Monoid wrappers (Any, All, Sum, Product, First, Last).
v1.2.0.0: Refinement
Faster parsing, more combinators, better docs
v1.0.0: Public release
More details in the following blog post:
v0.5.0: More combinators, renaming and refactoring. Great improvement.
Prepare for 0.5.0 release (#138) * Prepare for 0.5.0 release * Update the changelog