Skip to content

Commit 4334a6d

Browse files
committed
Release 2.0.0 draft 6
1 parent e7b5ec6 commit 4334a6d

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

CHANGELOG.md

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# KDL Changelog
22

3+
## 2.0.0-draft.6 (2024-12-04)
4+
5+
* Multiline strings, both Raw and Quoted, must now use `"""` instead of a single `"`. Using `"""` for a single-line string is a syntax error.
6+
* Fixed an issue with the `unicode_silly` test case.
7+
* Some rewordings and clarification in the spec prose.
8+
* Slight grammar tweak where the pre-terminator `node-space*` for `node` and `final-node` have been moved into `base-node`.
9+
310
## 2.0.0-draft.5 (2024-11-28)
411

512
* Equals signs other than `=` are no longer supported in properties.
@@ -67,10 +74,9 @@
6774
* Around `=` for props (`x = 1`)
6875
* The BOM is now only allowed as the first character in a document. It was
6976
previously treated as generic whitespace.
77+
* Multi-line strings must now use `"""` as delimeters. The opening delimiter must be immediately followed by a newline, and the closing delimiter must be on its own line, prefixed by optional whitespace.
7078
* Multi-line strings are now automatically dedented, according to the common
71-
whitespace matching the whitespace prefix of the closing line. Multiline
72-
strings and raw strings now must have a newline immediately following their
73-
opening `"`, and a final newline plus whitespace preceding the closing `"`.
79+
whitespace matching the whitespace prefix of the closing line.
7480
* `.1`, `+.1` etc are no longer valid identifiers, to prevent confusion and
7581
conflicts with numbers.
7682
* Multi-line strings' literal Newline sequences are now normalized to single

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ There's a living [specification](SPEC.md), as well as various
5555
[implementations](#implementations). You can also check out the [FAQ](#faq) to
5656
answer all your burning questions!
5757

58-
The current version of the KDL spec is `2.0.0-draft.5`.
58+
The current version of the KDL spec is `2.0.0-draft.6`.
5959

6060
In addition to a spec for KDL itself, there are also standard specs for [a KDL
6161
Query Language](QUERY-SPEC.md) based on CSS selectors, and [a KDL Schema

SPEC.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
This is the semi-formal specification for KDL, including the intended data
44
model and the grammar.
55

6-
This document describes KDL version `2.0.0-draft.5`. It was released on
7-
2024-11-28.
6+
This document describes KDL version `2.0.0-draft.6`. It was released on
7+
2024-12-04.
88

99
## Introduction
1010

0 commit comments

Comments
 (0)