Repository navigation
build: Statsify 1.1.1 on Node 26 LTS, and the release-tag set-up fixed - #19
Merged
Merged
Conversation
Node 26 (Lithium) became the active long-term-support line on 28 October 2026 and is supported until April 2029. CI, the desktop builds and the release pipeline read .nvmrc, so they move with it. engines now asks for 26 or newer, the version everything is built and tested with. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TCk6t7edJdscNtTSeFmyQN
A ruleset can only list GitHub Actions as a bypass actor in an
organization's repository: in a personal one GitHub refuses it ("must be
part of the ruleset source or owner organization"). The one-time set-up now
drops the release tags ruleset's "creation" rule instead, keeping the rules
that stop a tag being moved or deleted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TCk6t7edJdscNtTSeFmyQN
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TCk6t7edJdscNtTSeFmyQN
8 tasks done
Kkkermit
added a commit
that referenced
this pull request
Dec 3, 2026
…#20) ## What and why Fixes Dependabot alert #198: *Unsoundness in `Iterator` and `DoubleEndedIterator` impls for `glib::VariantStrIter`* (RUSTSEC-2024-0429, moderate, affects `glib` 0.15.0 to 0.19.x, fixed in 0.20.0). **Where `glib` came from.** It's a Linux-only dependency: Tauri's Linux stack (`gtk` 0.18, `webkit2gtk` 2.0, through `tao`, `wry`, `muda`, `libappindicator` and `tauri` itself) pulled in `glib` 0.18.5. Windows and macOS builds never contained it. **Why Dependabot couldn't fix it.** `gtk` 0.18 pins `glib` 0.18, so the newest version Dependabot could reach was 0.18.5. **The fix.** Tauri 2.13.0 (28 November) moved its whole Linux stack to new bindings: `gtk` 0.19, `webkit2gtk` 3.1, `wry` 0.58, `tao` 0.38, `muda` 0.22 and `tray-icon` 0.27, all on `glib` 0.22. So: - **Rust:** `tauri` 2.12.7 → 2.13.0 and `tauri-build` 2.7.6 → 2.8.0, with the plugins on their latest. The lockfile now has a single `glib`, 0.22.11. - **Minimums:** `Cargo.toml` asks for `tauri` 2.13 and `tauri-build` 2.8, so a regenerated lockfile can never fall back to `glib` 0.18. A comment there says why. - **npm:** `@tauri-apps/api` and `@tauri-apps/cli` 2.12 → 2.13.0, to match (Tauri's CLI refuses mismatched versions). - **Rust version:** Tauri 2.13 and the new GTK crates require Rust **1.92**, so the minimum moves from 1.89 to 1.92 (`rust-version` and the docs). CI already builds with the latest stable Rust. **Was Statsify exposed?** No. Nothing in our dependency tree calls `VariantStrIter` (`str_iter()` / `array_iter_str()`); only `glib` itself contains it. The upgrade removes the vulnerable version anyway, and Dependabot closes the alert once main's lockfile no longer has it. ## How it was tested - **Rust (Linux):** `cargo fmt --check`, `cargo clippy --all-targets -- -D warnings` and `cargo test` (67 tests) pass. This compiles the whole new GTK stack against the system libraries. - **Windows:** the Windows-only window-material code calls `WebviewWindow::hwnd()`, whose signature is unchanged in 2.13. This pull request's Desktop app run builds the Windows, macOS and Linux installers. - **Unit tests:** `npm run check` passes (typecheck, lint, 549 unit tests, build). - **End-to-end:** the whole suite at desktop, tablet and phone sizes: 440 passed, 0 failed. The fake desktop bridge rejects any IPC call it doesn't know, so a change in how `@tauri-apps/api` 2.13 calls the shell would have failed it. ## Checklist - [x] The branch is named `feature/<name>` and the commits follow the [commit style](https://github.com/Kkkermit/Spotify-Stats/blob/main/CONTRIBUTING.md#commits). - [x] `npm run check` passes (typecheck, lint, unit tests, build). - [x] `npm run e2e` passes, or the change can't affect the UI. - [x] Rust changed: `cargo fmt --check`, `cargo clippy --all-targets -- -D warnings` and `cargo test` pass in `src-tauri/`. - [x] New behaviour has tests (Vitest for logic, Playwright with an axe check for UI, Rust tests for commands). - [x] UI changes work at desktop, tablet and phone sizes, by keyboard, with reduced motion and in every theme. - [x] Docs are updated (README, `docs/`, `AGENTS.md`) where behaviour, commands or architecture changed. - [x] No secrets, tokens, personal data or real listening history in code, tests, screenshots or logs. **Releasing:** this pull request doesn't change the version. To ship the fix in 1.1.1, merge it before #19, which bumps the version to 1.1.1 and so releases it. --- _Generated by [Claude Code](https://claude.ai/code)_ --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # CONTRIBUTING.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
Version 1.1.1. Merging this pull request releases it. It will be the first fully automatic release: the "release tags" ruleset no longer restricts creating
v*tags, so the pipeline can tag and publish v1.1.1 itself.Move to Node 26, the long-term-support release.
.nvmrc→26. CI, the desktop builds and the release pipeline all read it, so they move with it.enginesinpackage.json(and the lockfile's root entry) →>=26.0.0, the version everything is built and tested with.docs/DEVELOPMENT.mdandAGENTS.mdnow say Node 26.@types/nodewas already on 26.x, from Dependabot.Release docs fix. The one-time command in
docs/RELEASING.mdtried to add GitHub Actions to the "release tags" ruleset's bypass list. GitHub refuses that for a personal repository: "Actor GitHub Actions integration must be part of the ruleset source or owner organization".creationrule instead.update,deletionandnon_fast_forwardrules stay, so a published tag can never be moved or deleted.How it was tested
All under Node 26.14.0 (npm 11.21.3), downloaded from nodejs.org and checked against its SHA256SUMS:
npm ciis clean, with no engine warnings from any dependency, 0 vulnerabilities, and the lockfile unchanged.npm run checkpasses (typecheck, lint, 549 unit tests, build), with no deprecation warnings.npm run version:set -- --check 1.1.1passes, andcargo check --lockedconfirmsCargo.lockmatches.creationrule.Checklist
feature/<name>and the commits follow the commit style.npm run checkpasses (typecheck, lint, unit tests, build).npm run e2epasses, or the change can't affect the UI.cargo fmt --check,cargo clippy --all-targets -- -D warningsandcargo testpass insrc-tauri/.docs/,AGENTS.md) where behaviour, commands or architecture changed.https://claude.ai/code/session_01TCk6t7edJdscNtTSeFmyQN
Generated by Claude Code