Skip to content

Releases: victorazzam/demal

Stability and reliability update.

14 Dec 15:39
Compare
Choose a tag to compare

In summary:

  • Documentation corrections.
  • Behaves more consistently and reliably.
  • Plays nicely with file-like objects (e.g. io module).
  • A few fixes, code tweaks, and added comments for clarity.
  • Passes all tests with flying rainbows!

Facelift and new features.

13 Dec 16:11
Compare
Choose a tag to compare

Among several bug fixes, this update introduces:

  • New feature! JSON to MAL conversion:
    • Command-line: -r or --reverse
    • API: dump_mal(out="filename")
  • Improved handling of associations with the same name.
  • Flexibility with repeating asset expressions, i.e. using -> multiple times will not overwrite values unless variable names are explicitly re-defined.
  • Associations are now expressed in JSON as an array of objects instead of an object of objects.
  • Additional -h and --help command-line arguments.
  • Clearer command-line help.
  • Documentation corrections.

Polished code and widened MAL support

08 Dec 10:08
Compare
Choose a tag to compare

A minor update to polish the code and documentation and to:

  • Add support for enterpriseLang's old asset declaration syntax.
    • Note: demal only supports the latest MAL version; use this official script to convert from old spec to new spec.
  • Allow for more leniency with spaces.
  • Adjust some code for readability.

Published to PyPI

21 Nov 12:54
Compare
Choose a tag to compare

Published this project to the Python Package Index and adjusted GitHub Actions.

One small functional change: added -v and --version flags to the command-line tool.

Python module and CLI tool improvements

21 Nov 11:01
Compare
Choose a tag to compare

Among other things, the focus of this update was to:

  • Greatly enhance the installation experience with pip (soon on PyPI)
  • Tweak how MalParser objects are treated in arithmetic operations
  • Better handle command line arguments
  • Improve terminal recognition for printing colored (coloured) usage
  • Fix issues related to stdin and stdout when used as a standalone tool
  • Adjust documentation to reflect real-world installation and usage