Skip to content

chore: bump all dependencies, fix build tooling, resolve #27 - #35

Merged
reatlat merged 1 commit into
mainfrom
chore/dependency-bumps
Aug 11, 2026
Merged

chore: bump all dependencies, fix build tooling, resolve #27#35
reatlat merged 1 commit into
mainfrom
chore/dependency-bumps

Conversation

@reatlat

@reatlat reatlat commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

Summary

Bumps all Rust and JS dependencies to latest versions, fixes the broken npm run build, and publishes the iOS ENGINE_NAME fix (#27) to crates.io.

Rust Dependencies

Package Old New
tauri 2.2.5 2.11.5
tokio 1.43.0 1.53.1
reqwest 0.12.12 0.13.4
rand 0.9.0 0.10.0
serde 1.0.217 1.0.229
serde_json 1.0.138 1.0.151
time 0.3.37 0.3.41
os_info 3.9.2 3.12.0
log 0.4.25 0.4.27
tauri-plugin 2.0.4 2.6.3

Code changes required by dep bumps

JavaScript Dependencies

Package Old New
@tauri-apps/api ^2.7.0 ^2.10.1
@rollup/plugin-node-resolve ^15.3.0 ^16.0.3
@rollup/plugin-typescript ^12.1.1 ^12.3.0
@rollup/plugin-terser ^0.4.4 ^1.0.0
rollup ^4.27.4 ^4.57.1
typescript ^5.7.2 ^5.9.3

Build fixes

  • tsconfig.json: removed dead baseUrl/paths, added outDir, switched to moduleResolution "bundler"
  • rollup.config.js: removed hardcoded moduleResolution 'node' that conflicted with tsconfig
  • npm run build was broken with newer @rollup/plugin-typescript — now works

Issue #27

The ENGINE_NAME not found on iOS error was already fixed on main (commit 1df3722, PR #23) but the published 1.0.0 on crates.io predates that fix. This release makes the fix available on crates.io.

Closes #27

Testing

  • cargo check passes
  • npm run build passes (was broken before this PR)

@reatlat
reatlat requested review from goenning and a lite review from Copilot August 11, 2026 01:09
@reatlat
reatlat requested a review from cristipufu August 11, 2026 01:10

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the plugin’s Rust and JavaScript dependencies and adjusts the webview build tooling (tsconfig + Rollup) so npm run build works with newer Rollup/TypeScript plugin versions, while preparing a new crate release that includes the previously-merged iOS ENGINE_NAME fix.

Changes:

  • Bump Rust crate dependencies and update related code/config (rand API change, reqwest rustls feature rename, rust-version bump).
  • Bump JS/Rollup/TypeScript dependencies and adjust tsconfig/Rollup settings to fix the build.
  • Publish new versions (crate + npm package) and document the release in CHANGELOG.md.

Reviewed changes

Copilot reviewed 6 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
webview-src/tsconfig.json Switches module resolution to bundler and aligns output directory with webview-dist.
webview-src/rollup.config.js Removes conflicting hardcoded TS module resolution override.
webview-dist/index.js Updates built/minified output from the new toolchain.
src/client.rs Updates rand trait import to match new API usage.
package.json Bumps npm package version and JS toolchain dependencies.
CHANGELOG.md Adds 1.2.0 release notes for dependency and build-tooling updates.
Cargo.toml Bumps crate version, Rust MSRV, and Rust dependencies; updates reqwest rustls feature mapping.
.gitignore Ignores an additional generated .d.ts artifact under webview-dist.
Files not reviewed (1)
  • webview-dist/index.js: Generated file

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread webview-src/tsconfig.json Outdated
Rust deps:
- tauri 2.2.5 → 2.11.5, tokio 1.43.0 → 1.53.1, reqwest 0.12.12 → 0.13.4
- rand 0.9.0 → 0.10.0 (Rng → RngExt), serde 1.0.229, serde_json 1.0.151
- time 0.3.41, os_info 3.12.0, log 0.4.27, tauri-plugin 2.6.3
- rust-version 1.70 → 1.81.0 (PanicHookInfo minimum)
- rustls-tls feature updated for reqwest 0.13 (rustls-tls → rustls)

JS deps:
- @tauri-apps/api ^2.10.1, rollup ^4.57.1, typescript ^5.9.3
- @rollup/plugin-terser ^1.0.0, @rollup/plugin-node-resolve ^16.0.3

Build fixes:
- tsconfig: remove dead baseUrl/paths, add outDir, moduleResolution bundler
- rollup: remove hardcoded moduleResolution: 'node'
- Fixes npm run build which was broken with newer @rollup/plugin-typescript

Closes #27 (ENGINE_NAME on iOS — fix already on main, now publishable)

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 6 out of 8 changed files in this pull request and generated no new comments.

Files not reviewed (1)
  • webview-dist/index.js: Generated file

@reatlat
reatlat merged commit 994efc4 into main Aug 11, 2026
1 check passed
@reatlat
reatlat deleted the chore/dependency-bumps branch August 11, 2026 01:49
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.

Cannot find value ENGINE_NAME in this scope

2 participants