Skip to content

Fail any test whose page shifts without input, or whose typing carries its field - #1432

Merged
max-sixty merged 13 commits into
mainfrom
draft-label-no-shift
Sep 29, 2026
Merged

max-sixty merged 13 commits into
mainfrom
draft-label-no-shift

Conversation

@max-sixty

@max-sixty max-sixty commented Sep 29, 2026 •

Copy link
Copy Markdown
Owner

Every browser test now fails if its page makes a layout shift that the "Stability" rule (skills/leaf/assets/AGENTS.md) forbids. That covers two cases: a shift Chrome reports without recent input, where news or loading moves what the user was reading, and typing that carries the field it types in. The second is what the "Draft" chip broke when it appeared in an open thread card's header above the reply box and pushed the box down. #1393 already fixed the chip; this PR adds the broad check that would have caught it, and the wider one beside it.

tests/shift_watch.js is an init script the browser fixture installs on every page, beside write_watch.js. Both rules read Chrome's Layout Instability API (layout-shift entries). It compares painted frames, nets out scrolling, catches a move that is undone before any script could look, and says whether the user gave input in the half second before the frame (hadRecentInput). Chrome credits no input to a frame nested in another page, so a trusted key or press in the frame's own document counts for the same half second.

  • Nothing moves without input. Each element a no-input shift moves is reported once per document. EXPECTED lists the shifts the page makes today, and each is a defect waiting on its fix: the bottom bar as news lands, the runtime root, the section after a diff at first reading, a package Ask and the paragraphs after it, ship-review's tasks, the process page's screenshot, the MCP App's frame, a sample frame, the gallery column, and thread cards as a reply lands. Without the list they fail 102 tests on macOS. Chrome names only the five nodes a frame moved most, and which five differs between runs and between macOS and Linux, so each pattern names the region a shift moves and matches any node in it. The patterns apply only to shifts without input, so they never hide typing's carry.
  • Typing never carries its field. The API is right about what moved but not about why: a move laid out before a keystroke and painted after it is charged to the keystroke's frame. Its rects are also what a node paints (a shadow or focus ring included), clipped to the viewport, rather than the node's box. So at each trusted beforeinput, the script reads the field's box and the box of every element holding it with a forced layout, and it reads the same boxes again at the start of each frame of the keystroke's rendering. A shift Chrome reports in that rendering counts only where it names one of those elements and, in the next frame's reading, both opposite edges moved the same way from the key's. Where an animation that moves a box was already running on the field or a holder at the key and is still running, as a panel sliding in is, the rest of the rendering is judged by neither rule: that motion belongs to the press that opened the panel. A field may grow at either edge; it may not be carried. Chrome doesn't count text inserted without a key (fill, insert_text) as input, so a frame of a trusted beforeinput's rendering is the typing rule's alone; a frame after it is judged like any other. The keystroke's rendering ends when the runtime's lfRenderingSettled reading goes quiet or after 1s, and sooner at another key or press, at news (data-lf-reading), or at a scroll of the field's holders.

Chrome hands a frame's shifts to the observer only after it paints. So conftest.py wraps pytest_runtest_call to let the frames the test's last act changed paint, then judges every shift (render_harness.judge_shifts), while the page servers still answer. tests/test_render_shift_watch.py holds both rules and the last-keystroke case the review found, which fails if the paint wait is removed. It also holds a composer standing past the viewport's edge with a shadow, which the first comparison failed, a holder still sliding in, an unrelated move just after typing (which the review found excused), and a press in a nested frame.

Bug-back: with data-lf-folded removed from the Draft chip, all four test_a_thread_keeps_submit_in_its_field_and_resolve_with_its_metadata cases fail, and so does test_agent_reply_arrivals_keep_open_panel_drafts_and_summarize_batches, whose own assertions pass.

The earlier Linux-only CI failure (typing in leaf-text in div.lf-compose-field moved div.lf-thread-panel-foot in test_a_settled_delivery_activates_one_fresh_document_with_continuity) was the rect mismatch. The key read the foot at 1171,835 419x65, while Chrome's rect was 1108,835 92x65: a shadow reaching 63px left, clipped at the viewport's right edge.

This was written by Claude Code on behalf of max-sixty

🤖 Generated with Claude Code

max-sixty and others added 8 commits September 29, 2026 01:02
The first sensor read Chrome's Layout Instability API and failed a keystroke
that shifted any element holding the field or standing before it. On a find
that narrowed the Threads panel's list, the API reported page paragraphs 60px
below where every frame drew them, so its entries are not evidence of a move.

The sensor now measures the field itself. At each trusted `beforeinput` it
records the field's edges in the coordinates of every scroller that moves it,
stopping at a fixed ancestor, and every frame until the keystroke has rendered
compares them. A field whose opposite edges both moved was carried; one that
grew at an edge was not, so a composer pinned to the panel's foot may grow
upward. The watch ends at the runtime's settled reading, at news (a change to
`data-lf-reading`), at another key or press, or after a second, and it skips a
keystroke whose field an animation is already carrying.

Each exclusion answers a false report in the suite: replies arriving right
after a test typed (`test_incoming_reply_follows_*`), the Threads panel still
sliding in when a test typed into it (`test_a_settled_delivery_*`,
`test_a_website_turn_posts_*`), and a widget a test removed by script just
before `fill`. With `data-lf-folded` dropped from the Draft chip, the defect
#1393 fixed, the sensor fails
`test_a_thread_keeps_submit_in_its_field_and_resolve_with_its_metadata` with
"typing in leaf-text.lf-ui moved it by (0, 12)px".

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Summing the scroll offsets of the field's ancestors misread the MCP app's
`position: sticky` composer, which stays at its frame's foot while the frame's
document scrolls: under load, 13 of 18 concurrent copies of
`test_snapshot_app_renders_general_and_anchored_feedback_without_claiming_delivery`
reported "typing in textarea#comment moved it by (0, -131)px". A scroll of the
document or of an element holding the field now ends the watch, as news, another
key or press, and an animation already carrying the field do, and the field's
viewport box is compared directly. `leaf-dev flake` runs that test, the
incoming-reply follow test and the delivery activation test clean in 18 copies
each, and the Draft chip without `data-lf-folded` still fails three of four
`test_a_thread_keeps_submit_in_its_field_and_resolve_with_its_metadata` cases.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The earlier commits on this branch said Chrome's Layout Instability API
reported page paragraphs 60px from where every frame drew them. That was
wrong. A buffered observer shows those paragraphs really moved, by +54, -32
and +131px, while the preceding diff comment was sent and the Threads panel
opened. The last shift painted just after the first keystroke, and the
per-frame read that seemed to contradict it started after the moves ended.

The API is right about what moved but not about why: it compares painted
frames, so a move laid out before a keystroke and painted after it is charged
to the keystroke. Rebuilt on the API with the same rendering window,
`test_package_thread_widgets_keep_local_filters_and_independent_subscriptions`
failed that way: the test removes a widget by script and then types, and the
removal's 27px move painted in the keystroke's first frame. Reading the
field's box with a forced layout at `beforeinput` folds every earlier change
into the baseline. The header now says so, along with the cost: a move painted
and undone between two animation frames goes unseen.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The API is the better evidence of a move. It compares painted frames, nets out
scrolling, and sees a move painted and undone between two animation frames,
which a box read at each frame cannot. What it cannot say is why a box moved.
It charges a move laid out before a keystroke but painted after it to the
keystroke's frame, as it did for the widget
`test_package_thread_widgets_keep_local_filters_and_independent_subscriptions`
removes by script just before it types.

So each keystroke still reads the field's box, and the box of every element
holding it, with a forced layout at `beforeinput`. A shift during the
keystroke's rendering counts only where it names one of those elements at a box
whose opposite edges both moved the same way from that reading. Moving the same
way leaves out a field gaining its focus ring, which grows its painted box on
every side. The report lists every other element the same frame moved, as a
lead for finding the cause. Because the API nets out scrolling, the rule for
an animation already carrying the field is gone: the Threads panel slides in
with a transform, and a transform is not a layout shift. The rendering still
ends at another key or press, at news, and at a scroll of a holder, since a
scroll moves every box after the reading at the key.

The observer hears a frame's shifts a task or more after the paint, so a test
whose last act was a keystroke used to end before the report. `conftest.py`
now judges the queued shifts (`takeRecords`) as each test body returns, while
the pages' servers still answer. Judging at fixture teardown instead let every
round trip deliver failed fetches from pages whose server had stopped.

With `data-lf-folded` dropped from the Draft chip, all four
`test_a_thread_keeps_submit_in_its_field_and_resolve_with_its_metadata` cases
fail, and so does
`test_agent_reply_arrivals_keep_open_panel_drafts_and_summarize_batches`, whose
own assertions pass. The full suite passes, and `leaf-dev flake` runs each test
that gave a false report on an earlier version clean in 18 concurrent copies.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The watched() docstring still described the first version, which also
failed typing that moved what stood before the field. The header now says
Chrome names at most five moved elements per frame.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>

@leaf-agent leaf-agent left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The final keystroke can escape this gate. judge_typing() calls lfTypingJudged() as the test body returns, but takeRecords() has no entry until the changed frame paints. In a watched Chromium page, I made a trusted beforeinput move its input, called fill("a"), then drained immediately: there was no report. Draining 150 ms later reported typing in input#field moved input#field by (0, 59)px. A test that ends after fill() therefore passes even though its typing carried the field, which is the case this hook is meant to catch. The finalizer needs to let that frame paint and its shift become observable before it judges and closes the page.

The typing watch becomes `tests/shift_watch.js`, which reads Chrome's Layout
Instability API for both halves of the "Stability" rule: a shift Chrome reports
without recent input fails the test, as typing that carries its field already
did. `EXPECTED` lists the shifts the page makes today, by the elements they
move, each a defect whose lines go when it is fixed: the bottom bar as news
lands, the runtime root, a diff's section at first reading, a package Ask and
the paragraphs after it, ship-review's tasks, the process page's screenshot,
the MCP App's frame, a sample frame, and the gallery column.

A trusted `beforeinput` is typing whatever Chrome's input flag says: Chrome
does not count text inserted without a key (`fill`, `insert_text`) as input,
so a carry by `fill` had fallen outside the typing rule.

The fixture now lets the frames a test's last act changed paint before it
judges, since Chrome hands a frame's shifts over only once it paints; the
review on #1432 showed a `fill` that carried its field going unreported.
`test_render_shift_watch.py` holds both rules and that last keystroke.

A typing report now gives the box the key found and the two Chrome painted,
to say why on a machine where it cannot be reproduced.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@max-sixty max-sixty changed the title Fail any test whose typing carries the field it types in Fail any test whose page shifts without input, or whose typing carries its field Sep 29, 2026
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
leaf-agent previously approved these changes Sep 29, 2026

@leaf-agent leaf-agent left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Linux test job is red on this head because the new gate reports three unhandled shifts: leaf-margin-cluster in test_current_readiness_releases_a_connected_page_widget, the thread panel foot during typing in test_a_settled_delivery_activates_one_fresh_document_with_continuity, and lf-tabs#bg-gallery-tabs in test_gallery_new_information_sample_preserves_focus. The failed test job has each browser report. These paths need a fix or a justified entry in the gate's EXPECTED list before the suite can pass; I am withdrawing the approval I posted before the job finished.

@leaf-agent
leaf-agent dismissed their stale review September 29, 2026 21:06

CI test failed on the reviewed commit with three unhandled layout shifts.

Linux CI failed `test_a_settled_delivery_activates_one_fresh_document_with_continuity`
on a carry that was not one: the key read the panel's foot at its box, 1171,835
419x65, and Chrome's rect for it was 1108,835 92x65, since Chrome reports what a node
paints (here a shadow reaching 63px left) clipped to the viewport. Held against each
other the two differ at both edges. The typing rule now reads the same boxes again at
the start of each frame of a keystroke's rendering, and holds Chrome's named node's
box there against the key's. A rendering also ends at a frame that finds still running
an animation that moves a box, where one was running on the field or a holder at the
key: a panel sliding in carries the field for the press that opened it.

A trusted `beforeinput` counts as input for as long as Chrome counts a key, so a
frame after `fill` whose reading is missing is not judged as a shift without input.

