chore: bump all dependencies, fix build tooling, resolve #27 - #35
Merged
Conversation
There was a problem hiding this comment.
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 (
randAPI 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.
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)
reatlat
force-pushed
the
chore/dependency-bumps
branch
from
August 11, 2026 01:19
32bd35d to
d94a7b0
Compare
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.
Summary
Bumps all Rust and JS dependencies to latest versions, fixes the broken
npm run build, and publishes the iOSENGINE_NAMEfix (#27) to crates.io.Rust Dependencies
Code changes required by dep bumps
rand::Rngtorand::RngExt(rand 0.10 API rename)rust-version1.70 to 1.81.0 (PanicHookInfo minimum, already used in fix: update dependencies and fix tokio runtime panic #30)rustls-tlsfeature updated:reqwest/rustls-tlstoreqwest/rustls(reqwest 0.13 feature rename)JavaScript Dependencies
Build fixes
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