Repository navigation
Check that a page at rest, a closed surface and a resize leave the page as they found it - #1425
Conversation
…ge as they found it Three corpus checks join the scroll check in test_render_gate.py, each over every corpus page on a `still_page` (reduced motion, a stopped clock): - test_a_page_at_rest_does_nothing: over five seconds untouched, the page and every document it frames write nothing, ask for no frame, move no focus, and run no endless animation (`at_rest`). - test_a_closed_surface_leaves_the_page_as_it_found_it: opening each surface a page key reaches (composer, pickers, go-to, the panel and drawers, Page Map, versions, modes, the shortcut bar and reference) and closing it leaves the page's DOM as the first round trip did, and the renderer's node count does not climb on every trip (`page_state`, `live_nodes`). - test_a_resized_page_comes_back_as_it_was: a page opened at 1200px or 480px, taken to the other end and back, is the page it was. What they found, fixed at the cause: - Every open and close of any surface left 4-23 comment nodes in the shortcut bar and other lists, for as long as the page stayed open: lit-html 3.3.1 made `repeat`'s removePart leave each removed item's end marker behind (lit/lit#5298, open). lit-html is held at 3.3.0 until a release carries lit/lit#5299; build/AGENTS.md says so. - Under reduced motion the working dot's endless pulse ran at .01ms, showing a random point of its keyframes every frame: a flicker, and a page that never rested. The theme's reduced-motion rule now also runs each animation once. - Samples with an open thread panel pulled the focus back into their frame on every mutation once the user was elsewhere, so the thread panel gallery's four samples took it from one another and from the page on every frame. The covering boundary now moves focus in only while its document holds the focus. - A scroll box that stopped overflowing kept `tabindex="-1"`, which made it focusable by click: it now goes back to the tabindex its author gave it. - The margin said "no posture" both as a missing `data-lf-margin` and as an empty one, depending on the widths the page had passed through, and annotations shown as both a missing attribute and `shown`. `keeps` now writes an attribute's absence for a null value, and those, and the other keeps-or-remove branches, say "none" that way. - The visual review resized its frames a pass after its host, without saying so, so the scroll-edge fade the host was measured with at the resize stayed after the frames fitted. It now announces the layout change (`layoutChanged`). The write sensor's lent-stop exemption now covers a stop lent more than once in one script (releaseFocus twice), which is the same borrow. test_render_margin's annotations round trip now expects the attribute's absence rather than `shown`. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Review follow-ups to the three checks:
- The surface round trips now count event listeners beside nodes, open the thread card
where the page has an open thread, and name the door each drawer needs. The resize
check compares the page at every width on the way back with what it said there on
the way out, not only at the end.
- `at_rest` watches every document the page frames, counts focus moves, and names a
frame loop by its caller rather than the runtime's scheduler.
What they found:
- A thread card closed by a let-go landed the user twice: the card's close let go of
the focus it held, then the release let go again. A release now lets go once.
- A Page Map opened from nowhere and closed by Escape took the body's stop and gave it
back while the dialog was still modal, before its own cancel landed the user. The
layer stack's let-go at a close is for popovers; a modal's owner lands the user.
- The reach pass took back a `-1` focus.js had lent for an arrival, and could record a
lent stop as the author's. It now takes back only the `0` it lent, and asks focus.js
which stops are lent (`wearsLentStop`). Nested scrollers are settled deepest first, so
an outer box's stop is written once rather than taken and put back.
- A box whose content rewraps at a new width while its own size stays kept its old
answer: the reach pass now watches a candidate's children beside it.
- A margin marker's spoken position ("37 percent down") was taken at the last render
and kept through a resize. A margin layout that moves a target's position renders the
names again.
- A covering surface in a document without focus now takes the focus when the document
does, rather than never.
The write sensor's exemption for lent stops is back to what main has; the doubled lends
it was widened for were the two let-go faults above.
The rest of the keeps-or-remove branches say "none" through `keeps(…, null)`. That also
stops an unlabelled pane writing `aria-label="null"` (lf-pane) and a margin entry
writing "undefined". lit-html's pin notes the fixes it skips, which nothing here uses.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…at lent it, recover a surface's focus once the user has landed Answers a review of the previous commit: - A layout pass no longer re-renders the whole margin to update marker names. It names the markers again, and only when the column's width or height moved, measured against the column the pass itself read (`lf-margin-layout` now carries it). The previous commit's version read `main` once more per pass, which test_unchanged_margin_refresh_cost_is_bounded_by_refresh_count caught. - focus.js gives back a lent stop only while it is still its `-1`, and the reach pass takes its own `0` back to that `-1` while a stop is lent, so one owner never removes the other's. - Nested scrollers are ordered by `upFrom`, the runtime's one climb. The previous commit climbed through `node.host`, which a page element named `host` answers, so such a page hung (test_a_page_element_named_host_leaves_the_keyboard_climb_at_the_document). - A covering surface recovers the focus a render after the window regains it, so the press that brought the user back lands first, and leaves a user on the bottom band a surface stands under where they are. - The last keeps-or-remove branches outside target-paint.js (margin-projection's `aria-expanded`, lf-tabs' and lf-options-settled's `hidden`) say "none" through `keeps(…, null)`. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
left a comment
There was a problem hiding this comment.
watchReach keeps the first child set for each scroller. A visual-run update can keep the .lf-vr-shot-host while lf-visual-review replaces its lf-shot with replaceChildren(shot). The guard at reach.js's heldChildren.has(el) then leaves the detached shot in the observer and array, while the new shot is never observed. A later change to that shot inside the size-contained, overflow: auto host can leave its keyboard stop and continuation marks stale; repeated updates retain detached shots. The observed children need to be reconciled when the host's children change, unobserving removed nodes and observing their replacements.
A widget that swaps a scroll box's child (the visual review replaces its shot) left the reach pass watching the detached child and never the new one, so the box's stop and continuation marks went stale and each swap kept a detached child alive. The pass now follows the box's child list. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
On CI a margin pin at 560px wore the same two insets in the other order after a resize round trip: a property taken off at one width and set again at another stands last in the attribute's text. The page says the same, so page_state reads a style sorted. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
left a comment
There was a problem hiding this comment.
The new child-list cleanup can drop the resize watch of a live scroll candidate.
A scroller watched both as a candidate and as a child of one lost its only observation when it was moved out of that parent, so later resizes left its stop and marks stale. The reach pass now lets a watch go only when the box is neither a candidate nor the child of one. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…reads (#5207) A render named each Page Map marker's position ("N percent down") against `main`'s own box, while the margin's layout pass hands its `lf-margin-layout` listeners the prose box, `proseRect(main)` (the event detail #1425 added). Since #4724 a render and its layout pass run in one script, so on the feature gallery's embedded page the "On me" marker was named 7 percent down by the render, renamed 6 percent down by the layout listener, and back again on the next render — an A→B→A write the suite's write watch reports as `unchanged write: aria-label on span.lf-margin-marker`. The render now measures the same prose box, so both readings agree and the listener's same-basis early return actually fires. The event's declared type said `DOMRect`; it now names the `ProseBox` the pass sends. The kernel is rebuilt. On screen, a marker's spoken position may differ by a percent or so from before on pages whose prose box is narrower or offset from `main`; nothing visible changes. Verification: `tests/journeys/test_render_startup.py::test_the_gallery_embeds_an_ordinary_stamped_page` failed locally on main with the reported finding and passes with this change. A probe wrapping `setAttribute` captured the two writes and their callers (`renderNow → nameMarkers` and `layoutMountedRows → lf-margin-layout → nameMarkers`). The tests that read the spoken position (`test_a_pointed_row_is_announced_where_it_stands_and_by_its_words`, `test_a_margin_entry_walk_position_stays_out_of_its_visible_word`) and `pnpm run test:runtime` pass. Closes #5162 — automated triage Co-authored-by: leaf-agent <[email protected]>
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…
Three corpus checks join the scroll check in
test_render_gate.py. Each runs on every corpus page, read on astill_page(reduced motion, a stopped clock), so what changes is what the test did:test_a_page_at_rest_does_nothing: untouched for five seconds, the page and every document it frames write nothing, ask for no frame, move no focus, and run no endless animation (at_rest).test_a_closed_surface_leaves_the_page_as_it_found_it: each surface a page key opens (composer, target picker, search, Go-to, thread card, Threads panel, Asks and Leaves drawers, Page Map, versions, Draw and Design modes, shortcut bar, command reference), opened and closed four times, returns the page the first round trip left (page_state), and neither its nodes nor its event listeners climb on every trip (live_counts, CDP metrics after a forced collection).test_a_resized_page_comes_back_as_it_was: a page opened at 1200px or 480px and resized to the other end and back says at each width what it said there on the way out.page_statereads an inline style as its sorted declarations, so a property removed and set again at another width, which lands last in the text, reads the same.What they found, fixed at the cause
repeatleave each removed item's end marker behind (lit/lit#5298, open; fix in lit/lit#5299). lit-html is held at 3.3.0;build/AGENTS.mdsays when to lift it.tabindex="-1", which made it click-focusable; one whose content rewrapped inside a fixed box kept its old answer; nested scrollers took and put back an outer stop. The reach pass now takes back only the0it lent (to the author's value, or to focus.js's lent-1), watches the children each candidate holds now (a watch ends only when no reason to keep it holds), and settles nested scrollers deepest first. focus.js gives back only its own-1.data-lf-marginempty or absent, annotationsshownor absent).keeps(node, name, null)now removes the attribute, and every keeps-or-remove branch says "none" that way.Worth a look
test_render_margin's annotations round trip now expects the attribute's absence rather thanshown.🤖 Generated with Claude Code