Skip to content

Releases: dlang-community/D-YAML

v0.10.0: Support for ':' and '?' in flow context, fix recent deprecation, various internal improvements

22 Jun 14:07
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.9.2...v0.10.0

v0.9.2: Relax anchor/aliases restrictions, improve API and error messages

24 Aug 21:58
Compare
Choose a tag to compare

What's Changed

  • do proper character substitution in yaml test suite by @Herringway in #305
  • relax restrictions on anchors/aliases to closer match current YAML spec by @Herringway in #299
  • Improve and correct error message on duplicated keys by @Geod24 in #306
  • Allow to pass an explicit filename to Loader.fromString by @Geod24 in #307
  • CI: Update actions version by @Geod24 in #308

Full Changelog: v0.9.1...v0.9.2

v0.9.1: Support forward slashes in strings

31 Jul 11:53
Compare
Choose a tag to compare

This release introduce support for optionally-escaped forward slashes in string, which improve JSON compatibility.
This is especially important in the D ecosystem, as Vibe.d escapes forward slashes by default.

What's Changed

Full Changelog: v0.9.0...v0.9.1

v0.9.0: Compatibility with DIP1000

15 Jul 07:44
5c791b9
Compare
Choose a tag to compare

D-YAML can now be compiled with -preview=dip1000. In order to do so, usage of Variant was replaced by std.sumtype.
This should reduce reliance on TypeInfo and memory usage.

What's Changed

  • Add missing annotations to exceptions ctor by @Geod24 in #293
  • Node: Replace usage of Variant with SumType by @Geod24 in #291
  • constructor: Use new RedblackTree instead of redBlackTree function by @Geod24 in #292
  • Add attributes to type / nodeID / nodeTypeString by @Geod24 in #294
  • Refactor some Node.opCmp code by @Geod24 in #295
  • Fix #184: Support for DIP1000 by @Geod24 in #296

Full Changelog: v0.8.6...v0.9.0

v0.8.6: Clean and Compatible

15 May 19:25
Compare
Choose a tag to compare

Changes since 0.8.5:

  • MarkedYAMLException and ParserException are now public (#289)
  • Improved DMD 2.100.0 compatibility (#287, #290)
  • Empty strings are now emitted as "" instead of null (#286)
  • !!str is now emitted far less often in non-canonical mode (#282)
  • Documentation fixed (#285)

v0.8.5: New logo and easier error mark access

16 Jan 01:09
da75f59
Compare
Choose a tag to compare

Changes since 0.8.4:

  • New SVG logo, by @asperan (#275)
  • YAML error information is now accessible from MarkedYAMLException's mark field (#278)
  • Filenames are now properly propagated to marks (#279)

v0.8.4: Exposing YAML node source informations, better support for `const`

08 Sep 03:48
Compare
Choose a tag to compare

User-visible changes since v0.8.3:

  • Added the ability to get the start position (file, line, column) of a Node (#263 + #264);
    This allows users to expose rich informations when an error triggers during YAML parsing.
  • Improve CTFEability (#266);
  • Improved support for type constructors (const, inout...) for constructors (#268);
  • Made Node.get inout, allowing it to work on const Node (#269);
  • Fixed Meson build version (#274);

Minor bugfixes

19 Sep 21:50
Compare
Choose a tag to compare

A small release.

  • Fix tabs not being ignored in flow context (Issue #258)
  • Fix spaces at end of strings triggering asserts (Issue #257)

v0.8.2: Remove wrongly applied 'in' on parameters

06 Aug 03:07
Compare
Choose a tag to compare

This removes 'in' qualifiers on delegate parameters to parseFlowKey
and parseFlowValue. This should have no effect on user code,
but will to use -preview=in (which set in to mean scope const)
with D-YAML.

v0.8.1

15 May 16:07
f052165
Compare
Choose a tag to compare

Fix some deprecations and other bugs