All Versions
8
Latest Version
Avg Release Cycle
70 days
Latest Release
1331 days ago
Changelog History
Changelog History
-
v0.2.1.0 Changes
October 06, 2019- Define
Functor Doc
instance (#33) - ๐ New
withScalar
function and also defineToYAML Scalar
andFromYAML Scalar
instances - Export
Pair
type
synonym fromData.YAML
(#31) - ๐ New
Data.YAML.prettyPosWithSource
function for pretty-printing source locations (i.e.Pos
values) - โ Add export
docRoot :: Doc n -> n
field accessor for convenience (#32)
- Define
-
v0.2.0.0 Changes
September 21, 2019๐ This release incorporates the work from Vijay Tadikamalla's GSOC 2019 Project. ๐ Highlights of this major release include support for emitting YAML as well as providing direct access to source locations throughout the ๐ parsing pipeline for improved error reporting.
๐ Changes in
Data.YAML
module- YAML 1.2 Schema encoders (#21)
- New
ToYAML
class for encoding Haskell Data-types from which YAML nodes can be constructed (#20)- New functions like
encodeNode
,encodeNode'
for constructing AST - New functions like
encode
,encode1
,encodeStrict
,encode1Strict
for supporting typeclass-based dumping - Some ToYAML instances and other api
- New functions like
- Modify
typeMismatch
function to show error source location in error messages (#19) - Provide location-aware
failAtNode
alternative tofail
๐ Changes in
Data.YAML.Event
module- Preserve and round-trip Comments at Event level(#24)
- New
Comment
Event to preserve comments while parsing - Some additional implementations to preserve and round-trip comments
- New
- Fix issue #22
- New
EvPos
type for recording event and their corresponding position (#19) - Preserve Flow Mapping and Flow sequence (#18)
- Features to preserve Literal/Folded ScalarStyle (#15)
- New
Chomp
type denoting Block Chomping Indicator - New
IndentOfs
type denoting Block Indentation Indicator
- New
- New
NodeStyle
type denoting flow/block style Event(SequenceStart,MappingStart)
constructors now recordNodeStyle
Style
type renamed toScalarType
- New
writeEvents
andwriteEventsText
function Event(DocumentStart)
now records YAML directive- Event parser now rejects duplicate/unsupported YAML/TAG directives as mandated by the YAML 1.2 specification
- Preserve and round-trip Comments at Event level(#24)
๐ Move some schema related definitions from
Data.YAML
into the newData.YAML.Schema
module๐ Make
decode
,decode1
,decodeStrict
,decode1Strict
,decodeNode
, anddecodeNode'
treat duplicate keys (under the respective YAML schema) in YAML mappings as a loader-error (controllable via newschemaResolverMappingDuplicates
schema property)Define
Generic
andNFData
instances for most types
-
v0.1.2.0
May 17, 2019 -
v0.1.1.3 Changes
January 02, 2019- ๐ Fix bug in float regexp being too lax in the JSON and Core schema (#7)
- โ Remove dependency on
dlist
-
v0.1.1.2 Changes
June 30, 2018- Tolerate BOM at each
l-document-prefix
(rather than only at the first one encountered in a YAML stream) - โช Workaround broken
mtl-2.2.2
bundled in GHC 8.4.1 (#1) - ๐ Relax to GPL-2.0-or-later
- Tolerate BOM at each
-
v0.1.1.1 Changes
June 17, 2018- Reject (illegal) non-scalar code-points in UTF-32 streams
- Tolerate BOM at start of stream
- Disambiguate choice in
l-any-document
production regarding token separation ofc-directives-end
- ๐ Fix
c-indentation-indicator(n)
grammar production when auto-detecting indentation in the presence of empty leading lines; also reject (illegal) auto-indent-level scalars with leading more-indented all-space lines - Complete character escape rules for double-quoted scalars
- Minor optimizations
-
v0.1.1.0 Changes
June 05, 2018Data.YAML
module promoted fromTrustWorthy
toSafe
- โ Add
FromYAML Natural
instance - โ Add
MonadFail
,Alternative
, andMonadPlus
instances forData.YAML.Parser
- โ Add
Data.YAML.decodeStrict
function - Export
Data.YAML.typeMismatch
helper function
-
v0.1.0.0 Changes
June 04, 2018- ๐ First version. Released on an unsuspecting world.