diff --git a/.readthedocs.yml b/.readthedocs.yml index cb68e005..23749baf 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -7,6 +7,7 @@ build: python: install: + - requirements: docs/requirements.txt - method: pip path: . extra_requirements: diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d02f42d..8822bf7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Change Log +## 4.0.0 - 2024-08-10 + +This primarily drops support for Python 3.9, adds support for Python 3.13, +and updates the parser to comply with Commonmark 0.31.2 and Markdown-It v14.1.0. + +* ⬆️ Drop support for Python 3.9 in [#360](https://github.com/executablebooks/markdown-it-py/pull/360) +* ⬆️ Comply with Commonmark 0.31.2 in [#362](https://github.com/executablebooks/markdown-it-py/pull/362) +* 👌 Improve performance of "text" inline rule in [#347](https://github.com/executablebooks/markdown-it-py/pull/347) +* 👌 Use `str.removesuffix` in [#348](https://github.com/executablebooks/markdown-it-py/pull/348) +* 👌 limit the number of autocompleted cells in a table in [#364](https://github.com/executablebooks/markdown-it-py/pull/364) +* 👌 fix quadratic complexity in reference parser in [#367](https://github.com/executablebooks/markdown-it-py/pull/367) +* 🐛 Fix emphasis inside raw links bugs in [#320](https://github.com/executablebooks/markdown-it-py/pull/320) + +**Full Changelog**: + ## 3.0.0 - 2023-06-03 ⚠️ This release contains some minor breaking changes in the internal API and improvements to the parsing strictness. diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 00000000..b7938970 --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1,2 @@ +# temporary requirement until myst-parser is updated to allow markdown-it-py v4 +git+https://github.com/executablebooks/MyST-Parser.git@update-markdown-parser diff --git a/markdown_it/__init__.py b/markdown_it/__init__.py index 399c6b70..9fac2795 100644 --- a/markdown_it/__init__.py +++ b/markdown_it/__init__.py @@ -1,6 +1,6 @@ """A Python port of Markdown-It""" __all__ = ("MarkdownIt",) -__version__ = "3.0.0" +__version__ = "4.0.0" from .main import MarkdownIt diff --git a/markdown_it/port.yaml b/markdown_it/port.yaml index 3e289e9e..ce2dde95 100644 --- a/markdown_it/port.yaml +++ b/markdown_it/port.yaml @@ -1,7 +1,7 @@ - package: markdown-it/markdown-it - version: 13.0.1 - commit: e843acc9edad115cbf8cf85e676443f01658be08 - date: May 3, 2022 + version: 14.1.0 + commit: 0fe7ccb4b7f30236fb05f623be6924961d296d3d + date: Mar 19, 2024 notes: - Rename variables that use python built-in names, e.g. - `max` -> `maximum` diff --git a/pyproject.toml b/pyproject.toml index 86353250..2414f41d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -43,9 +43,9 @@ compare = [ "markdown-it-pyrs", ] linkify = ["linkify-it-py>=1,<3"] -plugins = ["mdit-py-plugins"] +plugins = ["mdit-py-plugins>=0.5.0"] rtd = [ - "mdit-py-plugins", + "mdit-py-plugins>=0.5.0", "myst-parser", "pyyaml", "sphinx",