Skip to content

Commit 48c3bed

Browse files
authored
Expand changelog (#1059)
Expand with links and examples, which should make things a lot easier for people looking to update TOML 1.0 implementations.
1 parent 6934572 commit 48c3bed

File tree

1 file changed

+45
-10
lines changed

1 file changed

+45
-10
lines changed

CHANGELOG.md

Lines changed: 45 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,51 @@
22

33
## unreleased
44

5-
- Clarify that comments never affect the tables produced by parsers.
6-
- Clarify Unicode and UTF-8 references.
7-
- Allow newline after key/values in inline tables.
8-
- Allow trailing comma in inline tables.
9-
- Clarify where and how dotted keys define tables.
10-
- Add new `\e` shorthand for the escape character.
11-
- Add \x00 notation to basic strings.
12-
- Seconds in Date-Time and Time values are now optional.
13-
- Allow non-English scripts in unquoted (bare) keys
14-
- Clarify newline normalization in multi-line literal strings.
5+
- Allow newlines and trailing commas in inline tables ([#904]).
6+
7+
Previously an inline table had to be on a single line and couldn't end with a
8+
trailing comma. This is now relaxed so that the following is valid:
9+
10+
tbl = {
11+
key = "a string",
12+
moar-tbl = {
13+
key = 1,
14+
},
15+
}
16+
17+
- Add `\xHH` notation to basic strings for codepoints <255 ([#796]):
18+
19+
null = "null byte: \x00; letter a: \x61"
20+
21+
- Add `\e` escape for the escape character ([#790]):
22+
23+
csi = "\e["
24+
25+
- Seconds in datetime and time values are now optional ([#894]). The following
26+
are now valid:
27+
28+
dt = 2010-02-03 14:15
29+
t = 14:15
30+
31+
- Clarify that comments never affect the tables produced by parsers ([#950]).
32+
33+
- Clarify Unicode and UTF-8 references ([#929]).
34+
35+
- Clarify where and how dotted keys define tables ([#859]).
36+
37+
- Clarify newline normalization in multi-line literal strings ([#842]).
38+
39+
- Clarify sub-millisecond precision is allowed ([#805]).
40+
41+
[#790]: https://github.com/toml-lang/toml/pull/790
42+
[#796]: https://github.com/toml-lang/toml/pull/796
43+
[#805]: https://github.com/toml-lang/toml/pull/805
44+
[#842]: https://github.com/toml-lang/toml/pull/842
45+
[#859]: https://github.com/toml-lang/toml/pull/859
46+
[#894]: https://github.com/toml-lang/toml/pull/894
47+
[#904]: https://github.com/toml-lang/toml/pull/904
48+
[#929]: https://github.com/toml-lang/toml/pull/929
49+
[#950]: https://github.com/toml-lang/toml/pull/950
1550

1651
## 1.0.0 / 2021-01-11
1752

0 commit comments

Comments
 (0)