* submodule docs are now located at /api/yaml/<name>.html instead of
/api/<name>.html.
* can now simply link to symbols in other modules.
* fixed some links
* fixed quickstart example list
* added quickstart item displaying the new style api
* fixed a bug in presenter that doubled a line in literal/flow style
* fixed presentation of flow mappings inside block collections
* improved logic checking whether a collection can be written on a
single line
* fixed tests
* Presenter now tries to write style given in event
* Can write single quoted
* several fixes to line length handling
* sever other presenter fixes
* updated server deps
* updated server code to use new presenter features
(or rather, not use, as the server *should* alter the
input style instead of outputting it as-is)
* moved load procs to yaml/loading.nim
* moved input YamlStream into ConstructionContext
* made ConstructionContext a non-ref object
* harmonized code style & comments
* renamed yaml/serialization.nim to yaml/native.nim
* removed default value objects,
use Nim2 default vaules for fields instead.
* moved dump procs to yaml/dumping and introduced Dumper
* modified serialization procs to use ctx as first argument,
so that prefix calls can be used
* changed defaults for presentation to be more like other
YAML implementations, e.g. no directives by default.
* Removed deprecated procs in DOM API
* Removed PresentationStyle – use the setXStyle procs of Dumper
instead.
* Fixed some warnings emerging from transitioning to Nim2
* PresentationOptions has gained more fine-tuning options:
* directivesEnd: specifies when `---` is written. ref #135
* containers: specifies whether containers use block or flow style
* suppressAddrs: if set, suppresses output of attributes
* quoting: specifies how strings should be quoted
* condenseFlow: specifies whether flow sequences should be on a
single line
* explicitKeys: specifies whether mapping keys should always have '?'
* PresentationStyle is now a list of presets that set
multiple options in PresentationOptions.
* Does not output trailing spaces anymore. ref #135
* Writes compact notation, i.e. a mapping in a sequence starts on the
line with the sequence's `-`, unless attributes are written
* Added tests for the presenter
* Existing code might change behavior because of whitespace, `---` and
compact notation. The API has been extended so that existing code is
affected as little as possible.
* added loadFlattened. Fixes#117
* fixed an error where recursive nodes were not loaded
properly into YamlNodes.
* made dump with asNone raise an error when a cycle is
encountered, instead of running into an endless loop.
* added maxLineLength to PresentationOptions. Fixes#119
* write a newline to the end of the document.
required for the output files to be POSIX-compliant text files.
also improves QoL when dumping to stdout.
* NimYAML now uses the tag prefix tag:nimyaml.org,2016:
* That tag handle is shortened to !n! when presenting
* Also fixed some minor bugs dealing with tag handles