Skip to content

0.5.0

Latest

Choose a tag to compare

@nathanjmcdougall nathanjmcdougall released this 21 May 04:03
· 13 commits to main since this release
Immutable release. Only release title and notes can be modified.
5929c5e

Features

  • 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.
  • 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.