Skip to content

v1.2.0

Choose a tag to compare

@github-actions github-actions released this 29 Apr 19:08

Added

  • Patching: Preserve trailing comments alignement when element of a row changes width (#165).

Fixed

  • Patching: New root-level key-values pairs are now inserted at the top within the implicit root table scope (before the first [table] or [[array]] header) instead of being appended at the end of the document (#171).
  • Patching: Ensure deleting last key of inline-table is done cleanly (#164).
  • Patching: Preserving trailing comments on inline tables when deleting keys (#164).
  • Patching: Support nested multiline inline-table patching inside arrays (#164).

Full Changelog: v1.1.1...v1.2.0


Version specific links

Registry Link
npm https://www.npmjs.com/package/@decimalturn/toml-patch/v/1.2.0
jsr https://jsr.io/@decimalturn/toml-patch@1.2.0