Changelog for tomland-1.1.0.1
Changelog
tomland uses PVP Versioning. The changelog is available on GitHub.
1.1.0.1 — Jul 10, 2019
- #206: Fix in parser of inline tables inside tables, add tests for official TOML examples (by @jiegillet)
1.1.0.0 — Jul 8, 2019
-
#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, useprintOptionsIndent
instead. If you usedshouldSort
, useprintOptionsSorting
instead and passNothing
instead ofFalse
orJust compare
instead ofTrue
.
1.0.1.0 — May 17, 2019
- #177:
Add a more extensive property generator for
Piece
. - #187:
Bump up to
hedgehog-1.0
. - Support GHC 8.6.5
1.0.0 — Jan 14, 2019
-
#13: Support array of tables.
- #131:
Uncommenting
tomlTableArrays
fromTOML
. - #134: Pretty printer arrays of tables and golden tests.
- #143: Parser for arrays of tables.
- #155:
Add
list
andnonEmpty
combinators for coding lists of custom user types. - #142: Adding EDSL support for arrays of tables.
- #144: Added tests for arrays of tables.
- #131:
Uncommenting
-
#140: Breaking change: Replace
wrapper
bydiwrap
.Migration guide: change
Toml.wrapper Toml.text "foo"
toToml.diwrap (Toml.text "foo")
. -
#152: Breaking change: Removing
mdimap
.Migration guide: change
Toml.mdimap showX parseX (Toml.text "foo")
toToml.textBy showX parseX "foo"
. -
#137: Replace
Maybe
withEither
inBiMap
. -
#174: Add
_LText
andlazyText
codecs. -
#163: Move all time data types from nested
DateTime
toValue
. -
#146: Allow underscores in floats.
-
#64: Integer parser doesn't accept leading zeros.
-
#50: Add property-based tests for encoder and decoder.
-
#119: Add property-based tests for
BiMap
. -
#149: Removing records syntax from
PrefixTree
.
0.5.0 — Nov 12, 2018
-
#81: Breaking change: Rename data types.
Migration guide: rename
Bijection
toCodec
,Bi
toBiCodec
andBiToml
toTomlCodec
. -
#82: Breaking change: Remove
maybeT
. Adddioptional
instead.Migration guide: replace
Toml.maybeT Toml.int "foo"
withToml.dioptional (Toml.int "foo")
. -
#95: Breaking change: Swap fields in
BiMap
s for consistency withlens
package.Migration guide: reverse order of composition when using
BiMap
s. -
#98: Implement benchmarks for
tomland
and compare withhtoml
andhtoml-megaparsec
libraries. -
#130: Added combinators to
Toml.Bi.Combinators
. -
#115: Added time combinators to
Toml.BiMap
andToml.Bi.Combinators
. -
#99: Split
Toml.Parser
file into smaller files. -
#22: Report proper type checking error during parsing.
-
#14: Add support for inline tables parsing.
-
#70: Add
_TextBy
and_Read
combinators. -
#11: Add
PrintOptions
(sorting, indentation) for pretty printer. -
#17: Allow underscores in integers*.
-
#90: Migrate to megaparsec 7.0.
-
#85: Add
Date
generator for property-based tests. -
#88: Add
Array
generator for property-based tests. -
#86: Improve
String
generator for property-based tests. -
#87: Improve
Double
generator for property-based tests. -
Add support for GHC 8.6.1. Add support for GHC 8.4.4. Drop support for GHC 8.0.2.
-
#109: Add function
decodeToml
.
0.4.0
- #54:
Add support for sum types.
Rename
Prism
toBiMap
. RenamebijectionMaker
tomatch
. Addstring
codec.
0.3.1
- #19: Add proper parsing of floating point numbers.
- #15: Add parsing of multiline strings.
- #40: Support full-featured string parser.
- #18: Add dates parsing.
- Add useful combinators for
newtype
wrappers. - #58:
Add
decodeFile
function.
0.3
-
#60: Breaking change: Replace
Valuer
withPrism
.Migration guide: replace any
fooV
with corresponding prism_Foo
. -
#66: Breaking change: Introduce consistent names according to Haskell types.
Migration guide: see issue details to know which names to use.
-
#8: Create EDSL for easier TOML data type writing.
-
#10: Add
Semigroup
andMonoid
instances forPrefixTree
andTOML
. Add property tests on laws. -
#20: Add parsing of hexadecimal, octal, and binary integer numbers.
-
#26: Implement unit tests for TOML parsers. Allow terminating commas inside an array. Allow comments before and after any value inside an array. Allow keys to be literal strings.
0.2.1
- Make
table
parser work withmaybeP
. - #39:
Implement
prettyException
function forDecodeException
.
0.2.0
- Switch names for
decode
andencode
functions. - #47:
Rename
dimapBijection
todimap
. Introducemdimap
combinator. - #37: Add tables support for bidirectional conversion.
0.1.0
- #16: Add parser for literal strings.
- Add
IsString
instance forKey
data type. - #38: Add bidirectional converter for array.
- #21: Report expected vs. actual type error in parsing.
- #44:
Add bidirectional converter for
Maybe
.