Repository navigation
Bump the cargo group across 1 directory with 5 updates - #138
dependabot[bot] wants to merge 1 commit into
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
There was a problem hiding this comment.
🤖 Automated review of 738a1c1
The PR successfully updates several key dependencies to their latest versions. However, the update of quick-xml from v0.41.0 to v0.42.0 introduces multiple critical breaking changes (UTF-8 validation, type system shifts) that require significant code refactoring before this change can be merged. Additionally, since no source code is provided in the diff, I cannot verify compatibility with any of the updated libraries, which poses a high risk of runtime failure across the application's core logic and UI components.
Findings: 🔴 1 × [P1] CRITICAL · 🟠 1 × [P2] MAJOR
⛔ Not approved: 2 unresolved finding(s) at [P4] MINOR (Quality) or above. I'll approve once they're fixed or resolved.
Files not reviewed (1)
Cargo.lock (ignored by pattern)
Model google/gemma-4-e4b · skill code-change-review · 1 files reviewed. Reply to an inline comment to discuss it.
| # Microsoft Project XML (MSPDI) import; DTDs and entities are refused by the reader in | ||
| # `crates/interchange`. Pure Rust, no default features, builds for wasm. | ||
| quick-xml = { version = "0.41", default-features = false } | ||
| quick-xml = { version = "0.42", default-features = false } |
There was a problem hiding this comment.
[P1] CRITICAL Code using quick-xml must be updated for v0.42.0 breaking changes
[P1] CRITICAL API usage failure due to quick-xml v0.42.0 breaking changes
Cargo.toml:27
Issue: Updating quick-xml from 0.41.0 to 0.42.0 introduces multiple breaking changes, most critically enforcing strict UTF-8 validation and changing core data types from byte slices ([u8]) to Rust strings (&str/String).
Why it matters: The library now fails explicitly with Error::Encoding when encountering non-UTF-8 input (which was previously silently passed through). Furthermore, name types and event contents now use &str instead of raw bytes. Any existing code that parses XML/MSPDI using the old byte-based APIs or relies on silent failure for invalid UTF-8 sequences will fail at runtime.
Suggested fix: All consuming code must be reviewed to: 1) Explicitly handle potential Error::Encoding when reading input, potentially wrapping the reader in a DecodingReader. 2) Update all usages of name/content extraction to use string types (&str) instead of byte slices. This is a significant refactoring effort.
Automated review. Reply here to discuss; this thread is resolved once a fix is confirmed.
| # ui | ||
| egui = "0.36" | ||
| eframe = { version = "0.36", default-features = false } | ||
| egui = "0.37" |
There was a problem hiding this comment.
[P2] MAJOR Code consuming updated dependencies must be reviewed for compatibility
[P2] Dependency updates require code verification
Cargo.toml:30, 31, 33, 35
Issue: This PR bumps five dependencies (quick-xml, egui, eframe, egui_kittest, rfd). While the dependency updates themselves are correct, since no source code changes are provided in this diff, I cannot verify that the existing usage patterns of these libraries remain compatible with their new versions.
Why it matters: Even minor version bumps can introduce breaking API changes or deprecations. Without reviewing the consuming code (especially around UI/dialogs using egui and rfd), there is a high risk of silent runtime failures or unexpected behavior in the application's core functionality.
Automated review. Reply here to discuss; this thread is resolved once a fix is confirmed.
Bumps the cargo group with 5 updates in the / directory: | Package | From | To | | --- | --- | --- | | [quick-xml](https://github.com/tafia/quick-xml) | `0.41.0` | `0.42.0` | | [egui](https://github.com/emilk/egui) | `0.36.2` | `0.37.0` | | [eframe](https://github.com/emilk/egui) | `0.36.2` | `0.37.0` | | [egui_kittest](https://github.com/emilk/egui) | `0.36.2` | `0.37.0` | | [rfd](https://github.com/PolyMeilex/rfd) | `0.17.2` | `0.18.0` | Updates `quick-xml` from 0.41.0 to 0.42.0 - [Release notes](https://github.com/tafia/quick-xml/releases) - [Changelog](https://github.com/tafia/quick-xml/blob/master/Changelog.md) - [Commits](tafia/quick-xml@v0.41.0...v0.42.0) Updates `egui` from 0.36.2 to 0.37.0 - [Release notes](https://github.com/emilk/egui/releases) - [Changelog](https://github.com/emilk/egui/blob/main/CHANGELOG.md) - [Commits](emilk/egui@0.36.2...0.37.0) Updates `eframe` from 0.36.2 to 0.37.0 - [Release notes](https://github.com/emilk/egui/releases) - [Changelog](https://github.com/emilk/egui/blob/main/CHANGELOG.md) - [Commits](emilk/egui@0.36.2...0.37.0) Updates `egui_kittest` from 0.36.2 to 0.37.0 - [Release notes](https://github.com/emilk/egui/releases) - [Changelog](https://github.com/emilk/egui/blob/main/CHANGELOG.md) - [Commits](emilk/egui@0.36.2...0.37.0) Updates `rfd` from 0.17.2 to 0.18.0 - [Release notes](https://github.com/PolyMeilex/rfd/releases) - [Changelog](https://github.com/PolyMeilex/rfd/blob/master/CHANGELOG.md) - [Commits](PolyMeilex/rfd@0.17.2...0.18.0) --- updated-dependencies: - dependency-name: eframe dependency-version: 0.37.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo - dependency-name: egui dependency-version: 0.37.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo - dependency-name: egui_kittest dependency-version: 0.37.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo - dependency-name: quick-xml dependency-version: 0.42.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo - dependency-name: rfd dependency-version: 0.18.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo ... Signed-off-by: dependabot[bot] <support@github.com>
738a1c1 to
c9fce20
Compare
Bumps the cargo group with 5 updates in the / directory:
0.41.00.42.00.36.20.37.00.36.20.37.00.36.20.37.00.17.20.18.0Updates
quick-xmlfrom 0.41.0 to 0.42.0Release notes
Sourced from quick-xml's releases.
... (truncated)
Changelog
Sourced from quick-xml's changelog.
... (truncated)
Commits
36a2c52Release 0.42.0a4b9fcacargo fmt22c99f5Update Rust Edition to 202483351fbAdd rename = $value to a table in serde example commentsf4db767Clarify documentation about lifetimes of the events and attributes9f4c66aFix formatting for correct assertions in read_nodes_serde6950ef7Add GHA job to execute examplesdbf9e3fShow XML Decl tracking in examplesaab9452Add writing a Decl event to the writer example1573e05Avoid trim_text(true) in the in-depth examplesUpdates
eguifrom 0.36.2 to 0.37.0Release notes
Sourced from egui's releases.
... (truncated)
Changelog
Sourced from egui's changelog.
... (truncated)
Commits
841a328Release 0.37.0 - Color emojis22b31b7Fix typo in publish_crates.shcb2c39cFix egui_demo_lib not compiling standalone9d317beFix dep cycle3c6eb82Update changelogeee824cRenameegui_system_fontstoegui_system_font_provider(#8724)4821fc5Update rustls to 0.23.46 to fix cargo-deny advisories (#8721)2de51d2Fix README.md about Label builder (#8713)efcf497Fix premultiplied alpha when copying images to the clipboard (#8715)43743e2Make Margin::sum const (#8711)Updates
eframefrom 0.36.2 to 0.37.0Release notes
Sourced from eframe's releases.
... (truncated)
Changelog
Sourced from eframe's changelog.
... (truncated)
Commits
cb2c39cFix egui_demo_lib not compiling standalone9d317beFix dep cycle3c6eb82Update changelogeee824cRenameegui_system_fontstoegui_system_font_provider(#8724)efcf497Fix premultiplied alpha when copying images to the clipboard (#8715)43743e2Make Margin::sum const (#8711)b25d2d4Improve window restoration logic (#8687)4166a93Fix missing Chinese characters from system fonts on Windows (#8688)dfe3318Improve the fallback syntax highlighter inegui_extras(#8708)bb62233Fix not being able to click autocomplete items (#8690)Updates
egui_kittestfrom 0.36.2 to 0.37.0Release notes
Sourced from egui_kittest's releases.
... (truncated)
Changelog
Sourced from egui_kittest's changelog.
... (truncated)
Commits
841a328Release 0.37.0 - Color emojis22b31b7Fix typo in publish_crates.shcb2c39cFix egui_demo_lib not compiling standalone9d317beFix dep cycle3c6eb82Update changelogeee824cRenameegui_system_fontstoegui_system_font_provider(#8724)4821fc5Update rustls to 0.23.46 to fix cargo-deny advisories (#8721)2de51d2Fix README.md about Label builder (#8713)efcf497Fix premultiplied alpha when copying images to the clipboard (#8715)43743e2Make Margin::sum const (#8711)Updates
rfdfrom 0.17.2 to 0.18.0Release notes
Sourced from rfd's releases.
Changelog
Sourced from rfd's changelog.
Commits
2d35d7dMerge pull request #364 from PolyMeilex/version-bump-0.18c88f6e0chore: Version bump 0.18.066e966fMerge pull request #359 from PolyMeilex/solaris11f3656chore: Alias the unixlike cfg7da8075chore: Add solaris and illumos as unix-like systems73b3afeMerge pull request #357 from atouchet/dpa01acfeUse latest version for Deps.rs badge98d6cf2Merge pull request #351 from PolyMeilex/gtk3-fix-some-ubs4b7630agtk3: Fix g_lists memory leaks594e5baMerge pull request #350 from PolyMeilex/manual-gtk-tests