Skip to content

Releases: remarshal-project/remarshal

v0.11.2

19 Jul 08:53
Compare
Choose a tag to compare
  • Support for the MessagePack format has been implemented.
  • The flag --preserve-key-order now has a short form: -p.
  • The internals have been refactored to make added new formats easier.
  • More conversion errors are handled.

v0.10.0

06 Apr 10:59
Compare
Choose a tag to compare

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.

v0.9.2

04 Apr 20:44
Compare
Choose a tag to compare
  • Require PyYAML 5.1 or later.

v0.9.1

04 Apr 20:41
Compare
Choose a tag to compare
  • PyPI releases now include the tests in order to help downstream packagers.

v0.9.0

02 Nov 14:46
Compare
Choose a tag to compare
  • New flag: --preserve-key-order.

v0.8.0

09 May 08:40
Compare
Choose a tag to compare
  • Fixed Python 2 compatibility.
  • More tests.

v0.7.0

07 Jul 16:56
Compare
Choose a tag to compare
  • Shorthand commands (e.g., json2json) now work correctly on Windows.
  • Error messages have been improved.
  • Misc. bug fixes and correctness checks.

v0.6.0

03 Sep 10:49
Compare
Choose a tag to compare
  • remarshal now handles Control-C gracefully.
  • sudo python setup.py install will install scripts for the shorthand commands.
  • Some shorthand commands that failed with an exception no longer do.
  • The redundant YAML style \ has been removed.
  • A new command line argument: --version.

v0.5.1

02 Sep 19:40
Compare
Choose a tag to compare
  • Python rewrite
    • TOML v0.4 support
    • YAML precision fixed
    • Several command line arguments have been renamed:
      • -indent-json -> --indent-json
      • -wrap -> --wrap
      • -unwrap -> --unwrap
    • --yaml-style
    • New test suite

v0.3.0: New flags: '-wrap' and '-unwrap'.

06 Oct 17:20
Compare
Choose a tag to compare
Refactored the func 'remashal' to implement the new flags.