Release 2.0.0 draft 6

This commit is contained in:
Kat Marchán 2024-12-03 23:50:18 -08:00
parent e7b5ec6bf9
commit 016ed523b2
No known key found for this signature in database
GPG Key ID: AEB529C08A3C7E9E
3 changed files with 12 additions and 6 deletions

View File

@ -1,5 +1,12 @@
# KDL Changelog # KDL Changelog
## 2.0.0-draft.6 (2024-12-04)
* Multiline strings, both Raw and Quoted, must now use `"""` instead of a single `"`. Using `"""` for a single-line string is a syntax error.
* Fixed an issue with the `unicode_silly` test case.
* Some rewordings and clarification in the spec prose.
* Slight grammar tweak where the pre-terminator `node-space*` for `node` and `final-node` have been moved into `base-node`.
## 2.0.0-draft.5 (2024-11-28) ## 2.0.0-draft.5 (2024-11-28)
* Equals signs other than `=` are no longer supported in properties. * Equals signs other than `=` are no longer supported in properties.
@ -67,10 +74,9 @@
* Around `=` for props (`x = 1`) * Around `=` for props (`x = 1`)
* The BOM is now only allowed as the first character in a document. It was * The BOM is now only allowed as the first character in a document. It was
previously treated as generic whitespace. previously treated as generic whitespace.
* 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.
* Multi-line strings are now automatically dedented, according to the common * Multi-line strings are now automatically dedented, according to the common
whitespace matching the whitespace prefix of the closing line. Multiline whitespace matching the whitespace prefix of the closing line.
strings and raw strings now must have a newline immediately following their
opening `"`, and a final newline plus whitespace preceding the closing `"`.
* `.1`, `+.1` etc are no longer valid identifiers, to prevent confusion and * `.1`, `+.1` etc are no longer valid identifiers, to prevent confusion and
conflicts with numbers. conflicts with numbers.
* Multi-line strings' literal Newline sequences are now normalized to single * Multi-line strings' literal Newline sequences are now normalized to single

View File

@ -55,7 +55,7 @@ There's a living [specification](SPEC.md), as well as various
[implementations](#implementations). You can also check out the [FAQ](#faq) to [implementations](#implementations). You can also check out the [FAQ](#faq) to
answer all your burning questions! answer all your burning questions!
The current version of the KDL spec is `2.0.0-draft.5`. The current version of the KDL spec is `2.0.0-draft.6`.
In addition to a spec for KDL itself, there are also standard specs for [a KDL In addition to a spec for KDL itself, there are also standard specs for [a KDL
Query Language](QUERY-SPEC.md) based on CSS selectors, and [a KDL Schema Query Language](QUERY-SPEC.md) based on CSS selectors, and [a KDL Schema

View File

@ -3,8 +3,8 @@
This is the semi-formal specification for KDL, including the intended data This is the semi-formal specification for KDL, including the intended data
model and the grammar. model and the grammar.
This document describes KDL version `2.0.0-draft.5`. It was released on This document describes KDL version `2.0.0-draft.6`. It was released on
2024-11-28. 2024-12-04.
## Introduction ## Introduction