mirror of
https://github.com/ankitects/anki.git
synced 2026-11-30 10:04:34 -06:00
html-redirect
12518
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
bdb2aca3fc | fix: Add redirects for mdbook pages | ||
|
|
b4e19f8883 |
fix: mention replacements in deprecation warnings for legacy import/export API (#5591)
The deprecation warnings added in #5547 incorrectly mention _LegacyAnkiPackageExporter/_LegacyAnkiPackageImporter as the replacement APIs instead of Collection.export_anki_package/Collection.import_anki_package. _This fix is already included in 26.09_ |
||
|
|
55417c37ef |
fix: Lock bundled dependencies (#5593)
## Linked issue Closes #5592 ## Summary Our Briefcase build didn't respect locked dependencies and dependency cooldowns and used to resolve newer versions of some packages such as `click` and `protobuf`. This PR fixes the issue by exporting a list of pinned dependencies to a file and passing it to uv using the `--constraints` option. ## Steps to reproduce (before) - Build the bundle: `./ninja installer:build`. - Inspect `out/installer/build/anki/*/app_packages` and notice `protobuf-7.36.1.dist-info` is included despite it being locked to 6.33.5 in uv.lock ## How to test (after) Build the bundle again and confirm there's no mismatch between locked and installed dependency versions. |
||
|
|
19f7236927 |
Bump version (#5597)
Update translations and bump version to 26.09 |
||
|
|
6eb89c0648 |
fix: Limit 'Open Image' action to image types (#5595)
Refer to https://github.com/ankitects/anki/security/advisories/GHSA-932p-crhj-v43p for explanation and reproduction steps. _This fix is already included in 26.09_ |
||
|
|
71bd36ff07 |
fix: Treat image-occlusion route as untrusted (#5594)
_Note: This fix is already included in 26.09_ This is a follow-up to https://github.com/ankitects/anki/commit/b81c3b2cc497c32cba0f029afc8421d288a6630b to prevent script execution in a top-level image-occlusion page. See https://github.com/ankitects/anki/security/advisories/GHSA-jw6j-j4mf-8jgm |
||
|
|
697e909719 |
refactor: add get_scheduling_states_inner (#5145)
closes #5144 https://github.com/ankitects/anki/blob/fd65f20fcd277da9ed156ed72b534a549742096d/rslib/src/scheduler/answering/mod.rs#L231 This call to the db is made even though the card is already fetched from the db by the function caller. |
||
|
|
587d6ec796 |
fix: run static SonarCloud analysis on fork PRs (#5596)
## Linked issue Follow-up to #5498, which was closed in favor of a smaller and more maintainable implementation. ## Summary / motivation Run CI-based SonarCloud analysis for internal and fork pull requests while keeping the Quality Gate informational. The analysis matrix is: | Event | Static analysis | Coverage in CI | Coverage in SonarCloud | | --- | --- | --- | --- | | Internal pull request | Yes | Yes | Yes | | Push to `main` or `release/**` | Yes | Yes | Yes | | Fork pull request | Yes | Yes | No | Fork pull requests continue to run the full test coverage and coverage-regression checks in the unprivileged CI workflow. Their contributor-produced coverage reports are not passed to the privileged SonarCloud workflow. The fork scan reports static bugs, vulnerabilities, security hotspots, and code smells. It: - validates the PR state, repositories, branches, and tested SHA against the GitHub API; - checks out the exact revision tested by CI; - replaces `sonar-project.properties` with the trusted default-branch version; - provides `SONAR_TOKEN` only to the scanner step; - never builds, installs, or executes contributor code; - keeps scanner-side Clippy and SCA disabled; - clears coverage report paths and excludes coverage calculation for forks. Automatic Analysis remains disabled because it cannot be combined with CI-based analysis and does not provide the required Rust and coverage support. This also configures Vitest to produce repository-relative LCOV paths such as `SF:ts/lib/...`, allowing SonarCloud to resolve TypeScript files when reports are downloaded into a separate checkout. ## How to test ### Checklist - [x] I ran `just check` or an equivalent relevant check locally. - [ ] I added or updated tests when the change is non-trivial or behavior changed. The remaining behavior is specific to GitHub's `workflow_run` environment and can only be exercised end-to-end after the workflow is available on the default branch. ### Details The following checks passed locally: - `just test-ts --coverage` - `just test-ts --coverage --html` - `just fmt` - `just check` - YAML and JSON parsing - `git diff --check` Both TypeScript coverage runs passed all 67 tests. The generated LCOV report was also checked to confirm that source paths are repository-relative and begin with `SF:ts/`. After this lands, end-to-end validation should cover: 1. A push to `main`, confirming that Python, TypeScript, and Rust coverage reports are imported. 2. An internal PR, confirming static analysis and coverage. 3. A fork PR, confirming static analysis while the coverage download is skipped and no coverage condition is evaluated. ## Before / after behavior Before: - fork PR analysis fails at the protected checkout; - the `actions/checkout` version comments are outdated; - TypeScript LCOV paths are relative to `ts/` and may not resolve in the SonarCloud checkout. After: - internal PRs and trusted branch pushes receive static analysis and coverage; - fork PRs receive static analysis without importing contributor-produced coverage; - fork tests and coverage-regression checks continue to run in regular CI; - TypeScript LCOV paths resolve from the repository root; - technical scanner failures remain visible without making the Sonar Quality Gate a required merge check. ## Risk / compatibility / migration The fork analysis runs in a privileged `workflow_run` and necessarily asks the SonarScanner to parse untrusted source while it has access to a project-scoped token. The workflow limits this exposure by using GitHub-hosted runners, read-only permissions, trusted scanner configuration, an exact tested SHA, API-validated PR metadata, and no builds, dependency installation, local Actions, caches, or fork-produced coverage artifacts. This is intentionally a smaller trust boundary than the data-only snapshot and custom coverage parser proposed in #5498. It prevents direct execution of contributor code but does not eliminate potential vulnerabilities in GitHub Actions or Sonar analyzers. Automatic Analysis must remain disabled, `SONAR_TOKEN` should remain restricted to this project, and the SonarCloud check must remain non-required. |
||
|
|
b81c3b2cc4 | Merge commit from fork | ||
|
|
4383a7075c |
fix: prefer packaged add-on name for AnkiWeb installs (#5362)
## Linked issue (required) Fixes #5342 ## Summary / motivation (required) When installing an add-on from AnkiWeb, Anki currently derives the displayed name from the AnkiWeb download filename and passes it as overriding manifest metadata. This can alter names when the filename has been sanitized by AnkiWeb. This change prefers a non-empty `name` from a valid packaged `manifest.json` when available, while retaining the existing AnkiWeb-derived name as a fallback. ## Steps to reproduce (required, use N/A if not applicable) 1. Package an add-on with a `manifest.json` whose `name` contains a character that is removed from the AnkiWeb download filename, such as `&` or `𝕾`. 2. Upload the add-on to AnkiWeb and install it from there. 3. Open the Add-ons dialog and observe that the displayed name is derived from the sanitized AnkiWeb filename rather than the packaged `name`. ## How to test (required) ### Checklist (minimum) - [x] I ran `./ninja check` or an equivalent relevant check locally. - [x] I added or updated tests when the change is non-trivial or behavior changed. ### Details Added tests verifying that: - a non-empty `name` from a valid packaged manifest is preferred for AnkiWeb installs; - the existing filename-derived name remains the fallback when no usable packaged name is available. `./ninja check` passes locally. Also manually verified with a local build by installing an AnkiWeb add-on whose packaged name differed from its AnkiWeb title; the Add-ons dialog used the packaged name. ## Before / after behavior (optional) Before: AnkiWeb installs always use the filename-derived name, overriding a `name` supplied in the packaged manifest. After: A non-empty packaged `name` is preferred when available; otherwise, the existing AnkiWeb-derived name is retained. ## Risk / compatibility / migration (optional) Low. The change is limited to AnkiWeb add-on installation, and the existing fallback behavior is preserved for add-ons without a usable packaged name. ## UI evidence (required for visual changes; otherwise N/A) N/A ## Scope - [x] This PR is focused on one change (no unrelated edits). |
||
|
|
2fae55543c |
fix: preserve pasted editor images and respect their format preference (#5568)
## Linked issue (required) Fixes #5567 ## Summary / motivation (required) Pasting a base64 image in the new editor currently corrupts its bytes, and the HTML paste path can put image markup into an image's `src`. Decode base64 directly into bytes and return the saved filename from the inline-image helper. Read the clipboard PNG preference's boolean value so a disabled preference selects JPEG. Add regressions through the public clipboard APIs for plain-text and HTML data URLs and both image-format settings. Include editor route sources and tests in the Vitest build inputs so edits to these regressions reliably rerun the tests. ## Steps to reproduce (required, use N/A if not applicable) Using a disposable profile on the base revision: 1. Open the new editor and disable "Paste without shift key strips formatting" to enable extended paste. 2. Paste the base64 PNG data URL from the linked issue as plain text, then as the source of an image in clipboard HTML. Inspect the stored media bytes and inserted image source: the bytes change and the HTML source is invalid. 3. Disable "Paste clipboard images as PNG" and paste a bitmap image through the clipboard path. PNG is still selected. 4. After a successful `just test-ts`, edit only an editor route test and rerun it. The build incorrectly reuses the prior Vitest result. ## How to test - [x] `RELEASE=1 just check` passed on this focused upstream-based branch (`ee16fc015`), using Apple Silicon macOS and the repository's pinned toolchains. - [x] Added or updated regression coverage for the changed behavior. Clipboard regressions check exact decoded bytes, a local media filename in the inserted image, and both PNG/JPEG preference values. Confirmed route test edits invalidate the Vitest target. Clipboard/backend APIs are mocked; no user collection is accessed. ## Risk / compatibility / migration (optional) No database migration or new dependency. The legacy paste branch is unchanged. The build input change only causes relevant source/test edits to rerun Vitest. Complete local validation was on macOS; other platforms depend on CI. ## UI evidence (required for visual changes; otherwise N/A) N/A: no visual design changes. Regression tests inspect the inserted image markup. ## Scope - [x] This PR is focused on one change (no unrelated edits). --------- Co-authored-by: Abdo <abdo@abdnh.net> |
||
|
|
f5a0b60806 |
docs: clarify Windows x64 and ARM64 installation requirements (#5582)
## Linked issue Fixes #5336 ## Summary / motivation The Windows installation guide lists only a generic 64-bit Windows requirement, even though Anki provides separate x64 and ARM64 installers with different Windows requirements. Document both configurations and explain how to match the processor type shown in Windows Settings to the download label. ## Steps to reproduce N/A: documentation only. ## How to test - [x] `RELEASE=1 just check` passed on the focused branch on macOS Apple Silicon. - [x] No unit tests added for a documentation-only change. - Confirmed the requirements and download labels against [Anki's download page](https://apps.ankiweb.net/): Windows 10+ (x64) and Windows 11 (ARM). - Confirmed that release 26.08.1 includes separate `win-x64.msi` and `win-arm64.msi` installers. - Checked the Settings path against [Microsoft's system-type instructions](https://support.microsoft.com/en-us/windows/32-bit-and-64-bit-windows-frequently-asked-questions-c6ca9541-8dce-4d48-0415-94a3faa2e13d) and [Windows ARM64 guidance](https://www.microsoft.com/en-us/software-download/windows11arm64). - Mintlify 4.2.884: build validation and accessibility checks passed. The site-wide accessibility scan reports 32 pre-existing parse warnings on other pages; the edited Windows page is checked successfully. ## Risk / compatibility / migration Documentation only. Existing guidance for older Windows releases and 32-bit systems is retained. No installer or platform support changes. ## UI evidence N/A: documentation only. ## Scope - [x] Focused on Windows requirements and choosing the matching installer. --------- Co-authored-by: Abdo <abdo@abdnh.net> |
||
|
|
7941f546fc |
docs(fix): Revert "add redirect to english for missing translations" (#5559)
fixes #5558 We need to find a separate solution to this. |
||
|
|
93bd382884 |
fix: flaky mathjax loading test (#5560)
## Linked issue (required) Closes #5561 ## Summary / motivation (required) Importing `./index` was taking a long time which timed out several tests, and the scripts mock wasn't reset between tests. I added a dummy import beforehand to warm the cache but test timeouts might still need increasing |
||
|
|
dea2a1f93a |
feat: Docs converter (#5483)
closes #5064 Should let you quickly import to mintlify from the repos that use the existing format. a small problem that `DOCS_RELATIVE_LINK_REPLACEMENTS` needs to be set manually for links between related translations but other than that should be good. I've run it on `en/addons` `en/faqs` `en/manual` and on `ar/manual` `ar/faqs`. We might need to be careful to not overwrite any changes that have been merged in this repo if there are any. I've set it to copy only files where it can find them in the existing mintlify docs because this allows us to more easily keep the site structure. It does mean that there are some pages which aren't copied and I'm going to have to look into that at some point. But it should be good enough to look through and to import any remaining changes left in the existing repos. Example usage: ``` python tools/docs-converter.py [Source repo] [Target tab] [Target language code] ``` ``` python tools/docs-converter.py ../anki-manual manual en python tools/docs-converter.py ../anki-faqs faqs ar ``` --------- Co-authored-by: Abdo <abdo@abdnh.net> Co-authored-by: Fernando Lins <1887601+fernandolins@users.noreply.github.com> |
||
|
|
8463287b80 |
test: mathjax loading (#5533)
## Linked issue (required) Closes #5417 ### Checklist (minimum) - [x] I ran `./ninja check` or an equivalent relevant check locally. - [x] I added or updated tests when the change is non-trivial or behavior changed. ## Scope - [x] This PR is focused on one change (no unrelated edits). |
||
|
|
9753998c5b |
fix: Update to Qt 6.11.2 (#5539)
## Linked issue Closes #5538 ## Summary This updates to Qt 6.11.2 patch release for security/crash fixes. ## How to test Run `just test` and `just test-e2e`. |
||
|
|
392fdecbb3 |
docs: add unit testing guidelines (#5522)
## Linked issue Closes #5521 ## Summary / motivation Adds an Anki-focused unit testing guide for maintainers, contributors, and coding assistants. The guide: - Defines principles for focused, deterministic, and maintainable tests. - Covers happy paths, error paths, boundaries, regressions, and test-first development. - Provides guidance for Python, Python/Qt, Rust, and Svelte/TypeScript/JavaScript. - Clarifies the appropriate scope for UI tests and discourages testing styling or volatile presentation details. - Links the guide from the shared `CLAUDE.md`/`AGENTS.md` instructions. |
||
|
|
0842216571 |
fix: preserve FSRS unlock timeout across mounts (#5536)
## Linked issue (required) Fixes #5516 ## Summary / motivation (required) Make the existing FSRS parameter unlock timing API available before the parameter editor is mounted, and retain the host's chosen timeout when FSRS is disabled and enabled again. Register the API and store its timeout in the component's module script; keep click tracking local to each editor instance. ## Steps to reproduce (required, use N/A if not applicable) 1. Open the deck-options page with FSRS disabled. 2. In that page's JavaScript console, run `anki.setParameterUnlockClickTimeoutMs(1000)`. 3. Before this fix, the call throws `TypeError: anki.setParameterUnlockClickTimeoutMs is not a function`. ## How to test (required) ### Checklist (minimum) - [x] I ran `just check` locally. - [x] I added a browser regression for the changed behavior. ### Details - The regression failed on the original implementation at the pre-mount setter call and passes with the fix. - It checks configuration before the first mount, retention across remounts, updates while absent and present, the three-click gate, the default timeout, and reset after page reload. Playwright's clock controls the click intervals. - `just test-ts`: 61 tests passed. - `just test-e2e`: 27 tests passed, using the repository's disposable Anki harness. - `just check`: passed, including 572 Rust tests and the Python, formatting, lint, and type checks. - The Qt checks emitted an audio-thread warning (`mw` was `None` in `qt/aqt/sound.py`); all 93 Qt tests passed and `just check` exited successfully. ## Before / after behavior (optional) Before: the API exists only after the editor mounts, and mounting a new editor resets the timeout to 500 ms. After: the API exists when the deck-options JavaScript loads, and the selected timeout lasts for the page's lifetime. ## Risk / compatibility / migration (optional) Existing API names, the 500 ms default, and the three-click requirement are preserved. Click counts and pending timers remain local to each editor. No stored data or scheduling behavior changes. ## UI evidence (required for visual changes; otherwise N/A) N/A. ## Scope - [x] This PR is focused on one change. Developed with assistance from Codex. |
||
|
|
bfad9474d4 |
test: cover the decks service layer (#5514)
## Linked issue Closes #5383 ## Summary / motivation `rslib/src/decks/service.rs`: the Protobuf entry point for all deck operations, it had 0% test coverage. This PR adds a golden `#[cfg(test)]` suite that exercises the happy path, error paths, boundary cases, and key invariants of the `DecksService` layer and its proto↔domain conversions. No production code was changed: the module is a thin routing/conversion layer with no logic that warranted refactoring. Testing at this boundary is additive rather than duplicative: `reparent_decks`, `remove_decks_and_child_decks` and the proto↔domain conversions had no direct unit tests before. Coverage of `decks/service.rs` goes from **0% → ~99.7% of lines** ## How to test ### Details - `just check` passes (fmt, clippy, rust_test, and the rest of the suite). - Run just this module: `cargo test -p anki decks::service::tests`. - Coverage inspected with `just test-rust --coverage --html` - `decks/service.rs` reports ~99.7% line coverage. Scenarios covered: - proto↔domain conversions: full-field `Deck` round trip for both kinds, `missing kind → InvalidInput`, `FilteredDeckForUpdate` field preservation and `config: None → default`. - create/retrieve, update (common + kind-specific persistence), rename with descendant cascade, delete + card removal, reparent (incl. `new_parent == 0`). - name/tree listing: `include_filtered`, empty vs non-empty default skipping, child-name filtering, `deck_tree` counts by `now`, legacy tree JSON. - current deck, collapsed-scope isolation, legacy JSON paths (incl. `preserve_usn_and_mtime`), and filtered-deck build. - Error paths assert the specific `AnkiError` variant (`NotFound` / `InvalidInput`), not just `is_err()`. |
||
|
|
39a36fc47c |
test: Improve coverage of notes service (#5509)
## Linked issue Closes #5386 ## Summary This increases test coverage of `rslib/src/notes/service.rs` and some related modules (`rslib/src/adding.rs` and `rslib/src/notes/mod.rs`). ## How to test Run `just test-rust --coverage --html` and view coverage reports. |
||
|
|
b758186f25 |
fix: Add compatibility shims for AnkiPackageImporter/AnkiPackageExporter (#5547)
## Linked issue Closes #5541 ## Summary Add compatibility wrappers for AnkiPackageImporter/AnkiPackageExporter to redirect the calls to the new APIs. This is intended as a temporary compatibility workaround for the [AnkiConnect](https://ankiweb.net/shared/info/2055492159) add-on, not as a general wrapper for all removed APIs. ## Steps to reproduce (before) Install AnkiConnect and confirm it fails at startup due to the removed `anki.importing` and `anki.exporting` modules. ## How to test (after) Export a sample apkg and run this script in the same directory to test AnkiConnect's importPackage/exportPackage APIs. ```python import json import urllib.request from pathlib import Path def request(action, **params): return {'action': action, 'params': params, 'version': 6} def invoke(action, **params): payload = json.dumps(request(action, **params)).encode('utf-8') response = json.load(urllib.request.urlopen(urllib.request.Request('http://127.0.0.1:8765', payload))) if len(response) != 2: raise Exception('response has an unexpected number of fields') if 'error' not in response: raise Exception('response is missing required error field') if 'result' not in response: raise Exception('response is missing required result field') if response['error'] is not None: raise Exception(response['error']) return response['result'] result = invoke('importPackage', path=str(Path(__file__).parent / 'sample.apkg')) assert result is True decks = invoke('deckNamesAndIds') deck_to_export = next(name for name in decks if name != 'Default') result = invoke('exportPackage', deck=deck_to_export, path=str(Path(__file__).parent / 'exported.apkg'), includeSched=True) assert result is True ``` |
||
|
|
43482ea2ae |
feat: Set up fault handler (#5546)
## Linked issue Closes #5542 ## Summary This sets up Python's faulthandler to write tracebacks to the crash.log file in the base folder. ## How to test - Revert #5537 - Run the stress test linked in #5534 on Windows: `out/pyenv/Scripts/python.exe stress_webviews.py`. - Anki should crash after a few iterations and you should see some tracebacks in the out/stress_base/crash.log file. |
||
|
|
9f71d0e832 |
feat: Update to Briefcase 0.4.5 (#5545)
## Linked issue Closes #5369 ## Summary This updates to Briefcase 0.4.5 for some improvements: - Fix signal handling (#5369). - Pin Python support packages and stub binaries to known hashes (https://github.com/beeware/briefcase/issues/2980). - Use uv for setting up the Briefcase environment and installing dependencies (https://github.com/beeware/briefcase/issues/2231). ## Steps to reproduce (before) Confirm #5369 is fixed using the example code in the linked forum post. ## How to test (after) - Run `./ninja installer` to test the build. - Run Python tests: `just test-py`. - Test the CI build artifacts: https://github.com/ankitects/anki/actions/runs/34235392781 |
||
|
|
b484b79165 |
chore: Update browser compatibility database (#5520)
## Linked issue Closes #5361 ## Summary This bumps `eslint-plugin-compat` and the transitive dependency `browser-compat-data` for up-to-date data for the [browserslist](https://www.npmjs.com/package/browserslist) check. ## Steps to reproduce #5343 is failing with the error `DragEvent is not supported in iOS Safari 14.5-14.8 compat/compat` but this is not accurate according to [MDN](https://developer.mozilla.org/en-US/docs/Web/API/DragEvent#browser_compatibility) and [caniuse.com](https://caniuse.com/?search=DragEvent). The issue was that we're using an outdated compatibility database. The update also uncovered an unrelated compatibility issue with `crypto.randomUUID`, which we started using in the editor in #4384 - this function does not meet our minimum Chrome version set in package.json, which we cannot update yet [^1], so the fix is to revert #4384. ## How to test Run `./ninja check`. [^1]: AnkiMobile [targets iOS 15.4](https://github.com/ankitects/ankimobile/blob/75e02cac4010e7bff5c705a69a65d2397678cd77/anki.xcodeproj/project.pbxproj#L1240), which supports the API, but AnkiDroid [targets Chrome 85](https://github.com/ankidroid/Anki-Android/blob/35903b666e05c66eec1418849d34123f3d356b8a/AnkiDroid/src/main/java/com/ichi2/utils/WebViewUtils.kt#L51). |
||
|
|
a389f00409 |
fix: relax CSP for untrusted media to load its own presentation (#5525)
## Linked issue (required) Closes #4898. ## Summary / motivation (required) Untrusted media embedded via `<object>`/`<iframe>` (e.g. an SVG) is a document of its own, so unlike media shown in an `<img>`, it needs to fetch the presentation it ships with — for example a stylesheet, image, or font sitting beside it in the media folder. Our CSP previously blocked all of that. This PR relaxes `UNTRUSTED_MEDIA_CSP` in `qt/aqt/mediasrv.py` to allow `style-src`, `img-src`, `font-src`, and `media-src` from `'self'` only. None of these can execute code, and `'self'` keeps requests within the media server, so a card still can't phone home. `script-src`, `connect-src`, `object-src`, and `frame-src` remain `'none'`. Relaxing the sandbox to permit same-origin resource loads had a side effect: with site isolation enabled, Chromium puts an opaque-origin document in its own process and never delivers the hover-out event to it, leaving `:hover` stuck on for an embedded SVG once the mouse passes over it. QtWebEngine disables site isolation by default so this was latent for most users, but it's reproducible on Qt 6.11 with `QTWEBENGINE_CHROMIUM_FLAGS=--site-per-process --enable-features=IsolateSandboxedIframes`. The second commit fixes this by adding `allow-same-origin` to the `sandbox` directive, keeping the embedded document in-process. Scripting stays blocked both by the sandbox (no `allow-scripts`) and by `script-src 'none'`, so media still can't make use of the origin. Full discussion and background: https://github.com/ankitects/anki/issues/4898 ## Steps to reproduce (required, use N/A if not applicable) 1. Add a card with an SVG that references an external stylesheet/image/font in the same media folder (e.g. via `<?xml-stylesheet?>` or `<image href="...">`). 2. Display the card — before this fix, the referenced resources fail to load because the CSP blocks them. 3. With `QTWEBENGINE_CHROMIUM_FLAGS=--site-per-process --enable-features=IsolateSandboxedIframes` set and only the first commit applied, hover over the embedded SVG and move the mouse away — `:hover` styling stays stuck on. ## How to test (required) ### Checklist (minimum) - [x] I ran `./ninja check` or an equivalent relevant check locally. - [x] I added or updated tests when the change is non-trivial or behavior changed. ### Details - `qt/tests/test_mediasrv.py`: unit tests asserting the new CSP directives (`style-src`, `img-src`, `font-src`, `media-src` limited to `'self'`; `sandbox` includes `allow-same-origin`; no directive allows remote origins). - `qt/tests/qwebengine_csp_smoke.py`: manual QtWebEngine smoke test extended to load an SVG with a same-origin stylesheet/image and a script tag, and to assert the embedded document stays same-origin (`contentDocument` accessible) and that a remote stylesheet reference is never fetched. Run manually with `python qt/tests/qwebengine_csp_smoke.py`. ## Before / after behavior (optional) Before: untrusted media couldn't load co-located stylesheets/images/fonts, and (unrelated to the CSP relaxation but fixed alongside it) embedded SVGs could get stuck showing `:hover` styling under site isolation. After: untrusted media can load passive same-origin resources it ships with; scripting and remote network access remain fully blocked; embedded documents stay same-origin so hover state clears correctly. ## Risk / compatibility / migration (optional) Low risk — the CSP is still deny-by-default for scripts, remote origins, and network connections. Only same-origin passive resource loading is newly permitted. ## UI evidence (required for visual changes; otherwise N/A) N/A ## Scope - [x] This PR is focused on one change (no unrelated edits). --------- Co-authored-by: Abdo <abdo@abdnh.net> |
||
|
|
445b835e36 |
Fix webview crash in unhook() by using weak references (#5537)
## Linked issue Closes #5534 ## Summary #5255 attached AnkiWebView's destroyed signal to a closure, which apparently made it possible for Python's garbage collector (which Anki triggers manually via a timer) to clean up the closure before the destroyed signal is emitted, then Qt tries to call the destroyed closure and causes a crash. The solution here is to avoid using the destroyed signal and instead clean up hooks on the next call when the webview is destroyed. Same as #5234 but with the difference that the callbacks are wrapped in weak references so they don't prevent the webview from being garbage collected. ## Steps to reproduce (before) Run the stress_webviews.py script attached to the issue. I could reproduce the crash after two iterations. ## How to test (after) Run the stress test and confirm it completes all iterations without crashes. |
||
|
|
5edc31694f |
fix: rename markdown deck description label (#5489)
## Linked issue Fixes #5481 ## Summary / motivation The deck description checkbox is currently labelled "Anki 2.1.41+ handling". The version reference is long outdated — 2.1.41 came out more than five years ago, so the label just looks confusing to users. This renames it to plain "Markdown", which actually describes what the option does. I also dropped the matching hint line about "Markdown will appear as text on Anki 2.1.40 and below", since the whole point of the old label was to warn about that version, and it's no longer relevant. ## Steps to reproduce N/A ## How to test 1. Open a deck's options. 2. Open the description editor via the Description button. 3. Confirm the checkbox is labelled "Markdown" and the tooltip no longer mentions 2.1.40. ### Checklist - [ ] I ran `./ninja check` or an equivalent relevant check locally. (String-only change; verified by inspecting the generated UI strings and existing tests still passing.) - [ ] I added or updated tests when the change is non-trivial or behavior changed. (String rename, no test changes needed.) ## Before / after behavior Before: checkbox labelled "Anki 2.1.41+ handling", tooltip mentions Anki 2.1.40. After: checkbox labelled "Markdown", tooltip only explains markdown/HTML handling. ## Risk / compatibility / migration N/A — UI string only. ## UI evidence String-only change. UI is verified by the string descriptions above; happy to add a screenshot if preferred. ## Scope - [x] This PR is focused on one change (no unrelated edits). |
||
|
|
20c475f110 |
chore(deps): bump browserslist from 4.24.2 to 4.28.8 (#5508)
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.24.2 to 4.28.8. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/browserslist/browserslist/releases">browserslist's releases</a>.</em></p> <blockquote> <h2>4.28.8</h2> <ul> <li>Fixed <code>including kaios</code> in baseline queries (by <a href="https://github.com/Jaybhade"><code>@Jaybhade</code></a>).</li> </ul> <h2>4.28.7</h2> <ul> <li>Improved parsing performance.</li> <li>Fixed unbounded memory growth (by <a href="https://github.com/alanturing881"><code>@alanturing881</code></a>).</li> <li>Fixed prototype write issue (by <a href="https://github.com/alanturing881"><code>@alanturing881</code></a>).</li> </ul> <h2>4.28.6</h2> <ul> <li>Fixed Electron version queries (by <a href="https://github.com/spokodev"><code>@spokodev</code></a>).</li> </ul> <h2>4.28.5</h2> <ul> <li>Fixed <code>></code> and <code>>=</code> queries (by <a href="https://github.com/spokodev"><code>@spokodev</code></a>).</li> </ul> <h2>4.28.4</h2> <ul> <li>Fixed <code>SyntaxError</code> regression of 4.28.3.</li> </ul> <h2>4.28.3</h2> <ul> <li>Fixed baseline query case-insensitivity (by <a href="https://github.com/swwind"><code>@swwind</code></a>).</li> </ul> <h2>4.28.2</h2> <ul> <li>Fix prototype pollution (by <a href="https://github.com/chluo1997"><code>@chluo1997</code></a>).</li> </ul> <h2>4.28.1</h2> <ul> <li>Removed Baseline warning since we have it own warning.</li> </ul> <h2>4.27.0</h2> <ul> <li>Added <code>BROWSERSLIST_TRACE_WARNING</code> environment variable.</li> </ul> <h2>4.26.3</h2> <ul> <li>Fixed <code>throwOnMissing</code> with <code>extends</code> query (by <a href="https://github.com/alexander-akait"><code>@alexander-akait</code></a>).</li> </ul> <h2>4.26.2</h2> <ul> <li>Fixed <code>baseline-browser-mapping</code> version requirement.</li> </ul> <h2>4.26.1</h2> <ul> <li>Updated Firefox ESR.</li> </ul> <h2>4.26.0</h2> <ul> <li>Added Baseline queries (by <a href="https://github.com/tonypconway"><code>@tonypconway</code></a>).</li> </ul> <h2>4.25.4</h2> <ul> <li>Fixed Windows support for custom stats (by <a href="https://github.com/torgeilo"><code>@torgeilo</code></a>).</li> </ul> <h2>4.25.3</h2> <ul> <li>Fixed ReDoS (by <a href="https://github.com/ericcornelissen"><code>@ericcornelissen</code></a>).</li> </ul> <h2>4.25.2</h2> <ul> <li>Fixed Node.js <code>--permission</code> support (by <a href="https://github.com/broofa"><code>@broofa</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/browserslist/browserslist/blob/main/CHANGELOG.md">browserslist's changelog</a>.</em></p> <blockquote> <h2>4.28.8</h2> <ul> <li>Fixed <code>including kaios</code> in baseline queries (by <a href="https://github.com/Jaybhade"><code>@Jaybhade</code></a>).</li> </ul> <h2>4.28.7</h2> <ul> <li>Improved parsing performance.</li> <li>Fixed unbounded memory growth (by <a href="https://github.com/alanturing881"><code>@alanturing881</code></a>).</li> <li>Fixed prototype write issue (by <a href="https://github.com/alanturing881"><code>@alanturing881</code></a>).</li> </ul> <h2>4.28.6</h2> <ul> <li>Fixed Electron version queries (by <a href="https://github.com/spokodev"><code>@spokodev</code></a>).</li> </ul> <h2>4.28.5</h2> <ul> <li>Fixed <code>></code> and <code>>=</code> queries (by <a href="https://github.com/spokodev"><code>@spokodev</code></a>).</li> </ul> <h2>4.28.4</h2> <ul> <li>Fixed <code>SyntaxError</code> regression of 4.28.3.</li> </ul> <h2>4.28.3</h2> <ul> <li>Fixed baseline query case-insensitivity (by <a href="https://github.com/swwind"><code>@swwind</code></a>).</li> </ul> <h2>4.28.2</h2> <ul> <li>Fix prototype pollution (by <a href="https://github.com/chluo1997"><code>@chluo1997</code></a>).</li> </ul> <h2>4.28.1</h2> <ul> <li>Removed Baseline warning since we have it own warning.</li> </ul> <h2>4.48.0</h2> <ul> <li>Added <code>firefox >= esr</code> query support (by <a href="https://github.com/SethFalco"><code>@SethFalco</code></a>).</li> <li>Fixed docs (by <a href="https://github.com/SethFalco"><code>@SethFalco</code></a>).</li> </ul> <h2>4.27.0</h2> <ul> <li>Added <code>BROWSERSLIST_TRACE_WARNING</code> environment variable.</li> </ul> <h2>4.26.3</h2> <ul> <li>Fixed <code>throwOnMissing</code> with <code>extends</code> query (by <a href="https://github.com/alexander-akait"><code>@alexander-akait</code></a>).</li> </ul> <h2>4.26.2</h2> <ul> <li>Fixed <code>baseline-browser-mapping</code> version requirement.</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/browserslist/browserslist/commit/f2f2e6cfb01bb4942941d328737546f4e2ae41ad"><code>f2f2e6c</code></a> Release 4.28.8 version</li> <li><a href="https://github.com/browserslist/browserslist/commit/d0787c88fa29ba895fea51cfe921232c7b5d1377"><code>d0787c8</code></a> Update dependencies</li> <li><a href="https://github.com/browserslist/browserslist/commit/fcf8fa9857b30ccdf801a548f5d09d3c4ff0d43f"><code>fcf8fa9</code></a> Merge pull request <a href="https://redirect.github.com/browserslist/browserslist/issues/939">#939</a> from Jaybhade/fix/baseline-kaios-without-downstream</li> <li><a href="https://github.com/browserslist/browserslist/commit/57ecd64454e9252afdd6a7e76926e13dda48a38c"><code>57ecd64</code></a> fix: support "including kaios" without downstream</li> <li><a href="https://github.com/browserslist/browserslist/commit/093a0f67bb0becda55235d767b134df3197c54a1"><code>093a0f6</code></a> Update EM banner</li> <li><a href="https://github.com/browserslist/browserslist/commit/b637868045806d2fba4c24eb0060e4cc8b1db276"><code>b637868</code></a> Release 4.28.7 version</li> <li><a href="https://github.com/browserslist/browserslist/commit/313f4659b9f985ade89d1d6a54a860371c41cc46"><code>313f465</code></a> Update dependencies</li> <li><a href="https://github.com/browserslist/browserslist/commit/c935c5a206f8b13db8846818bc03643e147dcbdf"><code>c935c5a</code></a> Fix regexp performance</li> <li><a href="https://github.com/browserslist/browserslist/commit/d7e9e653cb53399065943f59f0b3063987b0a008"><code>d7e9e65</code></a> Rewrite structure parsing to make it always fast</li> <li><a href="https://github.com/browserslist/browserslist/commit/ec4a55efd76bdfa506ec7ce4fea1691559e9ca8f"><code>ec4a55e</code></a> Fix import order</li> <li>Additional commits viewable in <a href="https://github.com/browserslist/browserslist/compare/4.24.2...4.28.8">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~GitHub%20Actions">GitHub Actions</a>, a new releaser for browserslist since your current version.</p> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/ankitects/anki/network/alerts). </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
9e32ad8849 |
fix: refresh reviewer toolbar background after theme changes (#5241)
## Linked issue (required) Fixes #5240 ## Summary / motivation (required) During review, the top toolbar copies the main reviewer webview's computed background so that the card background continues behind the toolbar. When the theme changes, the webviews update their theme classes, but the toolbar's copied inline `background` remains unchanged. This leaves the top of the reviewer using the previous theme's background. This PR clears the stale inline background when the theme changes and schedules it to be copied again after the webviews have queued their theme-class updates. The additional behavior is limited to the review screen. Tests cover refreshing the background during review and ensuring that the background-copying behavior is not triggered on other screens. This is narrower than the general live-theme issue addressed by #1471 and #1497. The reviewer toolbar's computed-background behavior was introduced later as part of #2262. ## Steps to reproduce (required, use N/A if not applicable) 1. Start Anki and open **Preferences**. 2. Set **Theme** to **Light**. 3. Ensure **Minimalist mode** and **Hide top bar during review** are disabled. 4. Close Preferences and start reviewing a deck. 5. While the question side of a card is displayed, reopen Preferences. 6. Change **Theme** from **Light** to **Dark**. 7. Close Preferences without showing the answer or moving to another card. 8. Observe that the reviewer changes to the dark theme, but the background behind the top toolbar remains light. The issue can also be reproduced in the opposite direction, and when Anki follows the system theme while the operating system changes between light and dark appearance. ## How to test (required) ### Checklist (minimum) - [x] I ran `just check` locally. - [x] I added or updated tests when the change is non-trivial or behavior changed. ### Details Automated testing: - `just fmt` - `just test-py` - `just check` Manual testing: 1. Launched the fixed build with `just run`. 2. Repeated the reproduction steps above. 3. Confirmed that the top toolbar background immediately matches the rest of the reviewer after switching from light to dark. 4. Repeated the test from dark to light. 5. Confirmed that changing themes outside the reviewer continues to behave as before. ## Before / after behavior (optional) Before: the reviewer updates to the new theme, but the background behind the top toolbar retains the previous theme's color. After: the top toolbar background is recalculated after the theme changes and matches the rest of the reviewer. ## Risk / compatibility / migration (optional) Low risk. The change only adds theme-change handling to `TopWebView` while Anki is in the review state. It calls the existing base theme-change handler and reuses the existing background-copying method. ## UI evidence (required for visual changes; otherwise N/A) ### Light to dark **Before** <img width="400" alt="image" src="https://github.com/user-attachments/assets/a04bb77b-5a34-459e-896c-d00a66601b83" /> **After** <img width="400" alt="Screenshot 2026-07-30 at 13 52 49" src="https://github.com/user-attachments/assets/481871b5-a4bb-43bc-8cbc-8400c447fae3" /> ### Dark to light **Before** <img width="400" alt="image" src="https://github.com/user-attachments/assets/9a94f926-f4fc-440c-8f63-7a94feae9e71" /> **After** <img width="400" alt="Screenshot 2026-07-30 at 13 52 39" src="https://github.com/user-attachments/assets/c48a32d3-da0c-4593-b751-cdcd8a0487f6" /> ## Scope - [x] This PR is focused on one change (no unrelated edits). |
||
|
|
b9d69a0abd |
bump fsrs to 6.6.2 (#5494)
closes #5495 |
||
|
|
9f2e75d215 |
Fix: Change deck modifies all cards in deck (#5500)
fixes #5414 The DeckIdsWithoutChildren search is not surrounded by parentheses. https://github.com/ankitects/anki/blob/d80273ea71d4e9a3cab91b5a2e5906366809e3ea/rslib/src/search/sqlwriter.rs#L127-L129 Maybe it would be best to surround all these searches with parentheses to be safe? |
||
|
|
0218af9bef |
Hide FSRS-only sort orders in filtered deck dialog when FSRS is disabled (#5407)
Fixes #5397. Selecting ascending/descending retrievability (or relative overdueness) for a filtered deck while FSRS is disabled raises a `SQLITE` error, because `build_retrievability_query()` returns an empty order fragment without FSRS (`order by , fnvhash(...)`), and the overdueness expression reads FSRS memory state regardless. As suggested in the issue by Luc, this hides those three orders in the filtered deck dialog when FSRS is off, the same way deck options already handles review order. The combo box rows are mapped through the list of actually offered orders instead of assuming row == enum value, so stored configs stay valid. If a stored config references one of the hidden orders (e.g. FSRS was turned off after it was built), the dialog falls back to Random rather than showing a broken selection. I checked that the mapping round-trips correctly with FSRS on and off, including the fallback path. |
||
|
|
d83596149c |
fix: add cache-bust to load_sveltekit_page for stats (#5486)
## Linked issue (required) Closes #5485 ## Summary / motivation (required) Reproduced, bisected to https://github.com/ankitects/anki/commit/5a9b54e9380c66e26391f0827867d2a728107836. I think qt 6.10 introduced (stronger?) caching for the webengine, which this pr accounts for by cache-busting. Doesn't look like we use `load_sveltekit_page` for refreshing/reloading anywhere else other than for stats ## Steps to reproduce (required, use N/A if not applicable) See linked issue ## How to test (required) Try the stats' page's deck selector button and see that it works now ### Checklist (minimum) - [x] I ran `./ninja check` or an equivalent relevant check locally. - [ ] I added or updated tests when the change is non-trivial or behavior changed. ## Scope - [x] This PR is focused on one change (no unrelated edits). |
||
|
|
4214dc5ee0 |
fix(ci): correct paginate mapFn in prune-coverage-cache workflow (#5504)
## Linked issue Fixes #5501 ## Summary / motivation `github.paginate` hoists the `actions_caches` array directly onto `response.data` for `getActionsCacheList`, so the `mapFn` returning `response.data.actions_caches` yielded `undefined`. That produced `[undefined]`, bypassing the `length === 0` guard and crashing on `keep.key` (`TypeError: Cannot read properties of undefined`). Fixed by returning `response.data`. ## Steps to reproduce 1. A `CI` run completes on `main` and triggers the prune workflow. 2. The `prune` job fails with `TypeError: Cannot read properties of undefined (reading 'key')`. ## How to test ### Details Reproduced against the real API with the same octokit `paginate`: old mapFn → `[undefined]` → crash; new mapFn → real caches array → works. The `workflow_run` trigger only fires on `main`, so it can't be exercised from a branch/PR. |
||
|
|
5a58c8516f |
feat: improved error message for CSV import (#5484)
<!-- Title (for the Pull Request title field at the top): Use a short prefix so the change type is obvious. You do not need to repeat it in the body below. Examples: - fix: — bugfix - feat: — feature - refactor: — internal change without user-facing feature - docs: — documentation only - chore: — tooling, CI, deps, build housekeeping - test: — tests only --> ## Linked issue (required) <!-- Fixes #123 / Closes #123 --> Fixes #4346 ## Summary / motivation (required) <!-- What this PR does and why. For larger changes, add enough context for reviewers. --> Improves the CSV import error experience for empty or invalid CSV files. Previously, the import error page exposed an HTTP status code and did not provide a clear way for the user to dismiss the error and return to the main Anki window. Changes: - displays the import error without exposing the HTTP status code - adds an "Okay" button to dismiss the error - use Anki frontend RPC architecture to close the active import dialog - handles CSV import loader errors with a try/catch and displays them through the shared ErrorPage component The solution uses the existing `ImportDialog.reject()` path so the dialog box performs normal clean up before closing. This implementation was inspired by the previous discussion and earlier work in #4383. Thank you @medProgAyat and @josod827. Your discussion and implementations were a great assest to helping me solve and implement a solution. ## Steps to reproduce (required, use N/A if not applicable) <!-- Steps to reproduce: how to trigger the bug in the broken state (the "before"). - Mainly for bugfixes; - For bugs: numbered steps before the fix. For non-bugs: write N/A. - use N/A for features, refactors, docs, chore, etc. --> 1. open Anki and click on import button 2. select a empty csv 3. error page should open ## How to test (required) <!--- How to test: how you verified the change (checks, unit tests, manual steps, edge cases — the "after" or general validation). ---> ### Checklist (minimum) - [ x] I ran `./ninja check` or an equivalent relevant check locally. - [ ] I added or updated tests when the change is non-trivial or behavior changed. ### Details <!-- Commands, manual steps, edge cases, and what you observed --> Manual testing: 1. Imported an empty CSV file. 2. Confirmed the custom error page is displayed. 3. Confirmed the HTTP status code is not displayed to the user. 4. Confirmed clicking the "Okay" button closes the import dialog and returns to the main Anki window. 5. Imported a valid CSV file and confirmed the normal CSV import flow still works. ## Before / after behavior (optional) <!-- For bugfixes: behavior before vs after. For other types: N/A or a short note. --> Before: - Empty CSV imports display an error without a clear dismissal action. - Development error output may include the HTTP status code. After: - The error is displayed through the shared error UI. - The user can click "Okay" to close the import dialog. - The close action is handled through a frontend RPC. ## Risk / compatibility / migration (optional) <!-- Breaking changes, rollout notes, or N/A for small / low-risk PRs --> Low risk. The change is limited to CSV import error handling and the import dialog close path. ## UI evidence (required for visual changes; otherwise N/A) <!-- Screenshot or short video --> before: <img width="800" height="800" alt="image" src="https://github.com/user-attachments/assets/4fe77689-3ebd-4a98-9bd9-4916214bbb29" /> after: <img width="788" height="818" alt="image" src="https://github.com/user-attachments/assets/8451f465-894a-4f52-a11b-459fc6840326" /> ## Scope - [x ] This PR is focused on one change (no unrelated edits). |
||
|
|
ce26e216f1 |
fix: only attach handler to add-on's root logger (#5497)
<!-- Title (for the Pull Request title field at the top): Use a short prefix so the change type is obvious. You do not need to repeat it in the body below. Examples: - fix: — bugfix - feat: — feature - refactor: — internal change without user-facing feature - docs: — documentation only - chore: — tooling, CI, deps, build housekeeping - test: — tests only --> ## Linked issue (required) Fixes #5487. ## Summary / motivation (required) <!-- What this PR does and why. For larger changes, add enough context for reviewers. --> When deriving a child logger from an add-on logger, both of them got `TimedRotatingFileHandler` attached to the loggers handler. This makes log messages duplicated in log file and cause `PermissionError: [WinError 32]` when rotating log files on Windows. To solve this issue, the new `get_logger` only attaches `TimedRotatingFileHandler` to the add-on logger (`addon.name`), not the child one (`addon.name.child`). Besides, when a child logger is created with `logging.getLogger("addon.name.child")`, the add-on logger (`addon.name`) is created if not existed. The add-on logger becomes the one and only logger that has `TimedRotatingFileHandler` handler down the hierarchy from itself. I also fixes a minor bug of `module` variable. In the previous implementation, the `module` only contained part of the module name if the name contained `addon.`. I use `removeprefix` to solve it. ## Steps to reproduce (required, use N/A if not applicable) <!-- Steps to reproduce: how to trigger the bug in the broken state (the "before"). - Mainly for bugfixes; - For bugs: numbered steps before the fix. For non-bugs: write N/A. - use N/A for features, refactors, docs, chore, etc. --> `Anki2/addons21/test_logger/__init__.py`: ```python from aqt.addons import AddonManager logger = AddonManager.get_logger(__name__) child_logger = logger.getChild("child") child_logger.info("This info messages is duplicated in log file.") ``` When the log file is rotated on Windows, it raises `PermissionError: [WinError 32]`. Please check #5487 for detailed bug report. ## How to test (required) <!--- How to test: how you verified the change (checks, unit tests, manual steps, edge cases — the "after" or general validation). ---> ### Checklist (minimum) - [x] I ran `./ninja check` or an equivalent relevant check locally. - [x] I added or updated tests when the change is non-trivial or behavior changed. ### Details <!-- Commands, manual steps, edge cases, and what you observed --> Just create a test add-on to check this behavior as the "Steps to reproduce" above. ## Before / after behavior (optional) <!-- For bugfixes: behavior before vs after. For other types: N/A or a short note. --> ### Before 1. When deriving a child logger from an add-on logger, both of them got `TimedRotatingFileHandler` attached to the loggers handler. The log messages duplicated in log file and cause `PermissionError: [WinError 32]` when rotating log files on Windows. 2. If the logger name contains `addon.`, characters after `addon.` are stripped. ### After 1. When an add-on logger is created no matter it is an add-on logger (`addon.name`) or a child logger (`addon.name.child`), the add-on logger is created with `TimedRotatingFileHandler` handler, and the child logger is created as a normal logger. ## UI evidence (required for visual changes; otherwise N/A) N/A ## Scope - [x] This PR is focused on one change (no unrelated edits). |
||
|
|
4aa9c08369 |
fix(ci): prevent silent skip of PR coverage-regression check on evicted baseline (#5480)
## Linked issue Fixes #5418 ## Summary / motivation Every push to `main` creates a new `coverage-baseline-linux-<sha>` cache entry. Without a pruning step, these entries accumulate until GitHub's LRU eviction removes old ones. When the baseline a PR needs has been evicted, `check-coverage-regression.py` silently skips the check instead of failing, which could mask genuine coverage regressions. Two changes together close the gap: 1. **`prune-coverage-cache.yml`**: a new workflow triggered by `workflow_run` on every successful CI run on `main`. It keeps exactly one `coverage-baseline-linux-*` cache (the one just created) and deletes all older entries via the GitHub Actions API. With a single, always-fresh entry, eviction becomes practically impossible. 2. **`check-coverage-regression.py`**: turns the silent "no baseline — skipping" path into an explicit failure (`exit 2`). If somehow a baseline is still absent, the check now surfaces the problem visibly instead of passing silently. ## Steps to reproduce 1. Allow several pushes to `main` to accumulate `coverage-baseline-linux-*` cache entries until GitHub evicts the most recent one. 2. Open a PR: `check-coverage-regression.py` prints `no baseline — skipping` and exits 0, even if coverage dropped. ## How to test ### Details - After merging, verify via **Actions → Prune coverage baseline caches** that the job runs after a `CI` completion on `main` and leaves exactly one `coverage-baseline-linux-*` entry (`gh cache list -R ankitects/anki --key coverage-baseline-linux-`). - Confirm that a PR with a missing baseline now receives exit code 2 (visible failure) instead of exit code 0. ## Before / after behavior **Before:** evicted baseline → `check-coverage-regression.py` skips silently, coverage regressions go undetected. **After:** only one baseline exists at a time (no eviction risk); if it is somehow absent, the script exits with code 2 and the CI step fails visibly. |
||
|
|
af3bd9d052 |
test: Improve test coverage of notes.py and tags.py (#5412)
## Linked issue Closes #5388 ## Summary This adds tests for notes.py and tags.py, increasing test coverage above the target 80%. ## How to test Run `just test-py --coverage --html` and inspect the coverage report. |
||
|
|
c03a747a19 |
chore(deps): bump brace-expansion from 1.1.16 to 1.1.18 (#5479)
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 1.1.16 to 1.1.18. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/juliangruber/brace-expansion/commit/758fcd6d188a95c2342818519c77b8c06794552b"><code>758fcd6</code></a> 1.1.18</li> <li><a href="https://github.com/juliangruber/brace-expansion/commit/27fbeed22b4fdf2c5f732f66bcf84d43f4a26c6e"><code>27fbeed</code></a> Merge commit from fork</li> <li><a href="https://github.com/juliangruber/brace-expansion/commit/5c57cc2519dfb067e188b7cb0733fffbd02946bf"><code>5c57cc2</code></a> 1.1.17</li> <li><a href="https://github.com/juliangruber/brace-expansion/commit/d757f1dde7808bcbcd7a4628ab913e5185ed3d57"><code>d757f1d</code></a> npm ignore <code>.claude</code></li> <li><a href="https://github.com/juliangruber/brace-expansion/commit/cb4b9e47cc2ec777c14b2b4492fb431a56f6a031"><code>cb4b9e4</code></a> fix: backport GHSA-mh99-v99m-4gvg (<a href="https://redirect.github.com/juliangruber/brace-expansion/issues/129">#129</a>)</li> <li>See full diff in <a href="https://github.com/juliangruber/brace-expansion/compare/v1.1.16...v1.1.18">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/ankitects/anki/network/alerts). </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
38f3603d1f |
fix: avoid re-loading mathjax (#5416)
## Linked issue (required) Closes: #5415 ## Summary / motivation (required) The template editor and previewer were still eagerly loading mathjax, which lazy loading didnt account for, which this pr fixes ## Steps to reproduce (required, use N/A if not applicable) See linked issue ## How to test (required) Card content for cards with and without mathjax are visible in the template editor and previewer again ### Checklist (minimum) - [x] I ran `./ninja check` or an equivalent relevant check locally. - [ ] I added or updated tests when the change is non-trivial or behavior changed. ## Scope - [x] This PR is focused on one change (no unrelated edits). |
||
|
|
7412627f90 |
fix: explicitly specify qmenu arrow width (#5475)
## Linked issue (required) Closes: #5420 ## Summary / motivation (required) I looked at 6.11.1's changelog and think its due to [QTBUG-144914's fix](https://github.com/qt/qtbase/commit/00675242b764f5db40c67cf5b8aa2cc2b0a244c1). Providing a size ([width](https://github.com/qt/qtbase/blob/7df32447746e6482312c4c777e7c174d0d4b603a/src/widgets/styles/qstylesheetstyle.cpp#L2333) in this case) gets us back to expected behaviour It's also possible to increase `QMenu::item`'s right padding instead to account for the arrow, but then it isn't vertically aligned anymore. Not sure if this is intended or a bug (not fixed by 6.11.2) ## Steps to reproduce (required, use N/A if not applicable) See linked issue ## How to test (required) See linked issue ### Checklist (minimum) - [x] I ran `./ninja check` or an equivalent relevant check locally. - [ ] I added or updated tests when the change is non-trivial or behavior changed. ## Scope - [x] This PR is focused on one change (no unrelated edits). |
||
|
|
709689209b |
fix: constant font size for simulator graph (#5099)
<!-- Title (for the Pull Request title field at the top): Use a short prefix so the change type is obvious. You do not need to repeat it in the body below. Examples: - fix: — bugfix - feat: — feature - refactor: — internal change without user-facing feature - docs: — documentation only - chore: — tooling, CI, deps, build housekeeping - test: — tests only --> ## Linked issue (required) <!-- Fixes #123 / Closes #123 / Refs #123 --> closes #4168 ## Summary / motivation (required) This PR makes it so that the font size of the text in the simulator graph is consistent no matter how large the graph is. ## How to test (required) Resize the graph in the simulator modals and the font size should remain consistent ### Checklist (minimum) - [X] I ran `./ninja check` or an equivalent relevant check locally. - [ ] I added or updated tests when the change is non-trivial or behavior changed. ### Details <!-- Commands, manual steps, edge cases, and what you observed --> ## Before / after behavior (optional) <!-- For bugfixes: behavior before vs after. For other types: N/A or a short note. --> ## Risk / compatibility / migration (optional) <!-- Breaking changes, rollout notes, or N/A for small / low-risk PRs --> ## UI evidence (required for visual changes; otherwise N/A) <!-- Screenshot or short video --> Before: [Screencast_20260703_204727.webm](https://github.com/user-attachments/assets/fe918dfb-18f1-4102-bc15-2ea48ad56b97) After: [Screencast_20260703_204516.webm](https://github.com/user-attachments/assets/c8a8db4c-6d3c-4868-b1a4-a03d81b91036) ## Scope - [X] This PR is focused on one change (no unrelated edits). --------- Co-authored-by: Lee Doughty <32392044+leedoughty@users.noreply.github.com> |
||
|
|
608fa0b19c |
Fix: Ignore cards reviewed before settable to future values (#5294)
closes #5284 > (self quote) As I see it. I can't think of a use for setting the ignore_reviews_before value in the future. It also seems to result in undefined behaviour so I think we should prevent it from being set like that. --------- Co-authored-by: Fernando Lins <1887601+fernandolins@users.noreply.github.com> |
||
|
|
657ff481a3 |
chore: Avoid setting default isLegacy in the editor (#5403)
https://github.com/ankitects/anki/pull/5330#discussion_r3851488284 |
||
|
|
a7f3ffb63a |
PoC: evaluate SonarCloud as a code quality and coverage tool (#4996)
## Linked issue Closes #4995 ## Summary / motivation Bedges available: [](https://sonarcloud.io/summary/new_code?id=ankitects_anki) [](https://sonarcloud.io/summary/new_code?id=ankitects_anki) [](https://sonarcloud.io/summary/new_code?id=ankitects_anki) [](https://sonarcloud.io/summary/new_code?id=ankitects_anki) [](https://sonarcloud.io/summary/new_code?id=ankitects_anki) [](https://sonarcloud.io/summary/new_code?id=ankitects_anki) [](https://sonarcloud.io/summary/new_code?id=ankitects_anki) **[SONAR DASHBOARD](https://sonarcloud.io/project/overview?id=ankitects_anki)** Integrates SonarCloud into the CI pipeline as a proof of concept to evaluate whether it surfaces actionable quality and security insights for this codebase. Changes: - Added `sonar-project.properties` configuring sources (`pylib`, `qt`, `ts`, `rslib`) and coverage report paths - Extended `tools/coverage/coverage-py` (and `.bat`) to emit `coverage.xml` (Cobertura) - Extended `tools/coverage/coverage-ts` (and `.bat`) to emit `lcov.info` via the V8 provider - Extended `tools/coverage/coverage-rust` (and `.bat`) to emit `lcov.info` via `cargo-llvm-cov report` - Added a `SonarCloud Scan` step to the `check-linux` CI job, running after all checks pass and before the build cache is saved ## How to test ### Details **1. Install sonar-scanner** ```bash brew install sonar-scanner ``` **2. Generate and configure a token** Go to [sonarcloud.io](https://sonarcloud.io/) → My Account → Security → Generate Token Copy the generated token and export it in your shell: ``` export SONAR_TOKEN=your_token_here ``` **3. Generate coverage reports** ``` just test --coverage ``` Expected output files: - out/coverage/python-pylib/coverage.xml - out/coverage/python-qt/coverage.xml - out/coverage/typescript/lcov.info - out/coverage/rust/lcov.info **4. Run the scanner manually** ``` sonar-scanner ``` Results will appear in the SonarCloud dashboard To test coverage generation locally: ```bash just coverage # verify files exist: # out/coverage/python-pylib/coverage.xml # out/coverage/python-qt/coverage.xml # out/coverage/typescript/lcov.info # out/coverage/rust/lcov.info ``` |
||
|
|
2bf602d575 |
chore(deps): bump the npm-minor-patch group across 1 directory with 13 updates (#5309)
Bumps the npm-minor-patch group with 13 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@floating-ui/dom](https://github.com/floating-ui/floating-ui/tree/HEAD/packages/dom) | `1.7.6` | `1.8.0` | | [@playwright/test](https://github.com/microsoft/playwright) | `1.60.0` | `1.62.1` | | [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) | `2.60.1` | `2.70.3` | | [@types/bootstrap](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/bootstrap) | `5.2.10` | `5.2.11` | | [caniuse-lite](https://github.com/browserslist/caniuse-lite) | `1.0.30001799` | `1.0.30001809` | | [dprint](https://github.com/dprint/dprint) | `0.54.0` | `0.56.0` | | [esbuild](https://github.com/evanw/esbuild) | `0.28.1` | `0.28.2` | | [prettier](https://github.com/prettier/prettier) | `3.8.3` | `3.9.6` | | [sass](https://github.com/sass/dart-sass) | `1.99.0` | `1.102.0` | | [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) | `5.55.7` | `5.56.9` | | [svelte-check](https://github.com/sveltejs/language-tools) | `4.4.8` | `4.7.6` | | [svelte-preprocess](https://github.com/sveltejs/svelte-preprocess) | `6.0.3` | `6.0.5` | | [tsx](https://github.com/privatenumber/tsx) | `4.22.0` | `4.23.12` | Updates `@floating-ui/dom` from 1.7.6 to 1.8.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/floating-ui/floating-ui/releases">@floating-ui/dom's releases</a>.</em></p> <blockquote> <h2><code>@floating-ui/dom</code><a href="https://github.com/1"><code>@1</code></a>.8.0</h2> <h3>Minor Changes</h3> <ul> <li>feat: add <code>'layoutViewport'</code> string option to <code>rootBoundary</code>. Unlike the visual <code>'viewport'</code> boundary, it remains stable while pinch-zooming or when a mobile software keyboard is open, and unlike a manually passed <code>Rect</code> of the documentElement's client size, it accounts for space reserved by <code>scrollbar-gutter: stable</code>.</li> </ul> <h3>Patch Changes</h3> <ul> <li>fix: remove redundant passive options from scroll listeners</li> <li>fix: support explicit <code>undefined</code> for optional properties with <code>exactOptionalPropertyTypes</code></li> <li>fix(autoUpdate): update immediately instead of waiting for the 1s <code>layoutShift</code> refresh throttle when the reference moved during an observer refresh</li> <li>fix(getClippingRect): correct clipping-ancestor filtering for fixed-position elements</li> <li>perf(dom): reduce bundle size and skip redundant per-call work in positioning utilities</li> <li>fix(getViewportRect): account for <code>scrollbar-gutter: stable both-edges</code> reserved space</li> <li>fix(getViewportRect): don't overflow past a left-side document scrollbar</li> <li>fix(platform): don't throw in <code>getClientRects</code> when a virtual element without a <code>getClientRects</code> method is used with the <code>inline()</code> middleware</li> <li>fix(autoUpdate): refresh layout shift observer on root resize</li> <li>Update dependencies: <code>@floating-ui/core@1.8.0</code>, <code>@floating-ui/utils@0.2.12</code></li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/floating-ui/floating-ui/blob/master/packages/dom/CHANGELOG.md">@floating-ui/dom's changelog</a>.</em></p> <blockquote> <h2>1.8.0</h2> <h3>Minor Changes</h3> <ul> <li>feat: add <code>'layoutViewport'</code> string option to <code>rootBoundary</code>. Unlike the visual <code>'viewport'</code> boundary, it remains stable while pinch-zooming or when a mobile software keyboard is open, and unlike a manually passed <code>Rect</code> of the documentElement's client size, it accounts for space reserved by <code>scrollbar-gutter: stable</code>.</li> </ul> <h3>Patch Changes</h3> <ul> <li>fix: remove redundant passive options from scroll listeners</li> <li>fix: support explicit <code>undefined</code> for optional properties with <code>exactOptionalPropertyTypes</code></li> <li>fix(autoUpdate): update immediately instead of waiting for the 1s <code>layoutShift</code> refresh throttle when the reference moved during an observer refresh</li> <li>fix(getClippingRect): correct clipping-ancestor filtering for fixed-position elements</li> <li>perf(dom): reduce bundle size and skip redundant per-call work in positioning utilities</li> <li>fix(getViewportRect): account for <code>scrollbar-gutter: stable both-edges</code> reserved space</li> <li>fix(getViewportRect): don't overflow past a left-side document scrollbar</li> <li>fix(platform): don't throw in <code>getClientRects</code> when a virtual element without a <code>getClientRects</code> method is used with the <code>inline()</code> middleware</li> <li>fix(autoUpdate): refresh layout shift observer on root resize</li> <li>Update dependencies: <code>@floating-ui/core@1.8.0</code>, <code>@floating-ui/utils@0.2.12</code></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/floating-ui/floating-ui/commit/12d94738472e922e1b3fa31b02b2b61b9ed77e6a"><code>12d9473</code></a> chore: version packages (<a href="https://github.com/floating-ui/floating-ui/tree/HEAD/packages/dom/issues/3480">#3480</a>)</li> <li><a href="https://github.com/floating-ui/floating-ui/commit/ad0a73f1f13a9a03fc68c41bbf6fe7fc6142a451"><code>ad0a73f</code></a> fix(getViewportRect): account for <code>scrollbar-gutter: stable both-edges</code> reser...</li> <li><a href="https://github.com/floating-ui/floating-ui/commit/9887c9679906900ffac4ee632deaa8bc959f71d2"><code>9887c96</code></a> fix(types): restore bivariant parameters for optional callbacks</li> <li><a href="https://github.com/floating-ui/floating-ui/commit/28bc9c11b0e342ec8e4af7285fbbe10ba44bbd18"><code>28bc9c1</code></a> fix(autoUpdate): avoid duplicate update on window resize</li> <li><a href="https://github.com/floating-ui/floating-ui/commit/5976f20ad99d0eceb8275b85626c0f657640e244"><code>5976f20</code></a> test(dom): run unit tests in vitest browser mode</li> <li><a href="https://github.com/floating-ui/floating-ui/commit/705a03cb8f32b9af228a1f112a6009fb2c54c088"><code>705a03c</code></a> fix(platform): support virtual elements without getClientRects in inline() (#...</li> <li><a href="https://github.com/floating-ui/floating-ui/commit/3785f3b2b938dbdd6a6a81ec59d28387afba4d21"><code>3785f3b</code></a> feat: add <code>layoutViewport</code> string option to <code>rootBoundary</code> (<a href="https://github.com/floating-ui/floating-ui/tree/HEAD/packages/dom/issues/3486">#3486</a>)</li> <li><a href="https://github.com/floating-ui/floating-ui/commit/0d0e88ecf5827038d97323184cdc39913f45ed7a"><code>0d0e88e</code></a> fix(inline): no-op on empty client rects and detect RTL disjoined line rects ...</li> <li><a href="https://github.com/floating-ui/floating-ui/commit/73c1f762a2670a3eb1e99935df59c81ef241b90a"><code>73c1f76</code></a> fix(types): support <code>exactOptionalPropertyTypes</code> (<a href="https://github.com/floating-ui/floating-ui/tree/HEAD/packages/dom/issues/3456">#3456</a>)</li> <li><a href="https://github.com/floating-ui/floating-ui/commit/cd58dd258a924d11393db0badb68effdcbe24998"><code>cd58dd2</code></a> fix(getClippingRect): correct clipping-ancestor filtering for fixed-position ...</li> <li>Additional commits viewable in <a href="https://github.com/floating-ui/floating-ui/commits/@floating-ui/dom@1.8.0/packages/dom">compare view</a></li> </ul> </details> <br /> Updates `@playwright/test` from 1.60.0 to 1.62.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/microsoft/playwright/releases">@playwright/test's releases</a>.</em></p> <blockquote> <h2>v1.62.1</h2> <h3>Bug Fixes</h3> <ul> <li><a href="https://redirect.github.com/microsoft/playwright/issues/41989">#41989</a> [Regression]: tsconfig "extends" bare specifier isn't resolved via node_modules walk-up like tsc (fatal since 1.62)</li> <li><a href="https://redirect.github.com/microsoft/playwright/issues/41998">#41998</a> [Regression]: directory-form tsconfig project references ("path": "../pkg") fail to resolve (fatal since 1.62)</li> <li><a href="https://redirect.github.com/microsoft/playwright/issues/41985">#41985</a> Accessibility snapshot drops button name when text is nested inside spans with aria-hidden SVG</li> <li><a href="https://redirect.github.com/microsoft/playwright/issues/42000">#42000</a> [Regression]: page.evaluate() arg of a branded primitive type (string & { brand }) no longer type-checks since 1.62</li> <li><a href="https://redirect.github.com/microsoft/playwright/issues/42013">#42013</a> [BUG]Image-type actionable elements are not presented in the snapshot.</li> </ul> <h2>v1.62.0</h2> <h2>🧱 New component testing model</h2> <p><a href="https://playwright.dev/docs/test-components">Component testing</a> moves to a <strong>stories and galleries</strong> model. A <strong>story</strong> wraps your component in one specific scenario — hard-coded props, mock data, providers — and a <strong>gallery</strong> page that you serve renders stories on demand. The new <a href="https://playwright.dev/docs/api/class-fixtures#fixtures-mount">fixtures.mount()</a> fixture navigates to the gallery, mounts a story by id, and returns a <a href="https://playwright.dev/docs/api/class-locator">Locator</a> scoped to the story's root element:</p> <pre lang="js"><code>test('click should expand', async ({ mount }) => { const component = await mount('components/Expandable/Stateful'); await component.getByRole('button').click(); await expect(component.getByTestId('expanded')).toHaveValue('true'); }); </code></pre> <p>Pass a story type as a template argument to type-check its props, and use <code>update(props)</code> / <code>unmount()</code> on the returned locator to re-render or tear down within a test.</p> <h2>🛑 Cancel operations with AbortSignal</h2> <p>Most operations and web-first assertions now accept a <code>signal</code> option that takes an <a href="https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal"><code>AbortSignal</code></a>, letting you cancel long-running actions, navigations, waits, and assertions:</p> <pre lang="js"><code>const controller = new AbortController(); setTimeout(() => controller.abort(), 1000); <p>await page.getByRole('button', { name: 'Submit' }).click({ signal: controller.signal }); await expect(page.getByText('Done')).toBeVisible({ signal: controller.signal }); </code></pre></p> <p>Providing a signal does not disable the default timeout; pass <code>timeout: 0</code> to disable it.</p> <h2>🖼️ WebP screenshots</h2> <p><a href="https://playwright.dev/docs/api/class-pageassertions#page-assertions-to-have-screenshot-1">expect(page).toHaveScreenshot()</a> and <a href="https://playwright.dev/docs/api/class-locatorassertions#locator-assertions-to-have-screenshot-1">expect(locator).toHaveScreenshot()</a> can now store snapshots in the WebP format — just give the snapshot a <code>.webp</code> name:</p> <pre lang="js"><code>// Visual comparisons store the golden snapshot as lossless WebP. await expect(page).toHaveScreenshot('homepage.webp'); <p>// Standalone screenshots can trade quality for size with lossy WebP. await page.screenshot({ path: 'homepage.webp', quality: 50 }); </tr></table> </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/microsoft/playwright/commit/26a9e470a7b3c7822084b09fb7f13902c5f37b51"><code>26a9e47</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/42043">#42043</a>): docs: release notes for v1.62 Python, Java, and .NET (<a href="https://redirect.github.com/microsoft/playwright/issues/4">#4</a>...</li> <li><a href="https://github.com/microsoft/playwright/commit/0a81d5d09b10eeefe228fe745c3f80c7368a239b"><code>0a81d5d</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/42040">#42040</a>): docs(release-notes): mention the isolated headless clipb...</li> <li><a href="https://github.com/microsoft/playwright/commit/83768264e64a821bcef9e634b8e5c33897f2b032"><code>8376826</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/42034">#42034</a>): fix(aria): keep icon-only clickable elements in ai snaps...</li> <li><a href="https://github.com/microsoft/playwright/commit/66c5cc92a60ce20ab3abe779339e1f90d2e2e888"><code>66c5cc9</code></a> chore: mark v1.62.1 (<a href="https://redirect.github.com/microsoft/playwright/issues/42020">#42020</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/9672bc3f2a7098cb6a9791ca97222187363a3037"><code>9672bc3</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/42009">#42009</a>): fix(types): support branded primitives in evaluate argum...</li> <li><a href="https://github.com/microsoft/playwright/commit/4325804427a214aa0c8c39bb1352f4ac4f712fd1"><code>4325804</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/41988">#41988</a>): fix(aria): preserve names from collapsed text contributors</li> <li><a href="https://github.com/microsoft/playwright/commit/9632f8ecbc2accba140ea342f1070ccfdd5f5d41"><code>9632f8e</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/42005">#42005</a>): fix(tsconfig): do not throw when "extends"/"references" ...</li> <li><a href="https://github.com/microsoft/playwright/commit/e3950d9c140d007bd52853b45813c6274b24e36f"><code>e3950d9</code></a> chore: mark v1.62.0 (<a href="https://redirect.github.com/microsoft/playwright/issues/41981">#41981</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/f07e0f720fbe6691cc3d3d66ff9f3e58139e804c"><code>f07e0f7</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/41940">#41940</a>): docs: release notes for v1.62 (<a href="https://redirect.github.com/microsoft/playwright/issues/41967">#41967</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/05a306c78f11767535fd986eebab5d4c4dad4614"><code>05a306c</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/41964">#41964</a>): Revert "feat(routeFromHar): add interceptAPIRequests opt...</li> <li>Additional commits viewable in <a href="https://github.com/microsoft/playwright/compare/v1.60.0...v1.62.1">compare view</a></li> </ul> </details> <br /> Updates `@sveltejs/kit` from 2.60.1 to 2.70.3 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/sveltejs/kit/releases">@sveltejs/kit's releases</a>.</em></p> <blockquote> <h2><code>@sveltejs/kit</code><a href="https://github.com/2"><code>@2</code></a>.70.3</h2> <h3>Patch Changes</h3> <ul> <li>fix: avoid eagerly reading <code>$app/state</code> dependencies during module initialization (<a href="https://github.com/sveltejs/kit/commit/b61018d0526e827d1ef8cf8e21ef62b92230ae3d"><code>b61018d</code></a>)</li> </ul> <h2><code>@sveltejs/kit</code><a href="https://github.com/2"><code>@2</code></a>.70.2</h2> <h3>Patch Changes</h3> <ul> <li>fix: prevent quadratic backtracking in <code>Accept</code> header content negotiation (<a href="https://redirect.github.com/homebase-garage/igeclouds.github.io/pull/1">#1</a>)</li> </ul> <h2><code>@sveltejs/kit</code><a href="https://github.com/2"><code>@2</code></a>.70.1</h2> <h3>Patch Changes</h3> <ul> <li>docs: update links to hooks documentation (<a href="https://redirect.github.com/sveltejs/kit/pull/16417">#16417</a>)</li> </ul> <h2><code>@sveltejs/kit</code><a href="https://github.com/2"><code>@2</code></a>.70.0</h2> <h3>Minor Changes</h3> <ul> <li>feat: move <code>defineEnvVars</code> to <code>@sveltejs/kit/env</code> (<a href="https://redirect.github.com/sveltejs/kit/pull/16378">#16378</a>)</li> </ul> <h3>Patch Changes</h3> <ul> <li>fix: enable CSRF protection in builds with a non-production <code>NODE_ENV</code> value (<a href="https://redirect.github.com/sveltejs/kit/pull/16313">#16313</a>)</li> </ul> <h2><code>@sveltejs/kit</code><a href="https://github.com/2"><code>@2</code></a>.69.3</h2> <h3>Patch Changes</h3> <ul> <li> <p>fix: detect destructured <code>load</code> and <code>actions</code> exports during type generation (<a href="https://redirect.github.com/sveltejs/kit/pull/16329">#16329</a>)</p> </li> <li> <p>fix: ensure CSS URL references are absolute when <code>paths.relative</code> is <code>false</code> (<a href="https://redirect.github.com/sveltejs/kit/pull/16315">#16315</a>)</p> </li> <li> <p>fix: align MAX_COOKIE_SIZE with RFC 6265bis (<a href="https://redirect.github.com/sveltejs/kit/pull/16322">#16322</a>)</p> </li> </ul> <h2><code>@sveltejs/kit</code><a href="https://github.com/2"><code>@2</code></a>.69.2</h2> <h3>Patch Changes</h3> <ul> <li>fix: set <code>define</code> values on <code>globalThis</code> when running Vitest (<a href="https://redirect.github.com/sveltejs/kit/pull/16246">#16246</a>)</li> </ul> <h2><code>@sveltejs/kit</code><a href="https://github.com/2"><code>@2</code></a>.69.1</h2> <h3>Patch Changes</h3> <ul> <li> <p>fix: prevent prototype pollution when deleting file inputs (<a href="https://redirect.github.com/sveltejs/kit/pull/16218">#16218</a>)</p> </li> <li> <p>fix: prevent unhandled promise rejection (<a href="https://redirect.github.com/sveltejs/kit/pull/16219">#16219</a>)</p> </li> </ul> <h2><code>@sveltejs/kit</code><a href="https://github.com/2"><code>@2</code></a>.69.0</h2> <h3>Minor Changes</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/sveltejs/kit/blob/version-3/packages/kit/CHANGELOG.md">@sveltejs/kit's changelog</a>.</em></p> <blockquote> <h2>2.70.3</h2> <h3>Patch Changes</h3> <ul> <li>fix: avoid eagerly reading <code>$app/state</code> dependencies during module initialization (<a href="https://github.com/sveltejs/kit/commit/b61018d0526e827d1ef8cf8e21ef62b92230ae3d"><code>b61018d</code></a>)</li> </ul> <h2>2.70.2</h2> <h3>Patch Changes</h3> <ul> <li>fix: prevent quadratic backtracking in <code>Accept</code> header content negotiation (<a href="https://github.com/sveltejs/kit/commit/82712fc02c24b1dcf5b25d7a52129cd8455f04f5"><code>82712fc</code></a>)</li> </ul> <h2>2.70.1</h2> <h3>Patch Changes</h3> <ul> <li>docs: update links to hooks documentation (<a href="https://redirect.github.com/sveltejs/kit/pull/16417">#16417</a>)</li> </ul> <h2>2.70.0</h2> <h3>Minor Changes</h3> <ul> <li>feat: move <code>defineEnvVars</code> to <code>@sveltejs/kit/env</code> (<a href="https://redirect.github.com/sveltejs/kit/pull/16378">#16378</a>)</li> </ul> <h3>Patch Changes</h3> <ul> <li>fix: enable CSRF protection in builds with a non-production <code>NODE_ENV</code> value (<a href="https://redirect.github.com/sveltejs/kit/pull/16313">#16313</a>)</li> </ul> <h2>2.69.3</h2> <h3>Patch Changes</h3> <ul> <li> <p>fix: detect destructured <code>load</code> and <code>actions</code> exports during type generation (<a href="https://redirect.github.com/sveltejs/kit/pull/16329">#16329</a>)</p> </li> <li> <p>fix: ensure CSS URL references are absolute when <code>paths.relative</code> is <code>false</code> (<a href="https://redirect.github.com/sveltejs/kit/pull/16315">#16315</a>)</p> </li> <li> <p>fix: align MAX_COOKIE_SIZE with RFC 6265bis (<a href="https://redirect.github.com/sveltejs/kit/pull/16322">#16322</a>)</p> </li> </ul> <h2>2.69.2</h2> <h3>Patch Changes</h3> <ul> <li> <p>fix: detect destructured <code>load</code> and <code>actions</code> exports during type generation (<a href="https://redirect.github.com/sveltejs/kit/pull/16329">#16329</a>)</p> </li> <li> <p>fix: ensure CSS URL references are absolute when <code>paths.relative</code> is <code>false</code> (<a href="https://redirect.github.com/sveltejs/kit/pull/16315">#16315</a>)</p> </li> <li> <p>fix: exclude deleted cookies from <code>cookies.getAll()</code> so it stays consistent with <code>cookies.get()</code> (<a href="https://redirect.github.com/sveltejs/kit/pull/16297">#16297</a>)</p> </li> <li> <p>fix: reset failed <code><svelte:boundary></code> on client navigation so a stale <code>+error.svelte</code> is torn down (<a href="https://redirect.github.com/sveltejs/kit/pull/16296">#16296</a>)</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/sveltejs/kit/commit/39e8e1fbd4feba7f22dd46bfdf7335362c38de16"><code>39e8e1f</code></a> Version Packages (<a href="https://github.com/sveltejs/kit/tree/HEAD/packages/kit/issues/16771">#16771</a>)</li> <li><a href="https://github.com/sveltejs/kit/commit/b61018d0526e827d1ef8cf8e21ef62b92230ae3d"><code>b61018d</code></a> fix: avoid eagerly reading <code>$app/state</code> dependencies during module</li> <li><a href="https://github.com/sveltejs/kit/commit/1ad0d437e1ee08d1b65fc3a6a8d659adbc4a8724"><code>1ad0d43</code></a> chore: get Vercel split platform tests running (<a href="https://github.com/sveltejs/kit/tree/HEAD/packages/kit/issues/16666">#16666</a>)</li> <li><a href="https://github.com/sveltejs/kit/commit/a297affcec19d6f4d2df8bac1b292d8c34486344"><code>a297aff</code></a> Version Packages (<a href="https://github.com/sveltejs/kit/tree/HEAD/packages/kit/issues/16571">#16571</a>)</li> <li><a href="https://github.com/sveltejs/kit/commit/82712fc02c24b1dcf5b25d7a52129cd8455f04f5"><code>82712fc</code></a> Merge commit from fork</li> <li><a href="https://github.com/sveltejs/kit/commit/4c2355f9fd4f9b5ed682626ebc71103e6dbd9169"><code>4c2355f</code></a> Version Packages (<a href="https://github.com/sveltejs/kit/tree/HEAD/packages/kit/issues/16418">#16418</a>)</li> <li><a href="https://github.com/sveltejs/kit/commit/c1665b9cd45e062caf0f3d130274d2925a149e76"><code>c1665b9</code></a> docs: update hooks page (<a href="https://github.com/sveltejs/kit/tree/HEAD/packages/kit/issues/16417">#16417</a>)</li> <li><a href="https://github.com/sveltejs/kit/commit/4da36e64aa5c78e52ed7e34144dd6ba625efc7eb"><code>4da36e6</code></a> Version Packages (<a href="https://github.com/sveltejs/kit/tree/HEAD/packages/kit/issues/16343">#16343</a>)</li> <li><a href="https://github.com/sveltejs/kit/commit/78f28f16f8d5e2a5b9be9cc274bcf45dd27ec75b"><code>78f28f1</code></a> feat: move <code>defineEnvVars</code> to <code>@sveltejs/kit/env</code> (<a href="https://github.com/sveltejs/kit/tree/HEAD/packages/kit/issues/16378">#16378</a>)</li> <li><a href="https://github.com/sveltejs/kit/commit/ffa0e3b06e82d7023dd2189ccfe1fc191c90b941"><code>ffa0e3b</code></a> fix: don't disable CSRF protection in builds with a non-production NODE_ENV (...</li> <li>Additional commits viewable in <a href="https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.70.3/packages/kit">compare view</a></li> </ul> </details> <br /> Updates `@types/bootstrap` from 5.2.10 to 5.2.11 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/bootstrap">compare view</a></li> </ul> </details> <br /> Updates `caniuse-lite` from 1.0.30001799 to 1.0.30001809 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/browserslist/caniuse-lite/commit/369a550d87291e962f64709956f83deb63644711"><code>369a550</code></a> Update caniuse-db 1.0.30001809</li> <li><a href="https://github.com/browserslist/caniuse-lite/commit/92bee19a0da4c85c4e2f2e8b8a4512293efa114e"><code>92bee19</code></a> Update caniuse-db 1.0.30001807</li> <li><a href="https://github.com/browserslist/caniuse-lite/commit/ee692af63db76ac42898724eae3021795f54ee8f"><code>ee692af</code></a> Allow to use latest caniuse-db</li> <li><a href="https://github.com/browserslist/caniuse-lite/commit/61386fc378925191c4ab93e073545502d1a5fb76"><code>61386fc</code></a> Move back to the latest pnpm 11</li> <li><a href="https://github.com/browserslist/caniuse-lite/commit/3c48481a6ed94965096b87c5b35bc19c5d64d6e3"><code>3c48481</code></a> Update caniuse-db 1.0.30001806</li> <li><a href="https://github.com/browserslist/caniuse-lite/commit/cb047fc441f6c013429d5c086513c4a6018b0b33"><code>cb047fc</code></a> Update CI practice</li> <li><a href="https://github.com/browserslist/caniuse-lite/commit/e6acac858d152b381171bc736833444f146579dc"><code>e6acac8</code></a> Temporary fix pnpm issue</li> <li><a href="https://github.com/browserslist/caniuse-lite/commit/325cd2fffaa43805239768e969b617fab818eabc"><code>325cd2f</code></a> Update dependencies</li> <li><a href="https://github.com/browserslist/caniuse-lite/commit/7fa21d2486c8e45f4f11e37142f4fac238d1e3ee"><code>7fa21d2</code></a> Update caniuse-db 1.0.30001805</li> <li><a href="https://github.com/browserslist/caniuse-lite/commit/973b1119cb436b1e7aad3180e9508e3738b97ddb"><code>973b111</code></a> Update caniuse-db 1.0.30001803</li> <li>Additional commits viewable in <a href="https://github.com/browserslist/caniuse-lite/compare/1.0.30001799...1.0.30001809">compare view</a></li> </ul> </details> <br /> Updates `dprint` from 0.54.0 to 0.56.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/dprint/dprint/releases">dprint's releases</a>.</em></p> <blockquote> <h2>0.56.0</h2> <h2>Changes</h2> <ul> <li>feat: prefer plugins on the npm registry (<a href="https://redirect.github.com/dprint/dprint/issues/1215">#1215</a>)</li> <li>feat: add path completion hints to CLI args (<a href="https://redirect.github.com/dprint/dprint/issues/1217">#1217</a>)</li> <li>feat: support formatting directory args (<a href="https://redirect.github.com/dprint/dprint/issues/1196">#1196</a>)</li> <li>feat: format explicit paths outside the working directory (<a href="https://redirect.github.com/dprint/dprint/issues/1204">#1204</a>)</li> <li>fix: keep a duplicate plugin's checksum when deduping plugin sources (<a href="https://redirect.github.com/dprint/dprint/issues/1211">#1211</a>)</li> <li>fix: don't duplicate a plugin specified in both a config and its extended config (<a href="https://redirect.github.com/dprint/dprint/issues/1043">#1043</a>) (<a href="https://redirect.github.com/dprint/dprint/issues/1208">#1208</a>)</li> <li>fix: apply implicit <code>node_modules</code> exclude and unanchored patterns in rebased scopes (<a href="https://redirect.github.com/dprint/dprint/issues/1210">#1210</a>)</li> <li>fix: resolve literal file and directory args without directory traversal (<a href="https://redirect.github.com/dprint/dprint/issues/1207">#1207</a>)</li> <li>fix: handle overflow panic in progress bars (<a href="https://redirect.github.com/dprint/dprint/issues/1223">#1223</a>)</li> </ul> <h2>Install</h2> <p>Run <code>dprint upgrade</code> or see <a href="https://dprint.dev/install/">https://dprint.dev/install/</a></p> <h2>Checksums</h2> <table> <thead> <tr> <th align="left">Artifact</th> <th align="left">SHA-256 Checksum</th> </tr> </thead> <tbody> <tr> <td align="left">dprint-x86_64-apple-darwin.zip</td> <td align="left">466dd67e15fca266f3749008ef5d23ea7a6c657ef8204257dbb8c23636fc9aca</td> </tr> <tr> <td align="left">dprint-aarch64-apple-darwin.zip</td> <td align="left">79f5c80a3ddebb4717a89a25a79ec1c50947d4cef141df243757925cb47d32e1</td> </tr> <tr> <td align="left">dprint-x86_64-pc-windows-msvc.zip</td> <td align="left">cbcb0c6fdbb72289e895c3857720eb769046d42069973f38655b6aee16c01c73</td> </tr> <tr> <td align="left">dprint-x86_64-pc-windows-msvc-installer.exe</td> <td align="left">795de3adb60187bad989b330f8c8ec03c7a4a69509b1a8d47dc3025266e0158a</td> </tr> <tr> <td align="left">dprint-aarch64-pc-windows-msvc.zip</td> <td align="left">c4356e5f9e1b6edce345bd2de902384e3a51e46b0b98775db7011f0996b6b230</td> </tr> <tr> <td align="left">dprint-x86_64-unknown-linux-gnu.zip</td> <td align="left">49fe9d970cdbe0f742e18187c221a7a1dd985d35d4fa9bf4740f7a261c08d96c</td> </tr> <tr> <td align="left">dprint-x86_64-unknown-linux-musl.zip</td> <td align="left">e958bfa3fec5256e72c2e4e028fa5674e43023eaff80d704ca96827af2eba240</td> </tr> <tr> <td align="left">dprint-aarch64-unknown-linux-gnu.zip</td> <td align="left">a0dcf153cce38096f43bdde36fdd32cfd11c2227b6a04c2202fa83573fe517a6</td> </tr> <tr> <td align="left">dprint-aarch64-unknown-linux-musl.zip</td> <td align="left">2e7d50e342d9d9d85b811635a04f3d49abdf7ec96d5b346cda932a7c4d42a7ab</td> </tr> <tr> <td align="left">dprint-riscv64gc-unknown-linux-gnu.zip</td> <td align="left">c888b0e2f559341a62fa666b1609ec957e609bfc146b5ee0ab7898723ebbe231</td> </tr> <tr> <td align="left">dprint-loongarch64-unknown-linux-gnu.zip</td> <td align="left">d86a6d3fc063992d152237885f51053748b60361228d851ca6aeaec65d84fb8e</td> </tr> <tr> <td align="left">dprint-loongarch64-unknown-linux-musl.zip</td> <td align="left">d781022e4fbfec13688db1dd3d0fb9da964f6f5cf79b31ffcf5196d364f22cf0</td> </tr> <tr> <td align="left">dprint-powerpc64le-unknown-linux-gnu.zip</td> <td align="left">935e117e23650a9874b444a7a6445ec7a8d593778e514f34ebea72dd88180599</td> </tr> <tr> <td align="left">dprint-powerpc64le-unknown-linux-musl.zip</td> <td align="left">93d03c5f3b615955c9fce64a4867b8aa5959988646bfebd1bfd74b5618a1f2ed</td> </tr> <tr> <td align="left">dprint-aarch64-linux-android.zip</td> <td align="left">718707dcd1637d312d2b430ae6313550bac7f21143d9344cd8fd80bf2ec5bf25</td> </tr> <tr> <td align="left">dprint-x86_64-linux-android.zip</td> <td align="left">2b09284549bd96dfa2389d85237da15bacbae9076cdec0e849ec3fb50b804923</td> </tr> </tbody> </table> <h2>0.55.2</h2> <h2>Changes</h2> <ul> <li>fix: build linux gnu binaries against glibc 2.17 (<a href="https://redirect.github.com/dprint/dprint/pull/1203">dprint/dprint#1203</a>)</li> </ul> <h2>Install</h2> <p>Run <code>dprint upgrade</code> or see <a href="https://dprint.dev/install/">https://dprint.dev/install/</a></p> <h2>Checksums</h2> <p>|Artifact|SHA-256 Checksum|</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/dprint/dprint/commit/dbabbe9bee0b17a32d025fccd5dd39c2b22fb117"><code>dbabbe9</code></a> 0.56.0</li> <li><a href="https://github.com/dprint/dprint/commit/8ca223e8aaea91dbed1dea24830cc33a188c7193"><code>8ca223e</code></a> fix: handle overflow panic in progress bars (<a href="https://redirect.github.com/dprint/dprint/issues/1223">#1223</a>)</li> <li><a href="https://github.com/dprint/dprint/commit/55254cc0ea36358eb05bf7b55b194f4292895cb8"><code>55254cc</code></a> chore: fix ci (<a href="https://redirect.github.com/dprint/dprint/issues/1221">#1221</a>)</li> <li><a href="https://github.com/dprint/dprint/commit/96cc5d244e8dac34b3df2c689b00d12e1c2803a8"><code>96cc5d2</code></a> docs: add Panache plugin documentation (<a href="https://redirect.github.com/dprint/dprint/issues/1214">#1214</a>)</li> <li><a href="https://github.com/dprint/dprint/commit/eaecd3647d734c08afe3062f0304f820e21eafb3"><code>eaecd36</code></a> feat: prefer plugins on the npm registry (<a href="https://redirect.github.com/dprint/dprint/issues/1215">#1215</a>)</li> <li><a href="https://github.com/dprint/dprint/commit/634704ef24cff1b283a746a6bfb9365811213966"><code>634704e</code></a> docs: add swift plugin (<a href="https://redirect.github.com/dprint/dprint/issues/1191">#1191</a>)</li> <li><a href="https://github.com/dprint/dprint/commit/aee638520af3a83552a60c76cdfe7fa322688a5c"><code>aee6385</code></a> feat: add path completion hints to CLI args (<a href="https://redirect.github.com/dprint/dprint/issues/1217">#1217</a>)</li> <li><a href="https://github.com/dprint/dprint/commit/f4f50ff861b67f57ae4abc3fa024b658f20042b3"><code>f4f50ff</code></a> feat(core): let a caller declare a separated value as already multi-line (<a href="https://redirect.github.com/dprint/dprint/issues/1220">#1220</a>)</li> <li><a href="https://github.com/dprint/dprint/commit/f825df7353487c22545b71bbdc725353323c17fb"><code>f825df7</code></a> perf(core): keep value resolutions when a separated values group only moves d...</li> <li><a href="https://github.com/dprint/dprint/commit/1c54115179d637ebbc1b2192a6768117be763040"><code>1c54115</code></a> perf(core): push_str (<a href="https://redirect.github.com/dprint/dprint/issues/1218">#1218</a>)</li> <li>Additional commits viewable in <a href="https://github.com/dprint/dprint/compare/0.54.0...0.56.0">compare view</a></li> </ul> </details> <br /> Updates `esbuild` from 0.28.1 to 0.28.2 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/evanw/esbuild/releases">esbuild's releases</a>.</em></p> <blockquote> <h2>v0.28.2</h2> <ul> <li> <p>Fix tree shaking bug due to TypeScript import alias (<a href="https://redirect.github.com/evanw/esbuild/issues/4507">#4507</a>)</p> <p>This release fixes a bug that could cause esbuild to incorrectly tree-shake imports that are used in a TypeScript type alias under certain circumstances. Affected code uses a TypeScript-specific <code>import</code> assignment and looks something like this:</p> <pre lang="ts"><code>import Base from './dep.js'; import Alias = Base.SomeType; </code></pre> </li> <li> <p>Fix CSS minification bug involving <code>&</code> (<a href="https://redirect.github.com/evanw/esbuild/issues/4497">#4497</a>)</p> <p>This release fixes a bug where esbuild's CSS minifier incorrectly removed a <code>&</code> when it was unsafe to do so. Here is an example:</p> <pre lang="css"><code>/* Original code */ .a .b { & .b:not(& .c) { color: red; } } <p>/* Old output (with --minify) */<br /> .a .b{.b:not(& .c){color:red}}</p> <p>/* New output (with --minify) */<br /> .a .b{& .b:not(& .c){color:red}}<br /> </code></pre></p> <p>This should match <code><span class="a"><span class="b"><span class="b">yes</span></span></span></code> but not <code><span class="a"><span class="b">no</span></span></code>. The old output incorrectly matched both.</p> </li> <li> <p>Avoid overwriting input files without <code>--allow-overwrite</code> (<a href="https://redirect.github.com/evanw/esbuild/issues/4484">#4484</a>)</p> <p>For example: <code>esbuild input.js --outfile=input.js</code> tells esbuild to overwrite <code>input.js</code> with the output of running esbuild on it. This was supposed to already be prevented by default, but it accidentally regressed in version 0.17.0 and apparently didn't have any test coverage. The error message was being printed but the input file was still being overwritten. Oops.</p> <p>This release puts the original behavior back. With this release, esbuild should now actually avoid overwriting input files unless <code>--allow-overwrite</code> is explicitly present. This is done by not writing out any files when a build error is encountered.</p> </li> <li> <p>Fix incorrect code generated when using top-level await (<a href="https://redirect.github.com/evanw/esbuild/issues/4498">#4498</a>)</p> <p>Previously esbuild could generate code containing a syntax error in complex scenarios involving top-level await used in a dependency cycle. The problem was a missing <code>async</code> on one or more module wrapper closures. With this release, esbuild now uses a fixed-point iteration algorithm to correctly annotate all dependencies in the cycle as needing an <code>async</code> module wrapper.</p> </li> <li> <p>Fix a minification bug with lowered logical assignment operators (<a href="https://redirect.github.com/evanw/esbuild/issues/4508">#4508</a>)</p> <p>This release fixes a bug that could cause esbuild to generate incorrect code for logical assignment operators when lowering them to an older target environment. Specifically the lowering process requires duplicating the left-hand side, but esbuild incorrectly failed to count the duplicate as a new usage when the left-hand side is an identifier. That then caused the minifier to believe that the left-hand side was only used once and could attempt to incorrectly inline an initializer into the first usage. This bug has now been fixed:</p> <pre lang="js"><code>// Original code function foo() { let x bar(x ||= {}) </code></pre> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/evanw/esbuild/blob/main/CHANGELOG.md">esbuild's changelog</a>.</em></p> <blockquote> <h2>0.28.2</h2> <ul> <li> <p>Fix tree shaking bug due to TypeScript import alias (<a href="https://redirect.github.com/evanw/esbuild/issues/4507">#4507</a>)</p> <p>This release fixes a bug that could cause esbuild to incorrectly tree-shake imports that are used in a TypeScript type alias under certain circumstances. Affected code uses a TypeScript-specific <code>import</code> assignment and looks something like this:</p> <pre lang="ts"><code>import Base from './dep.js'; import Alias = Base.SomeType; </code></pre> </li> <li> <p>Fix CSS minification bug involving <code>&</code> (<a href="https://redirect.github.com/evanw/esbuild/issues/4497">#4497</a>)</p> <p>This release fixes a bug where esbuild's CSS minifier incorrectly removed a <code>&</code> when it was unsafe to do so. Here is an example:</p> <pre lang="css"><code>/* Original code */ .a .b { & .b:not(& .c) { color: red; } } <p>/* Old output (with --minify) */<br /> .a .b{.b:not(& .c){color:red}}</p> <p>/* New output (with --minify) */<br /> .a .b{& .b:not(& .c){color:red}}<br /> </code></pre></p> <p>This should match <code><span class="a"><span class="b"><span class="b">yes</span></span></span></code> but not <code><span class="a"><span class="b">no</span></span></code>. The old output incorrectly matched both.</p> </li> <li> <p>Avoid overwriting input files without <code>--allow-overwrite</code> (<a href="https://redirect.github.com/evanw/esbuild/issues/4484">#4484</a>)</p> <p>For example: <code>esbuild input.js --outfile=input.js</code> tells esbuild to overwrite <code>input.js</code> with the output of running esbuild on it. This was supposed to already be prevented by default, but it accidentally regressed in version 0.17.0 and apparently didn't have any test coverage. The error message was being printed but the input file was still being overwritten. Oops.</p> <p>This release puts the original behavior back. With this release, esbuild should now actually avoid overwriting input files unless <code>--allow-overwrite</code> is explicitly present. This is done by not writing out any files when a build error is encountered.</p> </li> <li> <p>Fix incorrect code generated when using top-level await (<a href="https://redirect.github.com/evanw/esbuild/issues/4498">#4498</a>)</p> <p>Previously esbuild could generate code containing a syntax error in complex scenarios involving top-level await used in a dependency cycle. The problem was a missing <code>async</code> on one or more module wrapper closures. With this release, esbuild now uses a fixed-point iteration algorithm to correctly annotate all dependencies in the cycle as needing an <code>async</code> module wrapper.</p> </li> <li> <p>Fix a minification bug with lowered logical assignment operators (<a href="https://redirect.github.com/evanw/esbuild/issues/4508">#4508</a>)</p> <p>This release fixes a bug that could cause esbuild to generate incorrect code for logical assignment operators when lowering them to an older target environment. Specifically the lowering process requires duplicating the left-hand side, but esbuild incorrectly failed to count the duplicate as a new usage when the left-hand side is an identifier. That then caused the minifier to believe that the left-hand side was only used once and could attempt to incorrectly inline an initializer into the first usage. This bug has now been fixed:</p> <pre lang="js"><code>// Original code function foo() { let x </code></pre> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/evanw/esbuild/commit/609683d892977362a0f99026cb74b96263d728a9"><code>609683d</code></a> publish 0.28.2 to npm</li> <li><a href="https://github.com/evanw/esbuild/commit/11b1fe48df6859393d9469f323b5ebd17baaf989"><code>11b1fe4</code></a> add to release notes</li> <li><a href="https://github.com/evanw/esbuild/commit/ab50d91559a27e54cd0a27a403389130ea10d97d"><code>ab50d91</code></a> css: fix green/blue channel swap in oklch gamut mapping (<a href="https://redirect.github.com/evanw/esbuild/issues/4488">#4488</a>)</li> <li><a href="https://github.com/evanw/esbuild/commit/04627b6cf99b4a7491bebb0268173a7c77a85030"><code>04627b6</code></a> fix <a href="https://redirect.github.com/evanw/esbuild/issues/4498">#4498</a>: <code>async</code> TLA checks need a worklist</li> <li><a href="https://github.com/evanw/esbuild/commit/5c15177a308c7224604058a769c4abf0a66b0a36"><code>5c15177</code></a> disable <code>gopls</code> in the <code>go</code> folder</li> <li><a href="https://github.com/evanw/esbuild/commit/fc2ee9babc5a2e8ea7ec7c10dd5850b71f7cec7e"><code>fc2ee9b</code></a> css: adjust parser to allow <code>--foo: {...}</code></li> <li><a href="https://github.com/evanw/esbuild/commit/209db54371e62ad1c50e12e56bb93c74c53b0408"><code>209db54</code></a> release notes for css nesting bugfix</li> <li><a href="https://github.com/evanw/esbuild/commit/c625d31bf08a0647ec724bf76c7115f7aec55971"><code>c625d31</code></a> fix <a href="https://redirect.github.com/evanw/esbuild/issues/4497">#4497</a>: preserve nested ampersands during minification (<a href="https://redirect.github.com/evanw/esbuild/issues/4500">#4500</a>)</li> <li><a href="https://github.com/evanw/esbuild/commit/34474e278528a60f58c959c0f422d2bfa6f6886d"><code>34474e2</code></a> better isolation of current part in js parser</li> <li><a href="https://github.com/evanw/esbuild/commit/07f6e8c50677e0b41e5ed726c08b0ea200b14e5b"><code>07f6e8c</code></a> fix <a href="https://redirect.github.com/evanw/esbuild/issues/4507">#4507</a>: <code>import</code> assignment tree-shaking bug</li> <li>Additional commits viewable in <a href="https://github.com/evanw/esbuild/compare/v0.28.1...v0.28.2">compare view</a></li> </ul> </details> <br /> Updates `prettier` from 3.8.3 to 3.9.6 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/prettier/prettier/releases">prettier's releases</a>.</em></p> <blockquote> <h2>3.9.6</h2> <h2>What's Changed</h2> <ul> <li>Preserve quotes for methods named <code>new</code> (<a href="https://redirect.github.com/prettier/prettier/pull/19621">prettier/prettier#19621</a> by <a href="https://github.com/kovsu"><code>@kovsu</code></a>)</li> <li>Support <code>import defer</code> in <code>typescript</code> parser (<a href="https://redirect.github.com/prettier/prettier/pull/19624">prettier/prettier#19624</a>, <a href="https://redirect.github.com/prettier/prettier/pull/19675">prettier/prettier#19675</a> by <a href="https://github.com/fisker"><code>@fisker</code></a>)</li> <li>Added a new official plugin <a href="https://github.com/prettier/prettier/tree/3.9.6/packages/plugin-yuku"><code>@prettier/plugin-yuku</code> 🚀</a> (<a href="https://redirect.github.com/prettier/prettier/pull/19628">prettier/prettier#19628</a>, <a href="https://redirect.github.com/prettier/prettier/pull/19629">prettier/prettier#19629</a> by <a href="https://github.com/fisker"><code>@fisker</code></a>)</li> </ul> <p>🔗 <a href="https://github.com/prettier/prettier/blob/3.9.6/CHANGELOG.md#396">Changelog</a></p> <h2>3.9.5</h2> <p>🔗 <a href="https://github.com/prettier/prettier/blob/3.9.5/CHANGELOG.md#395">Changelog</a></p> <h2>3.9.4</h2> <ul> <li>Angular: Format <code>@content(name)</code> -> <code>@content (name)</code> to align with other block syntax (<a href="https://redirect.github.com/prettier/prettier/pull/19499">#19499</a> by <a href="https://github.com/fisker"><code>@fisker</code></a>)</li> </ul> <p>🔗 <a href="https://github.com/prettier/prettier/blob/3.9.4/CHANGELOG.md#394">Changelog</a></p> <h2>3.9.3</h2> <ul> <li>Markdown: Fix unexpected removal of characters in liquid syntax (<a href="https://redirect.github.com/prettier/prettier/pull/19489">prettier/prettier#19489</a> by <a href="https://github.com/seiyab"><code>@seiyab</code></a>)</li> <li>TypeScript: Allow decorators to be used with declare on class fields (<a href="https://redirect.github.com/prettier/prettier/pull/19492">prettier/prettier#19492</a> by <a href="https://github.com/evoactivity"><code>@evoactivity</code></a>)</li> </ul> <p>🔗 <a href="https://github.com/prettier/prettier/blob/3.9.3/CHANGELOG.md#393">Changelog</a></p> <h2>3.9.1</h2> <ul> <li>CLI: Fix ignored file has been cached incorrectly (<a href="https://redirect.github.com/prettier/prettier/pull/19483">#19483</a> by <a href="https://github.com/kovsu"><code>@kovsu</code></a>)</li> </ul> <p>🔗 <a href="https://github.com/prettier/prettier/blob/3.9.1/CHANGELOG.md#391">Changelog</a></p> <h2>3.9.0</h2> <p><a href="https://github.com/prettier/prettier/compare/3.8.5...3.9.0">diff</a></p> <p>🔗 <a href="https://prettier.io/blog/2026/06/27/3.9.0">Prettier 3.9: Major parser upgrades and Formatting improvements</a></p> <h2>3.8.5</h2> <ul> <li>Fix Flow variance annotation print (<a href="https://redirect.github.com/prettier/prettier/pull/19022">#19022</a> by <a href="https://github.com/marcoww6"><code>@marcoww6</code></a>)</li> </ul> <p>🔗 <a href="https://github.com/prettier/prettier/blob/3.8.5/CHANGELOG.md#385">Changelog</a></p> <h2>3.8.4</h2> <ul> <li>Markdown: Fix blank lines between list items and nested sub-lists being removed in Markdown/MDX (<a href="https://redirect.github.com/prettier/prettier/pull/17746">prettier/prettier#17746</a> by <a href="https://github.com/byplayer"><code>@byplayer</code></a>)</li> </ul> <p>🔗 <a href="https://github.com/prettier/prettier/blob/3.8.4/CHANGELOG.md#384">Changelog</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md">prettier's changelog</a>.</em></p> <blockquote> <h1>3.9.6</h1> <p><a href="https://github.com/prettier/prettier/compare/3.9.5...3.9.6">diff</a></p> <h4>TypeScript: Preserve quotes for methods named <code>new</code> (<a href="https://redirect.github.com/prettier/prettier/pull/19621">#19621</a> by <a href="https://github.com/kovsu"><code>@kovsu</code></a>)</h4> <!-- raw HTML omitted --> <pre lang="tsx"><code>// Input interface Container { "new"(id: string): number; } <p>// Prettier 3.9.5<br /> interface Container {<br /> new(id: string): number;<br /> }</p> <p>// Prettier 3.9.6<br /> interface Container {<br /> "new"(id: string): number;<br /> }<br /> </code></pre></p> <h4>TypeScript: Support <code>import defer</code> (<a href="https://redirect.github.com/prettier/prettier/pull/19624">#19624</a>, <a href="https://redirect.github.com/prettier/prettier/pull/19675">#19675</a> by <a href="https://github.com/fisker"><code>@fisker</code></a>)</h4> <!-- raw HTML omitted --> <pre lang="tsx"><code>// Input import defer * as foo from "foo"; <p>// Prettier 3.9.5<br /> import * as foo from "foo";</p> <p>// Prettier 3.9.6<br /> import defer * as foo from "foo";<br /> </code></pre></p> <h4>JavaScript: Added a new official plugin <code>@prettier/plugin-yuku</code> (<a href="https://redirect.github.com/prettier/prettier/pull/19628">#19628</a>, <a href="https://redirect.github.com/prettier/prettier/pull/19629">#19629</a> by <a href="https://github.com/fisker"><code>@fisker</code></a>)</h4> <p><code>@prettier/plugin-yuku</code> is powered by <a href="https://yuku.fyi/">Yuku</a> (A high-performance JavaScript/TypeScript compiler toolchain written in Zig).</p> <p>This plugin includes two new parsers: <code>yuku</code> (JavaScript syntax) and <code>yuku-ts</code> (TypeScript syntax).</p> <p><strong>To use this plugin:</strong></p> <ol> <li> <p>Install the plugin:</p> <pre lang="bash"><code>yarn add --dev prettier @prettier/plugin-yuku </code></pre> </li> </ol> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/prettier/prettier/commit/8f0c95057cc91d5836409466cd9d9af3bb901e84"><code>8f0c950</code></a> Release 3.9.6</li> <li><a href="https://github.com/prettier/prettier/commit/e9107647d0497d8ff1cacbb0f970d4543df77c1c"><code>e910764</code></a> Update changelog</li> <li><a href="https://github.com/prettier/prettier/commit/ec3f1c7bd74495992bc6954323a1a7fc8368808e"><code>ec3f1c7</code></a> Update typescript-eslint to v8.65.0 (<a href="https://redirect.github.com/prettier/prettier/issues/19675">#19675</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/73d2efc2c6cba6f579585c88ef171132d90834ec"><code>73d2efc</code></a> Update Yuku parser to v0.7.0 (<a href="https://redirect.github.com/prettier/prettier/issues/19664">#19664</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/dd5e24eabeab1f75ad573c79781e5fd408bcfad3"><code>dd5e24e</code></a> Preserve quotes for <code>TSMethodSignature</code> nodes named <code>new</code> (<a href="https://redirect.github.com/prettier/prettier/issues/19621">#19621</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/c03ab4e71c23154d6b11537eee3c938f0d0f67d3"><code>c03ab4e</code></a> Update dependency eslint-plugin-unicorn to v72 (<a href="https://redirect.github.com/prettier/prettier/issues/19633">#19633</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/b74dd53076c7208291a6b2e585c310844b41d35f"><code>b74dd53</code></a> Update Yuku parser to v0.6.5 (<a href="https://redirect.github.com/prettier/prettier/issues/19654">#19654</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/f1b594ea1db1520c383d0e281d623551f671f824"><code>f1b594e</code></a> Update dependency eslint-plugin-simple-import-sort to v14 (<a href="https://redirect.github.com/prettier/prettier/issues/19655">#19655</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/0d9dfb61530986373000dd107ea58ceebb79e233"><code>0d9dfb6</code></a> Update Yuku parser to v0.6.4 (<a href="https://redirect.github.com/prettier/prettier/issues/19650">#19650</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/3bbb8159eb55575d4042653aa99f5f92a1416c19"><code>3bbb815</code></a> Remove <code>typescript-only</code> directory (<a href="https://redirect.github.com/prettier/prettier/issues/19636">#19636</a>)</li> <li>Additional commits viewable in <a href="https://github.com/prettier/prettier/compare/3.8.3...3.9.6">compare view</a></li> </ul> </details> <br /> Updates `sass` from 1.99.0 to 1.102.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/sass/dart-sass/releases">sass's releases</a>.</em></p> <blockquote> <h2>Dart Sass 1.102.0</h2> <p>To install Sass 1.102.0, download one of the packages below and <a href="https://katiek2.github.io/path-doc/">add it to your PATH</a>, or see <a href="https://sass-lang.com/install">the Sass website</a> for full installation instructions.</p> <h1>Changes</h1> <ul> <li>Use the 2.4 gamma transfer function for rec2020, as specified by the latest draft of CSS Color 4.</li> </ul> <p>See the <a href="https://github.com/sass/dart-sass/blob/master/CHANGELOG.md#11020">full changelog</a> for changes in earlier releases.</p> <h2>Dart Sass 1.101.7</h2> <p>To install Sass 1.101.7, download one of the packages below and <a href="https://katiek2.github.io/path-doc/">add it to your PATH</a>, or see <a href="https://sass-lang.com/install">the Sass website</a> for full installation instructions.</p> <h1>Changes</h1> <ul> <li>No user-visible changes.</li> </ul> <p>See the <a href="https://github.com/sass/dart-sass/blob/master/CHANGELOG.md#11017">full changelog</a> for changes in earlier releases.</p> <h2>Dart Sass 1.101.6</h2> <p>To install Sass 1.101.6, download one of the packages below and <a href="https://katiek2.github.io/path-doc/">add it to your PATH</a>, or see <a href="https://sass-lang.com/install">the Sass website</a> for full installation instructions.</p> <h1>Changes</h1> <ul> <li>No user-visible changes.</li> </ul> <p>See the <a href="https://github.com/sass/dart-sass/blob/master/CHANGELOG.md#11016">full changelog</a> for changes in earlier releases.</p> <h2>Dart Sass 1.101.5</h2> <p>To install Sass 1.101.5, download one of the packages below and <a href="https://katiek2.github.io/path-doc/">add it to your PATH</a>, or see <a href="https://sass-lang.com/install">the Sass website</a> for full installation instructions.</p> <h1>Changes</h1> <ul> <li>No user-visible changes.</li> </ul> <p>See the <a href="https://github.com/sass/dart-sass/blob/master/CHANGELOG.md#11015">full changelog</a> for changes in earlier releases.</p> <h2>Dart Sass 1.101.4</h2> <p>To install Sass 1.101.4, download one of the packages below and <a href="https://katiek2.github.io/path-doc/">add it to your PATH</a>, or see <a href="https://sass-lang.com/install">the Sass website</a> for full installation instructions.</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/sass/dart-sass/blob/main/CHANGELOG.md">sass's changelog</a>.</em></p> <blockquote> <h2>1.102.0</h2> <ul> <li>Use the 2.4 gamma transfer function for rec2020, as specified by the latest draft of CSS Color 4.</li> </ul> <h2>1.101.7</h2> <ul> <li>No user-visible changes.</li> </ul> <h2>1.101.6</h2> <ul> <li>No user-visible changes.</li> </ul> <h2>1.101.5</h2> <ul> <li>No user-visible changes.</li> </ul> <h2>1.101.4</h2> <ul> <li> <p>Avoid emitting <code>rgb()</code> or <code>rgba()</code> functions with non-percent decimal channels. Older browsers only support integer values or (potentially decimal) percentages for these functions, so in order to preserve backwards-compatibility while retaining full precision for modern browsers, legacy colors that contain at least one non-integer channel will now use percentages for their channels (for example, <code>rgb(0%, 100%, 50%)</code> rather than <code>rgb(0, 255, 127.5)</code>).</p> </li> <li> <p>Fix a bug where the values of plain-CSS <code>if()</code> expressions were emitted using their <code>meta.inspect()</code> format rather than their CSS serialization format.</p> </li> </ul> <h2>1.101.3</h2> <ul> <li>No user-visible changes.</li> </ul> <h2>1.101.2</h2> <ul> <li>Fix a bug where the deprecation warning for vendor-prefixed <code>expression()</code> functions would incorrectly indicate whether or not the function would be invalid Sass in Dart Sass 2.0.0.</li> </ul> <h2>1.101.1</h2> <ul> <li>Sass stack trace entries are now always either absolute URLs, absolute paths, or paths relative to the current working directory. Previously, if a stylesheet was loaded using a relative URL (as from a load path), that relative URL was listed even if it couldn't be resolved relative to the current working directory. However, this created potential ambiguities, so this behavior has been removed.</li> </ul> <h3>Command Line Interface</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/sass/dart-sass/commit/45d1efe6517319ecd7b1409f1fa8355f969b0547"><code>45d1efe</code></a> Use gamma 2.40 for display-referred rec2020 (<a href="https://redirect.github.com/sass/dart-sass/issues/2729">#2729</a>)</li> <li><a href="https://github.com/sass/dart-sass/commit/96aa29183fc3d484929c1b461352b2c7562be81e"><code>96aa291</code></a> Persist credentials on all repos we push to (<a href="https://redirect.github.com/sass/dart-sass/issues/2812">#2812</a>)</li> <li><a href="https://github.com/sass/dart-sass/commit/5af0b897d54050a8b7e303f8d616e64b2f4d1ef1"><code>5af0b89</code></a> Set the Git committer for release tasks (<a href="https://redirect.github.com/sass/dart-sass/issues/2811">#2811</a>)</li> <li><a href="https://github.com/sass/dart-sass/commit/2cecbbb46ba375ff3e1835f1df73d58d09a67604"><code>2cecbbb</code></a> Fix more issues downstream from Zizmor (<a href="https://redirect.github.com/sass/dart-sass/issues/2809">#2809</a>)</li> <li><a href="https://github.com/sass/dart-sass/commit/a16f014e9f346fe3fb627395fa8b57155970a17e"><code>a16f014</code></a> Emit floating-point <code>rgb()</code> values as percentages (<a href="https://redirect.github.com/sass/dart-sass/issues/2800">#2800</a>)</li> <li><a href="https://github.com/sass/dart-sass/commit/4ed2c883a6233d2d8b8d63901940639c912025ef"><code>4ed2c88</code></a> Serialize <code>if()</code> values as CSS, not as inspected values (<a href="https://redirect.github.com/sass/dart-sass/issues/2808">#2808</a>)</li> <li><a href="https://github.com/sass/dart-sass/commit/9dfde3db6b608c8ea1744e9c3b0f9622ab96c6f3"><code>9dfde3d</code></a> Fix more post-Zizmor failures (<a href="https://redirect.github.com/sass/dart-sass/issues/2806">#2806</a>)</li> <li><a href="https://github.com/sass/dart-sass/commit/e8c12331ea5304a1d641d6a6bd4cb526cb3800b9"><code>e8c1233</code></a> Fix some GitHub actions issues introduced by the Zizmor refactor (<a href="https://redirect.github.com/sass/dart-sass/issues/2798">#2798</a>)</li> <li><a href="https://github.com/sass/dart-sass/commit/d676118ace4b6b196383f26cf5ffda4f9c61b239"><code>d676118</code></a> Merge pull request <a href="https://redirect.github.com/sass/dart-sass/issues/2797">#2797</a> from sass/lints</li> <li><a href="https://github.com/sass/dart-sass/commit/548e6604c5eed5137b148a839513c7444582eb3c"><code>548e660</code></a> Prefer interpolation to compose strings</li> <li>Additional commits viewable in <a href="https://github.com/sass/dart-sass/compare/1.99.0...1.102.0">compare view</a></li> </ul> </details> <br /> Updates `svelte` from 5.55.7 to 5.56.9 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/sveltejs/svelte/releases">svelte's releases</a>.</em></p> <blockquote> <h2>svelte@5.56.9</h2> <h3>Patch Changes</h3> <ul> <li> <p>fix: skip controlled each fast path while another batch is pending (<a href="https://redirect.github.com/sveltejs/svelte/pull/18625">#18625</a>)</p> </li> <li> <p>fix: better whitespace handling inside printer (<a href="https://redirect.github.com/sveltejs/svelte/pull/18638">#18638</a>)</p> </li> <li> <p>fix: don't duplicate comments in attributes (<a href="https://redirect.github.com/sveltejs/svelte/pull/18636">#18636</a>)</p> </li> <li> <p>fix: preserve CSS comments in the AST printer (<a href="https://redirect.github.com/sveltejs/svelte/pull/18637">#18637</a>)</p> </li> </ul> <h2>svelte@5.56.8</h2> <h3>Patch Changes</h3> <ul> <li> <p>fix: call <code>onerror</code> and provide a working <code>reset</code> when hydrating a failed boundary (<a href="https://redirect.github.com/sveltejs/svelte/pull/18556">#18556</a>)</p> </li> <li> <p>fix: preserve select selection when spread attributes omit value (<a href="https://redirect.github.com/sveltejs/svelte/pull/18561">#18561</a>)</p> </li> </ul> <h2>svelte@5.56.7</h2> <h3>Patch Changes</h3> <ul> <li>chore: provide <code>indent</code> option for <code>print</code> (<a href="https://redirect.github.com/sveltejs/svelte/pull/18474">#18474</a>)</li> </ul> <h2>svelte@5.56.6</h2> <h3>Patch Changes</h3> <ul> <li> <p>perf: skip unnecessary blocker analysis when compiling components without top-level await (<a href="https://redirect.github.com/sveltejs/svelte/pull/18548">#18548</a>)</p> </li> <li> <p>fix: rerun derived that had an abort controller on reconnection (<a href="https://redirect.github.com/sveltejs/svelte/pull/18551">#18551</a>)</p> </li> </ul> <h2>svelte@5.56.5</h2> <h3>Patch Changes</h3> <ul> <li> <p>chore: drop dead code that make TSGO fail (<a href="https://redirect.github.com/sveltejs/svelte/pull/18496">#18496</a>)</p> </li> <li> <p>fix: don't (re)connect deriveds when read inside branch/root effects (<a href="https://redirect.github.com/sveltejs/svelte/pull/18527">#18527</a>)</p> </li> <li> <p>fix: skip unnecessary derived effect in earlier batch (<a href="https://redirect.github.com/sveltejs/svelte/pull/18525">#18525</a>)</p> </li> <li> <p>fix: avoid declaration tag warning in event handlers (<a href="https://redirect.github.com/sveltejs/svelte/pull/18500">#18500</a>)</p> </li> <li> <p>fix: abort deriveds own AbortSignal when it disconnects (<a href="https://redirect.github.com/sveltejs/svelte/pull/18400">#18400</a>)</p> </li> <li> <p>fix: ensure <code>$state.eager()</code> is correctly transormed for SSR output (<a href="https://redirect.github.com/sveltejs/svelte/pull/18530">#18530</a>)</p> </li> <li> <p>fix: correctly transform declaration tags during SSR (<a href="https://redirect.github.com/sveltejs/svelte/pull/18492">#18492</a>)</p> </li> <li> <p>fix: transform computed keys in keyed <code>{#each}</code> destructuring patterns (<a href="https://redirect.github.com/sveltejs/svelte/pull/18521">#18521</a>)</p> </li> <li> <p>fix: chain preprocessor sourcemaps with an empty <code>sources[0]</code> instead of dropping them (<a href="https://redirect.github.com/sveltejs/svelte/pull/18518">#18518</a>)</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md">svelte's changelog</a>.</em></p> <blockquote> <h2>5.56.9</h2> <h3>Patch Changes</h3> <ul> <li> <p>fix: skip controlled each fast path while another batch is pending (<a href="https://redirect.github.com/sveltejs/svelte/pull/18625">#18625</a>)</p> </li> <li> <p>fix: better whitespace handling inside printer (<a href="https://redirect.github.com/sveltejs/svelte/pull/18638">#18638</a>)</p> </li> <li> <p>fix: don't duplicate comments in attributes (<a href="https://redirect.github.com/sveltejs/svelte/pull/18636">#18636</a>)</p> </li> <li> <p>fix: preserve CSS comments in the AST printer (<a href="https://redirect.github.com/sveltejs/svelte/pull/18637">#18637</a>)</p> </li> </ul> <h2>5.56.8</h2> <h3>Patch Changes</h3> <ul> <li> <p>fix: call <code>onerror</code> and provide a working <code>reset</code> when hydrating a failed boundary (<a href="https://redirect.github.com/sveltejs/svelte/pull/18556">#18556</a>)</p> </li> <li> <p>fix: preserve select selection when spread attributes omit value (<a href="https://redirect.github.com/sveltejs/svelte/pull/18561">#18561</a>)</p> </li> </ul> <h2>5.56.7</h2> <h3>Patch Changes</h3> <ul> <li>chore: provide <code>indent</code> option for <code>print</code> (<a href="https://redirect.github.com/sveltejs/svelte/pull/18474">#18474</a>)</li> </ul> <h2>5.56.6</h2> <h3>Patch Changes</h3> <ul> <li> <p>perf: skip unnecessary blocker analysis when compiling components without top-level await (<a href="https://redirect.github.com/sveltejs/svelte/pull/18548">#18548</a>)</p> </li> <li> <p>fix: rerun derived that had an abort controller on reconnection (<a href="https://redirect.github.com/sveltejs/svelte/pull/18551">#18551</a>)</p> </li> </ul> <h2>5.56.5</h2> <h3>Patch Changes</h3> <ul> <li> <p>chore: drop dead code that make TSGO fail (<a href="https://redirect.github.com/sveltejs/svelte/pull/18496">#18496</a>)</p> </li> <li> <p>fix: don't (re)connect deriveds when read inside branch/root effects (<a href="https://redirect.github.com/sveltejs/svelte/pull/18527">#18527</a>)</p> </li> <li> <p>fix: skip unnecessary derived effect in earlier batch (<a href="https://redirect.github.com/sveltejs/svelte/pull/18525">#18525</a>)</p> </li> <li> <p>fix: avoid declaration tag warning in event handlers (<a href="https://redirect.github.com/sveltejs/svelte/pull/18500">#18500</a>)</p> </li> <li> <p>fix: abort deriveds own AbortSignal when it disconnects (<a href="https://redirect.github.com/sveltejs/svelte/pull/18400">#18400</a>)</p> </li> <li> <p>fix: ensure <code>$state.eager()</code> is correctly transormed for SSR output (<a href="https://redirect.github.com/sveltejs/svelte/pull/18530">#18530</a>)</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/sveltejs/svelte/commit/20b341f10048cf1016a2028ac7eee5595cfef6a5"><code>20b341f</code></a> Version Packages (<a href="https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte/issues/18628">#18628</a>)</li> <li><a href="https://github.com/sveltejs/svelte/commit/ee6dff80cae6fdcb068647322090765c77f67ee4"><code>ee6dff8</code></a> fix: better whitespace handling inside printer (<a href="https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte/issues/18638">#18638</a>)</li> <li><a href="https://github.com/sveltejs/svelte/commit/a1d5035d1777be6ab177d3749668f599ccefc445"><code>a1d5035</code></a> fix: preserve CSS comments in the AST printer (<a href="https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte/issues/18637">#18637</a>)</li> <li><a href="https://github.com/sveltejs/svelte/commit/3ed9db4ba78f61792b87... _Description has been truncated_ --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Fernando Lins <1887601+fernandolins@users.noreply.github.com> |
||
|
|
202a70f2fa |
CI: Remove RELEASE_TOKEN GHA secret (#5372)
## Linked issue A follow-up to #5273 ## Summary / motivation #5273 replaced the prepare-release.yml workflow with a script that can be run locally, which removed the need for the RELEASE_TOKEN personal access token. This removes the last usage of the token for creating the draft release, which was not necessary in any case as the default `github.token` has the necessary permissions to create releases. ## Before / after behavior - The release author will now be `github-actions[bot]` instead of @andrewsanchez - Some release events won't fire, but we don't rely on any at the moment: https://github.com/orgs/community/discussions/16244 |
||
|
|
8e1c571bd1 |
docs: Document the anki-audio package (#5411)
Some notes about updating the `anki-audio` package. |
||
|
|
c3188ebb67 |
docs: Fix broken links in dev docs (#5410)
## Linked issue Closes #5335 Closes #5350 ## Summary Fix broken links in docs/ by replacing relative links (`./linux.md`) with absolute ones (`/developers/linux`). ## How to test Confirm all internal links in docs/ work |