Releases: yakaz/yamerl
yamerl 0.10.0
yamerl 0.9.0
Changes
- Implement key deduplication in the construction of mappings, both when using proplists and maps (#39, #40), thanks to @slezakattack.
- Report a parsing error if a block collection is unfinished when the end of the document is reached; e.g. when a
]
or}
character is missing (#43, #50). - Fix parsing of indented block scalar when they are finished by a document or directives end marker (#41, #51).
- Fix several typos (#47), thanks to @kianmeng.
- Update Rebar configuration to work with recent versions.
Also, the CI was switched from Travis to GitHub Actions.
Thank you to all contributors for their reports & patches!
Availability
In addition to this GitHub repository, yamerl is available as an Hex.pm package, with online documentation:
yamerl 0.8.1
Changes
Availability
In addition to this GitHub repository, yamerl is available as an Hex.pm package, with online documentation:
yamerl 0.8.0
Changes
Availability
In addition to this GitHub repository, yamerl is available as an Hex.pm package, with online documentation:
yamerl 0.7.0
Changes
-
Load the appropriate modules when a document indicates it follows YAML 1.1. Before, YAML 1.2 core schema modules would always be used, except if the caller explicitely set the schema to
yaml11
.Another consequence of this change is that multiple documents in a single stream should be parsed according to their YAML version if they specify a different one.
-
yamerl_constr
takes a new option,ignore_unrecognized_tags
, to ignore unrecognized tags (!) and construct a term as if the node was a plain untagged node.
Availability
In addition to this GitHub repository, yamerl is available as an Hex.pm package, with online documentation:
yamerl 0.6.0
Changes
- Add a
{map_node_format, proplist | map}
to choose how YAML maps should be formatted (see #23). - Fix a typo in a
yamerl_parsing_error
record:unpected_token
->unexpected_token
(see #21).
Availability
In addition to this GitHub repository, yamerl is available as an Hex.pm package, with online documentation:
yamerl 0.5.0
Changes
- Fixed an infinite loop when there is no character (e.g. a newline) after a document (
...
) or directive (---
) end indicator (see #18). - Improved "Getting started" documentation, in particular for Elixir users.
- Removed
base2_to_integer/2
andbase60_to_integer/3
fromyamerl_node_int
because this format is not supported by this syntax (see commit 91c75e3). - Exclude
base*_to_integer()
from the public API of this module (see commit 3d13c91).
Availability
In addition to this GitHub repository, yamerl is available as an Hex.pm package, with online documentation:
yamerl 0.4.0
Changes
-
The build system was switched from Automake to Rebar 3 (#15). It should be easier for users to build, test and contribute to yamerl.
About testing, the testsuite is now plain EUnit modules, as opposed to generated EUnit modules with Automake.
-
The documentation was moved from plain Markdown to regular EDoc. This should make users of some IDE easier with integrated documentation.
Availability
In addition to this GitHub repository, yamerl is available as an Hex.pm package, with online documentation:
yamerl 0.3.3
Changes
- Fixed an infinite loop when parsing a block mapping such as
test:
(without a newline character at the end). See #14. - Added documentation generation using
mix docs
. This was a required step for Hex.pm.
Availability
In addition to this GitHub repository, yamerl is available as an Hex.pm package, with online documentation: