-
Notifications
You must be signed in to change notification settings - Fork 678
chore(deps): update rust crates #7204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
How to use the Graphite Merge QueueAdd the label graphite: merge to this PR to add it to the merge queue. You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. |
✅ Deploy Preview for rolldown-rs canceled.
|
59f3efc to
ab1c115
Compare
Pull request was converted to draft
63858c1 to
55cfabd
Compare
55cfabd to
e204ad1
Compare
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
There was a problem hiding this 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 updates multiple Rust dependencies, with the most significant being jsonschema which is upgraded from 0.35.0 to 0.37.1. This is a breaking change that requires API migration due to ValidationError fields becoming private and requiring accessor methods. The other dependency updates mentioned in the PR description (flate2, indexmap, insta, json-strip-comments, rolldown-notify packages, and syn) appear to be handled through Cargo.lock updates only, as their Cargo.toml entries use semver ranges that allow these updates automatically.
Key changes:
- Migration to jsonschema 0.37.1 with updated API usage
- Transitive dependency changes in Cargo.lock (data-encoding replaces base64 for jsonschema)
- Compatible updates to other dependencies via Cargo.lock
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| Cargo.toml | Updates jsonschema from 0.35.0 to 0.37.0 |
| Cargo.lock | Updates multiple dependencies and their transitive dependencies, including jsonschema to 0.37.1 and adds data-encoding |
| crates/rolldown_testing/src/test_config.rs | Migrates to jsonschema's new API by changing field access to method call for instance_path() |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| json-escape-simd = "3" | ||
| json-strip-comments = "3" | ||
| jsonschema = { version = "0.35.0", default-features = false } | ||
| jsonschema = { version = "0.37.0", default-features = false } |
Copilot
AI
Nov 26, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Cargo.toml specifies jsonschema version 0.37.0, but Cargo.lock shows 0.37.1 is installed. For consistency and to ensure the patch fix in 0.37.1 (which fixes a stack overflow on empty $ref value per the release notes) is always used, consider updating Cargo.toml to 0.37.1.
| jsonschema = { version = "0.37.0", default-features = false } | |
| jsonschema = { version = "0.37.1", default-features = false } |
Benchmarks Rust |
## [1.0.0-beta.52] - 2025-11-26 💥 Breaking Change - Change `output.generatedCode.profilerNames` default to `false` 🔧 Vite-Style TypeScript Configuration - Rolldown now supports Vite-style automatic tsconfig resolution. Use `tsconfig: true` to enable auto-discovery mode where each module finds its nearest `tsconfig.json`. See more details [here](https://rolldown.rs/options/tsconfig) ⚙️ Upgraded to oxc v0.99.0 - Add `TSGlobalDeclaration` type - More details: https://github.com/oxc-project/oxc/releases/tag/crates_v0.99.0 ### 💥 BREAKING CHANGES - change `output.generatedCode.profilerNames` default to false (#7139) by @Copilot ### 🚀 Features - support vite-style tsconfig resolution (#6873) by @shulaoda - rolldown: oxc v0.99.0 (#7165) by @camc314 - browser: export `plugins` (#7210) by @sxzz - rolldown_plugin_vite_css_post: add `inline` parameter to `cssMinify` callback (#7191) by @shulaoda - rolldown_plugin_vite_build_import_analysis: implement `render_chunk` to replace `__VITE_IS_MODERN__` flag (#7178) by @shulaoda - rolldown_plugin_utils: optimize SVG data URL encoding (#7156) by @shulaoda - dev: replace `DevEngine::hasLatestBuildOutput` with `DevEngine::getBundleState` (#7145) by @sapphi-red - rolldown_plugin_vite_asset_import_meta_url: support `@vite-ignore` comment (#7141) by @shulaoda - rolldown_plugin_vite_asset_import_meta_url: implement static URL processing (#7140) by @shulaoda - rolldown_plugin_vite_asset_import_meta_url: align `asset_resolver` logic (#7137) by @shulaoda - rolldown_plugin_vite_asset_import_meta_url: align `try_fs_resolve` logic (#7136) by @shulaoda - rolldown_plugin_vite_asset_import_meta_url: validate relative paths (#7120) by @shulaoda - export `viteAssetImportMetaUrlPlugin` and add dynamic URL tests (#7119) by @shulaoda ### 🐛 Bug Fixes - watch overwrite rename event on linux (#7201) by @sapphi-red - preserve name for parenthesized anonymous default exports and arrow functions with keepNames (#7159) by @Copilot - rolldown_plugin_vite_html: add missing async attribute for inlined entry scripts (#7202) by @shulaoda - respect target setting in DCE to prevent modern syntax generation (#7128) by @Copilot - rolldown_plugin_vite_html: add semicolon to import statement in CSS removal (#7200) by @shulaoda - rolldown_plugin_vite_html: use correct CSS asset filename in HTML injection (#7199) by @shulaoda - rolldown_plugin_vite_css_post: handle scoped package names in lib CSS filename (#7198) by @shulaoda - rolldown_plugin_vite_html: use patched `html5gum` with correct span tracking (#7193) by @shulaoda - rolldown_plugin_vite_html: handle HTML strings in script tags correctly (#7192) by @shulaoda - handle JSON import namespace property access correctly (#7190) by @IWANABETHATGUY - only include runtime helpers from included modules (#7183) by @IWANABETHATGUY - rolldown_plugin_vite_html: normalize paths to use forward slashes in `original_file_name` (#7175) by @shulaoda - rolldown_plugin_vite_css_post: use `filename` instead of `reference_id` for imported assets (#7174) by @shulaoda - rolldown_plugin_vite_css_post: correct regex escaping in pure CSS chunk pruning (#7173) by @shulaoda - rolldown_plugin_vite_html: use correct dependency path for modulepreload links (#7172) by @shulaoda - update cur_stmt_index when processing top level statements (#7157) by @IWANABETHATGUY - rolldown_plugin_utils: strip leading character from public asset URL (#7170) by @shulaoda - rolldown_plugin_vite_html: use correct `public_base` for `html_result_map` key (#7169) by @shulaoda - rolldown_plugin_utils: correct runtime handling and escape single quotes in asset paths (#7168) by @shulaoda - rolldown_plugin_utils: prevent data race in `file_to_url` cache (#7166) by @shulaoda - rolldown_plugin_vite_asset_import_meta_url: correct glob pattern and query string handling in dynamic URLs (#7162) by @shulaoda - rolldown_plugin_vite_css_post: use correct start position in magic string updates (#7158) by @shulaoda - data race in `FileEmitter::emit_file` causing duplicate asset emissions (#7164) by @shulaoda - dev: watch files even if the build failed (#7149) by @sapphi-red - rolldown_plugin_utils: always use base64 encoding for data URLs (#7148) by @shulaoda - preserve "default" name for anonymous default exports with keepNames (#7151) by @Copilot - correctly handle cjs json module as entry point (#7147) by @IWANABETHATGUY - rolldown_plugin_utils: correct `reference_id` parsing in `render_asset_url_in_js` (#7143) by @shulaoda - rolldown_plugin_vite_asset_import_meta_url: exclude quotes from URL span (#7142) by @shulaoda - rolldown_plugin_vite_asset_import_meta_url: use template literal for glob result indexing (#7134) by @shulaoda - tree shake unused dynamic entry when `inlineDynamicImports` is enabled (#7129) by @IWANABETHATGUY - correct return value of `parse` / `parseSync` functions (#7127) by @sapphi-red ### 🚜 Refactor - rolldown_plugin_vite_transform: use `oxc_resolver` for tsconfig discovery (#7220) by @shulaoda - rolldown_plugin_vite_resolve: use `resolve_file` for tsconfig discovery (#7216) by @shulaoda - rolldown_plugin_utils: remove redundant `ViteMetadata::get_or_insert_default()` (#7189) by @shulaoda - rolldown_plugin_utils: simplify `ViteMetadata::get()` to always return a value (#7188) by @shulaoda - rolldown_utils: add `guess_mime_skip_utf8_check` for binary assets (#7161) by @shulaoda - rolldown_plugin_utils: extract asset URL parsing into `AssetUrlIter` (#7144) by @shulaoda - store pattern name in FilenameTemplate (#7132) by @IWANABETHATGUY ### 📚 Documentation - tsconfig: document auto-discovery mode and improve structure (#7228) by @shulaoda - add plugin hook filter compatibility and fallback guide (#7138) by @Copilot - update top level navigation (#7092) by @mdong1909 ### 🧪 Testing - add tsconfig include/exclude/files matching test cases (#6899) by @shulaoda - vite-tests: run `playwright install` in case playwright binary is missing (#7226) by @sapphi-red - watch: close watcher when an error occured in the test cases (#7225) by @sapphi-red - watch: reject `waitBuildFinished` if `ERROR` event occurs (#7224) by @sapphi-red ### ⚙️ Miscellaneous Tasks - example: revert accidental changes to basic-typescript (#7227) by @shulaoda - deps: update oxc apps (#7212) by @renovate[bot] - deps: update rust crates (#7204) by @renovate[bot] - deps: update `oxc_resolver_napi` to 11.14.0 (#7217) by @shulaoda - deps: update oxc_resolver (#6909) by @shulaoda - deps: update dependency glob to v13 (#7208) by @renovate[bot] - deps: update actions/checkout action to v6 (#7207) by @renovate[bot] - deps: update npm packages (#7206) by @renovate[bot] - deps: update github-actions (#7205) by @renovate[bot] - add missing status code comment (#7185) by @iiio2 - deps: update dependency oxlint-tsgolint to v0.8.1 (#7197) by @renovate[bot] - rust: add more tracing log for hmr + dev logic (#7179) by @hyf0 - deps: update dependency oxlint-tsgolint to v0.8.0 (#7167) by @renovate[bot] - deps: update dependency oxlint-tsgolint to v0.7.3 (#7133) by @renovate[bot] - merge similar inlineDynamicImports test case (#7131) by @IWANABETHATGUY - deps: update `rolldown-plugin-dts` to 0.18.0 (#7125) by @shulaoda Co-authored-by: shulaoda <[email protected]>
This PR contains the following updates:
=1.1.2->=1.1.52.12.0->2.12.11.43.2->1.44.13.0.1->3.1.00.35.0->0.37.08.2.1->8.2.40.6.0->0.7.02.0.110->2.0.111Release Notes
rust-lang/flate2-rs (flate2)
v1.1.5Compare Source
This bugfix release fixes #508, as flush didn't always work anymore in conjunction with
miniz_oxide.What's Changed
Full Changelog: rust-lang/flate2-rs@1.1.4...1.1.5
v1.1.4: - it's 1.1.3 with fixed documentationCompare Source
See here for the changelog of v1.1.3: https://github.com/rust-lang/flate2-rs/releases/tag/1.1.3 .
Full Changelog: rust-lang/flate2-rs@1.1.3...1.1.4
v1.1.3Compare Source
What's Changed
zlibVersion()instead of aconstfor the version by @folkertdev in #491(de)compress_uninitthat accepts&[MaybeUninit<u8>]by @NobodyXu in #502New Contributors
Full Changelog: rust-lang/flate2-rs@1.1.2...1.1.3
indexmap-rs/indexmap (indexmap)
v2.12.1Compare Source
hashbrown's new bucket API.mitsuhiko/insta (insta)
v1.44.1Compare Source
--dndalias for--disable-nextest-doctestflag to make it easier to silence the deprecation warning. #822v1.44.0Compare Source
(LLMs, CI pipelines, scripts).
cargo insta review --snapshot <path>andcargo insta reject --snapshot <path>now work without a terminal. Enhancedpending-snapshotsoutput with usage instructions and workspace-relative paths. #815--disable-nextest-doctestflag tocargo insta testto disable running doctests withnextest. Shows a deprecation warning when nextest is used with doctests without this flag, to prepare
cargo instato no longer runa separate doctest process when using nextest in the future. #803
--test-runner-fallback/--no-test-runner-fallbackflags tocargo insta test. #811the number of leading newlines match. Existing assertions with different
leading newlines will pass and print a warning suggesting running with
--force-update-snapshots. They may fail in the future. (Note that we stillcurrently allow differing trailing newlines, though may adjust this in the
future). #563
oxc-project/json-strip-comments (json-strip-comments)
v3.1.0Compare Source
Added
strip_sliceapi (#116)Other
Stranger6667/jsonschema (jsonschema)
v0.37.1Fixed
$refvalue. #886v0.37.0Added
evaluate()top-level function for convenient access to structured validation output.contentEncodingvalues per RFC 4648:base64url,base32,base32hex, andbase16. These encodings are now validated alongside the existingbase64support in Draft 6 and 7. #26validator.iter_errors(instance).into_errors(). It returns aValidationErrorstype that collects validation errors and implementsstd::error::Error. #451Changed
ValidationErrorfields are private; useinstance(),kind(),instance_path(), andschema_path()instead of accessing struct fields directly.ErrorIteratoris now a newtype wrapper instead ofBox<dyn ValidationErrorIterator>.Performance
validateand other APIs returningResult<_, ValidationError>are 5–10% faster in some workloads due to the smaller error handle.evaluate: Avoiding deep clones of unmatched keyword values (e.g.,title,description,examples) on every schema node evaluation by usingArcinternally. Can be multiple times faster for schemas with large annotations.v0.36.0Added
--output flag|list|hierarchicalmodes now stream newline-delimited JSON records with schema/instance metadata plus JSON Schema Output v1 payloads (defaulttextoutput remains human-readable).--errors-onlyflag to suppress successful validation output and only show failures.Validator::evaluate()API exposes JSON Schema Output v1 (flag/list/hierarchical) reports along with iterator helpers for annotations and errors.meta::validator_for()function to build validators for meta-schema validation with fullValidatorAPI access.Validatornow implementsClone. #809Removed
Validator::apply(),Output, andBasicOutputtypes have been removed in favor of the richerevaluate()API.notify-rs/notify (rolldown-notify-debouncer-full)
v0.7.0flumecrate [#680]dtolnay/syn (syn)
v2.0.111Compare Source
braced!,bracketed!,parenthesized!to be an otherwise unused variable (#1946)Configuration
📅 Schedule: Branch creation - "before 10am on monday" in timezone Asia/Shanghai, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.