Repository navigation
Merged
Conversation
…ypes A draft that wraps now keeps what the user has written where they wrote it, as in an editor: the comment box beside a passage and the margin thread card both hold their top, and their foot, Send with it, moves down a line per wrap. Enter sends, so a hand on the keys never chases Send. This reverses #1159 (7671c00), which held the foot so that every wrap raised the lines already written and, in the thread card, the whole thread being answered. The user chose this direction over that one. Behavior that moved: - Comment box beside a passage: its top stays at the passage's line. At the window's foot, with no room below, it rises only as far as its next line needs (Floating UI's shift, bounded by the attachment limit as before), and it scrolls only once it fills the window. - Thread card, drafting: holds its top while the reply gains lines, so the transcript and the reply's first line stay put. At the window's foot the card rises; only once it fills the window does the transcript give up its room. A card over its cluster grows down across it while drafting. - Thread card, a turn joining the transcript while the user drafts (an agent reply, or the user's own send): holds its foot, with the reply row on it, so the box the user types in and the Send they pressed stay put. The geometry tells a new line from a turn by the transcript's height, which the hold now records. - Reading is unchanged: top held, foot for a card over its cluster. Both surfaces now write their top: the shared `translate: 0 -100%` rule, `data-lf-thread-held`, and the comment box's foot offset are gone. Tests: #1159's `test_side_comment_keeps_its_submit_steady_as_the_field_grows` becomes `test_a_side_comment_grows_down_from_the_line_it_was_opened_on`, which types until the field wraps twice and reads every keystroke; `test_a_side_comment_at_the_window_s_foot_rises_only_as_far_as_it_must` is new. In the margin card, `test_margin_card_anchors_reading_by_top_and_drafting_by_foot` becomes `test_margin_card_holds_its_top_as_a_turn_arrives_and_as_a_reply_wraps`, and the foot-holding draft tests hold the editor's top until the window's foot. The send and agent-reply tests that keep the reply box still are unchanged. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Alt-clicking a line deep in an unbound lf-diff, or choosing it with Select element on a touch screen, comments on the whole diff, which is the target the registry gives it. But the comment box, the margin cluster the sent comment leaves, the thread card, and `t`'s travel to the thread all stood at the diff's top, often a screen above the line. They now stand level with the row the press landed on. The comment event does not change: its anchor still names the whole diff. The row is presentation, not an event fact. `runtime/pointed-place.js` owns it: the element a press landed on inside its target, never the target itself, with its box read again at each placement so a reflow carries the place with the row. The aim and the touch picker hand it to `commentOnTarget`; the composing surface holds it while the box is up and commits it for that target when the comment is sent. The margin row stands at that row's top, a pin keeps to that row, the thread card clears that row instead of the whole target, and thread travel lands on it. Nothing covers a press on the target's own box, a keyboard route, or a selection, and those stand at the target's top as before. A point lives as long as its node. A reload, a re-render of the target, or a revision that replaces it puts the comment back at the target's top. A target has one cluster, so the cluster stands where the latest pointed comment on it stood. Behavior moved: new test_a_comment_on_a_whole_target_stands_by_the_row_it_was_pointed_at alt-clicks row 51 of an 80-line unbound diff at 1440x900. It checks the box, cluster and card stand within two rows of it, that the event still names the whole diff, and that `t` brings the row and its card back. Without the change, the box stood 386px above the row. test_a_growing_comment_is_independent_of_page_controls now waits for the render after the field grows before it measures the bar. It read the bar between the CSS growth and the placement that follows, so under load it caught the bar above the banner. This happened on main as well, 1 of 18 concurrent copies. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
# Conflicts: # skills/leaf/assets/runtime/composing/surface.js
…ine end A pin looking for room clear of words (`pinSpot`) counted every other block whole, so the empty end of a short heading was off limits. On release-notes at 390px under a finger, the Console suggestion's 96px Accept/Reject pair found no room within 12px of its run and stood over the words it decides, beside a heading whose words end at 111px. `coverIn` now reads other blocks by what they paint. A box with a fill, a rule on any side, or a shadow (`paintsItsBox`, from computed style) still counts whole, since a pin on a card, callout or framed block reads as that block's. A block that paints nothing counts only by its words and comes back as a neighbour. `pinSpot` first seeks room clear of the neighbours as before, and only where the target has none takes the nearest room that covers no words though it lies on a neighbour. Taking a neighbour's room first moved three alert-review Ask markers into the empty end of the paragraph above their question, where they read as that paragraph's; hence the fallback order. Behavior that moved: a pin that stood over words for want of room now stands in a neighbour's empty line end where one is within reach. Every pin that already had room keeps its seat. Across every example with pins, pins over words went from 10 of 54 to 6 at 390px touch, 3 of 54 to 1 at 390px fine, and stayed at 1 of 46 at 900px. Suggestion pairs over their words at 390px touch went from 5 of 7 to 3. Seven pins moved, all checked in the browser: release-notes' Console and Operations pairs, log-retention's first finding, and one feature gallery reaction, plus one reaction pushed 8px by it. Tests: the runtime case "another block counts whole" now says a box in cover counts whole, and two new cases pin the neighbour fallback and its order. Two browser tests cover the release-notes Console pair at 390px touch and a painted heading that keeps the pin off its empty end; both fail with the runtime change reverted. `leaf-dev probe --touch` opens a page under a finger (coarse pointer, mobile viewport), which the measurement needed. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…pty line end Review of the three picks: nothing writes data-lf-thread-held since the thread card holds its top, so the margin-answer test's correction for it could not fire. page-authoring.md still told page authors a pin never stands on another block; it now says a pin with no room of its own may take a neighbour's empty line end unless that block paints its box. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…vision A pointed comment's place was kept per target, and every margin row on that target read it. Sending one comment pointed at paragraph 25 of a tall Ask moved the Ask's own marker 1,727px down to that paragraph. A thread already on a diff jumped to the row a later comment pointed at, and `t` to any thread on the target landed on the latest point. A later keyboard comment pulled every row back to the top. The point now belongs to one comment. The composer holds it while the box is up, and a sent comment keeps it under its thread's key, the attempt that names the thread before and after the log answers. The margin gives that thread a cluster of its own, standing at its point. The target's own cluster, which holds its other threads, an Ask's marker, a widget's actions and reactions, stays at the target's top. The card, `t`'s travel and a margin press follow only the pointed thread. Standing inside the pointed row takes that thread's card, and standing elsewhere on the target takes the target's own. A settled thread leaves the margin, and its point is read no more. A sent point also keeps the words of the element it was pointed at (`rangeAnchor`, split out of `selectionAnchor`), the identity the page already resolves quotes by. A revision that rewrites the target and replaces the pointed element finds the same words again, instead of sending the comment back to the target's top. A point whose words no longer resolve, or that had none, stands at the top. A reload keeps none: the place is still presentation, not an event fact. A pin level with a point inside a widget's shadow tree reads that row's boxes again, so it keeps the found-room search. It had been handed no parts at all. The point now reaches `showFab` as an explicit option through `commentOnTarget` and `openComposer`, not through a variable set around the call. Behavior moved: new test_a_pointed_comment_moves_only_its_own_row covers an Ask marker and an earlier thread on the same diff. Both stay at their target's top when a comment is pointed deep inside it, and the pointed comment stands its own row at its point. Before this change they moved 1,048px and 1,093px. New test_a_pointed_comment_finds_its_row_again_after_a_revision_rewrites_it rewrites the diff under a pointed comment. Without the words, the row fell 1,091px back to the diff's top. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
# Conflicts: # skills/leaf/assets/runtime/margin-projection.js
A pointed comment's margin row stood at its line, but several readers of where a margin entry is still asked for the whole target. - Typing in the card of a pointed thread scrolled away brought the diff into view, not the line. The diff still overlapped the window, so nothing moved and the reply stayed below it. - The row's spoken position read the diff's top: "8 percent down" for a line 64 percent down. - The pointed row carried the same name as the target's own row. - Two comments pointed at one line made two single-thread rows, where two comments on the diff's top share one. `entryPlace` in margin-projection.js is now the one answer to where an entry stands: its pointed row, else its target. The card's bring-back, the fallback it stands by when its row is withheld, a margin press's scroll and the spoken position all read it. What an entry is about (highlight, standing, landing) still reads the target. A pointed row is named by the words of the line it stands by. A point is the row the press landed in: the nearest box around the pressed node that is not laid out inline. Comments pointed at one row share that row's key, the first comment's, so they stand as one margin row, which keeps its identity when a second one joins. Anchor paint's pass is now the one writer of where each point stands. It places points beside its resolution of every thread's anchor and records them on the placement record (`point`, `pointRow`). A replaced row is looked up by its words at most once per page reading. The margin and thread travel read the record and write nothing. That pass also drops the points of threads no longer open, settled or refused, so the store holds only live ones. Behavior moved: new tests - test_a_pointed_cards_reply_brings_the_pointed_row_back: before, the reply was left at y=1079 in a 900px window. - test_comments_pointed_at_one_row_stand_as_one_margin_row: before, there was a second row 36px lower. - test_a_pointed_row_is_announced_where_it_stands_and_by_its_words: before, "8 percent down, diff" for a line 64 percent down; now "64 percent down, diff · “let value_50 = compute(50);”". Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Three cases put a pointed comment somewhere other than the line the user pointed at. - An element inline in the target's own lines became the point when its parent was the target. A comment on a paragraph's words stood at its top, and one on the `<code>` in its third line stood as a second margin row lower down, splitting the paragraph's margin. - In a table the point was a cell, so two comments on cells of one row made two rows. - A shape in an inline drawing climbed to its `<svg>`, so the figure's comment stood at the picture rather than the figure. A point is now the nearest box around the pressed node that is a line or a block of its own, decided by how it lays out. Inline boxes, `contents`, and table cells are part of a line, and a table cell's line is its row. A drawing's shapes say nothing about lines. When the climb reaches the target without finding one, there is no point, and the comment stands at the target's top. A visual part's anchor names where on the picture it is, so neither the aim nor anchor paint gives it a point. Undoing a settle lost the pointed place whenever another thread was open. The points were forgotten for every thread that was not open, the settled one included. Anchor paint's pass now keeps the point of every thread the log holds, settled ones included, and forgets only those the log does not hold, such as a refused send's. The pass is also the store's one writer: a send hands its point over (`commitPoint` queues it), and the pass takes it in once the thread is in the log, sharing the row key there. Behavior moved: new tests - test_comments_pointed_within_one_line_share_its_row, parametrized: - [code]: before, a second row 115px down. - [drawing]: before, a row at the picture, 18px below the figure's top. - [table]: before, two rows 36px apart. - test_undoing_a_settle_brings_a_pointed_comment_back_to_its_row, with another thread open: before, the comment came back at the diff's top, not at its line 1,091px down. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Three places where a pointed comment still stood apart from the line
the user sees, or read differently from it.
- Pointing at a target's first line, such as a short Ask's heading,
made a second margin row. Packing then pushed it 36px below the
target's own row, and both carried the same name. A point closer to
the target's top than one row stands below another under packing
(`rowPitch` in margin-layout.js: a resting rail marker's height and
packing's gap) is no place of its own. Its comment joins the
target's row. Points further down keep their row.
- A table cell holding `<p>` blocks stopped the climb at the `<p>`, so
two cells of one row made two rows again. Inside a table cell, the
line is now the cell's row, whatever blocks the cell holds.
- A table row's name ran its cells together ("Row 30 first cellRow 30
second…"), read off `textContent`. Anchor paint now records the
row's words from the stored passage's quote (`pointWords`), which
keeps the page reading's spacing between cells, and the margin names
the row by them.
Behavior moved: new cases of
test_comments_pointed_within_one_line_share_its_row:
- [first line]: before, a second row 36px below the Ask's own.
- [cell blocks]: before, two rows 36px apart.
- [table] now also asserts the row's accessible name: before,
"“Row 30 first cellRow 30 second…”".
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Whether a pointed comment joined its target's own margin row was a distance test: closer to the target's top than a rail marker's height plus packing's gap. A reflow re-sorted comments between rows. A section's second paragraph stood 27px down at full width and joined the section's row. Narrowed, its first paragraph wrapped, the line moved 54px down, and the comment regrouped into a row of its own: a new row element, the card the user was writing in closed, and focus lost. Zoom, a late font, and the marker size (32px in the rail, 26 or 44 as a pin, or none) moved the threshold too. The first line is now read off the document. A line is the target's first when nothing drawn comes before it inside the target: no words, and no box of the page's own, Leaf's chrome aside. The target's first line is no point, so a comment pointed there, such as at an Ask's heading, joins the target's own row. Any other line keeps its own row at every width. `rowPitch` and `standsApart` are gone. Behavior moved: new test_a_reflow_keeps_a_pointed_comment_in_its_row_and_its_card_open. It points at a section's second paragraph, opens its card with the reply focused, and narrows the window until the first paragraph wraps. Before, the comment moved from the section's row to a new one ([[0, 0]] then [[1, 54]]). Now the row, the card, the focus and the words stay. test_comments_pointed_within_one_line_share_its_row[first line] still holds under the new rule. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
# Conflicts: # skills/leaf/assets/runtime/margin-projection.js
…elper Main moved the spoken positions into readSpokenPositions, and the merge took its version, which read the target's top again; a pointed row is announced by where its line stands (entryPlace), as before the merge. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
reviewed
Sep 29, 2026
leaf-agent
left a comment
Collaborator
There was a problem hiding this comment.
The new reflow test fails before it checks comment placement. At 560px, the opening paragraph remains 27.1875px tall, the same as at 1440px, so its wrap assertion stops the test. I reproduced the failure twice on this head; at 390px the paragraph wraps and the full test passes.
…ps in any font Review on #1429: at 560px the opening paragraph fit one line in CI's Linux fonts, so the test stopped at its wrap precondition. A 390px column is narrower than the line in any font. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
approved these changes
Sep 29, 2026
max-sixty
added a commit
that referenced
this pull request
Sep 30, 2026
… no room, and stand on a widget's declared face (#1462) 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: within `REACH` (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 (`coverIn` returns painted boxes, controls and seated pins as `walls`); 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's `folded` set 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 declare `kind`, one of `KINDS` (validated in `normalizeMarginReading`), and `lf-suggestion` declares `change`, 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-shot` caption rail) and its Operations suggestion pair (on the tinted `lf-new` slot 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 at `page init` rather than thrown in layout. `$keys`, `packages.md` and `docs/registry.html` document it. ## Smaller fixes - Screen-reader-only words (`.lf-quiet`) no longer count as cover: word boxes are clipped to what their containers show. - Ask digit badges are kept by the placement record that names them rather than rebuilt every pass, which had painted a badge outside the window for a frame. - In a pane narrower than a folded pin's opened width, the toggle stays inside the pane. ## 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 - The folded Replace marker moved right to leave room for its opened actions and now sits over "Insert." rather than its own words. - The folded face says "Change" (the existing kind's label), not "Suggestion". - The gallery's block suggestion `bg-nested-change` now 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:runtime` and 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. > _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]>
max-sixty
added a commit
that referenced
this pull request
Oct 5, 2026
A placement design review found that the comment box and the thread card share one rule for their side and line, but the card decided on its own which edge to hold as its thread grows. That held-edge policy has been reversed once and patched five more times (#1147, #1159, #1303, #1380, #1429, #1453, #1552, #1574). This change gives it one owner. - `comment-placement.js` now owns the policy (`holding`, `heldAt`, `heldHeight`) for both surfaces. `margin-projection.js` reports what it knows of the thread (the transcript's extent, whether the user is drafting, the latest turn and the draft's words) and no longer keeps `previewHold`. The logic moved verbatim. The comment box has no turns, so it never asks. - The "One writer for each fact" table in `skills/leaf/assets/AGENTS.md` names the owners of comment placement and of margin-row seating, so a change that decides either elsewhere shows up in review. - Margin-entry labels measure their room through `shownWindow` instead of reading `.lf-banner` and `.lf-shortcut-bar` themselves. - Two TODO items whose tests already pass are removed: landing a sent comment's thread where its box stood, and the composer on a page with a margin on `html`. `test_an_aimed_comment_keeps_its_place_with_the_asks_drawer_open` now also runs at 1200px, the width that TODO described. No user-visible behavior changes. An earlier commit on this branch also moved the box's scrolled-away trigger into the shared module and applied it to the card. That part came out when #1705 changed the box to follow its passage out of view. New runtime tests cover the held-edge policy. `npm run test:runtime` passes. The focused browser tests for send placement, the comment box, the margin card and replies pass, except three cases of `test_a_thread_resolved_while_its_reply_is_written_keeps_the_user_on_it`, which fail identically on `main`. > _This was written by Claude Code on behalf of max-sixty_ --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
max-sixty
added a commit
that referenced
this pull request
Oct 9, 2026
…e page (#1784) Typing in a floating comment box scrolled the page whenever the box stood under or over its passage and grew past the room shown on that side. On every content change, `floating-response.js` asked `makeRoom` to scroll the reading region until the whole box fit clear of the passage. A stack-logged probe at 900x700 measured it. With the box over its passage at mid-window, the first keystroke scrolled the page 162px. With the box under a passage near the top, the page scrolled 55px once the box reached the window's foot. The user's rule is that the box moves and the page stays. The comment box's height may now reach the whole boundary on every side, as it already could beside its passage, and growth never spends scroll travel. It grows from the edge that holds it (#1890 holds a landed box by that edge). Once the window stops that edge, shift slides it over its passage, and once it fills the window it scrolls its own words. This is what a box beside its passage already did at the window's foot. Only a thread card opening under or over its target still scrolls to make room. The margin card's reply never scrolled the page while typing; the same probe confirmed that at both widths. Letting the box fill the window exposed a 2px mismatch at Send. The box reserved 2px less beneath its words than the card's reply row takes, so a card capped at the window's height shrank its transcript and shifted the sent words up 2px (`test_send_grows_thread_around_the_words` at 900x600). One token, `--lf-comment-reply-row`, now sizes both. Behavior changes the tests now protect: - `test_typing_moves_the_comment_box_and_leaves_the_page_still` (new) types line by line into a box under and over its passage and checks that the page never scrolls and the box stays in the window. Both cases fail on main. - `test_a_growing_text_comment_keeps_its_side_and_the_page_still` (was `..._keeps_its_passage_clear_without_changing_sides`) and `test_a_text_comment_chooses_above_when_the_page_has_more_room_there` asserted that typing scrolled the page and kept the passage clear. They now assert that the page stays put, and that a later scroll carries the grown box with its passage. - `test_a_wheel_return_attaches_the_comment_box_in_the_first_visible_frame` types a shorter draft. In its pane cases, typing used to scroll the pane to make room under the passage, and the test expected the box there. - `test_where_a_comment_stands_before_and_after_send`'s phone case required the box to overlap its block only when the two couldn't show together, which only held while typing scrolled the page. It now requires a box that overlaps to stand at the window's edge. The assets AGENTS.md "Stability" section now says a floating box grows inside the window and never scrolls the page for its growth. A field in flow, which cannot move apart from the page, still keeps its controls in view. ## Add-on F: one shared reading of where the user works The design review proposed one reading of the user's working point, shared by the card's held edge (`holding`, fed by `drafting` in `margin-projection.js`), the place keeper (`recentPlaceInput` in `user-place.js`) and typing growth. This change doesn't add it. I sorted the place- and landing-hold repairs since 2026-09-23 by the question each answered: - Which edge of the card stays still: #1429, #1536, #1552, #1574, #1587, #1771. #1552 and #1574 fixed how the hold was keyed across a second placement pass and across Send's admission, not which point the user works at. - Which item in a scroller stays still: #1045, #1464, #1480, #1549, #1694, #1715, #1735. - What waits behind a notice: #1473, #1493, #1725, #1738, #1742. - What a landing reveals on entering, sending or typing: #1303, #1364, #1571, #1602, #1624, #1626, #1645. - Whether the box or the page moves as the box grows: #1453 and this one. None of these commits names a case where `drafting` and `recentPlaceInput` disagreed, so a shared reading wouldn't have prevented them. The two readings also differ by design. `drafting` counts words left in the reply and a send still in flight, both of which outlast focus and the pointer. The place keeper deliberately follows whichever of pointer and focus came last. Their outputs differ in kind too: one is an edge of a floating surface, the other a node in a scroller's list. The typing scroll was a question of which thing moves, so it needed no working-point reading. One rule does repeat: a focused control counts as the user's place only while it is on screen. `holdBox` (`reply-landing.js`), the place keeper's "begins in the band" filter, and #1735's resize landing each state it. It is a candidate for a shared predicate, but not the primitive F described. ## Overlap with work in other worktrees `leaf.shift-a-thread-jitter` has uncommitted changes to `comment-placement.js`, `floating.js` and `floating-response.js`, based on #1705. Its `floating-response.js` hunk is small. Its `comment-placement.js` header rewrite overlaps the paragraph this change rewrites, so expect a textual conflict there. `leaf.thread-card-margin-avoidance` is mid-merge in `comment-placement.js` and `margin-projection.js`. Neither touches `makeRoom`'s call from `floating-response.js` or the frame tokens. > _This was written by Claude Code on behalf of max-sixty_ --------- 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.
Three design calls the user made on the UI sweep's decision page, after #1410.
A comment or reply box grows down
Before: the box kept its foot, so each wrap moved every line already written up a row (#1159), and a reply in the margin thread card carried the whole thread being answered up with it. Now both keep their top: what you've written and the thread you're answering hold still, and Send moves down a line per wrap. Only at the window's foot does the box or card rise, as far as the next line needs, and the card's transcript gives up height only once the card fills the window. When a new turn joins the thread while the user is replying, the card holds its bottom instead, so the reply box and a Send just pressed stay under the hand. This reverses #1159's
translate: 0 -100%foot anchoring inchrome.css,composing/surface.jsandthread-card-geometry.js;margin-projection.jswrites the card's top in every case, anddata-lf-thread-heldis gone.A comment on a whole target stands by the line the user pointed at
Before: Alt-clicking line 51 of a tall diff opened a comment on the whole diff (right by the registry) with its box and marker at the diff's top, ~400px above the line. Now the comment still names the whole target, and only its own place follows the gesture (
runtime/pointed-place.js):t's travel and the spoken position ("64 percent down, diff · “let value_50 = compute(50);”") all read the point (entryPlace).Pins may use a neighbour's empty line end
Asked from a phone screenshot: "I don't understand how there's no room here?? there's lots of empty space there!!" — a suggestion's Accept/Reject pair covered its words while the room right of the short heading above it stood empty.
coverIncounted every neighbouring block whole. Now a block that paints its box (fill, border or shadow, read from computed style) still counts whole, and one that paints nothing counts by its words;pinSpottakes a neighbour's empty room only when its target has none of its own, so pins that had room keep their seats. At 390px touch, suggestion pairs over their words went from 5 of 7 to 3 of 7, and all pins over words from 10 of 54 to 6 of 54; 900px is unchanged.leaf-dev probe --touchopens a page under a finger.page-authoring.mdandskills/leaf/assets/AGENTS.mdstate the rule.Trade-offs to check
Testing
The local pre-merge gate passes on the head (the everyday suite plus the nightly tests in the touched files, runtime, browser and Worker suites, bundles, lint). Each behaviour has a browser test that was watched failing with the change reverted, and each new test passed 18 of 18 concurrent copies under
leaf-dev flake. The pointed-place change went through six rounds of independent review, each finding fixed with a test. Before/after pairs for each change were checked in the browser at desktop and phone widths.🤖 Generated with Claude Code