Skip to content

Commit c62983f

Browse files
authored
🚀 RELEASE v4.0.0 (#368)
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.
1 parent 9e93bd5 commit c62983f

File tree

6 files changed

+24
-6
lines changed

6 files changed

+24
-6
lines changed

.readthedocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ build:
77

88
python:
99
install:
10+
- requirements: docs/requirements.txt
1011
- method: pip
1112
path: .
1213
extra_requirements:

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Change Log
22

3+
## 4.0.0 - 2024-08-10
4+
5+
This primarily drops support for Python 3.9, adds support for Python 3.13,
6+
and updates the parser to comply with Commonmark 0.31.2 and Markdown-It v14.1.0.
7+
8+
* ⬆️ Drop support for Python 3.9 in [#360](https://github.com/executablebooks/markdown-it-py/pull/360)
9+
* ⬆️ Comply with Commonmark 0.31.2 in [#362](https://github.com/executablebooks/markdown-it-py/pull/362)
10+
* 👌 Improve performance of "text" inline rule in [#347](https://github.com/executablebooks/markdown-it-py/pull/347)
11+
* 👌 Use `str.removesuffix` in [#348](https://github.com/executablebooks/markdown-it-py/pull/348)
12+
* 👌 limit the number of autocompleted cells in a table in [#364](https://github.com/executablebooks/markdown-it-py/pull/364)
13+
* 👌 fix quadratic complexity in reference parser in [#367](https://github.com/executablebooks/markdown-it-py/pull/367)
14+
* 🐛 Fix emphasis inside raw links bugs in [#320](https://github.com/executablebooks/markdown-it-py/pull/320)
15+
16+
**Full Changelog**: <https://github.com/executablebooks/markdown-it-py/compare/v3.0.0...v4.0.0>
17+
318
## 3.0.0 - 2023-06-03
419

520
⚠️ This release contains some minor breaking changes in the internal API and improvements to the parsing strictness.

docs/requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# temporary requirement until myst-parser is updated to allow markdown-it-py v4
2+
git+https://github.com/executablebooks/MyST-Parser.git@update-markdown-parser

markdown_it/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""A Python port of Markdown-It"""
22

33
__all__ = ("MarkdownIt",)
4-
__version__ = "3.0.0"
4+
__version__ = "4.0.0"
55

66
from .main import MarkdownIt

markdown_it/port.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
- package: markdown-it/markdown-it
2-
version: 13.0.1
3-
commit: e843acc9edad115cbf8cf85e676443f01658be08
4-
date: May 3, 2022
2+
version: 14.1.0
3+
commit: 0fe7ccb4b7f30236fb05f623be6924961d296d3d
4+
date: Mar 19, 2024
55
notes:
66
- Rename variables that use python built-in names, e.g.
77
- `max` -> `maximum`

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ compare = [
4343
"markdown-it-pyrs",
4444
]
4545
linkify = ["linkify-it-py>=1,<3"]
46-
plugins = ["mdit-py-plugins"]
46+
plugins = ["mdit-py-plugins>=0.5.0"]
4747
rtd = [
48-
"mdit-py-plugins",
48+
"mdit-py-plugins>=0.5.0",
4949
"myst-parser",
5050
"pyyaml",
5151
"sphinx",

0 commit comments

Comments
 (0)