Skip to content

yamerl 0.7.0

Compare
Choose a tag to compare
@dumbbell dumbbell released this 21 Apr 10:13
· 63 commits to master since this release
v0.7.0
4e5a54a

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: