Repository navigation
🚀 RELEASE: v5.2.0 - #1228
Merged
Merged
🚀 RELEASE: v5.2.0#1228
Conversation
Bump the version to 5.2.0 and add the 5.2.0 changelog entry, with upgrade notes for the changes that can alter existing output.
Correct three lines of the 5.2.0 entry: a third or later duplicate heading keeps its HTML ids, but links that use its old slug must be rewritten; cross-document links resolve to label ids and to the implicit ids of headings within the anchor depth; and the #1207 line describes the 5.1.0 behaviour it fixes (issue #1151).
…ugins 0.7 requirement (#1170)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release myst-parser and myst-docutils 5.2.0.
myst_parser/__init__.py:__version__ = "5.2.0"(the only version location;pyproject.tomlreads it dynamically).CHANGELOG.md: the 5.2.0 entry, covering every PR merged sincev5.1.0, with an Upgrade notes section for the changes that can alter the output of a project that built before (heading anchors: links that use the old slug of a third or later duplicate heading, such as , must be rewritten; directive option warning text;block_text/content_offset; source lines;global_onlyfront matter keys; rendered-output fixes; sdist contents).Left out as CI, tooling or test only: ⬆️ Bump actions/setup-python from 6 to 7 #1226, ⬆️ Bump actions/checkout from 6 to 7 #1148, [pre-commit.ci] pre-commit autoupdate #1162, ⬆️ Bump ruff from 0.15.13 to 0.15.20 #1150, ⬆️ Bump ruff from 0.15.12 to 0.15.13 #1138, [pre-commit.ci] pre-commit autoupdate #1137, 🧪 Add regression test for code fences inside GFM alert blocks #1142, 🔧 Disable "colorrows" latex table style to fix PDF docs build #1154.
The entry is dated 2026-11-10: re-date it to the tag day before merging if they differ.
No code, test or CI changes.
Decide before the tag
section_ref): IN this release (merged as7d48de0once ubCode's implementation landed); its changelog entry, upgrade note and themdit-py-plugins~=0.7runtime floor are in the entry.sphinxextra); deferred to 5.3.0.Checks run on this branch
pytest(py3.13, Sphinx 9.2.0, docutils 0.23): 1514 passed, 11 skipped, with markdown-it-py 4.2.0 + mdit-py-plugins 0.6.1 from PyPI, and the same with markdown-it-py and mdit-py-plugins installed from theirmaint/release-v4.3.0/maint/release-v0.7.0branches (markdown-it-pyb5095c1, 4.3.0; mdit-py-plugins13974a7, 0.7.0: their release commits), 1514 passed, 11 skipped.pre-commit run --all-files: all hooks pass.sphinx-build -nW --keep-going -b html docs/ docs/_build/html -P: no warnings.buildjob's steps: both distributions build,twine check --strictpasses on all four files, and the tag check acceptsv5.2.0and rejectsv5.2.1.Before the tag
test_extra_option_case.py; the docs no longer quote the old message).Release checklist
myst-parserandmyst-docutils(workflowtests.yml, environmentpypi).gh api repos/executablebooks/MyST-Parser/environmentsshowspypiwith a custom deployment policyv*(type tag) and no required reviewer (and an unrelatedcopilotenvironment).git tag v5.2.0 <sha> && git push origin v5.2.0.continuous-integrationrun for the tag is green, including Publish myst-parser to PyPI and then Publish myst-docutils to PyPI. If a publish job fails, fix the configuration and re-run the job; never re-tag.https://pypi.org/integrity/myst-parser/5.2.0/myst_parser-5.2.0-py3-none-any.whl/provenance,…/myst_parser-5.2.0.tar.gz/provenance,https://pypi.org/integrity/myst-docutils/5.2.0/myst_docutils-5.2.0-py3-none-any.whl/provenance,…/myst_docutils-5.2.0.tar.gz/provenance(5.1.0 returns 404: it was a token upload).v5.2.0from the changelog entry.stable(active, today onv5.1.0) moves tov5.2.0.conda-forge/myst-parser-feedstock,recipe/meta.yaml, today at 5.1.0): run depsdocutils >=0.20,<0.23→>=0.20,<0.24;markdown-it-py >=4.2.0,<4.3.0→>=4.2,<5(the feedstock's cap is tighter than our~=4.2and would block markdown-it-py 4.3.0);mdit-py-plugins >=0.6.1,<0.7→>=0.7,<1(5.2.0 requires 0.7 forsection_ref); hostflit-core >=3.4,<4→>=3.4,<5; Python floor unchanged (3.11). Itsmyst-benchmarkentry point names a module that no longer exists. There is no myst-docutils feedstock.PYPI_KEY/PYPI_KEY_DOCUTILSsecrets..github/workflows/docutils_setup.py); start the 5.3.0 queue (🐛 Accurate directive line mapping and source-attributed nested renders #1175, ✨ Expose MyST substitutions to reStructuredText #1194, NEW: Reference amsmath environments by their\label#1215, Support building line blocks with markdown-it hardbreaks #948).Squash commit
Title:
🚀 RELEASE: v5.2.0 (#1228)