Skip to content

Commit 6dc3343

Browse files
committed
Release 0.3.0 — sync to ktav 0.3.0
Pick up the upstream Rust crate's reject-paren-strings change. Inline paren-wrapped scalars like `a: (hello)` and `a: ((wrapped))` are now decode errors. The PyO3 binding inherits this behaviour transparently; all 234 tests pass against the synced spec submodule. - Cargo.toml: ktav-python 0.2.0 → 0.3.0, ktav 0.2.0 → 0.3.0 - CHANGELOG.md / CHANGELOG.ru.md: 0.3.0 entry - spec submodule: fe125c4 → 46d94a7 (new inline_paren_string_* invalid fixtures, tightened partial_parens valid-fixture)
1 parent 7de0273 commit 6dc3343

4 files changed

Lines changed: 47 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,23 @@ For the format specification's own history, see
1212
underlying Rust implementation, see
1313
[`ktav-lang/rust`](https://github.com/ktav-lang/rust).
1414

15+
## [0.3.0] — 2026-05-08
16+
17+
### Changed (breaking)
18+
19+
- **Picked up `ktav 0.3.0`** — the upstream Rust crate's reject-paren-strings
20+
change. Inline paren-wrapped scalars like `a: (hello)` and `a: ((wrapped))`
21+
are now decode errors. The PyO3 binding inherits this behaviour
22+
transparently. See the
23+
[`ktav` crate CHANGELOG](https://github.com/ktav-lang/rust/blob/main/CHANGELOG.md#030--2026-05-08).
24+
25+
### Spec
26+
27+
- spec submodule synced to `46d94a7` (new invalid fixtures
28+
`inline_paren_string_double` and `inline_paren_string_single`,
29+
tightened `partial_parens` valid-fixture).
30+
31+
1532
## [0.2.0] — 2026-05-07
1633

1734
### Changed (breaking)

CHANGELOG.ru.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,33 @@
1212
Rust-реализация — в
1313
[`ktav-lang/rust`](https://github.com/ktav-lang/rust).
1414

15+
## [0.3.0] — 2026-05-08
16+
17+
### Изменено (ломающее)
18+
19+
- **Подхватили `ktav 0.3.0`** — изменение upstream Rust crate по
20+
отклонению paren-strings. Inline paren-обёрнутые скаляры вида
21+
`a: (hello)` и `a: ((wrapped))` теперь decode error. PyO3 binding
22+
наследует поведение прозрачно. См.
23+
[`ktav` crate CHANGELOG](https://github.com/ktav-lang/rust/blob/main/CHANGELOG.md#030--2026-05-08).
24+
25+
### Спецификация
26+
27+
- spec submodule синхронизирован на `46d94a7` (новые invalid fixtures
28+
`inline_paren_string_double` и `inline_paren_string_single`,
29+
ужесточён `partial_parens` valid-fixture).
30+
31+
32+
## [0.2.0] — 2026-05-07
33+
34+
### Изменено (ломающее)
35+
36+
- **Подхватили `ktav 0.2.0`** — многострочные строки теперь по
37+
умолчанию сериализуются в indented stripped форме `( ... )`. `:f 42`
38+
принимает целочисленные литералы (парсится как `42.0`). См.
39+
[`ktav` crate CHANGELOG](https://github.com/ktav-lang/rust/blob/main/CHANGELOG.md#020--2026-05-07).
40+
41+
1542
## [0.1.2] — 2026-05-03
1643

1744
### Изменено

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ktav-python"
3-
version = "0.2.0"
3+
version = "0.3.0"
44
edition = "2021"
55
description = "Python bindings for the Ktav configuration format"
66
license = "MIT"
@@ -18,7 +18,7 @@ name = "_core"
1818
crate-type = ["cdylib"]
1919

2020
[dependencies]
21-
ktav = "0.2.0"
21+
ktav = "0.3.0"
2222
pyo3 = { version = "0.28", features = ["abi3-py39", "extension-module", "indexmap", "generate-import-lib"] }
2323
indexmap = "2"
2424
rustc-hash = "2"

0 commit comments

Comments
 (0)