Changelog of @hackage/kdl-hs 1.0.0

v1.0.0

  • Implement KDL v2 parser
  • Implement KDL.render, which is format-preserving
  • Improve rendering parse errors
  • Include filepath in error messages when decodeFileWith fails
  • Support adding span information

API changes:

  • Rename Text constructor to String in ValueData
  • Overhauled *Format data types
  • Removed selector functions (e.g. nodeName => (.name) or Node{name})

v0.2.1

  • Add KDL.Applicative
  • Re-export Control.Arrow and Control.Category from KDL.Arrow, for convenience

v0.2.0

  • Remove monad Decoder newtype, just give the Monad instance to the canonical Decoder type and use the same Decoder type everywhere
  • Reorganize module structure
  • Schema improvements
  • Rename Decoder => DecodeArrow, set Decoder o a as alias for DecodeArrow o () a
  • Use v2 syntax for #true/#false/#null

v0.1.0

Initial release, with:

  • Support for decoding v1 KDL syntax (and a subset of v2 KDL syntax)
  • Decoding via Arrows or Monads
  • Statically determine decoder schema