The NetBSD Project

CVS log for pkgsrc/textproc/py-mistune/PLIST

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / textproc / py-mistune

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Oct 29 12:11:38 2026 UTC (2 weeks, 4 days ago) by adam
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -1 lines
py-mistune: updated to 3.4.0

3.4.0

* 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.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Jul 23 12:30:55 2026 UTC (3 months, 3 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +10 -1 lines
py-mistune: updated to 3.3.4

3.3.4

* Harden inline parsing against deeply nested and adversarial link, image,
  emphasis, formatting, math, and reference inputs.
* Improve performance for repeated link suffixes, dense emphasis, unclosed
  formatting markers, inline spoilers, and adjacent ruby tokens.
* Refactor the inline parser into dedicated emphasis and link modules.
* Escape literal ``*``/``_`` emphasis markers in the Markdown renderer so
  round-tripping escaped text does not re-introduce emphasis.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Jun 24 05:25:41 2026 UTC (4 months, 3 weeks ago) by adam
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -1 lines
py-mistune: updated to 3.3.2

Version 3.3.2

* Fix Python 3.8 import compatibility in the inline parser.
* Fix mypy compatibility for list parsing on Python 3.8 and 3.9+.

Version 3.3.1

* Fix ``abbr`` plugin compatibility with escaped inline text.
* Normalize included Markdown line endings before parsing directives.

Version 3.3.0

* Improve CommonMark compatibility and parser performance.
* Add command line entrypoint with UTF-8 output.
* Support display and backtick math.
* Render plugin list and table nodes in Markdown renderer.
* Escape leading block markers in Markdown renderer.
* Fix RST renderer for block quotes nested in lists.
* Avoid generated heading ID collisions in TOC.
* Harden URL, image, figure, and include directive handling.
* Fix quadratic scans in inline links, reference links, and formatting markers.
* Fix math escaping, currency pattern matching, and cross-line matching.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Apr 14 12:39:20 2025 UTC (19 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
Fix PLIST after py-setuptools update; bump depends and revision

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Oct 28 19:57:18 2023 UTC (3 years ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +36 -4 lines
python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Aug 28 09:20:22 2023 UTC (3 years, 2 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +50 -33 lines
py-mistune: updated to 3.0.1

Version 3.0.1
-------------
* Add ``py.typed`` for mypy
* Add ``tests``, ``docs`` for sdist
* Support ``renderer="ast"`` for rendering AST

Version 3.0.0
-------------
* Do not strip leading unicode spaces like emsp
* Ensure new line at end of the text

Version 3.0.0rc5
----------------
* Fix fenced directives
* Fix inline link parser
* Fix block math plugin for multiple lines
* Fix empty list item for markdown renderer

Version 3.0.0rc4
----------------
* Fix plugin footnotes when there is no newline at the end
* Move safe HTML entities to HTMLRenderer
* Redesign directives parsing
* Add Image and Figure directive

Version 3.0.0rc3
----------------
* Render inline math with ``\(`` and ``\)``
* Added ``RSTRenderer``, and ``MarkdownRenderer``
* Fix ``toc_hook`` method
* **Breaking change**, rename ``RstDirective`` to ``RSTDirective``

Version 3.0.0rc2
----------------
* Add **spoiler** plugin
* Add ``collapse`` option for ``TableOfContents`` directive
* **Breaking change** on directive design, added fenced directive

Version 3.0.0rc1
----------------
* Add **superscript** plugin

Version 3.0.0a3
---------------
* Fix ruby plugin
* Change toc parameter ``depth`` to ``level``

Version 3.0.0a2
---------------
* Escape block code in HTMLRenderer
* Fix parsing links

Version 3.0.0a1
---------------
This is the first release of v3. Features included:

* redesigned mistune
* plugins
* directives

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri May 5 08:48:35 2023 UTC (3 years, 6 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +58 -4 lines
py-mistune: update to 2.0.5.

pkgsrc note: the CVE listed below was only for 2.x, so pkgsrc is
not affected.

2.0.5

Improve on parsing list. Make it possible to customize list regex. ref #331

2.0.4

Fix url plugin in <a> tag
Fix * formatting


2.0.3

Fix table plugin
Security fix for CVE-2022-34749

2.0.2

cape_url via #295

2.0.1

Fix XSS for image link syntax.

2.0.0

First release of Mistune v2.

2.0.0rc1

In this release, we have a Security Fix for harmful links.

2.0.0alpha1

This is the first release of v2. An alpha version for users to have a preview of the new mistune.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Oct 14 12:09:56 2018 UTC (8 years, 1 month ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -2 lines
py-mistune: updated to 0.8.4

Version 0.8.4
Support an escaped pipe char in a table cell.
Fix ordered and unordered list.
Fix spaces between = in HTML tags
Add max_recursive_depth for list and blockquote.
Fix fences code block.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Jul 20 17:03:46 2017 UTC (9 years, 3 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -1 lines
Rev1: build C-extension

Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Feb 13 21:06:21 2017 UTC (9 years, 9 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1
Added textproc/py-mistune version 0.7.3

The fastest markdown parser in pure Python with renderer features, inspired by
marked.

Features:
* Pure Python. Tested in Python 2.6+, Python 3.3+ and PyPy.
* Very Fast. It is the fastest in all pure Python markdown parsers.
* More Features. Table, footnotes, autolink, fenced code etc.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>