tomland v1.1.0.0 Release Notes

Release Date: 2019-07-08 // almost 5 years ago
    • #154: Implement Generic bidirectional codecs (by @chshersh).
    • #145: Add support for inline table arrays (by @jiegillet).
    • #195: Fix an exponential parser behavior for parsing table of arrays (by @jiegillet).
    • #190: Add enumBounded codec for nullary sum types (by @mxxo).
    • #189: Breaking change: Implement custom table sorting by keys. Also fields of the PrintOptions data type were renamed according to style guide (by @ramanshah).

    Before:

      data PrintOptions = PrintOptions
          { shouldSort :: Bool
          , indent     :: Int
          } deriving (Show)
    

    Now:

      data PrintOptions = PrintOptions
          { printOptionsSorting :: !(Maybe (Key -> Key -> Ordering))
          , printOptionsIndent  :: !Int
          }
    

    Migration guide: If you used indent field, use printOptionsIndent instead. If you used shouldSort, use printOptionsSorting instead and pass Nothing instead of False or Just compare instead of True.