Skip to content

Update mistune requirement from >=3.3.4 to >=3.4.0 in /doc - #1049

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/doc/mistune-gte-3.4.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/doc/mistune-gte-3.4.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 22, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on mistune to permit the latest version.

Release notes

Sourced from mistune's releases.

v3.4.0

   🐞 Bug Fixes

   🏎 Performance

    View changes on GitHub
Changelog

Sourced from mistune's changelog.

Version 3.4.0

Released on Oct 19, 2026

  • Add Python 3.15 support and include it in the CI test matrix.
  • Require Python 3.10 or later.
  • Parse inline links with an opening-bracket stack and replace per-syntax failure caches with source-local delimiter scanning.
  • Share one inline nesting budget across images, links, emphasis, and plugins. Expose InlineParser.max_nested_level; the older max_emphasis_depth and max_image_depth settings configure the same limit.
  • Preserve later valid syntax when a candidate fails or reaches a nesting limit, rather than treating the remaining input as unparsed text.
  • Enforce CommonMark's 999-character reference label limit, balanced and bounded destination parentheses, and link title constraints.
  • Improve performance for unclosed inline HTML, unmatched code delimiters, deeply nested images, and repeated text fragments.
  • Recognize inline HTML comments permitted by CommonMark 0.31.2.
  • Parse links containing full reference images without treating the image's reference label as a nested link.
  • Preserve reference definitions parsed inside multi-paragraph footnotes.
  • Accept definition-list markers indented by up to three spaces.
  • Prefer longer registered abbreviation matches over shorter prefixes.
  • Require at least one digit in ordered list continuation markers.
  • Add Markdown rendering for strikethrough, mark, and insert plugins.
  • Preserve escaped pipes in table code spans, literal trailing heading hashes, meaningful code span edge spaces, and leading blank lines in Markdown output.
  • Keep images whose alt text matches their URL from becoming autolinks.
  • Preserve non-line-break separator characters in rendered lists and hard line breaks in tight ReST list items.
  • Document per-document renderer context and correct the custom Markdown renderer example.
  • Preserve literal backslashes, image introducers, HTML delimiters and entity prefixes when rendering Markdown for a round trip.
  • Only recognize task list markers in a list item's leading paragraph, preserving literal markers in headings.
  • Bound the global convenience-parser cache and avoid retaining caller-owned renderers and plugin objects.
  • Add public HTML output helpers for raw HTML, attributes, and URL policy.
  • Share collision-safe default heading IDs between both TOC APIs.
  • Add explicit start-character hints for custom inline rules; unhinted custom rules now use the correctness-first regular-expression scanner.
  • Consolidate adversarial parser growth tests and document the security model.

Version 3.3.4

Released on Jul 22, 2026

... (truncated)

Commits
  • f19057f chore: release 3.4.0
  • 56cd21e perf: streamline inline parsing and unify nesting limits
  • bc7bb78 Merge pull request #484 from jackwalkerlabs/fix/codespan-edge-spaces
  • 5569f20 Merge pull request #481 from BetterAndBetterII/fix/leading-blank-lines
  • 0b4e15d Merge remote-tracking branch 'origin/main' into HEAD
  • e9975d4 Merge pull request #485 from jackwalkerlabs/fix/image-autolink-roundtrip
  • cada77f Merge remote-tracking branch 'origin/main' into HEAD
  • e9e7b4e Merge pull request #499 from xingzhao-ji/fix/task-list-leading-paragraph
  • 40c76b9 Merge pull request #486 from oyeong011/fix/preserve-heading-trailing-hashes
  • 029cd5f Merge pull request #490 from CrossNox/fix/reference-image-inside-link
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [mistune](https://github.com/lepture/mistune) to permit the latest version.
- [Release notes](https://github.com/lepture/mistune/releases)
- [Changelog](https://github.com/lepture/mistune/blob/main/docs/changes.rst)
- [Commits](lepture/mistune@v3.3.4...v3.4.0)

---
updated-dependencies:
- dependency-name: mistune
  dependency-version: 3.4.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from a team as a code owner October 22, 2026 17:13
Copilot AI balanced review requested due to automatic review settings October 22, 2026 17:13
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Oct 22, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No blocking issues were identified, and Mistune’s Python 3.10 minimum aligns with the repository’s supported Python versions.

No open issues 🎉

What changed in this PR

Raises the minimum Mistune version used by the documentation toolchain to 3.4.0, incorporating upstream parsing fixes and performance improvements.

Changes:

  • Updates mistune>=3.3.4 to mistune>=3.4.0.
  • Retains the existing security advisory comment.
File Description
doc/​requirements.txt Raises the documentation dependency’s minimum Mistune version.

Review effort: Balanced

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant