Skip to content

test: remove tautological and duplicate Rust unit tests - #3057

Merged
fengmk2 merged 1 commit into
mainfrom
claude/prune-tests-duplicate-shell-and-helper-tests
Oct 15, 2026
Merged

fengmk2 merged 1 commit into
mainfrom
claude/prune-tests-duplicate-shell-and-helper-tests

Conversation

@Brooooooklyn

Copy link
Copy Markdown
Member

Requested by Brooklyn · project thread

Before: vp_global_cli and vp_pm_cli carried Rust unit tests that could not fail when the product broke: an assert!(true) in create.rs, four env use shell-detection tests that repeat commands::shell tests for code env use only imports, and three tests of test-only helpers. upgrade_check.rs had 20 hand-unrolled lookup tests.

After: those 8 tests are gone and the 20 lookup tests are 2 table-driven tests that keep every row and comment, with the failing row named in the assertion message. Only test code changes: every hunk is inside a #[cfg(test)] module or the #[cfg(test)]-only resolution::test_utils module.

How: each candidate was defended by mutating product code with the most realistic regression only it would catch, running the crate's tests, and reverting. No deleted test failed alone on any mutation.

Totals

Before (origin/main c04bcf6) After
Files touched – 5
vp_global_cli cases collected (Linux) 502 (+2 ignored) 479 (+2 ignored)
vp_pm_cli cases collected 923 (+2 ignored) 920 (+2 ignored)
  • Cases deleted: 8 of 1,425 collected in the two touched crates. Repo-wide: about 2,432 #[test]/#[tokio::test] attributes in tracked Rust (static count) and 1,492 static it/test calls in 101 JS spec files (not collected; Vitest needs a full packages/core build).
  • Cases folded: 20 into 2, every row and comment kept. Runner-collected total: −26.
  • Net lines: −159 (+42 / −201).
  • Runtime saved: about 0.03 s (the 8 deleted cases each report 0.000 s; the 20 folded cases summed 0.028 s against 0.011 s for the 2 replacements).
  • Test-binary time on this shared machine: vp_global_cli 3.13 s → 3.32 s, vp_pm_cli 27.81 s → 29.06 s (noise).

Per file

  1. crates/vp_global_cli/src/commands/create.rs › test_create_command_module_exists
    • Class: tautology (assert!(true)).
    • Best defense: M1 (delegate "new" instead of "create") passes all 502 tests, so this test cannot fail. The whole mod tests goes.
    • Coverage gap (pre-existing, unchanged by this PR): no unit test covers vp create delegation. It may be covered by the PTY snapshot suite, which was not run.
  2. crates/vp_global_cli/src/commands/env/use.rs › test_detect_shell_vp_shell_{powershell,fish,nu}, test_detect_shell_posix_default
    • Class: duplicates of stronger tests. detect_shell / Shell::from_str live in commands/shell.rs; env use only imports them.
    • Still covered: fish is byte-identical to commands::shell::tests::test_detect_shell_vp_shell_fish; nu to test_detect_shell_vp_shell_explicit; lowercase powershell by test_shell_from_str and test_detect_shell_vp_shell_case_insensitive; posix_default by test_detect_shell_defaults_without_vp_shell.
    • Best defenses M2–M5: each failed the nominee together with at least one commands::shell test.
    • The use vp_shared::env_vars; import is now #[cfg(windows)], since only the three Windows-only tests in the module still use it.
  3. crates/vp_pm_cli/src/resolution/test_utils.rs › parses_args_without_a_program_name, parses_subcommands_without_a_program_name
    • Class: test tooling testing test tooling.
    • Best defense: M7 fails 122 tests and M8 fails 17; every resolution parser test exercises these helpers.
  4. crates/vp_pm_cli/src/resolution/commands/list.rs › list_args_helper_keeps_pattern (and its test-only list_args helper, which had no other caller)
    • Class: test tooling testing test tooling; it only checked struct construction.
    • Best defenses: M9 fails only test_list_with_pattern_and_pass_through_args; M10 fails test_parser_accepts_short_dev_and_global_flags and cli::tests::projects_managed_global_commands. The nominee passes both.

Folds (crates/vp_global_cli/src/upgrade_check.rs)

  • The 9 is_newer_version_* tests → is_newer_version_compares_semver (12 rows, original comments kept, one comment added for the 0.0.0 dev-build row).
  • The 11 should_run_for_* / should_not_run_for_* tests → should_run_for_command_skips_excluded_and_machine_readable_commands (11 rows).
  • M11, M12 and M13 still fail the folded tables.

Kept after defense — do not re-nominate

None: no nominee survived its defense.

Case counts

file before after delta expected delta
vp_global_cli commands/create.rs 1 0 −1 −1
vp_global_cli commands/env/use.rs (Linux) 16 12 −4 −4
vp_global_cli upgrade_check.rs 36 18 −18 −18 (20 folded into 2)
vp_pm_cli resolution/commands/list.rs 45 44 −1 −1
vp_pm_cli resolution/test_utils.rs 2 0 −2 −2
Crates total 1,425 1,399 −26 −26

0 new failures (0 failed and 4 ignored, before and after).

Mutations

Each was temporary and reverted (git status clean afterwards).

  1. M1 create.rs:15: delegate "new" instead of "create". Failed: none.
  2. M2 shell.rs:30: "fish" → "fishshell". Failed: use::…_fish, shell::test_shell_from_str, shell::…_fish.
  3. M3 shell.rs:31: "nu" | "nushell" → "nushell". Failed: use::…_nu, shell::…_explicit, shell::test_shell_from_str.
  4. M4 shell.rs:32: drop "powershell". Failed: use::…_powershell, shell::…_case_insensitive, shell::test_shell_from_str.
  5. M5 shell.rs:54: default always Cmd. Failed: use::…_posix_default, shell::…_defaults_without_vp_shell, shell::…_invalid_vp_shell_falls_back_to_default.
  6. M6 shell.rs:49: upper-case the value. Failed: none (equivalent mutation; from_str lowercases).
  7. M7 test_utils.rs:70: test_argv no longer prepends a program name. Failed: 122 tests, including both nominees.
  8. M8 test_utils.rs:57: parse_subcommand gets raw args. Failed: 17 tests (config, dist_tag, owner, stage, token, plus the nominee).
  9. M9 list.rs:78-80: pnpm drops the pattern. Failed: test_list_with_pattern_and_pass_through_args only.
  10. M10 list.rs:11: pattern becomes #[arg(long)]. Failed: test_parser_accepts_short_dev_and_global_flags, cli::tests::projects_managed_global_commands.
  11. M11 upgrade_check.rs:170 (after the fold): > → >=. Failed: is_newer_version_compares_semver.
  12. M12 upgrade_check.rs:338 (after the fold): Upgrade removed from the excluded commands. Failed: should_run_for_command_skips_excluded_and_machine_readable_commands.
  13. M13 upgrade_check.rs:165 (after the fold): the 0.0.0 early return removed. Failed: is_newer_version_compares_semver.

