Skip to content

Releases: yakaz/yamerl

yamerl 0.10.0

28 Jan 09:29
v0.10.0
39981b9
Compare
Choose a tag to compare

Changes

  • Add option {keep_duplicate_keys, boolean()} to keep duplicate keys in the construction of mappings (#52, #53), thanks to @flurin.

Availability

In addition to this GitHub repository, yamerl is available as an Hex.pm package, with online documentation:

yamerl 0.9.0

13 Jan 11:20
v0.9.0
fe43b79
Compare
Choose a tag to compare

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

06 Jan 14:00
v0.8.1
5a4bff2
Compare
Choose a tag to compare

Changes

  • Fix Dialyzer warnings with the #unfinished_node{} record (see #42), thanks to @xinz.

Availability

In addition to this GitHub repository, yamerl is available as an Hex.pm package, with online documentation:

yamerl 0.8.0

21 Apr 10:15
v0.8.0
93ef3dc
Compare
Choose a tag to compare

Changes

  • Add support for base64-encoded binaries (see #35).
  • Fix tagging of flow collection (see #34).

Availability

In addition to this GitHub repository, yamerl is available as an Hex.pm package, with online documentation:

yamerl 0.7.0

21 Apr 10:13
v0.7.0
4e5a54a
Compare
Choose a tag to compare

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

29 Nov 15:00
v0.6.0
0acbd3f
Compare
Choose a tag to compare

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

05 Jun 22:32
v0.5.0
77aa488
Compare
Choose a tag to compare

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 and base60_to_integer/3 from yamerl_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

13 Nov 12:10
v0.4.0
e8b0169
Compare
Choose a tag to compare

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

29 Oct 23:28
v0.3.3
18fe065
Compare
Choose a tag to compare

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: