Skip to content

Releases: taufik-nurrohman/y-a-m-l

v1.2.0

13 Feb 01:02
Compare
Choose a tag to compare

v1.1.0

07 Feb 13:36
Compare
Choose a tag to compare

Now comply with most of the latest YAML 1.2.2 specifications! ✨

Comments are now required to have a white-space after the hash mark, so that authors can write URL containing a fragment identifier without having to quote it:

Before

Input

- #asdf
- asdf://asdf#asdf

Output

[
  null,
  "asdf://asdf"
]

After

Input

- #asdf
- asdf://asdf#asdf

Output

[
  null,
  "asdf://asdf#asdf"
]

The parser is now smart enough to detect broken YAML syntax. This update changes the previous behavior that allowed you to have a colon followed by a white-space in a plain mapping value:

Before

Input

asdf: asdf: asdf

Output

{
  "asdf": "asdf: asdf"
}

Input

asdf: 'asdf: asdf'

Output

{
  "asdf": "asdf: asdf"
}

After

Input

asdf: asdf: asdf

Output

{
  "asdf": null
}

Input

asdf: 'asdf: asdf'

Output

{
  "asdf": "asdf: asdf"
}

The parser is now smart enough to continue quoting the values even if there is no extra indentation on the next line:

Before

Input

- "asdf
- asdf
- asdf"
- "asdf
- asdf
- asdf"

Output

[
  "\"asdf",
  "asdf",
  "asdf\"",
  "\"asdf",
  "asdf",
  "asdf\""
]

After

Input

- "asdf
- asdf
- asdf"
- "asdf
- asdf
- asdf"

Output

[
  "asdf - asdf - asdf",
  "asdf - asdf - asdf"
]

v1.0.10

30 Jan 11:59
Compare
Choose a tag to compare
Update

v1.0.9

29 Jan 16:19
Compare
Choose a tag to compare
Fix #3

v1.0.8

15 Sep 01:08
Compare
Choose a tag to compare
Remove Constant

v1.0.7

14 Aug 12:42
Compare
Choose a tag to compare
Update

v1.0.6

20 Mar 03:22
Compare
Choose a tag to compare
Wrong Chomping Indicator Order

v1.0.5

19 Mar 01:08
Compare
Choose a tag to compare
Update

v1.0.4

18 Mar 11:53
Compare
Choose a tag to compare
Bug Fix

v1.0.3

18 Mar 10:56
Compare
Choose a tag to compare
Update