Releases: mondeja/mdpo
Releases · mondeja/mdpo
v1.0.1
v1.0.0
Breaking changes:
- Removed support for Python 3.6.
-po
option ofmd2po
has been renamed to-p
.--plaintext
option ofmd2po
does not offer the contraction-p
now.-mo
contraction of--mo-filepath
option ofmd2po
has been removed.- Now only one
X-Generation
header with the valuemdpo v{version}
is added when using the option--xheader
ofmd2po
(--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__
andmdpo.__description__
(useimportlib.metadata
orimportlib_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
Bug fixes:
- Do not allow
nan
value for-w/--wrapwidth
arguments.
v0.3.85
Enhancements:
- Allow to pass languages with
-l es fr de
tomd2po2md
CLI.
v0.3.84
Enhancements
- Made public some parsers state properties and documented them.
v0.3.83
Enhancements
events
programmatic APIs kwargs now accepts path to functions inside files withpath/to/file.py::function_name
syntax.- Added
--event
CLI optional argument tomd2po
andpo2md
CLIs.
v0.3.82
Enhancements
- Add command aliases
disable-next-block
andenable-next-block
fordisable-next-line
andenable-next-line
.
v0.3.81
Bug fixes
- Fixed bug removing obsolete messages from PO files
v0.3.80
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
Bug fixes
- Fixed format rendering headers inside list items.
- Fixed bug rendering tables that include
|
characters in cells.