Skip to content

deps: Bump the uv-minor-patch group across 1 directory with 10 updates - #50

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/uv-minor-patch-e6b14f0123
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/uv-minor-patch-e6b14f0123

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 17, 2026

Copy link
Copy Markdown

Bumps the uv-minor-patch group with 10 updates in the / directory:

Package From To
fastapi 0.136.1 0.163.0
asyncpg 0.31.0 0.32.0
google-cloud-storage 3.4.1 3.17.1
pydantic-settings 2.14.1 2.16.3
markdown-it-py 4.2.0 4.3.0
mdit-py-plugins 0.6.1 0.7.0
pygments 2.20.0 2.21.0
python-multipart 0.0.28 0.0.33
slowapi 0.1.9 0.1.10
mammoth 1.12.1 1.13.0

Updates fastapi from 0.136.1 to 0.163.0

Release notes

Sourced from fastapi's releases.

0.163.0

FastAPI includes an official skill that helps coding agents use new features and recommended patterns for your installed version. Install it with uvx library-skills in your project. See Develop with AI.

Features

  • ✨ Add dependency concurrency limits with Depends(max_concurrency=...). PR #16746 by @​tiangolo.

0.162.7

FastAPI includes an official skill that helps coding agents use new features and recommended patterns for your installed version. Install it with uvx library-skills in your project. See Develop with AI.

Fixes

Internal

0.162.6

FastAPI includes an official skill that helps coding agents use new features and recommended patterns for your installed version. Install it with uvx library-skills in your project. See Develop with AI.

Breaking Changes

0.162.5

FastAPI includes an official skill that helps coding agents use new features and recommended patterns for your installed version. Install it with uvx library-skills in your project. See Develop with AI.

Fixes

Internal

  • ➖ Drop pydantic-ai dependency, use pydantic-ai-slim[openai] instead. PR #16526 by @​YuriiMotov.

0.162.4

FastAPI includes an official skill that helps coding agents use new features and recommended patterns for your installed version. Install it with uvx library-skills in your project. See Develop with AI.

Fixes

0.162.3

FastAPI includes an official skill that helps coding agents use new features and recommended patterns for your installed version. Install it with uvx library-skills in your project. See Develop with AI.

Upgrades

... (truncated)

Commits

Updates asyncpg from 0.31.0 to 0.32.0

Release notes

Sourced from asyncpg's releases.

v0.32.0

