Skip to content

Releases: kdl-org/kdl-rs

v6.1.0

22 Dec 20:55
4fee6b8
Compare
Choose a tag to compare

This release is mostly to make docs.rs show the various feature flags in the docs, but I also went ahead and exposed all the ensure_v2 functions, since they didn't really need to be behind a feature flag, even if they're not that useful outside of v1 support.

Features

  • api: unflagged ensure_v2 fns, and docsrs improvements (99dec9fa)

v6.0.0

22 Dec 02:51
5aa81f8
Compare
Choose a tag to compare

This release updates kdl-rs to support the latest KDL 2.0.0
spec
.

Additionally, KDL 1.0.0 support has been retained behind v1 and v1-fallback
feature flags. This version of kdl-rs is able to convert back and forth
between each.

Features

  • compliance: update to latest 2.0 spec (#103) (4734b060)
  • api: update the KdlNode and KdlDocument APIs to be more Vec-like (#101) (683e87a1)
  • v1: add rudimentary, optional, KDL v1 parsing (#104) (6a7248c4)
  • v1: Add utility to auto-translate v1 to v2 (c486cda7)
  • error: Rename KdlParseFailure back to KdlError (12b2fd2f)
  • v1: add v2 -> v1 translation and fix translations to not autoformat (b332eed4)
  • compliance: pull in final extra tests and change VT to newline (3e8b2f44)

Bug Fixes

  • v1: remove v1 from default features (3e5d7a33)
  • clippy: clippy fixes (4cbc3224)
  • autoformat: fix autoformatting of v1 -> v2 (37255b0b)
  • misc: other tiny clippy/fmt issues (ec73cdfa)
  • v1: sigh. forgot to remove v1 from default features again (fef7c58b)
  • clippy: clippy fixes (b097c7e2)
  • fmt: cargo fmt (0c59b29a)

v6.0.0-alpha.3

03 Dec 08:06
b874023
Compare
Choose a tag to compare
v6.0.0-alpha.3 Pre-release
Pre-release

Features

Refactor

  • parser: refactor number parsing to support generic number types (fb7c92b5)

v4.3.0

11 Jun 00:14
58a60f9
Compare
Choose a tag to compare

Features

v4.2.0

11 May 17:40
0bf6f95
Compare
Choose a tag to compare

Features

v4.1.1

28 Apr 07:07
f21bf8b
Compare
Choose a tag to compare

Bug Fixes

  • compliance: pull in spec test suite and fix issues (#40) (58a40fdf)

v4.1.0

28 Apr 07:07
6577a10
Compare
Choose a tag to compare

Features

  • fmt: shiny new comment-preserving formatter! (#38) (12d373a1)

v4.0.0

23 Apr 09:37
ace541a
Compare
Choose a tag to compare

Hello again!

kdl-rs 4.0.0 is a complete rewrite, featuring a full-fledged
"document-oriented" parser: that is, formatting, whitespace, comments, etc,
are all preserved and can be programmatically manipulated. KDL documents are
fully round-trippable, without losing any of that human-written content!

This crate will, for the time being, not include a serde-based parser, but
there's also crates like knuffel and
kaydle now that do probide serde (or
serde-like) functionality. You should definitely check those out if you're
looking for that kind of workflow!

Please give this version a whirl if you've been curious about using KDL for
your own projects, and let me know what can be improved, or even what you love
about it!

Features

  • api: complete rewrite into document-oriented parser (#29) (364ea617)
    • BREAKING CHANGE: Completely new API and bumped MSRV to 1.56.0.
  • tests: add test for kdl-schema.kdl (#30) (ad34cfd9)
  • types: add type annotation support (#31) (16c82f1e)
  • errors: improve parsing errors and fix some bugs (#33) (8ed6a5cd)
  • clear_fmt: add methods to clear formatting and reset it to default (892bf06e)
  • errors: overhauled error reporting a ton (d63f336d)
  • len: add APIs to calculate component lengths (#36) (177c42ca)

Bug Fixes

  • parse: small parser tweaks + more tests (1a8eb351)
  • api: remove obsolete type (40b04418)

v3.0.0

23 Apr 09:27
3f3c872
Compare
Choose a tag to compare
  • spec: update parser to handle KDL 1.0.0 (f811c5c8)
    • BREAKING CHANGE: Various things have changed in the process of moving to KDL 1.0.0. Please test your stuff

v2.0.0

23 Apr 09:26
b62f81e
Compare
Choose a tag to compare

Features

  • license: change license to Apache-2.0 (0dbf75c7)
    • BREAKING CHANGE: This is a significant licensing change. Please review.