From 140f66275a4b93580fb2a69a0782e19f184e6284 Mon Sep 17 00:00:00 2001 From: Chris Sewell Date: Wed, 13 May 2026 11:29:21 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20Release=20v5.1.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 29 +++++++++++++++++++++++++++++ myst_parser/__init__.py | 2 +- 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 07281793..ff2d904f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,34 @@ # Changelog +## 5.1.0 - 2026-05-13 + +### ✨ New Features + +- ✨ Add `"alert"` syntax extension for [GFM alerts](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts) (e.g. `> [!NOTE]`), see [](syntax/alerts) by in +- ✨ Add `"gfm_autolink"` syntax extension for [GFM autolinks](https://github.github.com/gfm/#autolinks-extension-), see [](syntax/gfm-autolink) by in +- ✨ Add `myst_strikethrough_single_tilde` [config option](sphinx/config-options) to allow single tilde (`~`) for strikethrough by in +- ✨ Add `myst_colon_fence_exact_match` [config option](sphinx/config-options) to require the closing colon fence to have exactly the same number of colons as the opening, see [](syntax/colon_fence) by in + +### 👌 Improvements + +- 👌 Update [`myst_gfm_only`](sphinx/config-options) mode to use the unified `gfm_plugin`, which now includes GFM autolinks, alerts, and improved strikethrough/tasklist handling by in +- 👌 Improve MathJax 4 compatibility for Sphinx 9 by in +- 👌 Stop directive-option parsing at colon fences, fixing nested colon fence directives by in + +### 🐛 Bug Fixes + +- 🐛 Use docname instead of source path in warning locations by in +- 🐛 Correctly encode `&` in Markdown URLs by not HTML-escaping `refuri` by in +- 🐛 Fix `RemovedInSphinx10Warning` for inventory item iteration by in +- 🐛 Pin `mdit-py-plugins>=0.6.1` for nested field list fix by in + +### ⬆️ Dependency Upgrades + +- ⬆️ Upgrade to `markdown-it-py~=4.2` and `mdit-py-plugins~=0.6` by in +- ⬆️ Update pygments requirement from `<2.20` to `<2.21` by in + +**Full Changelog**: [v5.0.0...v5.1.0](https://github.com/executablebooks/MyST-Parser/compare/v5.0.0...v5.1.0) + ## 5.0.0 - 2026-01-15 This release significantly bumps the supported versions of core dependencies: diff --git a/myst_parser/__init__.py b/myst_parser/__init__.py index 782f46d6..6e33baeb 100644 --- a/myst_parser/__init__.py +++ b/myst_parser/__init__.py @@ -3,7 +3,7 @@ and [Sphinx](https://github.com/sphinx-doc/sphinx). """ -__version__ = "5.0.0" +__version__ = "5.1.0" def setup(app):