Skip to content

Releases: mondeja/mdpo

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.

v0.3.82

17 Dec 14:07
Compare
Choose a tag to compare

Enhancements

  • Add command aliases disable-next-block and enable-next-block for disable-next-line and enable-next-line.

v0.3.81

29 Nov 01:24
1c98376
Compare
Choose a tag to compare

Bug fixes

  • Fixed bug removing obsolete messages from PO files

v0.3.80

18 Nov 12:31
11215d8
Compare
Choose a tag to compare

Bug fixes

  • Malformatted rendering thematic breaks inside quote blocks with po2md
  • Incorrect extracting and rendering of referenced links with same text and target
  • --remove-not-found md2po option not working if --merge-po-files option is not passed

v0.3.79

16 Nov 10:01
2aafda9
Compare
Choose a tag to compare

Bug fixes

  • Fixed format rendering headers inside list items.
  • Fixed bug rendering tables that include | characters in cells.