From 4ae5863b910b91db0f6d279ebf41c93051bdf1e2 Mon Sep 17 00:00:00 2001 From: Chris Sewell Date: Tue, 13 Jun 2023 18:19:07 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20RELEASE:=20v2.0.0=20(#783)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 33 +++++++++++++++++++++++++++++++++ docs/conf.py | 2 +- myst_parser/__init__.py | 2 +- 3 files changed, 35 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f574281..3c81ea9e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,38 @@ # Changelog +## 2.0.0 - 2023-06-13 + +This release primarily updates core myst-parser dependencies, +with some minor changes to parsing behaviour: + +* ⬆️ UPGRADE: `markdown-it-py` to v3 () + * This is mainly a non-breaking change, fixing some edge cases in parsing + * See: + and + +* ⬆️ UPGRADE: `linkify-it-py` to v2 () + * Also fixes some edge cases in parsing + * See: + +* ⬆️ UPGRADE: Add support for `docutils` v0.20 () + * No significant changes, see + +* ⬆️ UPGRADE: Add support for `sphinx` v7, and remove v5 support () + * No significant changes, see + +* ⬆️ UPGRADE: Remove Python 3.7 support and add testing for Python 3.11 () + +* 👌 Improve default slug generation for heading anchors, thanks to () + * This change makes the slug generation closer to GitHub, in that, starting/ending whitespace will not be stripped. + For example, ``# ` a` b `c ` `` will now correctly create the slug `-a-b-c-` and not `a-b-c` + +* 👌 IMPROVE: Substitution extension () + * Allow any value type (including dict, list, datetime) and emit a `myst.substitution` warning for errors in resolving the substitution content. + +* 🧪 Introduce a gate/check GHA job, thanks to () + +**Full Changelog**: [v1.0.0...v2.0.0](https://github.com/executablebooks/MyST-Parser/compare/v1.0.0...v2.0.0) + ## 1.0.0 - 2023-03-07 🎉 **MyST-Parser 1.0.0** 🎉 diff --git a/docs/conf.py b/docs/conf.py index 95e6d7a2..93d8b042 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -161,7 +161,7 @@ "use_repository_button": True, "use_edit_page_button": True, "use_issues_button": True, - "announcement": "v1.0.0 is now out! See the Changelog for details", + "announcement": "v2.0.0 is now out! See the Changelog for details", } html_last_updated_fmt = "" # OpenGraph metadata diff --git a/myst_parser/__init__.py b/myst_parser/__init__.py index abdfb390..3a2fa3fb 100644 --- a/myst_parser/__init__.py +++ b/myst_parser/__init__.py @@ -2,7 +2,7 @@ with bridges to [docutils](https://docutils.sourceforge.io/) and [Sphinx](https://github.com/sphinx-doc/sphinx). """ -__version__ = "1.0.0" +__version__ = "2.0.0" def setup(app):