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
toDocument#warnings
- Add
YAML.stringify()
andYAML.defaultOptions
- Replace "stream" with "documents" in API
- Add
YAMLSemanticError
class forDocument#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