Improvements

  • Support Python 3.15 (#1367, #1378) (by @​elprans in 1b118464 and 58c0c595)

  • Support PostgreSQL 19 (#1379) (by @​elprans in 8d2a5aed)

  • Make pool min_size a maintained connection floor and add init_size to control the number of connections opened at startup (#1323). Idle connections at or below min_size are retained, and closed connections are replaced in the background. init_size defaults to min_size. To preserve the previous behavior, where the pool could drain to zero, replace min_size=N with init_size=N, min_size=0. (by @​shatilov-diman in 67a1cbc5)

  • Use hashlib.pbkdf2_hmac() for faster SCRAM password derivation (#1359) (by @​twelfthlabor in 00319a9b)

  • Use the statement cache for copy_records_to_table() introspection (#1360) (by @​matemax in dd058652)

Fixes

  • Clean up connections rejected by target_session_attrs immediately so an unresponsive rejected host cannot delay the selected connection, and cleanup tasks cannot outlive the event loop. Rejected connections are aborted without waiting for a graceful disconnect; servers may log "unexpected EOF on client connection" if the Terminate message is not delivered before the transport closes.

  • Fix a connection pool deadlock when releasing a connection after a protocol abort (#1324) (by @​pchaseh in 4a83cc2f)

  • Honor Connection.close(timeout=...) while waiting for a pending cancellation (#1361) (by @​gyanu2507 in c06bcb4d)

  • Prevent stuck cancellation from blocking connection teardown or pool release by bounding cancellation with the command or release timeout (#1370) (by @​elprans in 4cf02203)

  • Preserve the server error when the connection closes mid-operation (#1369) (by @​RitiGrover in 6c8f1a7a)

  • Fix COPY cleanup when a records generator raises, preserving the original exception and avoiding protocol desynchronization and stalled rollback (#1358) (by @​CodingCossack in fdc6bc8f)

... (truncated)

Commits
  • d701e11 asyncpg v0.32.0
  • b04f8f2 Bump to macOS 26 in runners, set deployment target to 11 (#1384)
  • 3934d77 tests: Capture expected pool retry warnings during role changes (#1383)
  • 2c37501 tests: Avoid DeprecationWarning when settings up uvloop (#1382)
  • b7eea79 Test pool min_size backoff on target attribute mismatch (#1381)
  • 46dda91 Terminate rejected target_session_attrs candidates before returning (#1380)
  • 8d2a5ae Support PostgreSQL 19 (#1379)
  • 58c0c59 Bump uvloop (#1378)
  • 67a1cbc Make pool min_size a maintained connection floor (#1323)
  • 25aaaf5 fix: allow cursors in external transactions (#1350)
  • Additional commits viewable in compare view

Updates google-cloud-storage from 3.4.1 to 3.17.1

Changelog

Sourced from google-cloud-storage's changelog.

Changelog

PyPI History

Commits
  • 2d29c31 chore: release main (#18608)
  • 7032a89 fix(gapic-generator): resolve showcase-mypy incompatible redefinition and add...
  • 9025061 fix(bigquery): remove PendingDeprecationWarning from RowIterator.to_arrow (#1...
  • 3743ff0 perf(spanner): avoid allocating empty RequestOptions on read and query paths ...
  • a9ca134 fix(storage): set GRPC_ALTS_MAX_CONCURRENT_HANDSHAKES=2 in benchmark runner (...
  • 09a3823 refactor(bigquery): move Arrow query result reading to _arrow_query (#18644)
  • 939bdd0 feat(bigquery-storage): add Arrow options and cancel to read_rows (#18643)
  • 8e640e0 chore(deps): update dependency nox to v2026 (#18681)
  • 706ced0 chore(deps): update dependency shapely to v2.2.0 (#18694)
  • af32b51 chore(deps): update dependency typing-extensions to v4.16.0 (#18697)
  • Additional commits viewable in compare view

Updates pydantic-settings from 2.14.1 to 2.16.3

Release notes

Sourced from pydantic-settings's releases.

v2.16.3

Highlights

This patch release fixes a security issue in the default secrets source, a regression from 2.14.2 that dropped nested secrets on Kubernetes, and a CliApp.serialize round-trip bug with CliUnknownArgs.

Security

  • SecretsSettingsSource no longer follows symlinks that resolve outside secrets_dir (#1138, fixes #1137). A secret file that is a symbolic link to a file outside secrets_dir was read into the matching field, so anyone who could place a link in secrets_dir could make the application load any file it can read. This is the plain-source counterpart of GHSA-4xgf-cpjx-pc3j, whose fix in 2.14.2 covered only NestedSecretsSettingsSource. Links that stay inside secrets_dir, such as the Kubernetes secret volume layout (passwd linking to ..data/passwd), still work.

Behavior changes

  • A secret file that resolves outside secrets_dir is now skipped with a warning instead of being read (#1138). If you deliberately point secret files at targets elsewhere on disk, move or copy the targets into secrets_dir, or point secrets_dir at the directory that holds them.
  • NestedSecretsSettingsSource skips hidden entries (names starting with .) again, as it did before 2.14.2, and stops with a SettingsError after 10,000 entries (#1070).

Bug fixes

Secrets

  • With secrets_nested_subdir=True, a directory reached through a second symlink is loaded again (#1070, fixes #1061). Since 2.14.2, only the name that sorted first was walked, so the standard Kubernetes secret volume layout (db linking to ..data/db) silently lost its nested secrets.
  • A symlink loop inside secrets_dir is skipped instead of aborting the load with RuntimeError on Python 3.11 and 3.12 (#1070, #1138).

CLI

  • CliApp.serialize keeps each level's CliUnknownArgs before that level's subcommand token (#1050, fixes #1048). They were emitted after the last subcommand, so parsing the output again moved a parent's unknown args onto the subcommand.

What's Changed

New Contributors

Full Changelog: pydantic/pydantic-settings@v2.16.2...v2.16.3

v2.16.2

Highlights

This patch release fixes env decoding of nested dictionary values, CliApp handling of AliasPath, nested secrets directory precedence and discriminated union defaults with nested_model_default_partial_update.

Behavior changes

  • An explicit secrets_dir on NestedSecretsSettingsSource now takes precedence (#1093). Previously it was ignored when the wrapped SecretsSettingsSource inherited a directory from model config, and an explicit empty list was masked too. The order is now: the wrapper's secrets_dir argument, then the wrapped source's directory, then model config. If you pass both Settings(_secrets_dir=...) and NestedSecretsSettingsSource(..., secrets_dir=...), the wrapper's argument now wins.

Bug fixes

... (truncated)

Commits
  • 50e676c Prepare release 2.16.3
  • e394a88 Prevent SecretsSettingsSource from following symlinks outside secrets_dir (#1...
  • 2e66451 Load nested secrets reached through a second directory link (#1070)
  • 0379552 Fix CliApp.serialize moving a parent unknown args into the subcommand (#1050)
  • 94150a0 Prepare release 2.16.2 (#1111)
  • 9e02de0 Fix JSON decoding of nested dictionary environment values (#1109)
  • 7e2dacb Fix CliApp reconstruction of AliasPath inputs (#1096)
  • 2d1f924 Fix explicit nested secrets directory precedence (#1093)
  • e9588ae Fix regressions from nested dict union value decoding (#1089) (#1097)
  • e71a53e Decode nested dictionary values with complex union types (#1089)
  • Additional commits viewable in compare view

Updates markdown-it-py from 4.2.0 to 4.3.0

Release notes

Sourced from markdown-it-py's releases.

v4.3.0

This release fixes two quadratic-time parsing paths that let crafted input stall rendering for minutes (security), aligns several parsing rules with CommonMark 0.31.2 and markdown-it 15.0.x, turns parser rules that never advance into a RuntimeError instead of an infinite loop, makes rendering linear on PyPy and free-threaded CPython, and adds support for Python 3.14. Python 3.10 is still supported. If you write plugins or render rules, or edit SyntaxTreeNode trees, please read the upgrade notes at the end.

🔒 Security

  • 👌 Fix quadratic-time inline parsing of long runs of characters that start an inline rule without completing one (such as &, <, ~ or incomplete entities), which let a few hundred kilobytes of input stall rendering for seconds to minutes, in #423, thanks to @​hdimer (#411)
  • 👌 Reject unterminated inline HTML (<!--, <?, <![CDATA[, <!X) in constant time when html is enabled (as in the default commonmark preset), instead of rescanning to the end of the input for every opener, in #428

✨ New

👌 Improved

  • 👌 Raise RuntimeError instead of looping forever when a block or inline rule reports a match without advancing (or moves backwards), or when no block rule matches a line, as markdown-it does, in #444, thanks to @​rupayon123, @​hukkin (#336) and @​inchang-ing (#443); requested by @​acaprino in #441
  • 👌 Fix quadratic-time HTML rendering on PyPy, GraalPy and free-threaded CPython by joining the rendered fragments once, in #458, thanks to @​DicksonWu654
  • 👌 Make StateBase.src a plain attribute, for about 4–11% faster parsing on CPython, in #450, thanks to @​deadstrobe5
  • 👌 Build block line markers with one scan per line instead of one step per character in #449, thanks to @​John-Cusack
  • 👌 Name the Windows end-of-input keys (Ctrl-Z then Enter) in the CLI's interactive prompt and -h text in #463

🐛 Fixed

  • 🐛 Fix HTML blocks of types 1–5 (comments, processing instructions, declarations, CDATA, script/pre/style/textarea) ending at a blank line inside a list item or blockquote, porting markdown-it 14.2.0, in #406, thanks to @​binggao1230; reported by @​Jayman2000 in #377
  • 🐛 Fix HTML block starts per CommonMark 0.31.2: lowercase declarations such as <!doctype html> start a block and interrupt a paragraph, and tag names match case-insensitively in ASCII only, in #440, thanks to @​rupayon123; reported by @​p5ych0 in #437
  • 🐛 Fix code spans rendered as literal backticks after an unclosed link or image label, and count only U+0020 spaces (not tabs or no-break spaces) when deciding whether to strip a code span's padding, porting markdown-it 15.0.1, in #439, thanks to @​SparkUiX; reported by @​felzab in #438
  • 🐛 Trim and split with the CommonMark whitespace set instead of Python's, so U+001C–U+001F and U+0085 are no longer dropped from paragraphs, headings, table cells and fence info strings, and distinct reference labels no longer match each other, in #433, thanks to @​Nexory (#418)
  • 🐛 Preserve IPv6 host brackets (e.g. http://[::1]:8000/) in normalized link and image URLs, porting markdown-it 15.0.1, in #459, thanks to @​Jinyong-Li
  • 🐛 Fix task-list detection consuming a literal [ ]/[x] at the start of an indented code block in a list item in #451, thanks to @​AryanRG
  • 🐛 Fix an IndexError in the html_block and heading rules at the end of the input (a table in a blockquote that ends on >) in #416, thanks to @​saket3395; reported by @​WilcoPancras in #415
  • 🐛 Keep backslash escapes and entities in image alt text (![a \* b](https://github.com/executablebooks/markdown-it-py/blob/HEAD/u) gives alt="a * b"), porting markdown-it 15.0.0, in #446, thanks to @​gyanu2507; reported by @​kdeldycke in #445
  • 🐛 Keep code span text in image alt text, porting markdown-it 15.0.0, in #460, thanks to @​jayhemnani9910
  • 🐛 Keep hard breaks and inline HTML in image alt text in #409, thanks to @​chuenchen309
  • 🐛 Keep edits to the children of inline and image nodes in SyntaxTreeNode.to_tokens() in #453, thanks to @​KennyMcSimpson; edited tokens are copied, so the token stream the tree was built from is left unchanged (#464)
  • 🐛 Fix rule chains staying stale after Ruler.enable, disable or enableOnly raised on an unknown rule name in #457, thanks to @​IlyaKhalafi; reported in #456
  • 🐛 Fix MarkdownIt.enable() and disable() applying a generator of rule names only to the core chain in #447, thanks to @​muneikh
  • 🐛 Fix the CLI's interactive mode joining input lines with an extra newline, which split every line into its own paragraph and broke hard line breaks, in #425; reported by @​jamesquilty in #172
  • 🐛 CLI helpers create a default parser only when none is given in #455, thanks to @​Quinnod345

📚 Documentation

  • 📚 Add a "Third-party renderers" section (mdformat, mdit_plain, MyST-Parser) and document RendererProtocol for writing your own renderer, in #463
  • 📚 Document that MarkdownIt passes itself to renderer_cls, unlike markdown-it's renderer constructor, in #421, thanks to @​user01010111
  • 📚 Clarify that the name given to add_render_rule must match a token type in #432, thanks to @​hikmetba-bit
  • 📚 Fix typos and use HTTPS for the CommonMark spec links in #402, #407 and #408, thanks to @​nikolas, @​maxtaran2010 and @​deeferentleeg

... (truncated)

Changelog

Sourced from markdown-it-py's changelog.

4.3.0 - 2026-11-10

This release fixes two quadratic-time parsing paths that let crafted input stall rendering for minutes (security), aligns several parsing rules with CommonMark 0.31.2 and markdown-it 15.0.x, turns parser rules that never advance into a RuntimeError instead of an infinite loop, makes rendering linear on PyPy and free-threaded CPython, and adds support for Python 3.14. Python 3.10 is still supported. If you write plugins or render rules, or edit SyntaxTreeNode trees, please read the upgrade notes at the end.

🔒 Security

  • 👌 Fix quadratic-time inline parsing of long runs of characters that start an inline rule without completing one (such as &, <, ~ or incomplete entities), which let a few hundred kilobytes of input stall rendering for seconds to minutes, in #423, thanks to @​hdimer (#411)
  • 👌 Reject unterminated inline HTML (<!--, <?, <![CDATA[, <!X) in constant time when html is enabled (as in the default commonmark preset), instead of rescanning to the end of the input for every opener, in #428

✨ New

👌 Improved

  • 👌 Raise RuntimeError instead of looping forever when a block or inline rule reports a match without advancing (or moves backwards), or when no block rule matches a line, as markdown-it does, in #444, thanks to @​rupayon123, @​hukkin (#336) and @​inchang-ing (#443); requested by @​acaprino in #441
  • 👌 Fix quadratic-time HTML rendering on PyPy, GraalPy and free-threaded CPython by joining the rendered fragments once, in #458, thanks to @​DicksonWu654
  • 👌 Make StateBase.src a plain attribute, for about 4–11% faster parsing on CPython, in #450, thanks to @​deadstrobe5
  • 👌 Build block line markers with one scan per line instead of one step per character in #449, thanks to @​John-Cusack
  • 👌 Name the Windows end-of-input keys (Ctrl-Z then Enter) in the CLI's interactive prompt and -h text in #463

🐛 Fixed

  • 🐛 Fix HTML blocks of types 1–5 (comments, processing instructions, declarations, CDATA, script/pre/style/textarea) ending at a blank line inside a list item or blockquote, porting markdown-it 14.2.0, in #406, thanks to @​binggao1230; reported by @​Jayman2000 in #377
  • 🐛 Fix HTML block starts per CommonMark 0.31.2: lowercase declarations such as <!doctype html> start a block and interrupt a paragraph, and tag names match case-insensitively in ASCII only, in #440, thanks to @​rupayon123; reported by @​p5ych0 in #437
  • 🐛 Fix code spans rendered as literal backticks after an unclosed link or image label, and count only U+0020 spaces (not tabs or no-break spaces) when deciding whether to strip a code span's padding, porting markdown-it 15.0.1, in #439, thanks to @​SparkUiX; reported by @​felzab in #438
  • 🐛 Trim and split with the CommonMark whitespace set instead of Python's, so U+001C–U+001F and U+0085 are no longer dropped from paragraphs, headings, table cells and fence info strings, and distinct reference labels no longer match each other, in #433, thanks to @​Nexory (#418)
  • 🐛 Preserve IPv6 host brackets (e.g. http://[::1]:8000/) in normalized link and image URLs, porting markdown-it 15.0.1, in #459, thanks to @​Jinyong-Li
  • 🐛 Fix task-list detection consuming a literal [ ]/[x] at the start of an indented code block in a list item in #451, thanks to @​AryanRG
  • 🐛 Fix an IndexError in the html_block and heading rules at the end of the input (a table in a blockquote that ends on >) in #416, thanks to @​saket3395; reported by @​WilcoPancras in #415
  • 🐛 Keep backslash escapes and entities in image alt text (![a \* b](https://github.com/executablebooks/markdown-it-py/blob/master/u) gives alt="a * b"), porting markdown-it 15.0.0, in #446, thanks to @​gyanu2507; reported by @​kdeldycke in #445
  • 🐛 Keep code span text in image alt text, porting markdown-it 15.0.0, in #460, thanks to @​jayhemnani9910
  • 🐛 Keep hard breaks and inline HTML in image alt text in #409, thanks to @​chuenchen309
  • 🐛 Keep edits to the children of inline and image nodes in SyntaxTreeNode.to_tokens() in #453, thanks to @​KennyMcSimpson; edited tokens are copied, so the token stream the tree was built from is left unchanged (#464)
  • 🐛 Fix rule chains staying stale after Ruler.enable, disable or enableOnly raised on an unknown rule name in #457, thanks to @​IlyaKhalafi; reported in #456
  • 🐛 Fix MarkdownIt.enable() and disable() applying a generator of rule names only to the core chain in #447, thanks to @​muneikh
  • 🐛 Fix the CLI's interactive mode joining input lines with an extra newline, which split every line into its own paragraph and broke hard line breaks, in #425; reported by @​jamesquilty in #172
  • 🐛 CLI helpers create a default parser only when none is given in #455, thanks to @​Quinnod345

📚 Documentation

  • 📚 Add a "Third-party renderers" section (mdformat, mdit_plain, MyST-Parser) and document RendererProtocol for writing your own renderer, in #463
  • 📚 Document that MarkdownIt passes itself to renderer_cls, unlike markdown-it's renderer constructor, in #421, thanks to @​user01010111
  • 📚 Clarify that the name given to add_render_rule must match a token type in #432, thanks to @​hikmetba-bit

... (truncated)

Commits
  • d504583 🚀 RELEASE: v4.3.0 (#466)
  • 9aa1aae 👌 Fix quadratic-time rendering on PyPy and other interpreters (#458)
  • 17b7227 👌 Copy edited tokens in SyntaxTreeNode.to_tokens instead of writing in place ...
  • 2542e66 🐛 Fix HTML block start conditions per CommonMark 0.31.2 (#440)
  • cb36d3a 🐛 FIX: HTML block types 1–5 ending at a blank line inside a container (#406)
  • f5af61f 🐛 FIX: Preserve code spans after unclosed link and image labels (#439)
  • 1c70dce 👌 Make StateBase.src a plain attribute (#450)
  • 2787da1 🐛 Keep code span text in image alt text (#460)
  • 01d077a 🐛 FIX: Keep literal task markers in indented code blocks in list items (#451)
  • 2fcca3a 🐛 Keep backslash escapes and entities in image alt text (#446)
  • Additional commits viewable in compare view

Updates mdit-py-plugins from 0.6.1 to 0.7.0

Release notes

Sourced from mdit-py-plugins's releases.

v0.7.0

A security and bug-fix release. Plugin renderers now escape user content in HTML attribute, label and math positions, attrs drops event-handler attributes by default and validates URL-valued attributes, and the regular expressions in texmath ```math blocks and admon headers no longer backtrack polynomially (#143). It also fixes parser hangs in gfm_autolink (#160) and texmath (#156), and adds the section_ref plugin. The release requires markdown-it-py >= 3.0 and supports Python 3.10 to 3.14. Several fixes change rendered output: see Upgrade notes below.

Upgrade notes

  • Requires markdown-it-py >= 3.0 (#170). The declared floor was 2.0, but 0.5.0 and later already failed to import subscript with markdown-it-py 2.x. section_ref, gfm and gfm_autolink still need markdown-it-py >= 4.1 and raise RuntimeError on older versions. Python 3.10 to 3.14 are supported.
  • attrs_plugin / attrs_block_plugin defaults are stricter (#150). With no allowed list, event-handler attributes (any key starting with on, in any case) are removed and moved to token.meta["insecure_attrs"]; style is kept. Whatever allowed says, href, src, action, formaction and xlink:href are removed when md.validateLink rejects their value, so [a](https://x){href="javascript:alert(1)"} keeps href="https://x". Text spans ([text]{...}) now honour allowed, which they used to bypass. This is a baseline, not a sanitiser: for untrusted input, pass an explicit list such as allowed=("id", "class").
  • Renderers escape their output (#150, #165). The texmath default renderer HTML-escapes the math source ($a<b$ now renders <eq>a&lt;b</eq>), and the dollarmath equation label, the myst_block target label, the colon_fence class name and the tasklists label_after label are escaped too. Benign text containing &, <, > or " in these positions is now emitted as entities.
  • anchors_plugin ids can change (#159). An explicit heading id (such as {#custom} from attrs_block_plugin) is now kept instead of being overwritten, and generated slugs avoid it. The default slug function no longer strips whitespace from the title, matching MyST-Parser's github_slugify: a title that starts or ends with a space next to an image, raw HTML or an entity gets a different id (# Foo ![img](https://github.com/executablebooks/mdit-py-plugins/blob/HEAD/x.png) now gives foo-, it was foo). To keep the old ids, pass slug_func=lambda title: slugify(title.strip()), with slugify from mdit_py_plugins.anchors.index.
  • mdit_py_plugins.attrs.parse.parse() raises on an unterminated attribute group, instead of succeeding at the end of the string (#153). Every plugin call site declines the group, so `a`{.a now renders <code>a</code>{.a; it used to drop the {.a.
  • The section_ref token shape is public API (#169): see its entry below.

🔒 Security

Thanks to @​KrisKennawayDD for reporting these issues in #143, and to @​KyleKing for the ReDoS analysis and fixes.

  • 🔒 FIX: Escape plugin renderer output and harden the attrs defaults, thanks to @​KyleKing for the cross-plugin XSS test (#150, folding in #151)

    With markdown-it-py's html option off, untrusted Markdown could still inject HTML or script through: the texmath default renderer (math source), the dollarmath equation label (id and permalink href),

... (truncated)

Changelog

Sourced from mdit-py-plugins's changelog.

0.7.0 - 2026-11-10

A security and bug-fix release. Plugin renderers now escape user content in HTML attribute, label and math positions, attrs drops event-handler attributes by default and validates URL-valued attributes, and the regular expressions in texmath ```math blocks and admon headers no longer backtrack polynomially (#143). It also fixes parser hangs in gfm_autolink (#160) and texmath (#156), and adds the section_ref plugin. The release requires markdown-it-py >= 3.0 and supports Python 3.10 to 3.14. Several fixes change rendered output: see Upgrade notes below.

Upgrade notes

  • Requires markdown-it-py >= 3.0 (#170). The declared floor was 2.0, but 0.5.0 and later already failed to import subscript with markdown-it-py 2.x. section_ref, gfm and gfm_autolink still need markdown-it-py >= 4.1 and raise RuntimeError on older versions. Python 3.10 to 3.14 are supported.
  • attrs_plugin / attrs_block_plugin defaults are stricter (#150). With no allowed list, event-handler attributes (any key starting with on, in any case) are removed and moved to token.meta["insecure_attrs"]; style is kept. Whatever allowed says, href, src, action, formaction and xlink:href are removed when md.validateLink rejects their value, so [a](https://x){href="javascript:alert(1)"} keeps href="https://x". Text spans ([text]{...}) now honour allowed, which they used to bypass. This is a baseline, not a sanitiser: for untrusted input, pass an explicit list such as allowed=("id", "class").
  • Renderers escape their output (#150, #165). The texmath default renderer HTML-escapes the math source ($a<b$ now renders <eq>a&lt;b</eq>), and the dollarmath equation label, the myst_block target label, the colon_fence class name and the tasklists label_after label are escaped too. Benign text containing &, <, > or " in these positions is now emitted as entities.
  • anchors_plugin ids can change (#159). An explicit heading id (such as {#custom} from attrs_block_plugin) is now kept instead of being overwritten, and generated slugs avoid it. The default slug function no longer strips whitespace from the title, matching MyST-Parser's github_slugify: a title that starts or ends with a space next to an image, raw HTML or an entity gets a different id (# Foo ![img](https://github.com/executablebooks/mdit-py-plugins/blob/master/x.png) now gives foo-, it was foo). To keep the old ids, pass slug_func=lambda title: slugify(title.strip()), with slugify from mdit_py_plugins.anchors.index.
  • mdit_py_plugins.attrs.parse.parse() raises on an unterminated attribute group, instead of succeeding at the end of the string (#153). Every plugin call site declines the group, so `a`{.a now renders <code>a</code>{.a; it used to drop the {.a.
  • The section_ref token shape is public API (#169): see its entry below.

🔒 Security

Thanks to @​KrisKennawayDD for reporting these issues in #143, and to @​KyleKing for the ReDoS analysis and fixes.

  • 🔒 FIX: Escape plugin renderer output and harden the attrs defaults, thanks to @​KyleKing for the cross-plugin XSS test (#150, folding in #151)

    With markdown-it-py's html option off, untrusted Markdown could still inject HTML or script through:

... (truncated)

CommitsDescription has been truncated

Bumps the uv-minor-patch group with 10 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [fastapi](https://github.com/fastapi/fastapi) | `0.136.1` | `0.163.0` |
| [asyncpg](https://github.com/MagicStack/asyncpg) | `0.31.0` | `0.32.0` |
| [google-cloud-storage](https://github.com/googleapis/google-cloud-python) | `3.4.1` | `3.17.1` |
| [pydantic-settings](https://github.com/pydantic/pydantic-settings) | `2.14.1` | `2.16.3` |
| [markdown-it-py](https://github.com/executablebooks/markdown-it-py) | `4.2.0` | `4.3.0` |
| [mdit-py-plugins](https://github.com/executablebooks/mdit-py-plugins) | `0.6.1` | `0.7.0` |
| [pygments](https://github.com/pygments/pygments) | `2.20.0` | `2.21.0` |
| [python-multipart](https://github.com/Kludex/python-multipart) | `0.0.28` | `0.0.33` |
| [slowapi](https://github.com/laurents/slowapi) | `0.1.9` | `0.1.10` |
| [mammoth](https://github.com/mwilliamson/python-mammoth) | `1.12.1` | `1.13.0` |



Updates `fastapi` from 0.136.1 to 0.163.0
- [Release notes](https://github.com/fastapi/fastapi/releases)
- [Commits](fastapi/fastapi@0.136.1...0.163.0)

Updates `asyncpg` from 0.31.0 to 0.32.0
- [Release notes](https://github.com/MagicStack/asyncpg/releases)
- [Commits](MagicStack/asyncpg@v0.31.0...v0.32.0)

Updates `google-cloud-storage` from 3.4.1 to 3.17.1
- [Release notes](https://github.com/googleapis/google-cloud-python/releases)
- [Changelog](https://github.com/googleapis/google-cloud-python/blob/main/packages/gcp-sphinx-docfx-yaml/CHANGELOG.md)
- [Commits](googleapis/google-cloud-python@google-cloud-kms-v3.4.1...google-cloud-storage-v3.17.1)

Updates `pydantic-settings` from 2.14.1 to 2.16.3
- [Release notes](https://github.com/pydantic/pydantic-settings/releases)
- [Commits](pydantic/pydantic-settings@v2.14.1...v2.16.3)

Updates `markdown-it-py` from 4.2.0 to 4.3.0
- [Release notes](https://github.com/executablebooks/markdown-it-py/releases)
- [Changelog](https://github.com/executablebooks/markdown-it-py/blob/master/CHANGELOG.md)
- [Commits](executablebooks/markdown-it-py@v4.2.0...v4.3.0)

Updates `mdit-py-plugins` from 0.6.1 to 0.7.0
- [Release notes](https://github.com/executablebooks/mdit-py-plugins/releases)
- [Changelog](https://github.com/executablebooks/mdit-py-plugins/blob/master/CHANGELOG.md)
- [Commits](executablebooks/mdit-py-plugins@v0.6.1...v0.7.0)

Updates `pygments` from 2.20.0 to 2.21.0
- [Release notes](https://github.com/pygments/pygments/releases)
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES)
- [Commits](pygments/pygments@2.20.0...2.21.0)

Updates `python-multipart` from 0.0.28 to 0.0.33
- [Release notes](https://github.com/Kludex/python-multipart/releases)
- [Changelog](https://github.com/Kludex/python-multipart/blob/main/CHANGELOG.md)
- [Commits](Kludex/python-multipart@0.0.28...0.0.33)

Updates `slowapi` from 0.1.9 to 0.1.10
- [Release notes](https://github.com/laurents/slowapi/releases)
- [Changelog](https://github.com/laurentS/slowapi/blob/master/CHANGELOG.md)
- [Commits](laurentS/slowapi@v0.1.9...v0.1.10)

Updates `mammoth` from 1.12.1 to 1.13.0
- [Changelog](https://github.com/mwilliamson/python-mammoth/blob/master/NEWS)
- [Commits](mwilliamson/python-mammoth@1.12.1...1.13.0)

---
updated-dependencies:
- dependency-name: fastapi
  dependency-version: 0.163.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: uv-minor-patch
- dependency-name: asyncpg
  dependency-version: 0.32.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: uv-minor-patch
- dependency-name: google-cloud-storage
  dependency-version: 3.17.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: uv-minor-patch
- dependency-name: pydantic-settings
  dependency-version: 2.16.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: uv-minor-patch
- dependency-name: markdown-it-py
  dependency-version: 4.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: uv-minor-patch
- dependency-name: mdit-py-plugins
  dependency-version: 0.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: uv-minor-patch
- dependency-name: pygments
  dependency-version: 2.21.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: uv-minor-patch
- dependency-name: python-multipart
  dependency-version: 0.0.33
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: uv-minor-patch
- dependency-name: slowapi
  dependency-version: 0.1.10
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: uv-minor-patch
- dependency-name: mammoth
  dependency-version: 1.13.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: uv-minor-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from jiashuoz as a code owner November 17, 2026 17:27
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Nov 17, 2026
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:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants