Repository navigation
Merged
Conversation
On release-notes at 390px under a finger, the API section's deletion starts on its paragraph's second line, below a first line full of words, and ends where the 96px Accept/Reject pair has no room before the next block. `pinSpot` kept a pin within 12px of its target, so the pair stood over the words it decides, though the empty end of the section's heading lay 31px above the run. `pinSpot` now searches outwards in four stages and takes the first that finds room: within reach clear of neighbouring blocks, within reach on a neighbour's empty end, and then the same two reaching one line of the target's words further out (`REACH` plus the line height of the target's block, 39px for 17px body text). Beyond reach, room still has to read as the target's: nothing but words may lie between the pin and its target's nearest part (no box that paints its extent, no widget, no pin seated before it; `coverIn` now returns these as `walls`), and the pin may stand neither level with another pin's target nor nearer one than its own, unless that target holds the pin's own, as a commented section does. The first version without the level rule moved the gallery's Insert pair to the end of the Delete suggestion's line, one pixel nearer its own run than Delete's, and pushed Delete's pair off its own line. Behavior that moved: a pin that stood over its words for want of room within 12px now stands up to a line further out where that room reads as its own. Across every example with pins, only release-notes' `rn-sug-dry` moved: to the end of the "API" heading's line, 31px above its run, as the Console pair already stands. Pins over words went from 6 of 54 to 5 at 390px touch, and stayed at 1 of 54 at 390px fine and 1 of 46 at 900px. Suggestion pairs still covering at 390px touch: the feature gallery's Replace and Insert, which have no room within a line either. Tests: three runtime cases pin the wider reach and its limits (a line further and no more; no wall between; not level with or nearer another pin's target, nor kept off by a target that holds its own). A browser test covers the API pair at 390px touch and fails with the runtime change reverted. The margin action test's narrow-screen check allowed only 12px; its suggestion pin now takes the end of the heading above its paragraph, so it allows a line more. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Where even the wider reach finds no room, a suggestion's Accept/Reject pair
stood at its target's corner, 96px of controls over the words it decides. On
the feature gallery at 390px under a finger, the Replace and Insert
suggestions share one paragraph whose lines are full, and both pairs covered
their own words and each other's line.
A pin whose resting face is a contributed primary and one more control (a peer,
or More) now stands folded where the pair finds no room: the options' toggle
alone, one control's size, seated by `pinSpot` at that size, so it takes room
the pair could not and otherwise stands at its home covering one control's
width of words instead of two. The folding reuses the margin's one expansion
state: placement asks (`seatRows` answers `{ rect, folded }`, and the layout
tells the row through its `fold` option), `clusterProjection` takes `folded`
and puts the primary first among the options behind the toggle, and the same
`expandedOptionsKey` a press on any More sets opens it. The toggle stays after
the options and visible while they are open, so the pin, which unfolds leftward
from its right edge, leaves the toggle under the press that opened it. A folded
pin held open stands over whatever is beside it; every other pin keeps to the
toggle's size, so opening it moves nothing else. Tab arriving on the toggle
unfolds it onto Accept (Shift+Tab onto Reject); a tap opens it and focuses
Accept; and the keyboard standing at the pin's target opens it until it stands
elsewhere, so Ask travel to a folded suggestion shows the actions its digits
name. A cluster that shows a reading or a notice, or is engaged, keeps its
face.
Behavior that moved: a pin with two controls and no room for both is a `…`
until pressed. The layout works both sizes out from the row's height, gap and
focus-ring padding rather than reading them, since only the one drawn can be
measured.
Across every example with pins, the fold changed four: the gallery's Replace at
390px fine, 390px touch and 900px, and its Insert at 390px touch. Neither finds
room even at one control's size, so each stands folded at its home, covering
one control's width of words instead of two (Replace at 390px fine now covers
"ten." alone, where the pair covered "nine." and "ten."). No pin over words
cleared: 5 of 54 at 390px touch, 1 of 54 at 390px fine, 1 of 46 at 900px, as
after the wider reach.
Tests: runtime cases for `canFold` and the folded projection, for `seatRows`
folding where the pair finds no room (and not where it does, or where the pin
cannot fold), and for a held open folded pin leaving its neighbour's seat
alone. A browser test covers a folded suggestion that finds room right of a
justified paragraph at 390px touch: it covers no words, a tap opens Accept and
Reject with the toggle unmoved, Accept decides, and Tab reaches Accept through
the toggle.
Three gallery tests met the fold at 390px: the actions-reachable journey now
opens a folded pin before pressing Accept or Reject, as a user would; the Ask
chip test allows a chip pulled inside the window, and at 390px the second
digit keeps Reject's left corner, since its right one would cover the toggle
(the placer's own fallback); and the painted-heading test expects the folded
toggle where the pair has no room.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…ut own the fold A folded pin opens leftward from its toggle, since a pin anchors by its right edge, but `seatRows` seated it at the toggle's width alone. On the feature gallery at 390px under a finger the Replace toggle stood at its target's corner 98px in, so a tap opened it to x=-47: Accept stood wholly off screen, the leftmost pixel on screen was Reject's, and focus landed on the Accept the user could not see. A folded pin is now seated only where the width it opens to fits inside its bounds: the search gives up that width, less the toggle's, on the bounds' left, and a home too near the left edge moves right until the opened pin fits. The layout works the opened width out from the controls the projection says it opens to (`fold.controls()`, its options, any spill, and the toggle). The other way, opening toward whichever side has room, would need a second anchoring edge and a mirrored control order, so a pin's seat would mean different things by direction; narrowing the bounds keeps one geometry, and the toggle still stays under the finger. Whether a row stands folded now has one owner: the layout's `folded` set, which the projection reads through `standsFolded` and is told to present again by `fold.changed()`. The projection's own `foldedKeys` copy is gone. Behavior that moved: the gallery's Replace toggle at 390px touch stands at x=100..144, right of its run's end, where it opens to Accept at x=4; it now covers "Insert." and the edges of the lines above and below it, where it covered "nine." and "ten.". Pins over words in the gallery are unchanged in number; the other conditions' pins keep their seats. Tests: a runtime case seats a folded pin whose only room would open it past the window's edge at its home moved right, and in that room when it opens no wider than itself. A browser test opens the gallery's Replace at 390px touch and checks the toggle stays under the tap, every action it opens stands inside the window, and focus lands on an Accept the finger reaches; it fails on the previous runtime with Accept at -47..-3. The Ask chip test asserts both actions inside the window and states where each digit hangs: at 390px the folded pin opens with its toggle right of Reject, so Reject's digit keeps its left corner, and Accept's corner stands 6px in, so its digit is pulled 3px inside the window. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…ions Review of the fold: where a pane is narrower than a folded pin opens, the corner fallback moved the toggle right until the opened pin fit and so past the bounds' right edge. It now stops at that edge, so the toggle at least stays reachable. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
# Conflicts: # skills/leaf/assets/runtime/margin-layout.js
A pin folded for want of room stood as a bare `…`, the options toggle that normally sits beside a marker, and a screen reader heard "Actions for …". Beside an Ask's `?` marker the user could not tell what it stood for. A margin contribution may now declare `kind`, one of the margin's reading kinds (`KINDS`); `lf-suggestion` declares `change`, and a contribution that declares none is an `action`, as a reading with none is. Where a cluster folds, `clusterProjection` gives its toggle that kind's face and name (`toggle`, `moreLabel`: "Change, rewrite · nine. → ten."), and the stylesheet draws a folded toggle as a pin's marker, the filled teardrop. It is still the one options toggle and expansion: a press, a tap, Enter, Tab arriving on it, or the keyboard standing at its target opens it to its actions as before. The view paints the toggle's face only when it changes, and leaves `aria-expanded` to the model. `marginInventory` refuses a kind the margin does not know. Behavior that moved: a folded suggestion shows the change icon on a filled marker and is named for the change, where it showed `…` named "Actions for". Also fixed: the Ask view dropped every binding chip from its cache on each pass (it compared chips with the seats that name them), so each pass made its chips again at their anchors. A chip pulled inside the window, as Accept's is when the folded Replace pin opens at the window's left edge at 390px, was painted a frame at its anchor before moving in, which the shift watch reported as a move without input. The cache now keeps a chip by the seat that names it. Tests: runtime cases for the folded toggle's face and name, a contribution with no kind folding as an action, and an unknown kind refused. The gallery edge test also checks the folded Replace toggle shows the change icon and a name beginning "Change, rewrite", and still opens to Accept and Reject inside the window. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
… where it is read A pin looking for room counted every text node's line boxes as words, including a word clipped to a 1px box for a screen reader alone (`.lf-quiet`, which a pending suggestion writes into each slot). Its box still reports the whole word, so "proposed insertion" held pins off 120px of empty room past the end of a line. `coverIn` now takes each word's box as far as the boxes holding it show it (`clippedBand`, as it already did for controls), so a clipped word covers nothing. Behavior that moved: one pin across every example with pins, ship-review's `off-t-vendor` at 390px touch, stands 10px further in, over no words either way. No pin over words cleared or appeared. A contribution's `kind` is now checked where its reading is normalized (`normalizeMarginReading`), the edge that checks its other options, rather than in the inventory. `KINDS` moves to margin-entry-model.js with it, and the model and projection import it from there. The review's suspected decide/undo regression on the feature gallery at 390px is not this branch's. `test_the_feature_gallery_keeps_its_real_actions_reachable [390]` fails with the same "moved without input by (0, -55)px" on main's own runtime and tests (5ed41df), and on every commit of this branch. The frames where neighbouring pins stood elsewhere for 17-34ms were read at the start of a frame, before Leaf's rendering pass for that frame; read after each frame paints, every decision and undo lands whole in the frame that shows it. A new test pins that down: on the gallery at 390px, deciding and undoing each suggestion leaves every suggestion pin where it stood, folded as it was, with the same controls. Words put back by an undo can shape up to 2px narrower than at first paint with the same markup and computed style (Replace's "ten." measured 34.4px, then 32.9px), so a pin may move by as much as its words' end did. A decision does move its neighbours' pins, since the three share a paragraph and the decision reflows the words they stand by. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
#1447 made every painted box inside a pin's target count whole, so a choice's pin stays off its first option's card. That also shut pins off targets that paint nothing themselves and are drawn by the boxes inside them. On release-notes at 390px under a finger, main alone (5ed41df) regressed two pins that #1429 had cleared, and this branch's reach and fold play no part: - The Console screenshot (`lf-shot`) is a caption rail over its comparison, both painted, filling the figure. Its pin had stood on the rail's empty middle; with the rail counting whole it fell back to the figure's corner, over "after". - The Operations suggestion is its one tinted `lf-new` slot, the same box as the suggestion. Its Accept/Reject pair had stood at the end of the "…warm cache." line, overlapping the slot's top edge by 4px; kept off the slot, it folded and stood over "Plan a brief deployment window". A painted box inside the target still counts whole, as #1447 intends, except where the boxes inside the target that count whole, painted or opaque, fill it between them (`drawnInParts`, forgiving a pixel's seam round each). Those are the target's own face drawn in parts, and a pin on one reads as the target's. Option cards leave room between them, so a choice's cards still count, and `test_a_choice_s_pin_stands_on_none_of_its_option_cards` stays green. Words inside a face part still count, and opaque boxes (the comparison's image) still cover. Behavior that moved: pins on a target drawn in painted parts stand where they did before #1447. Across every example with pins, pins over words at 390px touch went from 7 of 54 to 5, and stayed at 1 of 54 at 390px fine and 1 of 46 at 900px. Seven pins moved: release-notes' `rn-console-shot` and `rn-sug-window` at 390px touch, 390px fine and 900px, each back to its seat before #1447, and the feature gallery's `bg-nested-change` at 390px fine, 2px up. Test: a browser case, for each of the two pins at 390px touch, that the pin stands over none of the page's words. Both fail on the previous runtime. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
711bf19 guessed whether a target was drawn by its painted parts from whether the boxes inside it filled it, forgiving a pixel's seam round each. The forgiveness grew with the box count, the sum double-counted overlaps, and it could not tell a table's cells from a choice's options: a `choose` group of fourteen one-word options, whose cells all but fill it, passed as the group's own face, and the choice's pin stood inside the first option's cell again, #1447's regression. Which painted parts are a widget's own face is the widget's to say. A new registry key, `x-face`, names them as selectors matched inside the element (`querySelectorAll` from it): `lf-suggestion` names its `lf-old` and `lf-new` slots, and `lf-shot` its caption rail. A pin whose target declares a face may stand on those parts as it stands on the target, their words still counting; every other painted box inside a target counts whole, as #1447 made it. `drawnInParts` is gone. The key is documented in `$keys` (and the generated docs/registry.html), validated by the element schema, and listed in the package guide's table of keys that reshape a widget's role. Behavior that moved: a choice's pin keeps off its option cells however many there are. Across every example with pins, pins over words stay at 5 of 54 at 390px touch, 1 of 54 at 390px fine and 1 of 46 at 900px, and the release-notes pins #1447 had regressed keep their seats. The feature gallery's block suggestion `bg-nested-change` moved at every width, now standing on its own face at the top-right of its struck old slot, where it stood beside or below the whole block; checked in the browser, it reads as the suggestion's. Tests: `test_a_choice_s_pin_stands_on_none_of_its_option_cards` runs with the two described options and with fourteen one-word options; the fourteen fails on 711bf19. `test_a_target_drawn_in_painted_parts_is_room_for_its_own_pin` is now `test_a_widget_s_declared_face_is_room_for_its_own_pin`. The review's remaining report, Insert standing folded for a painted frame or two after Replace's undo, did not reproduce. Read after each frame paints, at 390x900 and at 390x844 under a finger, Insert's fold and seat change in the same frame. Read at the start of each frame, before Leaf's rendering pass for it, one frame shows Insert still folded at a seat its reflowed words have moved; that frame is replaced before it paints. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Review of e3844b7: the schema took any non-empty string, so a malformed selector passed page init and threw from the browser's layout pass, aborting the margin for every pin on that widget. x-face now takes only `:scope > ` and a tag, classes, or both, which is all a face part needs and what the schema can check; the key's description says so. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
reviewed
Sep 30, 2026
leaf-agent
left a comment
Collaborator
There was a problem hiding this comment.
The new 390px badge assertion fails in the browser suite because this case uses a mouse context, where the 26px Accept/Reject pair stays visible and Reject’s badge belongs on its right edge. The claimed folded layout needs a touch context; the current case reports reject: 355–381 and chip: 381, then fails at line 1268.
…adge Review on #1462: at 390px with a mouse, CI's Linux fonts leave the pair room at its line's end, so it stays unfolded and Reject's digit belongs at its right corner; macOS fonts fold it. The case read the width as the fold; it now reads the cluster's `data-lf-folded`, and holds the corner rule for either layout. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
approved these changes
Sep 30, 2026
max-sixty
added a commit
that referenced
this pull request
Sep 30, 2026
…nothing (#1466) `test_a_website_turn_posts_its_answer_when_the_move_is_settled_first` failed on Linux CI now and then with `details.lf-thread-compact.flash.lf-going moved without input by (0, 56)px` and `svg.lf-action-icon moved without input by (0, 36)px` ([run on #1462](https://github.com/max-sixty/leaf/actions/runs/36673657103), [run on mcp-app-settled-frame](https://github.com/max-sixty/leaf/actions/runs/36638709703)). Both moves happen on every run. Locally the test's resolve arrives within 500ms of its last key, so Chrome credits the frame to that key (`hadRecentInput`). Under 10x or 20x CDP CPU throttling it arrives later, and macOS reported the 56px move in every run I made. Two causes, both measured with the Layout Instability API: - When the last shown thread is resolved, the list renders its "No open threads" row above the card while the card is still folding, which pushes the card down 56px. The list view now leaves out an empty row while any card is folding. The row appears once the fold has given back its room, where nothing else stands. - `.lf-going` pinned the card's actions 8px from its top edge. That rule came from the older card layout, where the actions sat on the card's bottom row and the pin kept them in place. In the compact card they sit on the root meta row, so the pin moved them up 36px when the fold started, under the pointer of a user who had just pressed Resolve, and back down when a reopened thread cancelled the fold. They now stay on their row and are clipped with the rest of the card as it folds. Behavior that moved: `test_a_resolved_thread_gives_its_room_back_as_motion` asserted the outcome was still inside the clip half way through the fold, which only the pin gave. It now asserts the outcome stays where the user pressed it, at the fold's start and half way through. The outcome is now clipped before half way. `test_a_coined_class_cannot_reach_the_chromes_rules` no longer lists `lf-thread-meta-actions`, which the chrome's scoped rules no longer name. `test_news_that_settles_the_last_thread_and_takes_it_back_moves_nothing` in `test_chrome_contracts.py`, which watches for shifts (`test_render_threads.py` is nightly and doesn't), resolves and reopens a thread by news, with no input in the last 500ms. Reverting either half of the fix fails it on the move that half caused. > _This was written by Claude Code on behalf of max-sixty_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
pushed a commit
that referenced
this pull request
Nov 26, 2026
Bumps the dependencies group with 10 updates: | Package | From | To | | --- | --- | --- | | [tree-sitter](https://github.com/tree-sitter/py-tree-sitter) | `0.26.1` | `0.27.0` | | [turbohtml](https://github.com/tox-dev/turbohtml) | `1.15.11` | `1.16.4` | | [watchdog](https://github.com/gorakhargosh/watchdog) | `7.1.0` | `7.1.1` | | [axe-playwright-python](https://github.com/pamelafox/axe-playwright-python) | `0.1.8` | `0.1.9` | | [pyyaml](https://github.com/yaml/pyyaml) | `6.0.3` | `6.0.4` | | [ty](https://github.com/astral-sh/ty) | `0.0.104` | `0.0.108` | | [ruff](https://github.com/astral-sh/ruff) | `0.17.5` | `0.17.6` | | [datamodel-code-generator](https://github.com/datamodel-code-generator/datamodel-code-generator) | `0.96.0` | `0.100.0` | | [hypothesis](https://github.com/HypothesisWorks/hypothesis) | `6.170.15` | `6.170.17` | | [selenium](https://github.com/SeleniumHQ/Selenium) | `4.52.0` | `4.54.0` | Updates `tree-sitter` from 0.26.1 to 0.27.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/tree-sitter/py-tree-sitter/releases">tree-sitter's releases</a>.</em></p> <blockquote> <h2>v0.27.0</h2> <h3>Additions:</h3> <ul> <li><code>Query.copy()</code></li> <li><code>Query.__copy__()</code></li> </ul> <h3>Changes:</h3> <ul> <li><code>LookaheadIterator.current_symbol_name</code> returns <code>None</code> when invalid</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tree-sitter/py-tree-sitter/commit/79cb0b8e43cf12a9cdbd6613956176d1695020a2"><code>79cb0b8</code></a> fix(parser): fix use after free in dealloc</li> <li><a href="https://github.com/tree-sitter/py-tree-sitter/commit/a451e3103cee5a2990aeeccf36c04a19b948f284"><code>a451e31</code></a> chore: release 0.27.0</li> <li><a href="https://github.com/tree-sitter/py-tree-sitter/commit/811213637ca8c17f52b3e4085cb50236ab4ad6c2"><code>8112136</code></a> fix(types): matches & captures can have keyword arguments</li> <li><a href="https://github.com/tree-sitter/py-tree-sitter/commit/08c14760b33ac28705f996d408628f88769700b0"><code>08c1476</code></a> test: add parallelism tests</li> <li><a href="https://github.com/tree-sitter/py-tree-sitter/commit/ef4b62ca9e70f6d5f0ce56a59134ee069cf3c4db"><code>ef4b62c</code></a> feat(query_cursor): release the GIL for expensive queries</li> <li><a href="https://github.com/tree-sitter/py-tree-sitter/commit/9a4ddce8b34f64da7ad8a3fc1e220bc9c179bd70"><code>9a4ddce</code></a> feat(query): release the GIL for expensive queries</li> <li><a href="https://github.com/tree-sitter/py-tree-sitter/commit/3b1a3d5d17870b353a7589cdf063521708aee894"><code>3b1a3d5</code></a> feat(parser): release the GIL for large buffers</li> <li><a href="https://github.com/tree-sitter/py-tree-sitter/commit/4a8753910f5bbbd4368ad88fe1357a823506aa53"><code>4a87539</code></a> fix(query): prevent double free of predicate</li> <li><a href="https://github.com/tree-sitter/py-tree-sitter/commit/cb92a454132d6dd1cea315e660b8a5b6027561a6"><code>cb92a45</code></a> refactor(node)!: hash nodes based on xxHash</li> <li><a href="https://github.com/tree-sitter/py-tree-sitter/commit/d1707f1f032486f165acbfc9e7431a74d5b7ecab"><code>d1707f1</code></a> refactor(range)!: hash ranges based on xxHash</li> <li>Additional commits viewable in <a href="https://github.com/tree-sitter/py-tree-sitter/compare/v0.26.1...v0.27.0">compare view</a></li> </ul> </details> <br /> Updates `turbohtml` from 1.15.11 to 1.16.4 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/tox-dev/turbohtml/releases">turbohtml's releases</a>.</em></p> <blockquote> <h2>v1.16.4</h2> <p><!-- raw HTML omitted --><!-- raw HTML omitted --></p> <h3>Bug fixes</h3> <ul> <li>An empty <code>lang</code> or <code>xml:lang</code> now marks an element's language as unknown, as HTML specifies, so <code>:lang()</code> no longer inherits an ancestor's language through it: <code><div lang=en><p lang=""></code> stopped matching <code>:lang(en)</code>. A quoted empty range, <code>:lang("")</code>, matches elements whose language is unknown or never declared, where it matched nothing before. <code>css_to_xpath</code> translates both the same way (<a href="https://redirect.github.com/tox-dev/turbohtml/pull/2556">#2556</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> <li><code>to_markdown</code> with <code>converters</code> keeps <code>*</code>/<code>**</code> delimiters on emphasis that ends in punctuation unless a converted element writes right after it. Before, passing any converters made such runs fall back to raw <code><em></code> and <code><strong></code> tags, even when no converted element was near them (<a href="https://redirect.github.com/tox-dev/turbohtml/pull/2557">#2557</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> </ul> <p><a href="https://pypi.org/project/turbohtml/1.16.4/">🐍 PyPI release</a></p> <p><a href="https://github.com/tox-dev/turbohtml/compare/1.16.3...1.16.4">📜 Full Changelog</a></p> <h2>v1.16.3</h2> <p><!-- raw HTML omitted --><!-- raw HTML omitted --></p> <h3>Bug fixes</h3> <ul> <li><code>turbohtml.etree</code> covers three more <code>lxml.html</code> behaviors: <code>ElementTree.iter</code> iterates from the root element, <code>ElementView.nsmap</code> returns an empty mapping, and <code>to_lxml</code> / <code>to_lxml_html</code> strip characters XML cannot carry from text, tails and attribute values instead of raising <code>ValueError</code> or dropping the attribute (<a href="https://redirect.github.com/tox-dev/turbohtml/pull/2552">#2552</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> <li>XPath on a <code>from_lxml()</code> copy resolves absolute paths from a document, as lxml does. The copy was a detached tree, so <code>//h1</code> inside a predicate searched only below the predicate's context node and <code>/html</code> matched nothing (<a href="https://redirect.github.com/tox-dev/turbohtml/pull/2553">#2553</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> <li><code>turbohtml.etree</code>'s <code>document_fromstring</code>, <code>fromstring</code> and <code>fragment_fromstring</code> make a <code>\<template></code>'s content its children, as lxml does, and keep a <code>\<template shadowrootmode></code> as an ordinary template instead of attaching a shadow root. Before, <code>len()</code>, iteration and <code>itertext()</code> on a template saw nothing, and a declarative shadow root's content was missing from <code>text_content()</code> and XPath. <code>strip_elements</code> now reaches template content (<a href="https://redirect.github.com/tox-dev/turbohtml/pull/2554">#2554</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> </ul> <p><a href="https://pypi.org/project/turbohtml/1.16.3/">🐍 PyPI release</a></p> <p><a href="https://github.com/tox-dev/turbohtml/compare/1.16.2...1.16.3">📜 Full Changelog</a></p> <h2>v1.16.2</h2> <p><!-- raw HTML omitted --><!-- raw HTML omitted --></p> <h3>Bug fixes</h3> <ul> <li><code>to_markdown()</code> writes breaks inside emphasis as Markdown hard breaks again when visible text separates them, as in <code><em>[Image OCR]<br>text<br>[End OCR]</em></code>, instead of raw <code><br></code> tags. Only breaks with nothing visible between them, which would end the paragraph, stay tags (<a href="https://redirect.github.com/tox-dev/turbohtml/pull/2551">#2551</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> </ul> <p><a href="https://pypi.org/project/turbohtml/1.16.2/">🐍 PyPI release</a></p> <p><a href="https://github.com/tox-dev/turbohtml/compare/1.16.1...1.16.2">📜 Full Changelog</a></p> <h2>v1.16.1</h2> <p><!-- raw HTML omitted --><!-- raw HTML omitted --></p> <h3>Bug fixes</h3> <ul> <li><code>rewrite()</code> now raises <code>MemoryError</code> when running out of memory after its first edit, instead of calling the next handler with the error pending, which raised <code>SystemError</code> (<a href="https://redirect.github.com/tox-dev/turbohtml/pull/2540">#2540</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> <li><code>to_markdown()</code> keeps the whitespace of a <code><pre></code>, <code><textarea></code> or <code><listing></code> it writes as raw HTML inside a table cell. The cell's text is folded onto one line, which turned each run of spaces and each line break in such an element into a single space; its line feeds and space runs are now written as character references (<a href="https://redirect.github.com/tox-dev/turbohtml/pull/2541">#2541</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> <li>A streaming <code>Tokenizer</code> keeps a long named character reference run in one text token, as <code>tokenize()</code> does, instead of splitting its text once it passed 4096 code points (<a href="https://redirect.github.com/tox-dev/turbohtml/pull/2542">#2542</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> <li><code>minify_css</code> no longer reads memory it never wrote when an allocation fails inside a nested rule's selector or inside a function folded within another function's arguments; it raises <code>MemoryError</code> as everywhere else (<a href="https://redirect.github.com/tox-dev/turbohtml/pull/2543">#2543</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> <li><code>minify_js()</code> raises <code>MemoryError</code> again when an allocation for its scope analysis or fold bookkeeping fails, instead of returning its output (<a href="https://redirect.github.com/tox-dev/turbohtml/pull/2544">#2544</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> <li>Text nested past the 512-level depth cap keeps its source order when the adoption agency moves its parent back under the cap: <code><a></code>, 500 open elements and eight <code><div></code>s followed by <code><p>y<a>x</code> used to read <code>xy</code> (<a href="https://redirect.github.com/tox-dev/turbohtml/pull/2545">#2545</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> <li>A parse that ran out of memory while its open-element stack grew past 64 entries could read past the end of an internal array, and link resolution raised <code>SystemError</code> instead of <code>MemoryError</code> when percent-encoding a link ran out of memory (<a href="https://redirect.github.com/tox-dev/turbohtml/pull/2546">#2546</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> <li>The parser keeps the DOM within its documented 512-level cap when the adoption agency moves a subtree, when closing a form or a misnested <code><a></code> removes an element from the middle of the open-element stack, and when it copies a selected option into a deep <code><selectedcontent></code>: such markup used to nest elements past 512 levels, <code><form><div></form></code> repeated 600 times reaching 1019 (<a href="https://redirect.github.com/tox-dev/turbohtml/pull/2548">#2548</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> <li>Pickling a node no longer recurses once per tree level. A node pickles as one flat list of its subtree's nodes, so a tree at the 512-level depth cap pickles on Python 3.11, where it raised <code>RecursionError</code>, and in a thread with a small stack, where a tree a few hundred levels deep crashed the interpreter on Python 3.11 to 3.13. The payload is a third smaller and both pickling and unpickling are faster; pickles written by earlier releases still load (<a href="https://redirect.github.com/tox-dev/turbohtml/pull/2549">#2549</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/tox-dev/turbohtml/blob/main/docs/changelog.rst">turbohtml's changelog</a>.</em></p> <blockquote> <p>########### Changelog ###########</p> <p>.. towncrier-draft-entries:: Unreleased</p> <p>.. towncrier release notes start</p> <p>.. _release-1-16-5:</p> <hr /> <p>v1.16.5 (2026-11-23)</p> <hr /> <p>.. _release-1-16-5-fixed:</p> <h1>Fixed</h1> <ul> <li><code>minify_css</code> merges two rules with the same selector when an <code>@media</code> or <code>@supports</code> block it dropped for a later identical copy was the only thing between them. Before, only minifying the output a second time merged them (:pr:<code>2561</code>) by :user:<code>gaborbernat</code>.</li> <li><code>minify_js</code> with <code>mangle</code> no longer renames a <code>let</code>, <code>const</code> or <code>class</code> onto the name of an unread top-level <code>var</code> declared in the same loop or block, which wrote a redeclaration and so invalid JavaScript, such as <code>for(const a of x)var a</code>. A regression in 1.16.0 (:pr:<code>2562</code>) by :user:<code>gaborbernat</code>.</li> <li>Parsing documents with many unclosed elements and stray end tags no longer takes quadratic time (:pr:<code>2564</code>) by :user:<code>gaborbernat</code>.</li> <li>Resolve absolute XPath expressions from the root of trees built with <code>etree.Element</code> or parsed as single-element fragments with <code>etree.fragment_fromstring</code> (:pr:<code>2560</code>) by :user:<code>gaborbernat</code>.</li> </ul> <p>.. _release-1-16-4:</p> <hr /> <p>v1.16.4 (2026-11-22)</p> <hr /> <p>.. _release-1-16-4-fixed:</p> <h1>Fixed</h1> <ul> <li>An empty <code>lang</code> or <code>xml:lang</code> now marks an element's language as unknown, as HTML specifies, so <code>:lang()</code> no longer inherits an ancestor's language through it: <code><div lang=en><p lang=""></code> stopped matching <code>:lang(en)</code>. A quoted empty range, <code>:lang("")</code>, matches elements whose language is unknown or never declared, where it matched nothing before. <code>css_to_xpath</code> translates both the same way (:pr:<code>2556</code>) by :user:<code>gaborbernat</code>.</li> <li><code>to_markdown</code> with <code>converters</code> keeps <code>*</code>/<code>**</code> delimiters on emphasis that ends in punctuation unless a converted element writes right after it. Before, passing any converters made such runs fall back to raw <code><em></code> and <code><strong></code> tags, even when no converted element was near them (:pr:<code>2557</code>) by :user:<code>gaborbernat</code>.</li> </ul> <p>.. _release-1-16-3:</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tox-dev/turbohtml/commit/5ab32d403b0427edf5e8660b023ac124cb49e3c2"><code>5ab32d4</code></a> release 1.16.4</li> <li><a href="https://github.com/tox-dev/turbohtml/commit/630300dfc183795e9791548d76896c7d7c423a1a"><code>630300d</code></a> 🐛 fix(markdown): read past unconverted elements (<a href="https://redirect.github.com/tox-dev/turbohtml/issues/2557">#2557</a>)</li> <li><a href="https://github.com/tox-dev/turbohtml/commit/42533356e5dc89c86b6f4c21c377f3ccbba7b88c"><code>4253335</code></a> 🐛 fix(css): treat an empty lang as unknown (<a href="https://redirect.github.com/tox-dev/turbohtml/issues/2556">#2556</a>)</li> <li><a href="https://github.com/tox-dev/turbohtml/commit/216e4886035cd686439bbec338efba805c509ef5"><code>216e488</code></a> 🐛 fix(ci): retry the html5lib-tests clone (<a href="https://redirect.github.com/tox-dev/turbohtml/issues/2558">#2558</a>)</li> <li><a href="https://github.com/tox-dev/turbohtml/commit/f08ad264ede87e39a3b5f34f4f87cfbee58d6aae"><code>f08ad26</code></a> release 1.16.3</li> <li><a href="https://github.com/tox-dev/turbohtml/commit/ca17e426bdc16bb0ab1f1e19625d61c6a5fe61d4"><code>ca17e42</code></a> 🐛 fix(etree): match lxml on iter, nsmap, to_lxml (<a href="https://redirect.github.com/tox-dev/turbohtml/issues/2552">#2552</a>)</li> <li><a href="https://github.com/tox-dev/turbohtml/commit/6d39ea5c1c1e2b692fa052e34b367368a72f4838"><code>6d39ea5</code></a> 🐛 fix(etree): expose template content like lxml (<a href="https://redirect.github.com/tox-dev/turbohtml/issues/2554">#2554</a>)</li> <li><a href="https://github.com/tox-dev/turbohtml/commit/f1541ac3700e65004231bc2e009aac89282b7375"><code>f1541ac</code></a> 🐛 fix(etree): root from_lxml copies in a document (<a href="https://redirect.github.com/tox-dev/turbohtml/issues/2553">#2553</a>)</li> <li><a href="https://github.com/tox-dev/turbohtml/commit/9fa4a35d649bf7d2ec1250e6c33ed48cc091af5c"><code>9fa4a35</code></a> release 1.16.2</li> <li><a href="https://github.com/tox-dev/turbohtml/commit/b80b5c3d83d6ce1129ab348c06393b9e00ad584b"><code>b80b5c3</code></a> 🐛 fix(markdown): keep hard breaks in emphasis (<a href="https://redirect.github.com/tox-dev/turbohtml/issues/2551">#2551</a>)</li> <li>Additional commits viewable in <a href="https://github.com/tox-dev/turbohtml/compare/1.15.11...1.16.4">compare view</a></li> </ul> </details> <br /> Updates `watchdog` from 7.1.0 to 7.1.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/gorakhargosh/watchdog/releases">watchdog's releases</a>.</em></p> <blockquote> <h2>7.1.1</h2> <ul> <li>[core] Allow pattern matching to evaluate relative paths against the watched root directory, supporting intuitive non-recursive patterns (e.g. <code>*.json</code>, <code>logs/*.log</code>) under <code>full_match()</code>. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1430">#1430</a> Thanks to <a href="https://github.com/prateek-dagar"><code>@prateek-dagar</code></a>)</li> <li>[core] <code>RegexMatchingEventHandler</code> now accepts a single string for <code>ignore_regexes</code>, as it already does for regexes, instead of compiling each character as a separate regex. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1419">#1419</a>, thanks to <a href="https://github.com/arieleven"><code>@arieleven</code></a>)</li> <li>[observers] Fix race condition between <code>Observer.start()</code> and <code>Observer.schedule()</code>, and release observer lock during event handler dispatch to prevent blocking concurrent <code>schedule()</code> and <code>unschedule()</code> calls. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1044">#1044</a>, thanks to <a href="https://github.com/prateek-dagar"><code>@prateek-dagar</code></a>)</li> <li>[fsevents] Fix compiler warnings in the C extension. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1411">#1411</a>, thanks to <a href="https://github.com/BoboTiG"><code>@BoboTiG</code></a>)</li> <li>[inotify] A recursive watch that hits the inotify watch or instance limit (<code>ENOSPC</code>, <code>EMFILE</code>) on a subdirectory raises <code>OSError</code> from <code>start()</code> and <code>schedule()</code> again, as in 6.0.0, instead of silently watching part of the tree. A subdirectory created later that cannot be watched is logged as a warning. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1454">#1454</a>, thanks to <a href="https://github.com/Kernel-Hunter"><code>@Kernel-Hunter</code></a>)</li> <li>[inotify] Defer allocating an observer's inotify instance and reader thread until its first scheduled watch. Empty observers no longer consume inotify instances; resource-limit errors are raised by <code>schedule()</code> rather than construction. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1432">#1432</a>, thanks to <a href="https://github.com/kushaldave002"><code>@kushaldave002</code></a>)</li> <li>[inotify] Do not log an error when <code>InotifyEmitter.queue_events()</code> is invoked while the emitter is inactive. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1462">#1462</a>, thanks to <a href="https://github.com/prateek-dagar"><code>@prateek-dagar</code></a>)</li> <li>[inotify] Events read before a kernel queue overflow are delivered instead of discarded, ahead of the <code>EventsLostEvent</code>. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1440">#1440</a>, thanks to <a href="https://github.com/KurathSec"><code>@KurathSec</code></a> and <a href="https://github.com/fstrasz"><code>@fstrasz</code></a>)</li> <li>[inotify] Properly format the duplicate-callback <code>RuntimeWarning</code> message. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1435">#1435</a>, thanks to <a href="https://github.com/BoboTiG"><code>@BoboTiG</code></a>)</li> <li>[inotify] Refactor watch tracking from flat string path dictionaries to a hierarchical directory tree (<code>DirNode</code>), making recursive subtree moves atomic operations with cycle detection and ancestor placeholder pruning. ("1459, thanks to <a href="https://github.com/prateek-dagar"><code>@prateek-dagar</code></a>)</li> <li>[inotify] Report lost events: after a kernel queue overflow, each watch gets an <code>EventsLostEvent</code> for its directory or file, dispatched to the new <code>FileSystemEventHandler.on_events_lost()</code> once the watches are repaired. Pattern and regex handlers (and so tricks) receive it only through <code>on_events_lost()</code>. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1440">#1440</a>, thanks to <a href="https://github.com/fstrasz"><code>@fstrasz</code></a>)</li> <li>[inotify] Stop watching directories moved out of a watched tree and emit synthetic deletion/moved events for their subdirectories. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/354">#354</a>, thanks to <a href="https://github.com/prateek-dagar"><code>@prateek-dagar</code></a>)</li> <li>[kqueue] Queue each event once per kqueue wakeup. A move reported the parent <code>DirModifiedEvent</code> twice, and a write reported <code>FileModifiedEvent</code> twice. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1442">#1442</a>, thanks to <a href="https://github.com/karolyi"><code>@karolyi</code></a>)</li> <li>[kqueue] Register the kevents when the emitter is created, not on the emitter thread's first <code>kqueue.control()</code> call. Deletes, renames and attribute changes made in between were lost, every time on free-threaded Python. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1445">#1445</a>, thanks to <a href="https://github.com/karolyi"><code>@karolyi</code></a>)</li> <li>[kqueue] Stop the emitter with a <code>DirDeletedEvent</code> when the watched directory is removed or moved, instead of letting its thread die with <code>FileNotFoundError</code>. The kevents read in the same batch are still reported. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1436">#1436</a>, thanks to <a href="https://github.com/karolyi"><code>@karolyi</code></a>)</li> <li>[windows] A <code>ReadDirectoryChangesW</code> or <code>ReadDirectoryChangesExW</code> buffer overflow is now signalled instead of being silently dropped as zero events. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1019">#1019</a>, thanks to <a href="https://github.com/MohammedAlkindi"><code>@MohammedAlkindi</code></a>)</li> <li>[windows] Deliver events while the watched tree keeps changing: <code>DirectoryChangeReader.get_events()</code> now returns within its timeout instead of waiting until no buffer has arrived for a full timeout. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1469">#1469</a>, thanks to <a href="https://github.com/zzoraemon043"><code>@zzoraemon043</code></a>)</li> <li>[windows] Make the <code>DirectoryChangeReader</code> thread a daemon so an unstopped observer does not block interpreter exit. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1470">#1470</a>, thanks to <a href="https://github.com/devskad"><code>@devskad</code></a>)</li> <li>[windows] Report lost events: when the <code>ReadDirectoryChangesW</code> buffer of a watch overflows, the watch gets an <code>EventsLostEvent</code>, dispatched to <code>FileSystemEventHandler.on_events_lost()</code>, as on inotify. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1440">#1440</a>, thanks to <a href="https://github.com/fstrasz"><code>@fstrasz</code></a>)</li> <li>[windows] <code>WindowsApiObserver</code>, <code>WindowsApiEmitter</code>, and <code>DirectoryChangeReader</code> accept a notify_filter bitmask, the <code>dwNotifyFilter</code> passed to <code>ReadDirectoryChangesW</code> and <code>ReadDirectoryChangesExW</code>. The default is still <code>WATCHDOG_FILE_NOTIFY_FLAGS</code>, including <code>FILE_NOTIFY_CHANGE_LAST_ACCESS</code>. Mask that flag out (<code>WATCHDOG_FILE_NOTIFY_FLAGS & ~FILE_NOTIFY_CHANGE_LAST_ACCESS</code>) when access-time updates are not useful. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1447">#1447</a>, thanks to <a href="https://github.com/gero-robert"><code>@gero-robert</code></a>)</li> <li>[dirsnapshot] Avoid duplicate create or delete events when a renamed file has another hard link in the watched directory. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1425">#1425</a>, thanks to <a href="https://github.com/parijat1222q"><code>@parijat1222q</code></a>)</li> <li>[dirsnapshot] Capture Linux birth times while taking a snapshot so deleted paths retain their historical identity during move detection. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1429">#1429</a>, thanks to <a href="https://github.com/FFspiky"><code>@FFspiky</code></a>)</li> <li>[dirsnapshot] Detect replacements at the same path when an inode is reused but the entry type or available birth time changes, instead of missing the replacement or reporting it as a modification. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1464">#1464</a>, thanks to <a href="https://github.com/anticipate218"><code>@anticipate218</code></a>)</li> <li>[dirsnapshot] Fix false move detection on inode recycling by verifying file type, birth time, and nanosecond stat invariants. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/992">#992</a>, <a href="https://redirect.github.com/gorakhargosh/watchdog/issues/303">#303</a>, thanks to <a href="https://github.com/prateek-dagar"><code>@prateek-dagar</code></a>)</li> <li>[watchmedo] Without <code>--command</code>, shell-command printed every event as <code>"<type> <object> from <src> to"</code> with an empty destination. It now prints the destination for moved events only. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1448">#1448</a>, thanks to <a href="https://github.com/Kernel-Hunter"><code>@Kernel-Hunter</code></a>)</li> <li>[ci] Run the test suite in FreeBSD 14 (kqueue, also on free-threaded 3.13t) and FreeBSD 15 (inotify) VMs on pull requests. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1445">#1445</a>, thanks to <a href="https://github.com/karolyi"><code>@karolyi</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/gorakhargosh/watchdog/blob/master/changelog.rst">watchdog's changelog</a>.</em></p> <blockquote> <p>7.1.1</p> <pre><code> 2026-11-20 • `full history <https://github.com/gorakhargosh/watchdog/compare/v7.1.0...v7.1.1>`__ <p><strong>Other Changes</strong></p> <ul> <li>[core] Allow pattern matching to evaluate relative paths against the watched root directory, supporting intuitive non-recursive patterns (e.g. <code>*.json</code>, <code>logs/*.log</code>) under <code>full_match()</code>. (<code>[#1430](https://github.com/gorakhargosh/watchdog/issues/1430) &lt;https://github.com/gorakhargosh/watchdog/issues/1430&gt;</code>__ Thanks to <a href="https://github.com/prateek-dagar"><code>@prateek-dagar</code></a>)</li> <li>[core] <code>RegexMatchingEventHandler</code> now accepts a single string for <code>ignore_regexes</code>, as it already does for <code>regexes</code>, instead of compiling each character as a separate regex. (<code>[#1419](https://github.com/gorakhargosh/watchdog/issues/1419) &lt;https://github.com/gorakhargosh/watchdog/pull/1419&gt;</code>__, thanks to <a href="https://github.com/arieleven"><code>@arieleven</code></a>)</li> <li>[observers] Fix race condition between <code>Observer.start()</code> and <code>Observer.schedule()</code>, and release observer lock during event handler dispatch to prevent blocking concurrent <code>schedule()</code> and <code>unschedule()</code> calls. (<code>[#1044](https://github.com/gorakhargosh/watchdog/issues/1044) &lt;https://github.com/gorakhargosh/watchdog/issues/1044&gt;</code>__, thanks to <a href="https://github.com/prateek-dagar"><code>@prateek-dagar</code></a>)</li> <li>[fsevents] Fix compiler warnings in the C extension. (<code>[#1411](https://github.com/gorakhargosh/watchdog/issues/1411) &lt;https://github.com/gorakhargosh/watchdog/issues/1411&gt;</code>__, thanks to <a href="https://github.com/BoboTiG"><code>@BoboTiG</code></a>)</li> <li>[inotify] A recursive watch that hits the inotify watch or instance limit (<code>ENOSPC</code>, <code>EMFILE</code>) on a subdirectory raises <code>OSError</code> from <code>start()</code> and <code>schedule()</code> again, as in 6.0.0, instead of silently watching part of the tree. A subdirectory created later that cannot be watched is logged as a warning. (<code>[#1454](https://github.com/gorakhargosh/watchdog/issues/1454) &lt;https://github.com/gorakhargosh/watchdog/issues/1454&gt;</code>__, thanks to <a href="https://github.com/Kernel-Hunter"><code>@Kernel-Hunter</code></a>)</li> <li>[inotify] Defer allocating an observer's inotify instance and reader thread until its first scheduled watch. Empty observers no longer consume inotify instances; resource-limit errors are raised by <code>schedule()</code> rather than construction. (<code>[#1432](https://github.com/gorakhargosh/watchdog/issues/1432) &lt;https://github.com/gorakhargosh/watchdog/issues/1432&gt;</code>__, thanks to <a href="https://github.com/kushaldave002"><code>@kushaldave002</code></a>)</li> <li>[inotify] Do not log an error when <code>InotifyEmitter.queue_events()</code> is invoked while the emitter is inactive. (<code>[#1462](https://github.com/gorakhargosh/watchdog/issues/1462) &lt;https://github.com/gorakhargosh/watchdog/issues/1462&gt;</code>__, thanks to <a href="https://github.com/prateek-dagar"><code>@prateek-dagar</code></a>)</li> <li>[inotify] Events read before a kernel queue overflow are delivered instead of discarded, ahead of the <code>EventsLostEvent</code>. (<code>[#1440](https://github.com/gorakhargosh/watchdog/issues/1440) &lt;https://github.com/gorakhargosh/watchdog/issues/1440&gt;</code>__, thanks to <a href="https://github.com/KurathSec"><code>@KurathSec</code></a> and <a href="https://github.com/fstrasz"><code>@fstrasz</code></a>)</li> <li>[inotify] Properly format the duplicate-callback <code>RuntimeWarning</code> message. (<code>[#1435](https://github.com/gorakhargosh/watchdog/issues/1435) &lt;https://github.com/gorakhargosh/watchdog/issues/1435&gt;</code>__, thanks to <a href="https://github.com/BoboTiG"><code>@BoboTiG</code></a>)</li> <li>[inotify] Refactor watch tracking from flat string path dictionaries to a hierarchical directory tree (<code>DirNode</code>), making recursive subtree moves atomic operations with cycle detection and ancestor placeholder pruning. (<code>[#1459](https://github.com/gorakhargosh/watchdog/issues/1459) &lt;https://github.com/gorakhargosh/watchdog/pull/1459&gt;</code>__, thanks to <a href="https://github.com/prateek-dagar"><code>@prateek-dagar</code></a>)</li> <li>[inotify] Report lost events: after a kernel queue overflow, each watch gets an <code>EventsLostEvent</code> for its directory or file, dispatched to the new <code>FileSystemEventHandler.on_events_lost()</code> once the watches are repaired. Pattern and regex handlers (and so tricks) receive it only through <code>on_events_lost()</code>. (<code>[#1440](https://github.com/gorakhargosh/watchdog/issues/1440) &lt;https://github.com/gorakhargosh/watchdog/issues/1440&gt;</code>__, thanks to <a href="https://github.com/fstrasz"><code>@fstrasz</code></a>)</li> <li>[inotify] Stop watching directories moved out of a watched tree and emit synthetic deletion/moved events for their subdirectories. (<code>[#354](https://github.com/gorakhargosh/watchdog/issues/354) &lt;https://github.com/gorakhargosh/watchdog/issues/354&gt;</code>__, thanks to <a href="https://github.com/prateek-dagar"><code>@prateek-dagar</code></a>)</li> <li>[kqueue] Queue each event once per kqueue wakeup. A move reported the parent <code>DirModifiedEvent</code> twice, and a write reported <code>FileModifiedEvent</code> twice. (<code>[#1442](https://github.com/gorakhargosh/watchdog/issues/1442) &lt;https://github.com/gorakhargosh/watchdog/issues/1442&gt;</code>__, thanks to <a href="https://github.com/karolyi"><code>@karolyi</code></a>)</li> <li>[kqueue] Register the kevents when the emitter is created, not on the emitter thread's first <code>kqueue.control()</code> call. Deletes, renames and attribute changes made in between were lost, every time on free-threaded Python. (<code>[#1445](https://github.com/gorakhargosh/watchdog/issues/1445) &lt;https://github.com/gorakhargosh/watchdog/pull/1445&gt;</code>__, thanks to <a href="https://github.com/karolyi"><code>@karolyi</code></a>)</li> <li>[kqueue] Stop the emitter with a <code>DirDeletedEvent</code> when the watched directory is removed or moved, instead of letting its thread die with <code>FileNotFoundError</code>. The kevents read in the same batch are still reported. (<code>[#1436](https://github.com/gorakhargosh/watchdog/issues/1436) &lt;https://github.com/gorakhargosh/watchdog/issues/1436&gt;</code>__, thanks to <a href="https://github.com/karolyi"><code>@karolyi</code></a>)</li> <li>[windows] A <code>ReadDirectoryChangesW</code> or <code>ReadDirectoryChangesExW</code> buffer overflow is now signalled instead of being silently dropped as zero events. (<code>[#1019](https://github.com/gorakhargosh/watchdog/issues/1019) &lt;https://github.com/gorakhargosh/watchdog/issues/1019&gt;</code>__, thanks to <a href="https://github.com/MohammedAlkindi"><code>@MohammedAlkindi</code></a>)</li> <li>[windows] Deliver events while the watched tree keeps changing: <code>DirectoryChangeReader.get_events()</code> now returns within its timeout instead of waiting until no buffer has arrived for a full timeout. (<code>[#1469](https://github.com/gorakhargosh/watchdog/issues/1469) &lt;https://github.com/gorakhargosh/watchdog/issues/1469&gt;</code>__, thanks to <a href="https://github.com/zzoraemon043"><code>@zzoraemon043</code></a>)</li> <li>[windows] Make the <code>DirectoryChangeReader</code> thread a daemon so an unstopped observer does not block interpreter exit. (<code>[#1470](https://github.com/gorakhargosh/watchdog/issues/1470) &lt;https://github.com/gorakhargosh/watchdog/issues/1470&gt;</code>__, thanks to <a href="https://github.com/devskad"><code>@devskad</code></a>)</li> <li>[windows] Report lost events: when the <code>ReadDirectoryChangesW</code> buffer of a watch overflows, the watch gets an <code>EventsLostEvent</code>, dispatched to <code>FileSystemEventHandler.on_events_lost()</code>, as on inotify. (<code>[#1440](https://github.com/gorakhargosh/watchdog/issues/1440) &lt;https://github.com/gorakhargosh/watchdog/issues/1440&gt;</code>__, thanks to <a href="https://github.com/fstrasz"><code>@fstrasz</code></a>)</li> <li>[windows] <code>WindowsApiObserver</code>, <code>WindowsApiEmitter</code>, and <code>DirectoryChangeReader</code> accept a <code>notify_filter</code> bitmask, the <code>dwNotifyFilter</code> passed to <code>ReadDirectoryChangesW</code> and <code>ReadDirectoryChangesExW</code>. The default is still <code>WATCHDOG_FILE_NOTIFY_FLAGS</code>, including <code>FILE_NOTIFY_CHANGE_LAST_ACCESS</code>. Mask that flag out (<code>WATCHDOG_FILE_NOTIFY_FLAGS &amp; ~FILE_NOTIFY_CHANGE_LAST_ACCESS</code>) when access-time updates are not useful. (<code>[#1447](https://github.com/gorakhargosh/watchdog/issues/1447) &lt;https://github.com/gorakhargosh/watchdog/issues/1447&gt;</code>__, thanks to <a href="https://github.com/gero-robert"><code>@gero-robert</code></a>)</li> <li>[dirsnapshot] Avoid duplicate create or delete events when a renamed file has another hard link in the watched directory. (<code>[#1425](https://github.com/gorakhargosh/watchdog/issues/1425) &lt;https://github.com/gorakhargosh/watchdog/issues/1425&gt;</code>__, thanks to <a href="https://github.com/parijat1222q"><code>@parijat1222q</code></a>)</li> <li>[dirsnapshot] Capture Linux birth times while taking a snapshot so deleted paths retain their historical identity during move detection. (<code>[#1429](https://github.com/gorakhargosh/watchdog/issues/1429) &lt;https://github.com/gorakhargosh/watchdog/issues/1429&gt;</code>__, thanks to <a href="https://github.com/FFspiky"><code>@FFspiky</code></a>)</li> <li>[dirsnapshot] Detect replacements at the same path when an inode is reused but the entry type or available birth time changes, instead of missing the replacement or reporting it as a modification. (<code>[#1464](https://github.com/gorakhargosh/watchdog/issues/1464) &lt;https://github.com/gorakhargosh/watchdog/pull/1464&gt;</code>__, thanks to <a href="https://github.com/anticipate218"><code>@anticipate218</code></a>)</li> <li>[dirsnapshot] Fix false move detection on inode recycling by verifying file type, birth time, and nanosecond stat invariants. (<code>[#992](https://github.com/gorakhargosh/watchdog/issues/992) &lt;https://github.com/gorakhargosh/watchdog/issues/992&gt;</code><strong>, <code>[#303](https://github.com/gorakhargosh/watchdog/issues/303) &lt;https://github.com/gorakhargosh/watchdog/issues/303&gt;</code></strong> Thanks to <a href="https://github.com/prateek-dagar"><code>@prateek-dagar</code></a>)</li> <li>[watchmedo] Without <code>--command</code>, <code>shell-command</code> printed every event as "<type> <object> from <src> to" with an empty destination. It now prints the destination for moved events only. (<code>[#1448](https://github.com/gorakhargosh/watchdog/issues/1448) &lt;https://github.com/gorakhargosh/watchdog/pull/1448&gt;</code>__, thanks to <a href="https://github.com/Kernel-Hunter"><code>@Kernel-Hunter</code></a>)</li> <li>[ci] Run the test suite in FreeBSD 14 (kqueue, also on free-threaded 3.13t) and FreeBSD 15 (inotify) VMs on pull requests. (<code>[#1445](https://github.com/gorakhargosh/watchdog/issues/1445) &lt;https://github.com/gorakhargosh/watchdog/pull/1445&gt;</code>__, thanks to <a href="https://github.com/karolyi"><code>@karolyi</code></a>) </code></pre></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/gorakhargosh/watchdog/commit/c012432bec2fa7c1301a1a47c4a87adac0f97bac"><code>c012432</code></a> feat: version v7.1.1 [skip ci] (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1474">#1474</a>)</li> <li><a href="https://github.com/gorakhargosh/watchdog/commit/d7cc7a373f17c94960b9d87f995139440d9d10fd"><code>d7cc7a3</code></a> [macOS] Fix compiler warnings in the C extension (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1475">#1475</a>)</li> <li><a href="https://github.com/gorakhargosh/watchdog/commit/ad972768863a6e451c066337ca9e1ceaa8663252"><code>ad97276</code></a> chore(deps): bump types-pyyaml from 6.0.12.20261103 to 6.0.12.20261113 (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/23">#23</a>)</li> <li><a href="https://github.com/gorakhargosh/watchdog/commit/746c36d7fa8e299b46ed0f31d92419d3aa88662f"><code>746c36d</code></a> chore(deps): bump ruff from 0.17.4 to 0.17.5 (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/24">#24</a>)</li> <li><a href="https://github.com/gorakhargosh/watchdog/commit/d0c1ca60bdf04f7b8138b79c1c221cb350eb8af5"><code>d0c1ca6</code></a> fix(windows): bound get_events() by its timeout while buffers keep arriving (...</li> <li><a href="https://github.com/gorakhargosh/watchdog/commit/a051ccaa71e3e0300914d5d52fd5ad9fccdcf1c9"><code>a051cca</code></a> fix(windows): make the DirectoryChangeReader thread a daemon (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1472">#1472</a>)</li> <li><a href="https://github.com/gorakhargosh/watchdog/commit/7cd20d25b0801e0b157ba11047f4270099025ced"><code>7cd20d2</code></a> feat(utils): add removed_in target version to deprecation helpers (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1473">#1473</a>)</li> <li><a href="https://github.com/gorakhargosh/watchdog/commit/19bc342fba73f067219e4403db9c7789dc4f25d0"><code>19bc342</code></a> fix(inotify): stop watching directories moved out of the tree (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1468">#1468</a>)</li> <li><a href="https://github.com/gorakhargosh/watchdog/commit/6fd883ab9bda96a5e11ab884ae3424011bcefa6e"><code>6fd883a</code></a> fix(inotify): demote inactive emitter queue_events log to debug (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1467">#1467</a>)</li> <li><a href="https://github.com/gorakhargosh/watchdog/commit/625b0360654933f09de65bbd8cb909b39fe11262"><code>625b036</code></a> fix: snapshot detection of same-path replacements (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1464">#1464</a>)</li> <li>Additional commits viewable in <a href="https://github.com/gorakhargosh/watchdog/compare/v7.1.0...v7.1.1">compare view</a></li> </ul> </details> <br /> Updates `axe-playwright-python` from 0.1.8 to 0.1.9 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pamelafox/axe-playwright-python/blob/main/CHANGELOG.md">axe-playwright-python's changelog</a>.</em></p> <blockquote> <h2>[0.1.9] - November 2, 2026</h2> <ul> <li>Upgraded axe-core JS version to v4.14.0. You may see the number of violations change as a result, as new axe-core versions sometimes add new rules and update existing ones.</li> <li>This axe-core upgrade fixes relative <code>@import</code> URLs in stylesheets being resolved against the page URL instead of the stylesheet URL, which caused spurious 404 requests and incomplete <code>css-orientation-lock</code> results.</li> <li>Fixed <code>generate_report()</code> raising <code>TypeError</code> when a violation targets an element inside shadow DOM (nested target selectors). Shadow DOM targets are now shown as <code>host >>> element</code>.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/pamelafox/axe-playwright-python/commits">compare view</a></li> </ul> </details> <br /> Updates `pyyaml` from 6.0.3 to 6.0.4 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/yaml/pyyaml/releases">pyyaml's releases</a>.</em></p> <blockquote> <h2>6.0.4</h2> <h2>What's Changed</h2> <ul> <li>Added support for Python 3.15.</li> <li>Dropped support for EoL Python 3.8, 3.9.</li> <li>Fixed exponential merge key expansion (<a href="https://redirect.github.com/yaml/pyyaml/issues/937">#937</a>).</li> <li>Exposed libyaml 0.2.6 recursion control API (<a href="https://redirect.github.com/yaml/pyyaml/issues/1010">#1010</a>) - no-op when missing.</li> <li>Bumped wheel builds to libyaml 0.2.6.</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/yaml/pyyaml/compare/6.0.3...6.0.4">https://github.com/yaml/pyyaml/compare/6.0.3...6.0.4</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/yaml/pyyaml/blob/6.0.4/CHANGES">pyyaml's changelog</a>.</em></p> <blockquote> <p>6.0.4 (2026-11-20)</p> <ul> <li><a href="https://redirect.github.com/yaml/pyyaml/pull/937">yaml/pyyaml#937</a> -- Fix merge key performance</li> <li><a href="https://redirect.github.com/yaml/pyyaml/pull/1010">yaml/pyyaml#1010</a> -- Expose libyaml recursion control API (no-op on libyaml < 0.2.6)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/yaml/pyyaml/commit/575f0e87bcc3b95f4df8da4aaddb0bef4e4553fc"><code>575f0e8</code></a> Release 6.0.4 (<a href="https://redirect.github.com/yaml/pyyaml/issues/1012">#1012</a>)</li> <li><a href="https://github.com/yaml/pyyaml/commit/36a9c4f95d641e49f09c8db23a24d0adedd94fea"><code>36a9c4f</code></a> Dos in merge key (<a href="https://redirect.github.com/yaml/pyyaml/issues/937">#937</a>) (<a href="https://redirect.github.com/yaml/pyyaml/issues/1011">#1011</a>)</li> <li><a href="https://github.com/yaml/pyyaml/commit/124810b9e368ed24a7c3f6245064a84d35eaf584"><code>124810b</code></a> Expose/test libyaml recursion controls (<a href="https://redirect.github.com/yaml/pyyaml/issues/1010">#1010</a>)</li> <li><a href="https://github.com/yaml/pyyaml/commit/98d4a6b35ea3055fb04a989df842b215ff09520f"><code>98d4a6b</code></a> Minimal CI refresh for 3.15 (<a href="https://redirect.github.com/yaml/pyyaml/issues/971">#971</a>)</li> <li>See full diff in <a href="https://github.com/yaml/pyyaml/compare/6.0.3...6.0.4">compare view</a></li> </ul> </details> <br /> Updates `ty` from 0.0.104 to 0.0.108 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ty/releases">ty's releases</a>.</em></p> <blockquote> <h2>0.0.108</h2> <h2>Release Notes</h2> <p>Released on 2026-11-22.</p> <h3>Breaking changes</h3> <ul> <li>Replace <code>mismatched-type-name</code> with eight rules. In configuration, CLI flags, and suppression comments, use the rule for each constructor you want to configure. (<a href="https://redirect.github.com/astral-sh/ruff/pull/29957">#29957</a>) <ul> <li><code>mismatched-newtype-name</code>, <code>mismatched-typevar-name</code>, <code>mismatched-paramspec-name</code>, <code>mismatched-typevartuple-name</code>, <code>mismatched-typeddict-name</code>, and <code>mismatched-type-alias-name</code> warn by default.</li> <li><code>mismatched-enum-name</code> and <code>mismatched-namedtuple-name</code> are disabled by default. They check names only when ty can infer a single string literal.</li> </ul> </li> </ul> <h3>Bug fixes</h3> <ul> <li>Fix a crash when a class unpacks a <code>Generic</code> base whose required type parameter follows one with a default. The <code>invalid-generic-class</code> diagnostic now points to the type parameters in the unpacked base. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30630">#30630</a>)</li> <li>Correctly check arguments forwarded through a <code>ParamSpec</code> when an unpacked tuple supplies both a wrapper's own positional parameters and arguments for the callback. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30594">#30594</a>)</li> <li>Fix false errors in nested calls that pass a lambda through an unresolved <code>ParamSpec</code>. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30547">#30547</a>)</li> <li>Preserve the type inferred for each overload when one overload leaves a parameter unannotated and another supplies an expected type. This avoids treating the call as ambiguous and inferring an <code>Unknown</code> result. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30549">#30549</a>)</li> <li>Preserve type-variable relationships through aliases such as <code>type Id[T] = T</code>, so ty can infer a generic call's result from the callback's return type. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30590">#30590</a>)</li> <li>Fix a bug where disabling <code>invalid-generic-class</code> also silenced <code>shadowed-type-variable</code> diagnostics in nested classes. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30588">#30588</a>)</li> <li>Fix a bug where suppressing an <code>invalid-paramspec</code> error on <code>*args</code> with <code># ty: ignore</code> caused the error to reappear on <code>**kwargs</code>. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30595">#30595</a>)</li> </ul> <h3>LSP server</h3> <ul> <li>Fix a bug in <a href="https://docs.astral.sh/ty/features/language-server/#fine-grained-incrementality">incremental updates</a> that caused ty to re-index unchanged files containing standalone calls when you edited another file. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30759">#30759</a>)</li> <li>Speed up <a href="https://docs.astral.sh/ty/features/language-server/#code-completions">member completions</a> when a partial name is typed by looking up documentation only for matching names. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30714">#30714</a>)</li> <li>Speed up <a href="https://docs.astral.sh/ty/features/language-server/#contextual-information">semantic highlighting</a> for part of a file by skipping functions, classes, and <code>from</code> imports outside the requested range. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30665">#30665</a>)</li> <li>Speed up <a href="https://docs.astral.sh/ty/features/language-server/#code-folding">folding range requests</a> for files with large single-line statements. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30696">#30696</a>)</li> <li>Speed up <a href="https://docs.astral.sh/ty/features/language-server/#contextual-information">inlay hints</a> by skipping signature lookups for calls without positional arguments or when argument-name hints are disabled. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30688">#30688</a>)</li> <li>Speed up <a href="https://docs.astral.sh/ty/features/language-server/#contextual-information">signature help</a>, which shows a function's parameters and their types as you type a call. This affects editors that request parameter label offsets, especially for ASCII signatures with UTF-16 positions. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30711">#30711</a>)</li> </ul> <h3>CLI</h3> <ul> <li>Keep warnings and debug logs above progress bars during indexing and checking, and show progress bars during verbose runs. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30527">#30527</a>)</li> <li>Generate <code>ty check --output-format gitlab</code> reports faster when the same rule produces many diagnostics in one file. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30724">#30724</a>)</li> </ul> <h3>Diagnostic improvements</h3> <ul> <li>Rename the <code>uv-metadata</code> diagnostic to <code>project-manager</code> and clarify whether uv failed to load project metadata or set up a script environment. When <code>project-manager.script = "uv"</code> is set and ty cannot run a supported version of uv, the script diagnostic points to that setting. Concise output now includes uv's error when it cannot resolve a script's dependencies. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30528">#30528</a>)</li> </ul> <h3>Core type checking</h3> <ul> <li>Recognize <code>TypeVar</code>, <code>ParamSpec</code>, <code>TypeVarTuple</code>, <code>NewType</code>, and <code>TypeAliasType</code> definitions even when their names are only known at runtime. By default, ty warns that it cannot verify the name and continues to use the defined type. (<a href="https://redirect.github.com/astral-sh/ruff/pull/29957">#29957</a>)</li> <li>Infer the same type (<code>float*</code>) for <code>-0.5</code> and <code>+0.5</code> as for <code>0.5</code>. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30720">#30720</a>)</li> </ul> <h3>Performance improvements</h3> <h4>Calls and overloads</h4> <ul> <li>Reuse more argument type compatibility checks across calls. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30483">#30483</a>)</li> <li>Speed up repeated calls to overloaded functions when the same argument types match several overloads. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30640">#30640</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ty/blob/main/CHANGELOG.md">ty's changelog</a>.</em></p> <blockquote> <h2>0.0.108</h2> <p>Released on 2026-11-22.</p> <h3>Breaking changes</h3> <ul> <li>Replace <code>mismatched-type-name</code> with eight rules. In configuration, CLI flags, and suppression comments, use the rule for each constructor you want to configure. (<a href="https://redirect.github.com/astral-sh/ruff/pull/29957">#29957</a>) <ul> <li><code>mismatched-newtype-name</code>, <code>mismatched-typevar-name</code>, <code>mismatched-paramspec-name</code>, <code>mismatched-typevartuple-name</code>, <code>mismatched-typeddict-name</code>, and <code>mismatched-type-alias-name</code> warn by default.</li> <li><code>mismatched-enum-name</code> and <code>mismatched-namedtuple-name</code> are disabled by default. They check names only when ty can infer a single string literal.</li> </ul> </li> </ul> <h3>Bug fixes</h3> <ul> <li>Fix a crash when a class unpacks a <code>Generic</code> base whose required type parameter follows one with a default. The <code>invalid-generic-class</code> diagnostic now points to the type parameters in the unpacked base. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30630">#30630</a>)</li> <li>Correctly check arguments forwarded through a <code>ParamSpec</code> when an unpacked tuple supplies both a wrapper's own positional parameters and arguments for the callback. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30594">#30594</a>)</li> <li>Fix false errors in nested calls that pass a lambda through an unresolved <code>ParamSpec</code>. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30547">#30547</a>)</li> <li>Preserve the type inferred for each overload when one overload leaves a parameter unannotated and another supplies an expected type. This avoids treating the call as ambiguous and inferring an <code>Unknown</code> result. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30549">#30549</a>)</li> <li>Preserve type-variable relationships through aliases such as <code>type Id[T] = T</code>, so ty can infer a generic call's result from the callback's return type. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30590">#30590</a>)</li> <li>Fix a bug where disabling <code>invalid-generic-class</code> also silenced <code>shadowed-type-variable</code> diagnostics in nested classes. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30588">#30588</a>)</li> <li>Fix a bug where suppressing an <code>invalid-paramspec</code> error on <code>*args</code> with <code># ty: ignore</code> caused the error to reappear on <code>**kwargs</code>. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30595">#30595</a>)</li> </ul> <h3>LSP server</h3> <ul> <li>Fix a bug in <a href="https://docs.astral.sh/ty/features/language-server/#fine-grained-incrementality">incremental updates</a> that caused ty to re-index unchanged files containing standalone calls when you edited another file. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30759">#30759</a>)</li> <li>Speed up <a href="https://docs.astral.sh/ty/features/language-server/#code-completions">member completions</a> when a partial name is typed by looking up documentation only for matching names. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30714">#30714</a>)</li> <li>Speed up <a href="https://docs.astral.sh/ty/features/language-server/#contextual-information">semantic highlighting</a> for part of a file by skipping functions, classes, and <code>from</code> imports outside the requested range. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30665">#30665</a>)</li> <li>Speed up <a href="https://docs.astral.sh/ty/features/language-server/#code-folding">folding range requests</a> for files with large single-line statements. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30696">#30696</a>)</li> <li>Speed up <a href="https://docs.astral.sh/ty/features/language-server/#contextual-information">inlay hints</a> by skipping signature lookups for calls without positional arguments or when argument-name hints are disabled. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30688">#30688</a>)</li> <li>Speed up <a href="https://docs.astral.sh/ty/features/language-server/#contextual-information">signature help</a>, which shows a function's parameters and their types as you type a call. This affects editors that request parameter label offsets, especially for ASCII signatures with UTF-16 positions. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30711">#30711</a>)</li> </ul> <h3>CLI</h3> <ul> <li>Keep warnings and debug logs above progress bars during indexing and checking, and show progress bars during verbose runs. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30527">#30527</a>)</li> <li>Generate <code>ty check --output-format gitlab</code> reports faster when the same rule produces many diagnostics in one file. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30724">#30724</a>)</li> </ul> <h3>Diagnostic improvements</h3> <ul> <li>Rename the <code>uv-metadata</code> diagnostic to <code>project-manager</code> and clarify whether uv failed to load project metadata or set up a script environment. When <code>project-manager.script = "uv"</code> is set and ty cannot run a supported version of uv, the script diagnostic points to that setting. Concise output now includes uv's error when it cannot resolve a script's dependencies. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30528">#30528</a>)</li> </ul> <h3>Core type checking</h3> <ul> <li>Recognize <code>TypeVar</code>, <code>ParamSpec</code>, <code>TypeVarTuple</code>, <code>NewType</code>, and <code>TypeAliasType</code> definitions even when their names are only known at runtime. By default, ty warns that it cannot verify the name and continues to use the defined type. (<a href="https://redirect.github.com/astral-sh/ruff/pull/29957">#29957</a>)</li> <li>Infer the same type (<code>float*</code>) for <code>-0.5</code> and <code>+0.5</code> as for <code>0.5</code>. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30720">#30720</a>)</li> </ul> <h3>Performance improvements</h3> <h4>Calls and overloads</h4> <ul> <li>Reuse more argument type compatibility checks across calls. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30483">#30483</a>)</li> <li>Speed up repeated calls to overloaded functions when the same argument types match several overloads. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30640">#30640</a>)</li> <li>Check overloaded calls with <code>**</code>-unpacked mappings faster by reusing the inferred type for each keyword. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30638">#30638</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ty/commit/d6717a9aac3c44fe31fc35eac4196d02ae46fc7c"><code>d6717a9</code></a> Bump version to 0.0.108 (<a href="https://redirect.github.com/astral-sh/ty/issues/5083">#5083</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/8eef928f25b870a62f1341b0c4c858874dd9ec89"><code>8eef928</code></a> Rewrite changelogs when preparing ty releases (<a href="https://redirect.github.com/astral-sh/ty/issues/5078">#5078</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/85b1fd0529bb76664ae04268458ce7fb83f6e3dc"><code>85b1fd0</code></a> Bump version to 0.0.107 (<a href="https://redirect.github.com/astral-sh/ty/issues/5073">#5073</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/c2e9b0529e71493398f5ab8edcdd5f753fc53a10"><code>c2e9b05</code></a> Replace the PR template's Test Plan with optional reviewer notes (<a href="https://redirect.github.com/astral-sh/ty/issues/5068">#5068</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/4fbc381a809a150d71a6fda84cb4fcb87450a6f2"><code>4fbc381</code></a> Update PEP 723 typing FAQ to recommend project-manager.script (<a href="https://redirect.github.com/astral-sh/ty/issues/5065">#5065</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/6290d860365d0fcc3e77a8715eaf921db6cfb5ec"><code>6290d86</code></a> Update script guide to mention <code>project-manager.script</code> (<a href="https://redirect.github.com/astral-sh/ty/issues/5064">#5064</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/65a9fed5de63914a8ce4fccd44f09744f44ae7a1"><code>65a9fed</code></a> Modernize ruff configuration and scripts (<a href="https://redirect.github.com/astral-sh/ty/issues/5060">#5060</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/523fabd73500e468efeb02781245f2374e97c733"><code>523fabd</code></a> Bump version to 0.0.106 (<a href="https://redirect.github.com/astral-sh/ty/issues/5059">#5059</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/5351a20a62f86ad0b79270ae087988530b99aa9c"><code>5351a20</code></a> Auto-generate reference documentation for ty-extensions (<a href="https://redirect.github.com/astral-sh/ty/issues/5056">#5056</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/d83e035ab6fd33895ff185037fff9b5a8ed51d20"><code>d83e035</code></a> Trigger the VS Code extension release after stable ty releases (<a href="https://redirect.github.com/astral-sh/ty/issues/5028">#5028</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ty/compare/0.0.104...0.0.108">compare view</a></li> </ul> </details> <br /> Updates `ruff` from 0.17.5 to 0.17.6 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/releases">ruff's releases</a>.</em></p> <blockquote> <h2>0.17.6</h2> <h2>Release Notes</h2> <p>Released on 2026-11-19.</p> <h3>Preview features</h3> <ul> <li>[<code>flake8-type-checking</code>] Add a fix for <code>runtime-string-union</code> (<code>TC010</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15635">#15635</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Fix handling of parenthesized duplicate items (<code>B033</code>, <code>RUF068</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/30493">#30493</a>)</li> <li>[<code>pyflakes</code>] Fix false negative when a name is assigned more than once (<code>F823</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/30524">#30524</a>)</li> <li>[<code>pylint</code>] Avoid false positive when collection is modified in loop (<code>PLR1733</code>, <code>PLR1736</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/30466">#30466</a>)</li> <li>[<code>ruff</code>] Avoid syntax error in <code>useless-finally</code> fix for inline <code>try</code> bodies (<code>RUF072</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/30349">#30349</a>)</li> <li>Treat relative imports from <code>.__future__</code> as ordinary imports (<a href="https://redirect.github.com/astral-sh/ruff/pull/30260">#30260</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-simplify</code>] Avoid redundant <code>bool</code> wrappers in <code>SIM208</code> fixes (<a href="https://redirect.github.com/astral-sh/ruff/pull/30457">#30457</a>)</li> <li>[<code>pyflakes</code>] Ignore <code>__traceback_hide__</code> in <code>unused-variable</code> (<code>F841</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/29600">#29600</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Decode in-memory notebooks directly from their source string (<a href="https://redirect.github.com/astral-sh/ruff/pull/30385">#30385</a>)</li> <li>Short-circuit exact qualified-name checks (<a href="https://redirect.github.com/astral-sh/ruff/pull/30058">#30058</a>)</li> <li>Stream JSON diagnostics to the output writer (<a href="https://redirect.github.com/astral-sh/ruff/pull/30384">#30384</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Fix the multiline string example in Known Deviations from Black (<a href="https://redirect.github.com/astral-sh/ruff/pull/30447">#30447</a>)</li> <li>Include the category in individual rule documentation pages (<a href="https://redirect.github.com/astral-sh/ruff/pull/30503">#30503</a>)</li> </ul> <h3>Other changes</h3> <ul> <li>Update Rust toolchain to 1.100 and MSRV to 1.98 (<a href="https://redirect.github.com/astral-sh/ruff/pull/30416">#30416</a>)</li> </ul> <h…
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On a phone, a suggestion's Accept/Reject pair (96×44 under a finger) often covered the words it decides. This follows #1429's neighbour-empty-line-end rule with three design calls the user made on the UI sweep's decision page, and fixes a regression #1447 introduced in #1429's pins.
Pins reach one line further when there's no room within reach
The user, on the release-notes API deletion whose pair covered its words while the room beside the "API" heading stood empty: "why can't we just put these up there?"
pinSpot(margin-placement.js) now searches in four stages and takes the first with room: withinREACH(12px) clear of neighbours, within reach on a neighbour's empty line end, then the same two up to one line height of the target's text further out. Beyond reach, room must also pass three checks: only words lie between the pin and its target (coverInreturns painted boxes, controls and seated pins aswalls); the pin is not level with another pin's target; and it is not nearer another pin's target than its own. The API pair now stands at the end of the heading's line, 31px above its run.A pair with no room folds into one marker
The user, on the gallery's Replace/Insert pairs, which have no room anywhere: "where there's literally no room, can we have it like the thread annotation? so there's an smaller indicator that expands to these two?" A pin whose face is more than one control and finds no room at any stage stands folded as the cluster's existing options toggle (
expandedOptionsKey; no second mechanism), seated by the same search at one control's size, and only where everything it opens to fits inside its bounds. A tap opens it onto Accept, Tab opens it, Escape folds it; the actions spread leftward with the toggle unmoved under the finger, and no other pin moves. The layout'sfoldedset is the one owner of the fold.The folded toggle wears the marker face of what it folds (the user's pick after asking what gets a
…and what gets a round marker): a margin contribution may declarekind, one ofKINDS(validated innormalizeMarginReading), andlf-suggestiondeclareschange, so a folded suggestion shows ⇄ and is announced "Change, rewrite · nine. → ten."Widgets declare their own face (
x-face)#1447 made every painted box inside a pin's own target count whole, so a choice's pin keeps off its option cards. That also shut out two pins #1429 had cleared: release-notes' Console screenshot pin (standing on the
lf-shotcaption rail) and its Operations suggestion pair (on the tintedlf-newslot that is the suggestion's own box). A new registry key,x-face, names a widget's own face parts as light-DOM child selectors (:scope > lf-old,:scope > lf-new;:scope > .lf-shotrail), which a pin on that target may stand on; every other painted box inside a target still counts whole. The schema accepts only:scope >plus a tag and/or classes, so a malformed selector is refused atpage initrather than thrown in layout.$keys,packages.mdanddocs/registry.htmldocument it.Smaller fixes
.lf-quiet) no longer count as cover: word boxes are clipped to what their containers show.Result
Pins over words at 390×844 touch, across every example with pins: 7 of 54 on main (after #1447) → 5 of 54; 390 with a mouse 1 of 54 and 900px 1 of 46, unchanged. The three still covering are the gallery's Replace and Insert (folded, one marker's width) and one pin whose target has no room at any reach.
Trade-offs to check
bg-nested-changenow stands at the top-right of its struck old slot.Testing
Runtime folds and browser tests for each rule, each seen failing on the previous code and passing 18 of 18 concurrent copies: the API pair's reach, a folded pin at the window's left edge opening inside it, the folded face and name, a decision undone leaving every suggestion pin in place, both #1447-regressed pins, and #1447's option-card test at two and fourteen options.
npm run test:runtimeand the margin, widgets and aim browser files pass on the head merged with current main. Six rounds of independent review; every finding is fixed or named above.🤖 Generated with Claude Code