Skip to content

Releases: eemeli/yaml

v1.0.0-rc.4

27 Jun 21:29
Compare
Choose a tag to compare
v1.0.0-rc.4 Pre-release
Pre-release
  • Rename lowest API level more appropriately as a CST parser rather than an AST parser, so you'll now need to import yaml/parse-cst rather than yaml/parse-ast to use it.
  • Simplify the object-level API, dropping Node#origTag, skip setting empty values, and letting Pair extend Node.
  • Document the YAML.Document contents more clearly as an AST.

v1.0.0-rc.3

26 Jun 19:24
Compare
Choose a tag to compare
v1.0.0-rc.3 Pre-release
Pre-release
  • Refactor Document#resolveValue() into YAML.createNode().
  • Drop the internal doc reference from collections, and otherwise simplify the Map and Seq objects by separating out the parsing functions -- this should also make it easier to move or copy a collection between documents. Subsequently, directly calling .toString() on a Map or Seq will now get you a JSON representation of the object; for YAML output you'll need to stringify the whole document.
  • Bug fixes, including in particular #18 (reported by @zoroaster00).

v1.0.0-rc.2

18 Jun 21:28
Compare
Choose a tag to compare
v1.0.0-rc.2 Pre-release
Pre-release

Switched from beta to rc because this really is nearly ready to publish.

  • Documentation is now at https://eemeli.org/yaml/, rather than partly in README files and partly missing.
  • Rethink semantic/syntax error boundary: Instead of classifying based on source API level, syntax errors now result in broken data while semantic errors "only" affect metadata.
  • Add public re-exports: map, pair, parse-ast, scalar, seq, types/binary, types/timestamp
  • Specify node ≥ 6 dependency (PR #11)
  • Please ignore rc.1, it was missing a minor package.json update

v1.0.0-beta.7

15 Jun 14:09
Compare
Choose a tag to compare
v1.0.0-beta.7 Pre-release
Pre-release

Various bugfixes, in particular #7, #8, #9 and #10 as reported by @ikatyang.

v1.0.0-beta.6

29 May 21:17
Compare
Choose a tag to compare
v1.0.0-beta.6 Pre-release
Pre-release

Getting close to a v1 release...

  • Actual documentation is developing at http://eemeli.org/yaml/
  • Finalise (read: refactor) much of the public API
    • Document#contents can be set to anything
    • Add Document#resolveValue() to deeply wrap values in YAML objects
    • Move warnings from Document#errors to Document#warnings
    • Add YAML.stringify() and YAML.defaultOptions
    • Replace "stream" with "documents" in API
    • Add YAMLSemanticError class for Document#parse() errors
  • String(Document) output improvements
    • tags are properly included, including prefixes
    • output is prettily folded where possible & appropriate
  • Fix various corner-case syntax bugs, with thanks in particular to @ikatyang

v1.0.0-beta.4

08 Apr 13:00
Compare
Choose a tag to compare
v1.0.0-beta.4 Pre-release
Pre-release
  • Comments mostly work
  • Tags are included in resolved nodes
  • Consider comments at start without directives-end indicator to be part of the document contents, not directives

v1.0.0-beta.3

22 Feb 23:08
Compare
Choose a tag to compare
v1.0.0-beta.3 Pre-release
Pre-release

v1.0.0-beta.2

22 Feb 23:07
Compare
Choose a tag to compare
v1.0.0-beta.2 Pre-release
Pre-release
  • Fix remaining stringifier mismatches with yaml-test-suite in.json
  • Fix mismatches with yaml-test-suite out.yaml

v1.0.0-beta.1

22 Feb 23:04
Compare
Choose a tag to compare
v1.0.0-beta.1 Pre-release
Pre-release

First release