Skip to content

v0.16.0

Compare
Choose a tag to compare
@dbohdan dbohdan released this 19 Jul 12:43
· 133 commits to master since this release
  • This version adds new command-line options: --json-indent n, -s/--sort-keys, --yaml-indent n, --yaml-width n. --json-indent n is a synonym for --indent-json n consistent with the YAML options. Prefer it to the older option.
  • Preserving key order in JSON, TOML, and YAML types is now the default. Remarshal accepts the flag -p/--preserve-key-order for compatibility, but it does nothing. Pass -s/--sort-keys to enable the previous default behavior.
  • The code has type annotations.
  • The readme has been improved. It suggests better ways to run and install Remarshal. The mistaken claim that you can use a blank string as the filename for standard input/output (not true since the Python rewrite in 2016) is gone.