Skip to content

Commit 5929c5e

Browse files
chore: bump version to 0.5.0 (#33)
1 parent 4bd7216 commit 5929c5e

5 files changed

Lines changed: 11 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## 0.5.0
4+
5+
### Features
6+
7+
- `append()`, `insert()`, `extend_list()`, and `sync()` now handle flow sequences (e.g. `[a, b, c]`), which previously raised `PatchError`. They fall back to replacing the sequence value, including recursive detection of flow sequences nested inside list elements.
8+
- Added `NodeTypeError(PatchError, TypeError)` to the error hierarchy. Sequence-mutating operations (`append`, `insert`, `extend_list`, `remove_from_list`) now raise `NodeTypeError` instead of generic errors when the target node is not a sequence.
9+
310
## 0.4.0
411

512
### Features

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "yamltrip"
3-
version = "0.4.0"
3+
version = "0.5.0"
44
edition = "2024"
55
license = "MIT"
66

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ requires = [ "maturin>=1.0,<2.0" ]
44

55
[project]
66
name = "yamltrip"
7-
version = "0.4.0"
7+
version = "0.5.0"
88
description = "A round-tripping YAML library for Python"
99
readme = "README.md"
1010
authors = [ { name = "Nathan McDougall", email = "nathan.j.mcdougall@gmail.com" } ]

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)