Chrome names the five nodes a frame moved most, which differ between runs and
between macOS and Linux (CI found a margin cluster, the gallery's tabs, a task's
`::before`, and a package's thread filter under names the list did not hold). Each
`EXPECTED` pattern now names the region a known shift moves and matches any node in
it, and applies to shifts without input only, so it never hides typing's carry. Thread
cards moving as a reply lands above thirty later ones join the list.

`test_render_shift_watch.py` adds a composer standing past the viewport with a shadow,
which the old comparison failed, and a holder still sliding in.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>

@leaf-agent leaf-agent left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new typing(entry.startTime) fallback hides unrelated shifts for 500 ms after a trusted beforeinput. In a watched Chromium page, I used fill("a") on input#field, waited 120 ms, then changed an unrelated box so p#target moved 40 px. lfShiftsJudged() reported nothing; the same move after 550 ms reported p#target moved without input by (0, 40)px. Chrome marks the scripted move as hadRecentInput: false, but tests/shift_watch.js line 241 discards it solely because typing happened elsewhere. That leaves ordinary page updates able to shift the reader's content immediately after a keystroke without failing the new gate. Scope the synthetic typing exception to shifts caused by that field's rendering; unrelated sources still need the no-input check.

max-sixty and others added 2 commits September 29, 2026 14:46
The review on #1432 showed a `fill` followed 120ms later by an unrelated scripted
move going unreported: a trusted `beforeinput` excused every frame for the 500ms
Chrome counts a key. Now only the frames of that keystroke's rendering are the typing
rule's; a frame after it is judged like any other. A rendering that finds the motion
it began under still running no longer ends there, which would hand its remaining
frames to the no-input rule: it stops reading and judges none of them.

CI found the feature gallery's sections moving 32px as its options draw, beside the
column and tabs already listed, so that line now names the gallery's region.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Chrome credits no input to a frame nested in another page: in the MCP App's nested
Leaf page, a trusted click opened the versions menu and the shortcut bar's More moved
18ms later in a frame Chrome marked `hadRecentInput: false`. A trusted key or press in
the frame's own document now counts for the same half second Chrome counts one.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@max-sixty
max-sixty merged commit 74173e9 into main Sep 29, 2026
5 checks passed
@max-sixty
max-sixty deleted the draft-label-no-shift branch September 29, 2026 22:12
max-sixty added a commit that referenced this pull request Sep 30, 2026
…en claim a turn (#1451)

Main's nightly job fails on 776 of its 2,107 tests. Two main commits
caused it, and neither PR ran the nightly-marked tests.

- **The shift watch (#1432).** `EXPECTED` in `tests/shift_watch.js`
lists the shifts without input that the broad selection's pages make.
The nightly-marked tests' pages make many more: 809 distinct moved
elements, reported as teardown errors on 766 tests. Examples are
`INLINE_PAGE`'s `lf-options` growing its 44px write-in row as it
upgrades under authored HTML that already painted, which pushes every
paragraph below it down, and `ASK_PAGE`'s Ask pushing its sections down
63px. Listing them region by region would turn `EXPECTED` into an
allowlist of most of the corpus. The nightly-marked tests now skip the
watch (`tests/conftest.py`, `_watches_shifts`). The broad selection
still fails on any shift the list doesn't name.
- **A claim without a turn (#1433).** #1433 made `turn` a required claim
field, and `claim_update_sources` drops a claim that lacks it. The claim
that
`test_an_exact_workflow_reports_stale_work_beside_a_live_page_claim`
writes by hand had no `turn`, so its thread read Sent instead of
Working. The claim now names `turn-1`, the turn `record_claim` gives its
session, as `set_status` would record it. This is the same line #1449
proposes.
- **A status read at one stage (#1450).**
`test_the_margin_groups_meanings_at_one_destination_without_moving_the_page`
found the move's status by the text "Sent for". The pickup grace can run
out during the journey and relabel it "Waiting for pickup", which is how
[nightly run
36633195934](https://github.com/max-sixty/leaf/actions/runs/36633195934)
failed. The test now finds the status by role at any stage. #1450 also
found that the Ask fixture's startup shift would still fail the test at
teardown; with the nightly tests off the shift watch, that no longer
happens.

On macOS, a full nightly run (`pytest tests --run-nightly -m nightly`)
on main before this change had 56 failures and 807 errors. After it, the
run had 3 failures and 1 error. Two of those failures pass when re-run
serially, which points to load (the load average was 39). The third was
the claim test fixed here. It and the margin test both pass now. The
everyday selection passes (1,451 tests).

The nightly pages' shifts are still defects under the Stability rule.
Bringing the nightly tests back under the watch means fixing them,
starting with the widgets that grow as they upgrade.

> _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 Sep 30, 2026
The shift watch from #1432 now knows the shifts pages make today by test
and region. Before, `EXPECTED` in `tests/shift_watch.js` held one set of
region patterns for every page. Chrome names only the five nodes a frame
moved most, which differ between runs and between macOS and Linux, so
each run turned up names the patterns missed. The only patterns broad
enough to catch them would have masked the runtime's own pieces, such as
margin entries and the comment box, on every page.

- **`tests/known_shifts.py`** names each test whose page still shifts
without input, by file and function, with a pattern for the region its
known shift moves. `clean_browser` keeps a report from that test only
when the node it names is in that region. Any other shift fails, as does
typing that carries its field. Four watched tests are listed today.
Fixing a defect deletes its entry.
- **The upgrade before presentation is known by when it happens.**
Widgets upgrade after the authored HTML has painted, and the frame that
presents the page carries every box their upgrade reshaped. This defect
is every page's, so `shift_watch.js` doesn't report a shift before a
page with the runtime is presented, or in the frame that presents it.
The rule is deleted when the upgrade is fixed, however that is done.
- **The nightly-marked tests stay off the watch**, as #1451 left them.
That decision now sits with the list (`known_shifts.watches_shifts`).
Their pages make hundreds of shifts, mostly that same upgrade: 781
reports across 321 test runs locally, and a nightly run on Linux CI
([36659812215](https://github.com/max-sixty/leaf/actions/runs/36659812215))
found 58 tests the local run had not. They watch again, with the entries
a fresh survey finds, once the upgrade is fixed.

The sensor also changed in three places:
- **Presses:** every recent press is kept, and a trusted press in a
same-origin page holding a frame counts as input to it. A later key had
un-credited an earlier one's frame, and #1446 has already carried this
fix to main.
- **Resize:** a keystroke's rendering ends at a window resize. A test
that resized right after typing had read as a carry.
- **Self-test:** `test_render_shift_watch.py` gains a press in the page
holding a frame, which fails without the change.

The everyday selection passes locally.

> _This was written by Claude Code on behalf of max-sixty_

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent pushed a commit that referenced this pull request Nov 26, 2026
Bumps the dependencies group with 10 updates:

| Package | From | To |
| --- | --- | --- |
| [tree-sitter](https://github.com/tree-sitter/py-tree-sitter) |
`0.26.1` | `0.27.0` |
| [turbohtml](https://github.com/tox-dev/turbohtml) | `1.15.11` |
`1.16.4` |
| [watchdog](https://github.com/gorakhargosh/watchdog) | `7.1.0` |
`7.1.1` |
|
[axe-playwright-python](https://github.com/pamelafox/axe-playwright-python)
| `0.1.8` | `0.1.9` |
| [pyyaml](https://github.com/yaml/pyyaml) | `6.0.3` | `6.0.4` |
| [ty](https://github.com/astral-sh/ty) | `0.0.104` | `0.0.108` |
| [ruff](https://github.com/astral-sh/ruff) | `0.17.5` | `0.17.6` |
|
[datamodel-code-generator](https://github.com/datamodel-code-generator/datamodel-code-generator)
| `0.96.0` | `0.100.0` |
| [hypothesis](https://github.com/HypothesisWorks/hypothesis) |
`6.170.15` | `6.170.17` |
| [selenium](https://github.com/SeleniumHQ/Selenium) | `4.52.0` |
`4.54.0` |

Updates `tree-sitter` from 0.26.1 to 0.27.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/tree-sitter/py-tree-sitter/releases">tree-sitter's
releases</a>.</em></p>
<blockquote>
<h2>v0.27.0</h2>
<h3>Additions:</h3>
<ul>
<li><code>Query.copy()</code></li>
<li><code>Query.__copy__()</code></li>
</ul>
<h3>Changes:</h3>
<ul>
<li><code>LookaheadIterator.current_symbol_name</code> returns
<code>None</code> when invalid</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/tree-sitter/py-tree-sitter/commit/79cb0b8e43cf12a9cdbd6613956176d1695020a2"><code>79cb0b8</code></a>
fix(parser): fix use after free in dealloc</li>
<li><a
href="https://github.com/tree-sitter/py-tree-sitter/commit/a451e3103cee5a2990aeeccf36c04a19b948f284"><code>a451e31</code></a>
chore: release 0.27.0</li>
<li><a
href="https://github.com/tree-sitter/py-tree-sitter/commit/811213637ca8c17f52b3e4085cb50236ab4ad6c2"><code>8112136</code></a>
fix(types): matches &amp; 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>&lt;div lang=en&gt;&lt;p lang=&quot;&quot;&gt;</code> stopped
matching <code>:lang(en)</code>. A quoted empty range,
<code>:lang(&quot;&quot;)</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>&lt;em&gt;</code> and <code>&lt;strong&gt;</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>\&lt;template&gt;</code>'s content its children, as lxml does, and
keep a <code>\&lt;template shadowrootmode&gt;</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>&lt;em&gt;[Image OCR]&lt;br&gt;text&lt;br&gt;[End
OCR]&lt;/em&gt;</code>, instead of raw <code>&lt;br&gt;</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>&lt;pre&gt;</code>, <code>&lt;textarea&gt;</code> or
<code>&lt;listing&gt;</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>&lt;a&gt;</code>, 500 open elements and eight
<code>&lt;div&gt;</code>s followed by <code>&lt;p&gt;y&lt;a&gt;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>&lt;a&gt;</code> removes an element from the middle of the
open-element stack, and when it copies a selected option into a deep
<code>&lt;selectedcontent&gt;</code>: such markup used to nest elements
past 512 levels, <code>&lt;form&gt;&lt;div&gt;&lt;/form&gt;</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>&lt;div
lang=en&gt;&lt;p lang=&quot;&quot;&gt;</code> stopped matching
<code>:lang(en)</code>. A
quoted empty range, <code>:lang(&quot;&quot;)</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>&lt;em&gt;</code> and
<code>&lt;strong&gt;</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. (&quot;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 &amp;
~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>&quot;&lt;type&gt; &lt;object&gt; from &lt;src&gt;
to&quot;</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
&lt;https://github.com/gorakhargosh/watchdog/compare/v7.1.0...v7.1.1&gt;`__
<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)
&amp;lt;https://github.com/gorakhargosh/watchdog/issues/1430&amp;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)
&amp;lt;https://github.com/gorakhargosh/watchdog/pull/1419&amp;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)
&amp;lt;https://github.com/gorakhargosh/watchdog/issues/1044&amp;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)
&amp;lt;https://github.com/gorakhargosh/watchdog/issues/1411&amp;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)
&amp;lt;https://github.com/gorakhargosh/watchdog/issues/1454&amp;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)
&amp;lt;https://github.com/gorakhargosh/watchdog/issues/1432&amp;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)
&amp;lt;https://github.com/gorakhargosh/watchdog/issues/1462&amp;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)
&amp;lt;https://github.com/gorakhargosh/watchdog/issues/1440&amp;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)
&amp;lt;https://github.com/gorakhargosh/watchdog/issues/1435&amp;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)
&amp;lt;https://github.com/gorakhargosh/watchdog/pull/1459&amp;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)
&amp;lt;https://github.com/gorakhargosh/watchdog/issues/1440&amp;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)
&amp;lt;https://github.com/gorakhargosh/watchdog/issues/354&amp;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)
&amp;lt;https://github.com/gorakhargosh/watchdog/issues/1442&amp;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)
&amp;lt;https://github.com/gorakhargosh/watchdog/pull/1445&amp;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)
&amp;lt;https://github.com/gorakhargosh/watchdog/issues/1436&amp;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)
&amp;lt;https://github.com/gorakhargosh/watchdog/issues/1019&amp;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)
&amp;lt;https://github.com/gorakhargosh/watchdog/issues/1469&amp;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)
&amp;lt;https://github.com/gorakhargosh/watchdog/issues/1470&amp;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)
&amp;lt;https://github.com/gorakhargosh/watchdog/issues/1440&amp;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;amp;
~FILE_NOTIFY_CHANGE_LAST_ACCESS</code>) when access-time updates are not
useful.
(<code>[#1447](https://github.com/gorakhargosh/watchdog/issues/1447)
&amp;lt;https://github.com/gorakhargosh/watchdog/issues/1447&amp;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)
&amp;lt;https://github.com/gorakhargosh/watchdog/issues/1425&amp;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)
&amp;lt;https://github.com/gorakhargosh/watchdog/issues/1429&amp;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)
&amp;lt;https://github.com/gorakhargosh/watchdog/pull/1464&amp;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)
&amp;lt;https://github.com/gorakhargosh/watchdog/issues/992&amp;gt;</code><strong>,
<code>[#303](https://github.com/gorakhargosh/watchdog/issues/303)
&amp;lt;https://github.com/gorakhargosh/watchdog/issues/303&amp;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 &quot;&lt;type&gt;
&lt;object&gt; from &lt;src&gt; to&quot; with an empty destination. It
now prints the destination for moved events only.
(<code>[#1448](https://github.com/gorakhargosh/watchdog/issues/1448)
&amp;lt;https://github.com/gorakhargosh/watchdog/pull/1448&amp;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)
&amp;lt;https://github.com/gorakhargosh/watchdog/pull/1445&amp;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 &gt;&gt;&gt;
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 &lt;
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 = &quot;uv&quot;</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 = &quot;uv&quot;</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…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants