Skip to content

v0.10.0

Compare
Choose a tag to compare
@dbohdan dbohdan released this 06 Apr 10:59
· 216 commits to master since this release

This release improves the usability of the command-line interface.

  • Remarshal now tries to determine the input and the output format by the file extension.
  • The output file can be given as a positional argument. For example, you can use remarshal input.toml output.json or toml2json input.toml output.json instead of remarshal input.toml -o output.json or toml2json input.toml --output output.json.
  • --if and --of have been added as synonyms for -if/--input-format and -of/--output-format respectively. Two dashes with a two-letter flag are more standard. -if and -of are deprecated, but will not be removed at least until v1.0.0.
  • BREAKING CHANGE: --indent-json now requires a number. Replace existing uses of --indent-json with --indent-json 2 for identical behavior.
  • The shebang in remarshal.py has been changed to #! /usr/bin/env python3 from #! /usr/bin/env python. Full Python 2.7 compatibility remains.