What ran and what did not

  • Ran, at origin/main and on this branch: cargo test -p vp_global_cli and cargo test -p vp_pm_cli with --report-time; cargo clippy -p vp_global_cli -p vp_pm_cli --all-targets --all-features -- --deny warnings with the just lint allow-list; cargo fmt --all -- --check; git diff --check. All pass.
  • Not run: the full workspace just test / just lint / just check; Windows targets (none installed here, so the #[cfg(windows)] import gate was reviewed but not compiled; Windows CI will compile it); the JS/Vitest suite; the PTY snapshot suite.

Excluded pull requests

55 open PRs touch 737 files between them; none of the 5 files here is among them. #3055 #3052 #3051 #3049 #3047 #3046 #3044 #3040 #3038 #3037 #3020 #3018 #3014 #3012 #3009 #3008 #3000 #2986 #2981 #2966 #2936 #2922 #2900 #2863 #2862 #2810 #2792 #2740 #2721 #2699 #2695 #2574 #2557 #2552 #2549 #2543 #2542 #2541 #2483 #2475 #2463 #2462 #2461 #2456 #2428 #2418 #2357 #2267 #2125 #1958 #1783 #1782 #1614 #1517 #1180.

Age check (cutoff: 30 days, 2026-09-14)

First-added dates from git log -S, followed across the vite_* → vp_* crate rename.

Test First added
test_create_command_module_exists 2026-02-10 (a29ac83, #570)
test_detect_shell_posix_default 2026-02-07 (194c0dc, #524)
test_detect_shell_vp_shell_{powershell,fish,nu} 2026-05-24 (53ae721, #1658)
test_utils tests and list_args_helper_keeps_pattern 2026-08-03 (c1574dd, #2140)
The 20 folded upgrade_check tests 2026-03-30 (db75675)

None was added for a bug or incident, and none is in a permission, security or entitlement suite.

Checks

Check Before After
Tests vp_global_cli 502 pass 479 pass
Tests vp_pm_cli 923 pass 920 pass
Clippy (deny warnings) pass pass
rustfmt – pass
git diff --check – clean

To revert: git revert 687935d7461f97f8d6cf53b62e2b9c718c23d413.

🤖 Generated with Claude Code

https://claude.ai/code/session_01PxVsmvB9xfZKfVnUonY8kf


Generated by Claude Code

- Drop the `assert!(true)` placeholder test in `vp create`.
- Drop four `detect_shell` tests in `env use` that duplicate the
  `commands::shell` tests of the same function.
- Drop tests of test-only helpers (`resolution::test_utils` and the
  `list_args` helper); every resolution parser test already exercises them.
- Fold the unrolled `is_newer_version` and `should_run_for_command` cases
  in `upgrade_check` into table-driven tests, keeping every row and comment.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PxVsmvB9xfZKfVnUonY8kf
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-14T18:11:06.867976Z 687935d PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown
Contributor

CLI artifact sizes (687935d)

Final release artifacts built by the canonical build-upstream and build-windows-cli actions.
The dist rows use the Linux build. The core total excludes .node files to match the release artifact.

Artifact Format Base PR Change
packages/cli/dist Directory total 2.21 MiB 2.21 MiB 0 B (0.00%)
packages/core/dist Directory total 4.08 MiB 4.08 MiB 0 B (0.00%)
Combined package dist Directory total 6.29 MiB 6.29 MiB 0 B (0.00%)
vp (Linux x64) Binary 10.15 MiB 10.15 MiB 0 B (0.00%)
vp (Linux x64) gzip -9 4.48 MiB 4.48 MiB 0 B (0.00%)
NAPI (Linux x64) Binary 33.59 MiB 33.59 MiB 0 B (0.00%)
NAPI (Linux x64) gzip -9 13.37 MiB 13.37 MiB 0 B (0.00%)
vp (macOS ARM64) Binary 7.57 MiB 7.57 MiB 0 B (0.00%)
vp (macOS ARM64) gzip -9 3.92 MiB 3.92 MiB 0 B (0.00%)
NAPI (macOS ARM64) Binary 40.86 MiB 40.86 MiB 0 B (0.00%)
NAPI (macOS ARM64) gzip -9 17.60 MiB 17.60 MiB 0 B (0.00%)
vp (Windows x64) Binary 8.21 MiB 8.21 MiB 0 B (0.00%)
vp (Windows x64) gzip -9 3.63 MiB 3.63 MiB -1 B (-0.00%)
NAPI (Windows x64) Binary 29.65 MiB 29.65 MiB 0 B (0.00%)
NAPI (Windows x64) gzip -9 12.09 MiB 12.09 MiB -6 B (-0.00%)
Trampoline (Windows x64) Binary 13.50 KiB 13.50 KiB 0 B (0.00%)
Trampoline (Windows x64) gzip -9 7.09 KiB 7.09 KiB 0 B (0.00%)
Installer (Windows x64) Binary 3.60 MiB 3.60 MiB 0 B (0.00%)
Installer (Windows x64) gzip -9 1.77 MiB 1.77 MiB 0 B (0.00%)

@cloudflare-workers-and-pages

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://claude-prune-tests-duplicate-shell-and-helper-test-viteplus-dev.voidzero-docs.workers.dev (commit 687935d)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://114e637a-viteplus-dev.voidzero-docs.workers.dev 687935d 2026-10-14T18:09:53.468Z Visit the dashboard ↗

@fengmk2
fengmk2 merged commit 88b34aa into main Oct 15, 2026
107 of 136 checks passed
@fengmk2
fengmk2 deleted the claude/prune-tests-duplicate-shell-and-helper-tests branch October 15, 2026 02:29
@fengmk2 fengmk2 mentioned this pull request Oct 16, 2026
fengmk2 added a commit that referenced this pull request Oct 16, 2026
Vite+ 1.3 adds `create-vite-plus`, so `npm create vite-plus@latest`
starts a project without the global `vp`. It adds `vp pm pkg` for
editing `package.json` and `vp pm licenses list` for dependency
licenses, and lets `vp env` take package-manager dist-tags such as
`pnpm@latest-10`. It also makes `vp migrate` import rewriting much
faster on large projects and makes `vp dev` print Vite's `ready in` line
and honor `--debug`, `--filter`, and `--profile`.

### Features

- Create a Vite+ project without installing the global `vp` through
`pnpm create vite-plus`, `npm create vite-plus@latest`, `yarn create
vite-plus`, or `bun create vite-plus`, which run `vp create` with the
same arguments
([docs](https://viteplus.dev/guide/create#without-the-global-cli))
([#3028](#3028),
[#3048](#3048)), by
@liangmiQwQ.
- `vp pm pkg get`, `set`, `delete`, and `fix` read and update
`package.json` through the detected package manager: npm 7.20.0 and
later (`fix` from 9.8.0), pnpm 11.3.0 and later, and Bun 1.2.19 and
later
([docs](https://viteplus.dev/guide/package-management#package-manifest))
([#3020](#3020)), by
@jong-kyung.
- `vp pm licenses list` (or `ls`) lists dependency licenses through pnpm
7.17.0 and later, Yarn Classic, or Bun 1.4.0 and later, with `--json`
for machine-readable output
([#3037](#3037)), by
@jong-kyung.
- `vp env` accepts npm dist-tags in package-manager specs: `vp env pin
pnpm@latest-10` pins the exact version the tag points to, and `vp env
default pnpm@latest-10` follows the tag on each use
([#3047](#3047)), by
@liangmiQwQ.
- Upgrade the bundled tools
([#3058](#3058),
[#3078](#3078)), by
@voidzero-guard[bot] and @fengmk2:
- `rolldown@1.2.13` to `rolldown@1.2.14`. Rolldown adds the
`output.charset` option and fixes several tree-shaking, code-splitting,
and renaming bugs.
- `vitest@5.0.4` to `vitest@5.0.5`, with fixes for browser mode, hook
cleanup after a failing hook, and `--changed` with quoted file names.

### Fixes & Enhancements

- Import rewriting in `vp migrate` is up to 14 times faster on large
projects, for example 78 s to 5.6 s on Dify
([#2987](#2987)), by
@fengmk2.
- `vp dev` prints Vite's `ready in N ms` line, so scripts that wait for
it no longer time out after `vp migrate`. `--debug`, `--filter`, and
`--profile` now take effect in `vp dev`, `vp build`, and `vp preview`,
and `vp preview` stops when the build output is missing, as `vite
preview` does
([#3056](#3056)), by
@fengmk2.
- `vp staged` prints one result line per task, such as `✔ vp check
--fix`, instead of the task list and Git progress. Warnings, errors, and
rollback results stay visible, `--verbose` shows task output, and
`--debug` keeps the full log
([#3060](#3060)), by
@fengmk2.
- After a successful upgrade, `vp upgrade` reminds you to run `vp
migrate` in projects that use an older Vite+ version
([#3063](#3063)), by
@KTrain5169.
- The coding agent picker in `vp create` and `vp migrate` lists Claude
Code under `AGENTS.md` and no longer offers a separate `CLAUDE.md`
option. `--agent claude` and existing `CLAUDE.md` files still work
([#3055](#3055)), by
@fengmk2.

### Docs

- Recommend setting `runtimeOnFail: ignore` and `pmOnFail: ignore` in
the project's `pnpm-workspace.yaml` for pnpm 11 and later, since pnpm
does not read `runtimeOnFail` from its global config
([#3077](#3077)), by
@liangmiQwQ.

### Chore

- Speed up CI with ThinLTO native test builds, a pinned prepacked
Windows SDK, and a precompiled std for trampoline tests, keep
dependencies in Cargo caches, switch Linux runners, and update Windows
build pins with Renovate
([#3026](#3026),
[#2995](#2995),
[#3009](#3009),
[#3000](#3000),
[#3073](#3073),
[#3049](#3049)), by
@fengmk2.
- Stabilize CLI snapshots during slow package-manager downloads, isolate
Vitest browser and UI server ports, skip slow snapshot cases on Linux
and Windows, and remove duplicate Rust unit tests
([#3043](#3043),
[#3061](#3061),
[#3059](#3059),
[#3057](#3057)), by
@fengmk2 and @Brooooooklyn.
- Upgrade Rust crates and JavaScript dependencies, including
`rustls@0.23.46` and `ast-grep@0.51.0`, and remove unused catalog
entries ([#1780](#1780),
[#1782](#1782),
[#1783](#1783)), by
@renovate[bot] and @fengmk2.
- Refine the release-manager guidance
([#3052](#3052)), by
@fengmk2.

### Bundled Versions

| Tool | Version | Source | Changelog |
| --------------- | ---------- |
-------------------------------------------------------------------------------------------------
| ------------------------------------------------------------------- |
| vite | `8.3.4` |
[`b6c20f6`](vitejs/vite@b6c20f6)
| unchanged |
| rolldown | `1.2.14` |
[`c9a8cda`](rolldown/rolldown@c9a8cda)
| [1.2.14](https://github.com/rolldown/rolldown/releases/tag/v1.2.14) |
| tsdown | `0.23.1` | [npm](https://npmx.dev/package/tsdown/v/0.23.1) |
unchanged |
| vitest | `5.0.5` | [npm](https://npmx.dev/package/vitest/v/5.0.5) |
[5.0.5](https://github.com/vitest-dev/vitest/releases/tag/v5.0.5) |
| oxlint | `1.88.0` | [npm](https://npmx.dev/package/oxlint/v/1.88.0) |
unchanged |
| oxlint-tsgolint | `7.0.2004` |
[npm](https://npmx.dev/package/oxlint-tsgolint/v/7.0.2004) | unchanged |
| oxfmt | `0.73.0` | [npm](https://npmx.dev/package/oxfmt/v/0.73.0) |
unchanged |

### Upgrade

```bash
vp upgrade
```

**Full Changelog**:
v1.2.0...v1.3.0

---

Merging this PR will trigger the release workflow.

---------

Co-authored-by: voidzero-guard[bot] <278573678+voidzero-guard[bot]@users.noreply.github.com>
Co-authored-by: MK (fengmk2) <fengmk2@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
fengmk2 added a commit that referenced this pull request Nov 16, 2026
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [ast-grep-config](https://redirect.github.com/ast-grep/ast-grep) |
workspace.dependencies | patch | `0.51.0` → `0.51.2` |
| [ast-grep-core](https://ast-grep.github.io/)
([source](https://redirect.github.com/ast-grep/ast-grep)) |
workspace.dependencies | patch | `0.51.0` → `0.51.2` |
| [ast-grep-language](https://redirect.github.com/ast-grep/ast-grep) |
workspace.dependencies | patch | `0.51.0` → `0.51.2` |
| [criterion2](https://bheisler.github.io/criterion.rs/book/index.html)
([source](https://redirect.github.com/Boshen/criterion2.rs)) |
workspace.dependencies | patch | `3.0.4` → `3.0.5` |
| [ignore](https://redirect.github.com/BurntSushi/ripgrep)
([source](https://redirect.github.com/BurntSushi/ripgrep/tree/HEAD/crates/ignore))
| workspace.dependencies | patch | `0.4.33` → `0.4.34` |
| [js-semver](https://redirect.github.com/ryuapp/js-semver) |
workspace.dependencies | patch | `1.0.1` → `1.0.2` |
| [nix](https://redirect.github.com/nix-rust/nix) |
workspace.dependencies | minor | `0.31.0` → `0.32.0` |
| [pgp](https://redirect.github.com/rpgp/rpgp) | workspace.dependencies
| patch | `0.21.0` → `0.21.1` |
| [saphyr](https://redirect.github.com/saphyr-rs/saphyr) |
workspace.dependencies | patch | `0.3.3` → `0.3.4` |
| [syn](https://redirect.github.com/dtolnay/syn) |
workspace.dependencies | patch | `3.0.9` → `3.0.10` |
| [toml](https://redirect.github.com/toml-rs/toml) |
workspace.dependencies | minor | `1.1.8+spec-1.1.0` → `1.2.1` |
| [webpki-root-certs](https://redirect.github.com/rustls/webpki-roots) |
workspace.dependencies | patch | `1.0.10` → `1.0.12` |
| [zip](https://redirect.github.com/zip-rs/zip2) |
workspace.dependencies | minor | `9.0.5` → `9.6.0` |

---

### Release Notes

<details>
<summary>ast-grep/ast-grep (ast-grep-config)</summary>

###
[`v0.51.2`](https://redirect.github.com/ast-grep/ast-grep/blob/HEAD/CHANGELOG.md#0512)

[Compare
Source](https://redirect.github.com/ast-grep/ast-grep/compare/0.51.1...0.51.2)

- chore(deps): update rust crate tree-sitter-scala to v0.26.10
[`#3085`](https://redirect.github.com/ast-grep/ast-grep/pull/3085)
- feat(language): define feature-gated languages with macros
[`#3081`](https://redirect.github.com/ast-grep/ast-grep/pull/3081)
- docs: fix dead wasm-pack installer link in the wasm crate README
[`#3084`](https://redirect.github.com/ast-grep/ast-grep/pull/3084)
- chore(deps): update dependency oxlint to v1.93.0
[`#3082`](https://redirect.github.com/ast-grep/ast-grep/pull/3082)
- fix(config): do not split words at digits in convert transform
[`#3070`](https://redirect.github.com/ast-grep/ast-grep/pull/3070)
- chore(deps): update dependency web-tree-sitter to v0.27.2
[`#3075`](https://redirect.github.com/ast-grep/ast-grep/pull/3075)
- chore(deps): update dependency node to v26
[`#3069`](https://redirect.github.com/ast-grep/ast-grep/pull/3069)
- chore(deps): update rust crate toml_edit to v0.25.19
[`#3071`](https://redirect.github.com/ast-grep/ast-grep/pull/3071)
- chore(deps): update rust crate tree-sitter-scala to v0.26.9
[`#3072`](https://redirect.github.com/ast-grep/ast-grep/pull/3072)
- chore(deps): update dependency oxlint to v1.92.0
[`#3074`](https://redirect.github.com/ast-grep/ast-grep/pull/3074)
- chore(deps): update rust crate smallvec to v1.16.5
[`#3073`](https://redirect.github.com/ast-grep/ast-grep/pull/3073)
- chore(deps): update rust crate tree-sitter to v0.27.2
[`#3076`](https://redirect.github.com/ast-grep/ast-grep/pull/3076)
- test(cli): verify npm packages on all platforms daily
[`#3068`](https://redirect.github.com/ast-grep/ast-grep/pull/3068)
- feat(cli): distribute musl Linux binaries
[`#3067`](https://redirect.github.com/ast-grep/ast-grep/pull/3067)
- Fail `ast-grep test` for unmatched IDs or when no tests run
[`#3065`](https://redirect.github.com/ast-grep/ast-grep/pull/3065)
- chore(deps): update dependency
[@&#8203;napi-rs/cli](https://redirect.github.com/napi-rs/cli) to
v3.10.12
[`#3057`](https://redirect.github.com/ast-grep/ast-grep/pull/3057)
- chore(deps): update rust crate serde-saphyr to v2.1.1
[`#3062`](https://redirect.github.com/ast-grep/ast-grep/pull/3062)
- chore(deps): update rust crate toml_edit to v0.25.18
[`#3063`](https://redirect.github.com/ast-grep/ast-grep/pull/3063)
- fix(lsp): report columns in UTF-16 code units
[`#3060`](https://redirect.github.com/ast-grep/ast-grep/pull/3060)
- chore(deps): update dependency oxlint to v1.91.0
[`#3061`](https://redirect.github.com/ast-grep/ast-grep/pull/3061)
- chore(deps): update dependency
[@&#8203;ast-grep/napi](https://redirect.github.com/ast-grep/napi) to
v0.51.1
[`#3055`](https://redirect.github.com/ast-grep/ast-grep/pull/3055)

###
[`v0.51.1`](https://redirect.github.com/ast-grep/ast-grep/blob/HEAD/CHANGELOG.md#0511)

[Compare
Source](https://redirect.github.com/ast-grep/ast-grep/compare/0.51.0...0.51.1)

> 2 November 2026

- fix(cli): report skipped files and reason in --inspect entity
[`#3044`](https://redirect.github.com/ast-grep/ast-grep/pull/3044)
- chore(deps): update rust crate tree-sitter-scala to v0.26.4
[`#3054`](https://redirect.github.com/ast-grep/ast-grep/pull/3054)
- fix(dynamic): only replace metavariable sigils with the expando char
[`#3052`](https://redirect.github.com/ast-grep/ast-grep/pull/3052)
- fix(core): keep $ followed by a digit literal in fix templates
[`#3045`](https://redirect.github.com/ast-grep/ast-grep/pull/3045)
- fix(deps): update rust-wasm-bindgen monorepo
[`#3046`](https://redirect.github.com/ast-grep/ast-grep/pull/3046)
- Fix macOS universal2 wheel matching
[`#3050`](https://redirect.github.com/ast-grep/ast-grep/pull/3050)
- chore(deps): update rust crate napi-derive to v3.7.0
[`#3049`](https://redirect.github.com/ast-grep/ast-grep/pull/3049)
- chore(deps): update rust crate napi to v3.16.1
[`#3047`](https://redirect.github.com/ast-grep/ast-grep/pull/3047)
- fix(scan): bind utilDirs utils for --inline-rules and --rules
[`#2943`](https://redirect.github.com/ast-grep/ast-grep/pull/2943)
- fix(cli): percent-encode file paths in sarif uri
[`#3042`](https://redirect.github.com/ast-grep/ast-grep/pull/3042)
- chore(deps): update dependency node to v26
[`#3043`](https://redirect.github.com/ast-grep/ast-grep/pull/3043)
- chore(deps): update dependency oxlint to v1.90.0
[`#3036`](https://redirect.github.com/ast-grep/ast-grep/pull/3036)
- chore(deps): update astral-sh/setup-uv action to v10.3.3
[`#3040`](https://redirect.github.com/ast-grep/ast-grep/pull/3040)
- chore(deps): update rust crate globset to v0.4.21
[`#3037`](https://redirect.github.com/ast-grep/ast-grep/pull/3037)
- chore(deps): update rust crate ignore to v0.4.34
[`#3038`](https://redirect.github.com/ast-grep/ast-grep/pull/3038)
- chore(deps): update dependency node to v26
[`#3039`](https://redirect.github.com/ast-grep/ast-grep/pull/3039)
- fix(sarif): set the log version to 2.1.0
[`#3035`](https://redirect.github.com/ast-grep/ast-grep/pull/3035)
- fix(cli): escape special characters in github format output
[`#3034`](https://redirect.github.com/ast-grep/ast-grep/pull/3034)
- chore(deps): update dependency web-tree-sitter to ^0.26.0 || ^0.27.0
[`#3019`](https://redirect.github.com/ast-grep/ast-grep/pull/3019)
- chore(deps): update dependency dprint to v0.64.3
[`#3029`](https://redirect.github.com/ast-grep/ast-grep/pull/3029)
- chore(deps): update rust crate smallvec to v1.16.4
[`#3030`](https://redirect.github.com/ast-grep/ast-grep/pull/3030)
- chore(deps): update rust crate similar to v3.2.1
[`#3031`](https://redirect.github.com/ast-grep/ast-grep/pull/3031)
- chore(deps): update rust crate tree-sitter-md to v0.5.4
[`#3032`](https://redirect.github.com/ast-grep/ast-grep/pull/3032)
- fix(deps): update rust crate tree-sitter-dart to 0.3.0
[`#3033`](https://redirect.github.com/ast-grep/ast-grep/pull/3033)
- chore(deps): update dependency oxlint to v1.89.0
[`#3018`](https://redirect.github.com/ast-grep/ast-grep/pull/3018)
- chore(deps): update dependency
[@&#8203;napi-rs/cli](https://redirect.github.com/napi-rs/cli) to
v3.10.9
[`#3025`](https://redirect.github.com/ast-grep/ast-grep/pull/3025)
- chore(deps): update rust crate napi-derive to v3.6.13
[`#3026`](https://redirect.github.com/ast-grep/ast-grep/pull/3026)
- chore(deps): update rust crate napi to v3.15.0
[`#3028`](https://redirect.github.com/ast-grep/ast-grep/pull/3028)
- chore(deps): update astral-sh/setup-uv action to v10.3.2
[`#3024`](https://redirect.github.com/ast-grep/ast-grep/pull/3024)
- chore(deps): update dependency dprint to v0.64.1
[`#3017`](https://redirect.github.com/ast-grep/ast-grep/pull/3017)
- chore(deps): update rust crate tokio to v1.54.1
[`#3020`](https://redirect.github.com/ast-grep/ast-grep/pull/3020)
- refactor(cli): apply project defaults through InputArgs
[`#3027`](https://redirect.github.com/ast-grep/ast-grep/pull/3027)
- feat(cli): support no-ignore in project config
[`#3003`](https://redirect.github.com/ast-grep/ast-grep/pull/3003)
- fix(deps): update rust crate tree-sitter-php to 0.25.0
[`#3022`](https://redirect.github.com/ast-grep/ast-grep/pull/3022)
- chore(deps): update rust crate tree-sitter to v0.27.1
[`#3014`](https://redirect.github.com/ast-grep/ast-grep/pull/3014)
- chore(deps): update dependency
[@&#8203;ast-grep/napi](https://redirect.github.com/ast-grep/napi) to
v0.51.0
[`#3016`](https://redirect.github.com/ast-grep/ast-grep/pull/3016)
- chore(deps): update rust crate tree-sitter-scala to v0.26.3
[`#3015`](https://redirect.github.com/ast-grep/ast-grep/pull/3015)
- chore(deps): update astral-sh/setup-uv action to v10.3.0
[`#2938`](https://redirect.github.com/ast-grep/ast-grep/pull/2938)
- chore(deps): update dependency
[@&#8203;napi-rs/cli](https://redirect.github.com/napi-rs/cli) to
v3.10.8
[`#3004`](https://redirect.github.com/ast-grep/ast-grep/pull/3004)
- chore(deps): update rust crate toml_edit to v0.25.17
[`#3013`](https://redirect.github.com/ast-grep/ast-grep/pull/3013)
- chore(deps): update rust crate smallvec to v1.16.3
[`#3011`](https://redirect.github.com/ast-grep/ast-grep/pull/3011)
- chore(deps): update rust crate tokio-util to v0.7.20
[`#3012`](https://redirect.github.com/ast-grep/ast-grep/pull/3012)
- chore(deps): update rust crate schemars to v1.2.3
[`#3009`](https://redirect.github.com/ast-grep/ast-grep/pull/3009)
- chore(deps): update rust crate serde_json to v1.0.154
[`#3010`](https://redirect.github.com/ast-grep/ast-grep/pull/3010)
- chore(deps): update dependency
[@&#8203;types/node](https://redirect.github.com/types/node) to v24.19.2
[`#3007`](https://redirect.github.com/ast-grep/ast-grep/pull/3007)
- chore(deps): update dependency web-tree-sitter to ^0.27.0
[`#2914`](https://redirect.github.com/ast-grep/ast-grep/pull/2914)
- chore(deps): update rust crate napi-derive to v3.6.12
[`#3008`](https://redirect.github.com/ast-grep/ast-grep/pull/3008)
- chore(deps): update dependency smol-toml to v1.9.1
[`#2985`](https://redirect.github.com/ast-grep/ast-grep/pull/2985)
- fix(deps): update rust-wasm-bindgen monorepo
[`#2924`](https://redirect.github.com/ast-grep/ast-grep/pull/2924)
- chore(deps): update rust crate tree-sitter-swift to v0.7.4
[`#2982`](https://redirect.github.com/ast-grep/ast-grep/pull/2982)
- chore(deps): update rust crate napi-build to v2.6.0
[`#2987`](https://redirect.github.com/ast-grep/ast-grep/pull/2987)
- chore(deps): update rust crate napi to v3.14.2
[`#2986`](https://redirect.github.com/ast-grep/ast-grep/pull/2986)
- fix(config): reject unknown top-level keys in rule config
[`#3006`](https://redirect.github.com/ast-grep/ast-grep/pull/3006)
- fix(cli): report skipped files and reason in --inspect entity
([#&#8203;3044](https://redirect.github.com/ast-grep/ast-grep/issues/3044))
[`#2990`](https://redirect.github.com/ast-grep/ast-grep/issues/2990)
- fix(config): reject unknown top-level keys in rule config
([#&#8203;3006](https://redirect.github.com/ast-grep/ast-grep/issues/3006))
[`#2963`](https://redirect.github.com/ast-grep/ast-grep/issues/2963)
- Revert "chore(deps): update dependency node to v26
([#&#8203;3039](https://redirect.github.com/ast-grep/ast-grep/issues/3039))"
[`6b5708a`](https://redirect.github.com/ast-grep/ast-grep/commit/6b5708a32991134bf0bef6ec158d071a6612a79c)
- fix: mark GlobalRules::insert crate pub only and unsafe
[`e52c478`](https://redirect.github.com/ast-grep/ast-grep/commit/e52c4783d89576fb265e0746603c1848250a11a4)
- fix: fix web-tree-sitter 0.26 memory corruption
[`ecb8578`](https://redirect.github.com/ast-grep/ast-grep/commit/ecb85782c2381bfca337156c89bbe91972de3b1a)

</details>

<details>
<summary>Boshen/criterion2.rs (criterion2)</summary>

###
[`v3.0.5`](https://redirect.github.com/Boshen/criterion2.rs/blob/HEAD/CHANGELOG.md#305---2026-10-25)

##### Fixed

- address new clippy and rustc lints for Rust 1.97.0

##### Other

- *(deps)* update rust crate codspeed to v6
([#&#8203;209](https://redirect.github.com/Boshen/criterion2.rs/pull/209))
- *(deps)* update rust crate tokio to v1.54.1
([#&#8203;208](https://redirect.github.com/Boshen/criterion2.rs/pull/208))
- *(deps)* update rust crates
([#&#8203;207](https://redirect.github.com/Boshen/criterion2.rs/pull/207))
- *(deps)* update dependency rust to v1.99.1
([#&#8203;206](https://redirect.github.com/Boshen/criterion2.rs/pull/206))
- *(deps)* update rust crate serde_json to v1.0.154
([#&#8203;205](https://redirect.github.com/Boshen/criterion2.rs/pull/205))
- *(deps)* update rust crate tokio to v1.53.2
([#&#8203;204](https://redirect.github.com/Boshen/criterion2.rs/pull/204))
- *(deps)* update dependency rust to v1.99.0
([#&#8203;203](https://redirect.github.com/Boshen/criterion2.rs/pull/203))
- *(deps)* update rust crates
([#&#8203;202](https://redirect.github.com/Boshen/criterion2.rs/pull/202))
- *(deps)* update dependency rust to v1.98.1
([#&#8203;201](https://redirect.github.com/Boshen/criterion2.rs/pull/201))
- *(deps)* update dependency rust to v1.98.0
([#&#8203;199](https://redirect.github.com/Boshen/criterion2.rs/pull/199))
- *(deps)* update rust crate futures to v0.3.34
([#&#8203;198](https://redirect.github.com/Boshen/criterion2.rs/pull/198))
- *(deps)* update swatinem/rust-cache action to v2.9.2
([#&#8203;197](https://redirect.github.com/Boshen/criterion2.rs/pull/197))
- *(deps)* update rust crate bpaf to v0.9.27
([#&#8203;196](https://redirect.github.com/Boshen/criterion2.rs/pull/196))
- *(deps)* update rust crates
([#&#8203;195](https://redirect.github.com/Boshen/criterion2.rs/pull/195))
- *(deps)* update taiki-e/install-action digest to
[`69db1bb`](https://redirect.github.com/Boshen/criterion2.rs/commit/69db1bb)
([#&#8203;194](https://redirect.github.com/Boshen/criterion2.rs/pull/194))
- *(deps)* update rust crates
([#&#8203;193](https://redirect.github.com/Boshen/criterion2.rs/pull/193))
- *(deps)* update github actions
([#&#8203;192](https://redirect.github.com/Boshen/criterion2.rs/pull/192))
- remove dead WASI test step
([#&#8203;191](https://redirect.github.com/Boshen/criterion2.rs/pull/191))
- *(deps)* update dependency rust to v1.97.1
([#&#8203;190](https://redirect.github.com/Boshen/criterion2.rs/pull/190))
- *(deps)* update taiki-e/install-action digest to
[`e658deb`](https://redirect.github.com/Boshen/criterion2.rs/commit/e658deb)
([#&#8203;189](https://redirect.github.com/Boshen/criterion2.rs/pull/189))
- make the MSRV job actually test its MSRV toolchain
([#&#8203;188](https://redirect.github.com/Boshen/criterion2.rs/pull/188))
- *(deps)* update dependency rust to v1.97.0
([#&#8203;187](https://redirect.github.com/Boshen/criterion2.rs/pull/187))
- *(deps)* update rust to v1.96.1
([#&#8203;186](https://redirect.github.com/Boshen/criterion2.rs/pull/186))
- *(deps)* update rust crate rand to v0.10.2
([#&#8203;185](https://redirect.github.com/Boshen/criterion2.rs/pull/185))
- *(deps)* update github actions
([#&#8203;184](https://redirect.github.com/Boshen/criterion2.rs/pull/184))
- *(deps)* update rust crate codspeed to v5
([#&#8203;183](https://redirect.github.com/Boshen/criterion2.rs/pull/183))
- *(deps)* update taiki-e/install-action digest to
[`96c7780`](https://redirect.github.com/Boshen/criterion2.rs/commit/96c7780)
([#&#8203;182](https://redirect.github.com/Boshen/criterion2.rs/pull/182))
- *(deps)* update github actions
([#&#8203;181](https://redirect.github.com/Boshen/criterion2.rs/pull/181))

</details>

<details>
<summary>BurntSushi/ripgrep (ignore)</summary>

###
[`v0.4.34`](https://redirect.github.com/BurntSushi/ripgrep/compare/ignore-0.4.33...ignore-0.4.34)

[Compare
Source](https://redirect.github.com/BurntSushi/ripgrep/compare/ignore-0.4.33...ignore-0.4.34)

</details>

<details>
<summary>ryuapp/js-semver (js-semver)</summary>

###
[`v1.0.2`](https://redirect.github.com/ryuapp/js-semver/releases/tag/v1.0.2)

[Compare
Source](https://redirect.github.com/ryuapp/js-semver/compare/v1.0.1...v1.0.2)

#### What's Changed

- fix: sync node-semver 7.8.6 fixtures and fix range compat by
[@&#8203;ryuapp](https://redirect.github.com/ryuapp) in
[#&#8203;135](https://redirect.github.com/ryuapp/js-semver/pull/135)

**Full Changelog**:
<ryuapp/js-semver@v1.0.1...v1.0.2>

</details>

<details>
<summary>nix-rust/nix (nix)</summary>

###
[`v0.32.0`](https://redirect.github.com/nix-rust/nix/blob/HEAD/CHANGELOG.md#0320---2026-11-14)

[Compare
Source](https://redirect.github.com/nix-rust/nix/compare/v0.31.3...v0.32.0)

##### Added

- Add `SeekData` and `SeekHole` to `Whence` for Android
  ([#&#8203;2676](https://redirect.github.com/nix-rust/nix/pull/2676))
- Added `getres` and `setres` for Redox OS
  ([#&#8203;2767](https://redirect.github.com/nix-rust/nix/pull/2767))
- Add `nix::sys::socket::sockopt:TcpCork` on Linux.
  ([#&#8203;2769](https://redirect.github.com/nix-rust/nix/pull/2769))
- Made the `sys::prctl` module available on Android the same as on other
Linux
targets.
([#&#8203;2770](https://redirect.github.com/nix-rust/nix/pull/2770))
- Add the `sockopt::RcvMark` socket option (Linux 5.19+, `SO_RCVMARK`)
and
decode the resulting `(SOL_SOCKET, SO_MARK)` ancillary message as a new
  `ControlMessageOwned::SoMark(u32)` variant. Previously
  the cmsg fell through to the catch-all `Unknown` arm, which forced a
  per-recv `Vec<u8>` allocation for four bytes.
  ([#&#8203;2785](https://redirect.github.com/nix-rust/nix/pull/2785))
- Enable module `ioctl` for Haiku
  ([#&#8203;2792](https://redirect.github.com/nix-rust/nix/pull/2792))

##### Changed

- Made `fcntl::vmsplice` an unsafe function.
  ([#&#8203;2777](https://redirect.github.com/nix-rust/nix/pull/2777))
- Change `sys::socket::accept` and `sys::socket::accept4` to return
`OwnedFd`
  instead of `RawFd`.
  Change `sys::socket::accept` and `sys::socket::accept4` to take `AsFd`
instead of `RawFd`.
([#&#8203;2780](https://redirect.github.com/nix-rust/nix/pull/2780))

##### Fixed

- Fixed undefined behavior in `recvfrom`.
  ([#&#8203;2717](https://redirect.github.com/nix-rust/nix/pull/2717))
- Fixed the documented feature requirement of `SockaddrIn`,
`SockaddrIn6` and
  `LinkAddr`: docs.rs now shows that they need the `net` feature
  ([#&#8203;2854](https://redirect.github.com/nix-rust/nix/pull/2854))
- Fixed the `PosixSpawnAttr` and `PosixSpawnFileActions` methods
ignoring
errors, as the `posix_spawn*` functions return the error number directly
instead of -1.
([#&#8203;2865](https://redirect.github.com/nix-rust/nix/pull/2865))

</details>

<details>
<summary>rpgp/rpgp (pgp)</summary>

###
[`v0.21.1`](https://redirect.github.com/rpgp/rpgp/blob/HEAD/CHANGELOG.md#0211---2026-11-11)

[Compare
Source](https://redirect.github.com/rpgp/rpgp/compare/v0.21.0...v0.21.1)

##### 🐛 Bug Fixes

- The proptest prelude::\* brought in Rng from rand 0.10, that shadowed
the rand 0.8 stuff
([#&#8203;882](https://redirect.github.com/rpgp/rpgp/issues/882)) -
([358373c](https://redirect.github.com/rpgp/rpgp/commit/358373cb51e86f8daab12bcf06abfccd6c45db8c))
- Check signature type for data signatures -
([cc11d76](https://redirect.github.com/rpgp/rpgp/commit/cc11d76f24e47af39ec1c45e44a52e5945f4930e))
- Text mode hashing normalization
([#&#8203;873](https://redirect.github.com/rpgp/rpgp/issues/873)) -
([7f9b04a](https://redirect.github.com/rpgp/rpgp/commit/7f9b04ae7c223b0ddb83bafa65fb52473c924a82))

##### 🚜 Refactor

- Avoid slice indexing in general
([#&#8203;872](https://redirect.github.com/rpgp/rpgp/issues/872)) -
([33445c4](https://redirect.github.com/rpgp/rpgp/commit/33445c4f143b12a17c562ebbe21ebd65bb6269a7))

##### 📚 Documentation

- Add comment about manual zeroization -
([136e5c8](https://redirect.github.com/rpgp/rpgp/commit/136e5c883096425e64a7ca604568ae7fef7d92f0))

##### ⚙️ Miscellaneous Tasks

- Ignore RUSTSEC-2026-0387 -
([ab551db](https://redirect.github.com/rpgp/rpgp/commit/ab551db41f034bf34ad889bfa4b120e89881a38b))
- Additional "to_write" cleanup -
([363b985](https://redirect.github.com/rpgp/rpgp/commit/363b9854aa0a17a1d8ade6be4dd92e4d8e3d0bda))

</details>

<details>
<summary>saphyr-rs/saphyr (saphyr)</summary>

###
[`v0.3.4`](https://redirect.github.com/saphyr-rs/saphyr/compare/v0.3.3...v0.3.4)

[Compare
Source](https://redirect.github.com/saphyr-rs/saphyr/compare/v0.3.3...v0.3.4)

</details>

<details>
<summary>dtolnay/syn (syn)</summary>

###
[`v3.0.10`](https://redirect.github.com/dtolnay/syn/releases/tag/3.0.10)

[Compare
Source](https://redirect.github.com/dtolnay/syn/compare/3.0.9...3.0.10)

- Skip rescanning operands whose scan already failed
([#&#8203;2090](https://redirect.github.com/dtolnay/syn/issues/2090),
thanks
[@&#8203;LucaCappelletti94](https://redirect.github.com/LucaCappelletti94))

</details>

<details>
<summary>toml-rs/toml (toml)</summary>

###
[`v1.2.1`](https://redirect.github.com/toml-rs/toml/compare/toml-v1.2.0...toml-v1.2.1)

[Compare
Source](https://redirect.github.com/toml-rs/toml/compare/toml-v1.2.0...toml-v1.2.1)

###
[`v1.2.0`](https://redirect.github.com/toml-rs/toml/compare/toml-v1.1.8...toml-v1.2.0)

[Compare
Source](https://redirect.github.com/toml-rs/toml/compare/toml-v1.1.8...toml-v1.2.0)

</details>

<details>
<summary>zip-rs/zip2 (zip)</summary>

###
[`v9.6.0`](https://redirect.github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#960---2026-11-15)

[Compare
Source](https://redirect.github.com/zip-rs/zip2/compare/v9.5.1...v9.6.0)

##### <!-- 0 -->🚀 Features

- *(extra_fields)* add type-safe constructors and FileOptions builders
for ExtendedTimestamp and NTFS
([#&#8203;1296](https://redirect.github.com/zip-rs/zip2/pull/1296))
- add `ZipFile::comment_raw`, and raw copies keep the comment as stored
([#&#8203;1289](https://redirect.github.com/zip-rs/zip2/pull/1289))

##### <!-- 1 -->🐛 Bug Fixes

- keep extended timestamp and NTFS extra fields in raw copies
([#&#8203;1293](https://redirect.github.com/zip-rs/zip2/pull/1293))
- *(write)* seek to existing central directory start in
ZipWriter::new_append
([#&#8203;1302](https://redirect.github.com/zip-rs/zip2/pull/1302))

###
[`v9.5.1`](https://redirect.github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#951---2026-11-10)

[Compare
Source](https://redirect.github.com/zip-rs/zip2/compare/v9.5.0...v9.5.1)

##### <!-- 1 -->🐛 Bug Fixes

- *(write)* raw_copy_file corrupted ZipCrypto metadata
([#&#8203;1288](https://redirect.github.com/zip-rs/zip2/pull/1288))

###
[`v9.5.0`](https://redirect.github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#950---2026-11-08)

[Compare
Source](https://redirect.github.com/zip-rs/zip2/compare/v9.4.2...v9.5.0)

##### <!-- 0 -->🚀 Features

- `ExtractOptions` root_dir filter
([#&#8203;1279](https://redirect.github.com/zip-rs/zip2/pull/1279))

###
[`v9.4.2`](https://redirect.github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#942---2026-11-07)

[Compare
Source](https://redirect.github.com/zip-rs/zip2/compare/v9.4.1...v9.4.2)

##### <!-- 2 -->🚜 Refactor

- Replace std::num and std::cmp with core::num and core::cmp
([#&#8203;1276](https://redirect.github.com/zip-rs/zip2/pull/1276))

###
[`v9.4.1`](https://redirect.github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#941---2026-11-06)

[Compare
Source](https://redirect.github.com/zip-rs/zip2/compare/v9.4.0...v9.4.1)

##### <!-- 1 -->🐛 Bug Fixes

- Add an `OwnedZipFileEntry` for
[#&#8203;177](https://redirect.github.com/zip-rs/zip2/issues/177)
([#&#8203;1270](https://redirect.github.com/zip-rs/zip2/pull/1270))

##### <!-- 2 -->🚜 Refactor

- Use boxed slices instead of Vec when growability isn't needed
([#&#8203;1271](https://redirect.github.com/zip-rs/zip2/pull/1271))

###
[`v9.4.0`](https://redirect.github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#940---2026-11-05)

[Compare
Source](https://redirect.github.com/zip-rs/zip2/compare/v9.3.0...v9.4.0)

##### <!-- 0 -->🚀 Features

- Implement `ZipIterable::files_with_reader`
([#&#8203;1267](https://redirect.github.com/zip-rs/zip2/pull/1267))

###
[`v9.3.0`](https://redirect.github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#930---2026-11-03)

[Compare
Source](https://redirect.github.com/zip-rs/zip2/compare/v9.2.3...v9.3.0)

##### <!-- 0 -->🚀 Features

- *(write)* implement `TryFrom<ZipFileBuilder>` for PreparedZipFile
([#&#8203;1258](https://redirect.github.com/zip-rs/zip2/pull/1258))

###
[`v9.2.3`](https://redirect.github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#923---2026-11-03)

[Compare
Source](https://redirect.github.com/zip-rs/zip2/compare/v9.2.2...v9.2.3)

##### <!-- 2 -->🚜 Refactor

- Replace most equivalent uses of std:: with core::
([#&#8203;1253](https://redirect.github.com/zip-rs/zip2/pull/1253))

###
[`v9.2.2`](https://redirect.github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#922---2026-11-01)

[Compare
Source](https://redirect.github.com/zip-rs/zip2/compare/v9.2.1...v9.2.2)

##### <!-- 2 -->🚜 Refactor

- Eliminate use of a `Box<dyn FnOnce<_>>` when starting and finishing an
entry
([#&#8203;1235](https://redirect.github.com/zip-rs/zip2/pull/1235))

###
[`v9.2.1`](https://redirect.github.com/zip-rs/zip2/releases/tag/v9.2.1)

[Compare
Source](https://redirect.github.com/zip-rs/zip2/compare/v9.2.0...v9.2.1)

##### <!-- 2 -->🚜 Refactor

- Eliminate the use of SwitchWriterFunction (a Box\<dyn FnOnce<\_>>)
([#&#8203;1235](https://redirect.github.com/zip-rs/zip2/pull/1235))

##### <!-- 7 -->⚙️ Miscellaneous Tasks

- Fix build error (can't convert getrandom::Error to io::Error without
getrandom/std)
([#&#8203;1240](https://redirect.github.com/zip-rs/zip2/pull/1240))

###
[`v9.2.0`](https://redirect.github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#920---2026-10-31)

[Compare
Source](https://redirect.github.com/zip-rs/zip2/compare/v9.1.3...v9.2.0)

##### <!-- 0 -->🚀 Features

- *(write)* add parallel compression and batch appending for ZipWriter
with Rayon
([#&#8203;1225](https://redirect.github.com/zip-rs/zip2/pull/1225))
- add index_for_name_raw
([#&#8203;1210](https://redirect.github.com/zip-rs/zip2/pull/1210))
- *(extract)* multi-threaded parallel extraction engine and safe extent
pre-allocation
([#&#8203;1207](https://redirect.github.com/zip-rs/zip2/pull/1207))
- *(read)* add `ZipIterable`, an iterable ZIP reader that doesn't store
the archive directory in memory
([#&#8203;1218](https://redirect.github.com/zip-rs/zip2/pull/1218))

##### <!-- 1 -->🐛 Bug Fixes

- `by_name().get_metadata()` and `by_index().get_metadata()` now succeed
even when compression method is unsupported
([#&#8203;1228](https://redirect.github.com/zip-rs/zip2/pull/1228))

##### <!-- 4 -->⚡ Performance

- *(read)* eliminate redundant pre-scan I/O and atomic contention in
par_extract
([#&#8203;1227](https://redirect.github.com/zip-rs/zip2/pull/1227))
- *(read)* eliminate redundant clone and heap allocations in
safe_prepare_path
([#&#8203;1224](https://redirect.github.com/zip-rs/zip2/pull/1224))

###
[`v9.1.3`](https://redirect.github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#913---2026-10-27)

[Compare
Source](https://redirect.github.com/zip-rs/zip2/compare/v9.1.2...v9.1.3)

##### <!-- 0 -->🚀 Features

- *(extra_fields)* support 0xd935 Android ZIP alignment extra field
([#&#8203;928](https://redirect.github.com/zip-rs/zip2/pull/928))
([#&#8203;1198](https://redirect.github.com/zip-rs/zip2/pull/1198))

##### <!-- 1 -->🐛 Bug Fixes

- *(format)* record correct 32-bit EOCD offset in ZIP64 archives
([#&#8203;1205](https://redirect.github.com/zip-rs/zip2/pull/1205))
- *(aes)* wipe AES round keys when the cipher is dropped
([#&#8203;1204](https://redirect.github.com/zip-rs/zip2/pull/1204))
- *(fuzz)* treat a comment change in a merged sub-writer as
non-streamable
([#&#8203;1188](https://redirect.github.com/zip-rs/zip2/pull/1188))
- *(aes)* zeroize AesCtrZipKeyStream buffer and counter on drop
([#&#8203;1196](https://redirect.github.com/zip-rs/zip2/pull/1196))
- *(extract)* prevent symlink-follow truncation via
FILE_FLAG_OPEN_REPARSE_POINT
([#&#8203;1195](https://redirect.github.com/zip-rs/zip2/pull/1195))
- *(write)* drop a stale Unicode Path extra field when copying an entry
([#&#8203;1187](https://redirect.github.com/zip-rs/zip2/pull/1187))
- *(write)* don't leave a stale tail that completes a fake EOCD in the
comment
([#&#8203;1186](https://redirect.github.com/zip-rs/zip2/pull/1186))
- *(write)* reject deflate levels below 10 when only zopfli is enabled
([#&#8203;1182](https://redirect.github.com/zip-rs/zip2/pull/1182))

##### <!-- 4 -->⚡ Performance

- *(read)* accelerate extraction with 64 KiB reusable buffer
([#&#8203;1206](https://redirect.github.com/zip-rs/zip2/pull/1206))
- *(aes)* encrypt AES-CTR counter blocks in batches
([#&#8203;1203](https://redirect.github.com/zip-rs/zip2/pull/1203))
- *(read)* eliminate double allocation by populating IndexMap directly
([#&#8203;1200](https://redirect.github.com/zip-rs/zip2/pull/1200))
- *(read)* preallocate files vector in read_central_header
([#&#8203;1199](https://redirect.github.com/zip-rs/zip2/pull/1199))

###
[`v9.1.2`](https://redirect.github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#912---2026-10-26)

[Compare
Source](https://redirect.github.com/zip-rs/zip2/compare/v9.1.1...v9.1.2)

##### <!-- 1 -->🐛 Bug Fixes

- preserve the file kind (normal/directory/symlink) in
raw_copy_file_touch
([#&#8203;1179](https://redirect.github.com/zip-rs/zip2/pull/1179))
- *(write)* reject a Unicode Path extra field that would rename the
entry
([#&#8203;1177](https://redirect.github.com/zip-rs/zip2/pull/1177))
- *(extract)* prevent following symbolic links during file creation
([#&#8203;1116](https://redirect.github.com/zip-rs/zip2/pull/1116))

###
[`v9.1.1`](https://redirect.github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#911---2026-10-25)

[Compare
Source](https://redirect.github.com/zip-rs/zip2/compare/v9.1.0...v9.1.1)

##### <!-- 1 -->🐛 Bug Fixes

- store the raw count instead of a bool
([#&#8203;1174](https://redirect.github.com/zip-rs/zip2/pull/1174))
- preserve extra fields in raw_copy_file_touch
([#&#8203;1172](https://redirect.github.com/zip-rs/zip2/pull/1172))
- *(write)* flag a non-ASCII file comment as UTF-8 when writing it
([#&#8203;1160](https://redirect.github.com/zip-rs/zip2/pull/1160))
- *(write)* reject duplicate names in merge_archive, blank stale
footers, and add opt-in extra-field validation
([#&#8203;1159](https://redirect.github.com/zip-rs/zip2/pull/1159))

###
[`v9.1.0`](https://redirect.github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#910---2026-10-24)

[Compare
Source](https://redirect.github.com/zip-rs/zip2/compare/v9.0.5...v9.1.0)

##### <!-- 0 -->🚀 Features

- *(read)* enforce header consistency on extract_with_options and expose
duplicate name detection
([#&#8203;1109](https://redirect.github.com/zip-rs/zip2/pull/1109))
- Add borrowing `inner` method to reader wrappers
([#&#8203;1050](https://redirect.github.com/zip-rs/zip2/pull/1050))
- add with_size_limit to ExtractOptions to limit total declared
uncompressed size
([#&#8203;1019](https://redirect.github.com/zip-rs/zip2/pull/1019))
- add file_names_raw iterator
([#&#8203;1082](https://redirect.github.com/zip-rs/zip2/pull/1082))

##### <!-- 1 -->🐛 Bug Fixes

- raw_copy_file keeps an entry's name bytes and UTF-8 flag as stored
([#&#8203;1124](https://redirect.github.com/zip-rs/zip2/pull/1124))
- *(write)* prevent seek panic on streaming writer with comment
([#&#8203;1151](https://redirect.github.com/zip-rs/zip2/pull/1151))
- Accept bounded central directory digital signature record when
enforcing header consistency in ZipStreamReader
([#&#8203;1134](https://redirect.github.com/zip-rs/zip2/pull/1134))
- apply unix permissions at creation
([#&#8203;1104](https://redirect.github.com/zip-rs/zip2/pull/1104))
- raw_copy_file should work with any extra fields
([#&#8203;1120](https://redirect.github.com/zip-rs/zip2/pull/1120))
- *(read)* avoid full-file forward scans and redundant allocations in
central directory
([#&#8203;1142](https://redirect.github.com/zip-rs/zip2/pull/1142))
- don't enable typed-path's default std feature
([#&#8203;1112](https://redirect.github.com/zip-rs/zip2/pull/1112))
- ZIP64 size fields were being deep-copied incorrectly (via Copilot
gpt-6-luna)
([#&#8203;1107](https://redirect.github.com/zip-rs/zip2/pull/1107))
- resolve decoded CP437 member names
([#&#8203;1080](https://redirect.github.com/zip-rs/zip2/pull/1080))
([#&#8203;1085](https://redirect.github.com/zip-rs/zip2/pull/1085))
- Debug assertion doesn't account for length of archive comment
([#&#8203;1097](https://redirect.github.com/zip-rs/zip2/pull/1097))

##### <!-- 2 -->🚜 Refactor

- Lazy instantiation for all decompressors
([#&#8203;1046](https://redirect.github.com/zip-rs/zip2/pull/1046))
([#&#8203;1047](https://redirect.github.com/zip-rs/zip2/pull/1047))

##### <!-- 4 -->⚡ Performance

- *(write)* reuse the DEFLATE compressor across entries
([#&#8203;1119](https://redirect.github.com/zip-rs/zip2/pull/1119))

##### <!-- 7 -->⚙️ Miscellaneous Tasks

- Fix reference to nonexistent variable on #\[cfg(not(any(unix,
windows)))]
([#&#8203;1138](https://redirect.github.com/zip-rs/zip2/pull/1138))
- target lzma-rust2 v0.23
([#&#8203;1096](https://redirect.github.com/zip-rs/zip2/pull/1096))

##### Benchmarks

- add Criterion benchmarks
([#&#8203;754](https://redirect.github.com/zip-rs/zip2/pull/754))
- add deflate_many_small_files bench for
[#&#8203;633](https://redirect.github.com/zip-rs/zip2/issues/633)
([#&#8203;964](https://redirect.github.com/zip-rs/zip2/pull/964))

</details>

---

### Configuration

📅 **Schedule**: (in timezone Asia/Shanghai)

- Branch creation
  - "before 10am on monday"
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/voidzero-dev/vite-plus).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMjguMCIsInVwZGF0ZWRJblZlciI6IjQ0LjIyOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: voidzero-guard[bot] <278573678+voidzero-guard[bot]@users.noreply.github.com>
Co-authored-by: MK (fengmk2) <fengmk2@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants