Skip to content

Releases: kowainik/tomland

v1.3.3.2 - GHC-9.2

05 Oct 20:23
561aefd
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.3.3.1...v1.3.3.2

v1.3.3.1: Bounds + flags for executables

08 Nov 22:50
0c75494
Compare
Choose a tag to compare

GHC-9.0 support

14 Mar 13:17
2b4bcc4
Compare
Choose a tag to compare
  • Upgrade hashable
  • Sort keys in printing by default

v1.3.2.0 Exact Decode

12 Feb 18:52
66ae4fc
Compare
Choose a tag to compare
Prepare release 1.3.2.0 (#367)

v1.3.1.0: GHC support, bugfixes, better format support

27 Sep 09:41
5243579
Compare
Choose a tag to compare
  • #331: Support hexidecimal, octal and binary values with underscores.
  • #335: Consider table array keys in tableMaps as well.
  • #338: Allow megaparsec-9.0 and hspec-megaparsec-2.2.
  • Update GHC from 8.8.3 to 8.8.4, from 8.10.1 to 8.10.2.

Grand release: GHC-8.10, Validation, DerivingVia, Combinators

19 May 21:00
316c893
Compare
Choose a tag to compare
  • #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 from validation-selective in TomlEnv. This allows to accumulate and display all errors that occurs during the decoding phase. All previous decode functions return list of all TomlDecodeErrors.
    Note: Due to the specific of Validation data type, there is no Monad instanse of Codec anymore. However, this doesn't limit any previously released features.
  • Add decodeValidation, decodeFileValidation functions to return Validation instead of Either.
  • #263: Simplify Codec abstraction. Instead of having Codec r w c a now it is Codec TomlEnv TomlState c a. Remove BiCodec as it is simple TomlCodec 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 codecs validate and validateIf for custom validation.
  • #289: Add _Coerce TomlBiMap.
  • #270: Add pair and triple codecs for tuples.
  • #261: Implement tableMap codec to use TOML keys as Map keys.
  • #243: Implement hashMap, tableHashMap, intMap, tableIntMap codec combinators.
  • Add intSet codec.
  • Add _KeyInt BiMapfor key-as-int approach.
  • #242: Add HasCodec instances for Map, HashMap and IntMap for Generic deriving.
  • #272: Add TomlTable newtype to be used in generic DerivingVia.
  • #251: Implement ByteStringAsText, ByteStringAsBytes, LByteStringAsText, LByteStringAsBytes newtypes. Add corresponding HasCodec instances for these data types.
  • #311: Reimplement custom TomlState instead of using MaybeT and State.
  • Rename ParseException to TomlParseError.
  • Rename DecodeException to TomlDecodeError.
  • Add TableArrayNotFound constructor to TomlDecodeError.
  • Remove TrivialError and TypeMismatch constructors of the TomlDecodeError type.
  • #313: Store Key in the BiMapError constructor of TomlDecodeError.
  • Add decodeFileEither and encodeToFile functions.
  • Fix sum and product behaviour on missing fields. Now it returns the wrapper of mempty instead of failure.
  • #302: nonEmpty codec throws TableArrayNotFound instead of TableNotFound.
  • #318: Export a function for parsing TOML keys parseKey.
  • #310: Add tests on all kinds of TomlDecodeError with decode function.
  • #218: Add tests for TOML validation.
  • #252: Move to hspec-* family of libraries from tasty-*.
  • #297: Tests parallelism and speed-up.
  • #246: Bump up megaparsec version to 8.0.0.

For more detailed information, see CHANGELOG.

v1.2.1.0: Map + Monoid = ❤️

06 Nov 07:33
Compare
Choose a tag to compare

More useful codecs: Map and Monoid wrappers (Any, All, Sum, Product, First, Last).

v1.2.0.0: Refinement

12 Oct 13:10
Compare
Choose a tag to compare

Faster parsing, more combinators, better docs

v1.0.0: Public release

21 Jan 12:55
Compare
Choose a tag to compare

v0.5.0: More combinators, renaming and refactoring. Great improvement.

12 Nov 13:44
Compare
Choose a tag to compare
Prepare for 0.5.0 release (#138)

* Prepare for 0.5.0 release

* Update the changelog