|
2 | 2 |
|
3 | 3 | ## unreleased
|
4 | 4 |
|
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 |
15 | 50 |
|
16 | 51 | ## 1.0.0 / 2021-01-11
|
17 | 52 |
|
|
0 commit comments