Skip to content

build(deps): bump the dependencies group with 7 updates - #6530

Merged
leaf-agent merged 1 commit into
mainfrom
dependabot/uv/dependencies-76b0468a7e
Nov 19, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
dependabot/uv/dependencies-76b0468a7e

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps the dependencies group with 7 updates:

Package From To
markdown-it-py 4.2.0 4.3.0
mdit-py-plugins 0.6.1 0.7.0
playwright 1.65.0 1.65.2
turbohtml 1.15.10 1.15.11
ty 0.0.99 0.0.104
ruff 0.17.4 0.17.5
datamodel-code-generator 0.91.0 0.96.0

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)

Commits
  • faf100c 🚀 RELEASE: v0.7.0 (#171)
  • 1478f5b 🔧 MAINTAIN: require markdown-it-py >= 3.0, test the floor and Python 3.14 (#170)
  • 89b1977 📚 DOCS: freeze the section_ref token shape and make its grammar normative (#169)
  • 7997835 🐛 FIX: section_ref no longer raises on very long digit runs (#168)
  • 3e689b0 🔧 Make the Codecov upload non-blocking (#167)
  • 00bb6ec 🔒 FIX: Escape plugin renderer output and harden attrs defaults (#150)
  • e76acea 🔧 MAINTAIN: pre-commit autoupdate, pin ruff base rules (#138)
  • f4f4021 🐛 FIX: ReDoS in texmath ```math blocks and admon headers (#148)
  • c1835a6 🐛 FIX: anchors: keep explicit heading ids, do not strip slug titles (#159)
  • f117453 🐛 FIX: texmath infinite loop on block math closed outside blockquote (#157)
  • Additional commits viewable in compare view

Updates playwright from 1.65.0 to 1.65.2

Release notes

Sourced from playwright's releases.

v1.65.2

Highlights

microsoft/playwright#44098 - browser(chromium): roll to r1255, v159.0.8154.6

Browser Versions

  • Chromium 159.0.8154.6

v1.65.1

Highlights

microsoft/playwright-python#3337 - chore: roll Node.js to 26.13.1 microsoft/playwright-python#3331 - devops(docker): install libatomic1 for the Node.js binary of the driver microsoft/playwright-python#3336 - fix(docker): upgrade base image packages during the build

The bundled Node.js 26.13.1 is a security release with fixes in tls, http, https and http2. The driver uses Node.js for its own network connections, for example connect_over_cdp to a wss:// endpoint.

The Docker images now include libatomic1, which the Node.js binary of the driver needs, and the latest security updates of the Ubuntu packages.

Browser Versions

  • Chromium 158.0.8127.18
  • Mozilla Firefox 159.0
  • WebKit 27.2

This version was also tested against the following stable channels:

  • Google Chrome 157
  • Microsoft Edge 156
Commits
  • dcc92ee chore: roll Playwright to 1.65.1 (bbd948344e) (#3346)
  • eecddbc cherry-pick(#3337): chore: roll Node.js to 26.13.1
  • 696ec60 cherry-pick(#3336): fix(docker): upgrade base image packages during the build
  • ad6bc4b cherry-pick(#3333): devops(docker): publish stable images from the tip of a r...
  • c0f3b22 cherry-pick(#3331): devops(docker): install libatomic1 for the Node.js binary...
  • See full diff in compare view

Updates turbohtml from 1.15.10 to 1.15.11

Release notes

Sourced from turbohtml's releases.

v1.15.11

Bug fixes

  • Prevent phone-number extensions with many separators from writing past the recognizer's chunk buffer. Preserve XML comment boundaries after invalid controls are removed and exact carriage returns and line feeds in CLI text files. Deeply nested XPath expressions now raise XPathDepthError during parsing, matching evaluation (#1675) by @​gaborbernat.
  • Element.insert() and ElementView.insert() no longer slow down with the number of siblings when inserting near either end of a long child list (#2150) by @​gaborbernat. (#1695)
  • After a handler edit, rewrite writes the markup that follows, and a < the edit left before it, so a browser reads them as it read the input (#2146) by @​gaborbernat. (#1701)
  • XML Schema validation now rejects child elements in an element declared with an inline xs:simpleType, as it already does for a type= declaration (#2127) by @​gaborbernat. (#1708)
  • Reading or clearing every attribute of an element with many attributes, or removing them by name from either end, now takes time linear in the attribute count (#2174) by @​gaborbernat. (#1709)
  • Multi-step XSD extensions now require every base type's content, so complete documents are accepted and incomplete ones rejected; invalid xs:all extensions now raise (#2135) by @​gaborbernat. (#1716)
  • Keep computed_style fast on deeply nested documents in any call order, instead of restyling every ancestor on each call (#2181) by @​gaborbernat. (#1718)
  • Sanitizer checks now judge each value as the XML serializer writes it too, so dropped control characters can no longer rejoin CSS, URLs, or template markers the checks refused (#2116) by @​gaborbernat. (#1728)
  • Minified CSS keeps the separator after a name ending in an escaped character, so the output parses as the input did (#2161) by @​gaborbernat. (#1729)
  • Read <meta http-equiv=refresh> targets as browsers do, so links(), rewrite_links(), resolve_links() and meta_refresh() agree, and text right after the delay is no redirect (#2126) by @​gaborbernat. (#1737)
  • A loop of Range calls over the children of one wide element no longer slows down with the square of the child count (#2144) by @​gaborbernat. (#1743)
  • minify_css no longer brings to life an @import, @namespace, @charset or @layer statement that browsers ignore, and keeps an empty rule that holds one back (#2145) by @​gaborbernat. (#1745)
  • XPath regex searches with back-references now count every capture group against the step limit, so such patterns raise ValueError instead of running past it (#2131) by @​gaborbernat. (#1746)
  • XPath expressions that nest predicates or operators around matches(), replace() or extension functions no longer slow down with each level of nesting (#2179) by @​gaborbernat. (#1748)
  • rewrite() no longer adds a tag where an empty end tag or removed node sat between a < and text, including raw text past the nesting cap (#2195) by @​gaborbernat. (#1752)
  • Keep the doctype's public and system identifiers and forced quirks mode in to_source, so the output reparses in the source's document mode (#2141) by @​gaborbernat. (#1757)
  • rewrite() no longer lets a removed <script> through on pages nested past 8,192 open elements; edits it cannot apply there raise ValueError (#2196) by @​gaborbernat. (#1758)
  • Link extraction, rewriting and sanitizing now read srcset candidates like a browser: commas inside parentheses no longer split a candidate, and candidates with invalid descriptors are skipped (#2148) by @​gaborbernat. (#1759)
  • Repeatedly assigning Text.data, Comment.data or the etree text and tail properties now keeps memory proportional to the current text instead of every value assigned (#2133) by @​gaborbernat. (#1760)
  • Minifying a style attribute now drops the rest of a declaration broken by a {} block or a stray }, rather than letting it apply (#2151) by @​gaborbernat. (#1763)
  • XML Schema and RELAX NG range facets now judge the whole of a long numeric value instead of a truncated prefix of it (#2164) by @​gaborbernat. (#1764)
  • xs:list and xs:union values are now checked against their item or member types, including xs:NMTOKENS, xs:IDREFS and xs:ENTITIES, instead of accepting any text (#2147) by @​gaborbernat. (#1765)
  • Style attributes and <style> bodies no longer keep properties outside css_properties that browsers apply, and drop declarations containing a unicode-range token (#2137) by @​gaborbernat. (#1768)
  • Edits that leave <style> elements alone no longer make computed_style recompile every sheet, and changes to a style's type or text apply at once (#2166) by @​gaborbernat. (#1770)
  • A code block whose language contains a backtick is now fenced without that language, so its text stays code instead of being read as Markdown (#2153) by @​gaborbernat. (#1771)
  • Serialized and minified HTML no longer lets a script run past its end tag and turn later content into live markup (#2173) by @​gaborbernat. (#1773)
  • Long <meta> charset values are read in full, so padded labels resolve, and a charset that names no encoding no longer hides a content declaration, as in browsers (#2155) by @​gaborbernat. (#1775)
  • minify output now reads the same in browsers that run scripts: <noscript> content is copied from the source, and a page whose <noscript> content parses differently there keeps everything after it unminified (#2154) by @​gaborbernat. (#1776)
  • XPath function calls with many arguments now run in linear time when the expression uses regex or extension functions (#2156) by @​gaborbernat. (#1778)
  • minify_css keeps the separators that a unicode-range start, an unclosed calc() or a universal selector needs, and stops crashing on some bang comments (#2198) by @​gaborbernat. (#1835)
  • minify_css keeps a hash color that contains a CSS escape as written instead of shortening it, so the escape no longer swallows the closing brace of its rule (#2191) by @​gaborbernat. (#1849)
  • minify_css keeps a rule whose selector starts with a combinator, such as > or ~, rather than dropping it or merging it into the rule before (#2192) by @​gaborbernat. (#1850)
  • CSS minification now keeps a selector with three or more colons as written, and minifying the output again changes nothing (#2200) by @​gaborbernat. (#1851)
  • Minified CSS no longer glues a calc()-unwrapped value to the token after it, and a calc() group left open at end of input folds in one pass (#2197) by @​gaborbernat. (#1852)
  • Minifying CSS with stray brackets, hex escapes or CDO/CDC tokens now gives the same output on a second pass, drops declarations whose name holds a bracket, and folds an unclosed nested calc() (#2194) by @​gaborbernat. (#1853)
  • Sanitized markup now re-parses to the same tree when an option or optgroup would otherwise nest inside an option (#1856) by @​gaborbernat. (#1854)
  • Reparsing serialized output no longer changes a selectedcontent placed after its option (#1861) by @​gaborbernat. (#1859)
  • Sanitized output no longer writes implied tbody, tr, or colgroup tags a policy omits; REMOVE now keeps cells under them (#1862) by @​gaborbernat. (#1860)
  • Content after a table element or template refused at the nesting limit is kept, and a refused template's end tag closes only that template (#1865) by @​gaborbernat. (#1863)
  • Serialization writes carriage returns as &[#13](https://github.com/tox-dev/turbohtml/issues/13); in text and attribute values, so sanitized and minified output stays unchanged when parsed and serialized again (#1866) by @​gaborbernat. (#1864)
  • Named groups holding an xs:all now accept their children in any order, and an xs:all nested in a sequence or choice fails to compile (#2028) by @​gaborbernat. (#2015)
  • XSD validation now accepts valid content for repeated particles with minOccurs of two or more whose repetitions can match no children (#2075) by @​gaborbernat. (#2017)
  • Canonical XML and XML serialization now drop characters XML 1.0 forbids from CDATA sections, text and attribute values, so the output parses (#2039) by @​gaborbernat. (#2024)
  • canonicalize on HTML-parsed trees now renders the xmlns: declarations that prefixed names use, so the output reparses in the same namespaces; a relative namespace URI raises ValueError (#2040) by @​gaborbernat. (#2025)
  • A schema that repeats an xs:all group, through a group reference or an xs:all element with maxOccurs above 1, now fails to compile (#2031) by @​gaborbernat. (#2029)

... (truncated)

Changelog

Sourced from turbohtml's changelog.

########### Changelog ###########

.. towncrier-draft-entries:: Unreleased

.. towncrier release notes start

.. _release-1-15-12:


v1.15.12 (2026-11-17)


.. _release-1-15-12-fixed:

Fixed

  • Base URL, meta re...

    Description has been truncated

Bumps the dependencies group with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [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` |
| [playwright](https://github.com/microsoft/playwright-python) | `1.65.0` | `1.65.2` |
| [turbohtml](https://github.com/tox-dev/turbohtml) | `1.15.10` | `1.15.11` |
| [ty](https://github.com/astral-sh/ty) | `0.0.99` | `0.0.104` |
| [ruff](https://github.com/astral-sh/ruff) | `0.17.4` | `0.17.5` |
| [datamodel-code-generator](https://github.com/datamodel-code-generator/datamodel-code-generator) | `0.91.0` | `0.96.0` |


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 `playwright` from 1.65.0 to 1.65.2
- [Release notes](https://github.com/microsoft/playwright-python/releases)
- [Commits](microsoft/playwright-python@v1.65.0...v1.65.2)

Updates `turbohtml` from 1.15.10 to 1.15.11
- [Release notes](https://github.com/tox-dev/turbohtml/releases)
- [Changelog](https://github.com/tox-dev/turbohtml/blob/main/docs/changelog.rst)
- [Commits](tox-dev/turbohtml@1.15.10...1.15.11)

Updates `ty` from 0.0.99 to 0.0.104
- [Release notes](https://github.com/astral-sh/ty/releases)
- [Changelog](https://github.com/astral-sh/ty/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ty@0.0.99...0.0.104)

Updates `ruff` from 0.17.4 to 0.17.5
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.17.4...0.17.5)

Updates `datamodel-code-generator` from 0.91.0 to 0.96.0
- [Release notes](https://github.com/datamodel-code-generator/datamodel-code-generator/releases)
- [Changelog](https://github.com/datamodel-code-generator/datamodel-code-generator/blob/main/CHANGELOG.md)
- [Commits](datamodel-code-generator/datamodel-code-generator@0.91.0...0.96.0)

---
updated-dependencies:
- dependency-name: markdown-it-py
  dependency-version: 4.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: mdit-py-plugins
  dependency-version: 0.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: playwright
  dependency-version: 1.65.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: turbohtml
  dependency-version: 1.15.11
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: ty
  dependency-version: 0.0.104
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: ruff
  dependency-version: 0.17.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: datamodel-code-generator
  dependency-version: 0.96.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Nov 19, 2026
@leaf-agent
leaf-agent merged commit cc7c1c8 into main Nov 19, 2026
6 checks passed
@leaf-agent
leaf-agent deleted the dependabot/uv/dependencies-76b0468a7e branch November 19, 2026 17:14
max-sixty pushed a commit that referenced this pull request Nov 20, 2026
…ebsite tests' page fake (#6596)

Six developer-tool tests failed in [scheduled run
44722728605](https://github.com/max-sixty/leaf/actions/runs/44722728605)'s
`dev-tests` job because two tests lagged behind changes to what they
check:

- `test_generated_fields_are_checked_through_record_reads_and_writes`:
the dependency bump in #6530 moved ty from 0.0.99 to 0.0.104, which
reports an unknown TypedDict key as `error[invalid-typed-dict-key]`
rather than `error[invalid-key]`. ty still rejects the probe's bad key,
so the test now expects the new rule name.
- Five tests in `dev/tests/process/test_website_server.py`, such as
`test_the_agent_pass_waits_out_an_allocation_the_rollout_has_not_reached`:
#6558 made `render_checks`' handover wait poll on a timer
(`polling=PROBE_POLL_MS`), and the test's `_DeployedPage` fake didn't
accept that keyword, so each test raised `TypeError` before reaching its
assertions. The fake now accepts and ignores it, as the fake in
`tests/model/test_render_gate.py` already does.

Before this change, all six failed on `d714c2e60` (current main). After
it, all 31 tests in the two files pass. Neither PR's own CI runs
`dev/tests`. Only the daily `dev-tests` job does, so this went unnoticed
until the scheduled run.

The same job's eval smoke test (`test_ui_review_setup.cjs`) also failed.
That failure isn't covered here; it has its own cause issue.

Refs #4225 — automated triage

Co-authored-by: leaf-agent <[email protected]>
leaf-agent added a commit that referenced this pull request Nov 22, 2026
…ght installs (#6752)

The scheduled `dev-tests` job's `pnpm run test:evals` has failed since
the Nov 21 run with `browserType.launch: Executable doesn't exist at
/home/runner/.cache/ms-playwright/chromium-1254/chrome-linux64/chrome`
([run
45014446027](https://github.com/max-sixty/leaf/actions/runs/45014446027),
job `dev-tests`). `leaf-dev setup` installs browsers only through
Python's Playwright, which #6530 moved to 1.65.2 and Chromium build
1255. Node's Playwright is pinned at 1.65.0 (npm has no 1.65.2), so its
`chromium.launch({ channel: "chromium" })` looks for build 1254, which
nothing installs. #6600 expected the CI job to have Node's browser, but
it never had it.

The UI review eval's setup hook and provider now launch the `chromium`
executable that Python's Playwright registry names. `shell_executable`
in `dev/leaf_dev/browser.py` becomes `playwright_executable(name)`, and
`shell_executable()` now calls it with the headless shell. So the eval's
captures and its live browser tool run on the build that setup
installed, whichever version Node's Playwright pins. This is the same
way the arrangement eval already hands its judge Python's headless
shell.

**Verification.** Locally on `main`, `pnpm run test:evals` fails with
the same `chromium-1254` error. On this branch the launch goes to
`~/.cache/ms-playwright/chromium-1255/chrome-linux64/chrome`. This
sandbox can't run full Chromium: Python's own
`chromium.launch(channel="chromium")` aborts here with the same
`socket() failed: Address family not supported`. So the end-to-end pass
has to come from CI. `dev-tests` runs only on `schedule`, so the next
scheduled `ci` run on `main` is the first one that exercises this
change. The PR's own `test` job covers the `shell_executable` refactor,
because `tests/conftest.py` and the eval modules call it.

Refs #6751 — automated triage

Co-authored-by: leaf-agent <[email protected]>
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.

1 participant