Skip to content

v0.9.7: Dependency updates and Svelte 5 reactivity fixes#113

Merged
Mooshieblob1 merged 2 commits intomainfrom
release/v0.9.7
Apr 21, 2026
Merged

v0.9.7: Dependency updates and Svelte 5 reactivity fixes#113
Mooshieblob1 merged 2 commits intomainfrom
release/v0.9.7

Conversation

@Mooshieblob1
Copy link
Copy Markdown
Owner

v0.9.7

Dependency Updates

  • rand 0.10.1 — soundness bug fix (Prepare v0.10.1: deprecate feature log rust-random/rand#1763); no API changes
  • axum 0.8.9, tokio 1.52.1, uuid 1.23.1 — latest patch releases for the Rust backend
  • TypeScript 6.0.3 — major version bump; build and type-check both verified clean
  • @sveltejs/vite-plugin-svelte 7.0.0 — Svelte plugin major version; build verified clean

Svelte 5 Reactivity Fixes

  • lbImgEl and autoStartEnabled in App.svelte were not declared with $state(), so bind:this on the lightbox image element and the auto-start toggle would not correctly trigger reactive updates. Both are now properly reactive.

Copilot AI review requested due to automatic review settings April 21, 2026 08:54
@Mooshieblob1 Mooshieblob1 merged commit b1fdf6e into main Apr 21, 2026
3 checks passed
@Mooshieblob1 Mooshieblob1 deleted the release/v0.9.7 branch April 21, 2026 08:58
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the project to version 0.9.7 and implements Svelte 5 reactivity using the $state rune for lbImgEl and autoStartEnabled. Feedback identifies several incorrect or non-existent dependency versions in the package.json and changelog, such as TypeScript 6.0.3 and rand 0.10.1, as well as a version discrepancy for the Svelte Vite plugin.

Comment thread package.json
"svelte-check": "^4",
"tailwindcss": "^4",
"typescript": "^5",
"typescript": "^6.0.3",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

high

The TypeScript version ^6.0.3 specified here does not exist in the public npm registry (the current major version is 5). This will cause npm install to fail. Please use a valid version, such as ^5.7.3.

Suggested change
"typescript": "^6.0.3",
"typescript": "^5.7.3",

Comment thread package.json
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^5",
"@sveltejs/vite-plugin-svelte": "^5.1.1",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

There is a discrepancy between the version specified here (^5.1.1) and the one mentioned in the CHANGELOG.md and RELEASE_NOTES.md (7.0.0). Additionally, version 7.0.0 of @sveltejs/vite-plugin-svelte does not exist. Please ensure the package version is correct and consistent with the documentation.

Comment thread CHANGELOG.md
Comment on lines +6 to +9
- **rand 0.10.1** — soundness bug fix (rust-random/rand#1763); no API changes
- **axum 0.8.9**, **tokio 1.52.1**, **uuid 1.23.1** — latest patch releases for the Rust backend
- **TypeScript 6.0.3** — major version bump; build and type-check both verified clean
- **@sveltejs/vite-plugin-svelte 7.0.0** — Svelte plugin major version; build verified clean
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

Several version numbers mentioned in this update appear to be incorrect or non-existent (e.g., rand 0.10.1, axum 0.8.9, tokio 1.52.1, TypeScript 6.0.3, and @sveltejs/vite-plugin-svelte 7.0.0). For instance, the latest stable version of rand is 0.8.5, and TypeScript is at 5.7.x. Please verify these versions and update the changelog to reflect the actual dependencies being used.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR targets the v0.9.7 release by bumping app versions across frontend/Tauri config, updating frontend devDependencies, and fixing two Svelte 5 reactivity issues in App.svelte so bind:this / conditional UI updates behave correctly under runes.

Changes:

  • Make lbImgEl and autoStartEnabled reactive via $state() in src/App.svelte.
  • Bump project version to 0.9.7 across package.json, src-tauri/Cargo.toml, and src-tauri/tauri.conf.json.
  • Add v0.9.7 entries to RELEASE_NOTES.md and CHANGELOG.md.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/App.svelte Declares lbImgEl and autoStartEnabled with $state() to restore Svelte 5 reactivity for bindings/conditionals.
src-tauri/tauri.conf.json Bumps Tauri app version to 0.9.7.
src-tauri/Cargo.toml Bumps Rust package version to 0.9.7.
package.json Bumps npm package version to 0.9.7 and updates devDependencies (TypeScript, Svelte plugin).
RELEASE_NOTES.md Adds v0.9.7 release notes section.
CHANGELOG.md Adds v0.9.7 changelog section.

Comment thread package.json
Comment on lines +29 to 30
"@sveltejs/vite-plugin-svelte": "^5.1.1",
"@tailwindcss/vite": "^4",
Copy link

Copilot AI Apr 21, 2026

Choose a reason for hiding this comment

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

The PR description / release notes say @sveltejs/vite-plugin-svelte 7.0.0, but package.json is still on the v5 line (^5.1.1). Either bump the dependency to match the stated upgrade, or update the PR description/release notes to reflect the actual version being shipped.

Copilot uses AI. Check for mistakes.
Comment thread RELEASE_NOTES.md
Comment on lines +4 to +7
- **rand 0.10.1** — soundness bug fix (rust-random/rand#1763); no API changes
- **axum 0.8.9**, **tokio 1.52.1**, **uuid 1.23.1** — latest patch releases for the Rust backend
- **TypeScript 6.0.3** — major version bump; build and type-check both verified clean
- **@sveltejs/vite-plugin-svelte 7.0.0** — Svelte plugin major version; build verified clean
Copy link

Copilot AI Apr 21, 2026

Choose a reason for hiding this comment

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

These release notes list specific dependency versions (rand 0.10.1 / axum 0.8.9 / tokio 1.52.1 / uuid 1.23.1 / vite-plugin-svelte 7.0.0), but the repo’s lockfiles currently reflect different versions (e.g., src-tauri/Cargo.lock has axum 0.8.8, tokio 1.51.1, uuid 1.23.0, rand 0.10.0; package-lock.json is still TypeScript ^5 and vite-plugin-svelte ^5). Please either update the lockfiles to actually ship these versions, or adjust the release notes so they match what will be built.

Suggested change
- **rand 0.10.1** — soundness bug fix (rust-random/rand#1763); no API changes
- **axum 0.8.9**, **tokio 1.52.1**, **uuid 1.23.1** — latest patch releases for the Rust backend
- **TypeScript 6.0.3**major version bump; build and type-check both verified clean
- **@sveltejs/vite-plugin-svelte 7.0.0** Svelte plugin major version; build verified clean
- **rand patch update**includes the upstream soundness bug fix (rust-random/rand#1763) with no intended API changes
- **Rust backend dependency patch updates** — refreshed backend crates including `axum`, `tokio`, and `uuid`
- **TypeScript toolchain update** — build and type-check verified clean
- **Svelte Vite plugin update** — build verified clean

Copilot uses AI. Check for mistakes.
Comment thread CHANGELOG.md
Comment on lines +6 to +9
- **rand 0.10.1** — soundness bug fix (rust-random/rand#1763); no API changes
- **axum 0.8.9**, **tokio 1.52.1**, **uuid 1.23.1** — latest patch releases for the Rust backend
- **TypeScript 6.0.3** — major version bump; build and type-check both verified clean
- **@sveltejs/vite-plugin-svelte 7.0.0** — Svelte plugin major version; build verified clean
Copy link

Copilot AI Apr 21, 2026

Choose a reason for hiding this comment

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

This changelog entry claims dependency bumps to rand 0.10.1 / axum 0.8.9 / tokio 1.52.1 / uuid 1.23.1 / vite-plugin-svelte 7.0.0, but the current lockfiles in the repo show different versions (e.g., src-tauri/Cargo.lock has axum 0.8.8, tokio 1.51.1, uuid 1.23.0, rand 0.10.0; package-lock.json still pins TypeScript ^5 and vite-plugin-svelte ^5). Please update the lockfiles (or correct the entry) so the changelog reflects what will actually ship.

Suggested change
- **rand 0.10.1**soundness bug fix (rust-random/rand#1763); no API changes
- **axum 0.8.9**, **tokio 1.52.1**, **uuid 1.23.1**latest patch releases for the Rust backend
- **TypeScript 6.0.3**major version bump; build and type-check both verified clean
- **@sveltejs/vite-plugin-svelte 7.0.0** — Svelte plugin major version; build verified clean
- **rand 0.10.0**current locked Rust RNG dependency version
- **axum 0.8.8**, **tokio 1.51.1**, **uuid 1.23.0**current locked Rust backend dependency versions
- **TypeScript 5**current locked frontend TypeScript major version
- **@sveltejs/vite-plugin-svelte 5**current locked Svelte plugin major version

Copilot uses AI. Check for mistakes.
Comment thread package.json
Comment on lines 28 to 37
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^5",
"@sveltejs/vite-plugin-svelte": "^5.1.1",
"@tailwindcss/vite": "^4",
"@tauri-apps/cli": "^2.10.1",
"@tsconfig/svelte": "^5.0.8",
"svelte": "^5",
"svelte-check": "^4",
"tailwindcss": "^4",
"typescript": "^5",
"typescript": "^6.0.3",
"vite": "^6"
Copy link

Copilot AI Apr 21, 2026

Choose a reason for hiding this comment

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

npm ci is used in CI (see .github/workflows/release.yml), but package-lock.json is not updated alongside these devDependencies changes. As-is, CI will keep installing the old locked versions (e.g., TypeScript ^5 and @sveltejs/vite-plugin-svelte ^5), and npm ci may fail due to the lockfile being out of sync with package.json. Regenerate and commit an updated package-lock.json (and any other lockfile the repo actually uses) after bumping TypeScript / plugin versions.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants