Skip to content

Releases: mondeja/mdpo

v1.1.1

10 Feb 20:32
42e45d8
Compare
Choose a tag to compare

Bug fixes:

  • Fix wrapwidth argument not being applied using po2md to render scriptio languages Markdown output.

v1.1.0

15 Dec 12:22
Compare
Choose a tag to compare
  • Added support for Python3.11
  • Now mdpo can be installed without manual compilation of md4c on a lot of more platforms.

v1.0.3

20 Sep 19:01
eedb0b5
Compare
Choose a tag to compare

Bug fixes:

  • Preserve HTML blocks in po2md output.
  • Fixed edge case encoding bug in Windows when decoding PO files with md2po.

v1.0.2

20 Sep 10:41
Compare
Choose a tag to compare

Bug fixes:

  • Fixed some edge case errors related to memory management.

v1.0.1

19 Sep 15:37
Compare
Choose a tag to compare

Bug fixes:

  • Add missing information to project metadata to fix some installations not discovering entry points.

v1.0.0

20 Jul 13:47
Compare
Choose a tag to compare

Breaking changes:

  • Removed support for Python 3.6.
  • -po option of md2po has been renamed to -p.
  • --plaintext option of md2po does not offer the contraction -p now.
  • -mo contraction of --mo-filepath option of md2po has been removed.
  • Now only one X-Generation header with the value mdpo v{version} is added when using the option --xheader of md2po (--xheaders option has been renamed to --xheader).
  • Changed name of --pre-commit option by --check used to return exit code 1 if any of the files have changed.
  • Removed mdpo.__version__, mdpo.__title__ and mdpo.__description__ (use importlib.metadata or importlib_metadata).
    Replace with something like:
    import sys
    
    if sys.version_info > (3, 7):
        import importlib.metadata as importlib_metadata
    else:
        import importlib_metadata
    
    metadata = importlib_metadata.distribution("mdpo").metadata
    __version__ = metadata["version"]  # or just `importlib_metadata.version("mdpo")` 
    __title__ = metadata["name"]
    __description__ = metadata["summary"]

v0.3.86

25 May 11:20
6b4b068
Compare
Choose a tag to compare

Bug fixes:

  • Do not allow nan value for -w/--wrapwidth arguments.

v0.3.85

28 Feb 18:07
c6b9ae0
Compare
Choose a tag to compare

Enhancements:

  • Allow to pass languages with -l es fr de to md2po2md CLI.

v0.3.84

18 Dec 21:12
aeae716
Compare
Choose a tag to compare

Enhancements

  • Made public some parsers state properties and documented them.

v0.3.83

18 Dec 18:32
bbeb330
Compare
Choose a tag to compare

Enhancements

  • events programmatic APIs kwargs now accepts path to functions inside files with path/to/file.py::function_name syntax.
  • Added --event CLI optional argument to md2po and po2md CLIs.