Repository navigation
chore(deps): update rust crates - #11873
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
✅ Deploy Preview for rolldown-rs canceled.
|
Merging this PR will not alter performance1 warning
Comparing Footnotes
|
000e0d1 to
768338d
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. |
Since #11873 updated walkdir to 2.5.1, `Vite Test Windows` has failed on all six `main` pushes. The failing test is the same each time: `serve-bundled` `hmr.spec.ts` > acceptExports > indiscriminate imports: import * > dynamic import(...) > accepts itself if all its exports are accepted. On Windows, the dev file watcher calls walkdir with `follow_links(true)`, and 2.5.1 changed what walkdir does with that option. With walkdir back at 2.5.0, that test passed in all three Windows runs on this PR. One of those runs failed on a different test, in `hmr-ssr.spec.ts`. That test also failed on `main` before #11873. This PR pins walkdir to `=2.5.0` in `Cargo.toml` and turns off Renovate updates for it. Remove the pin once the cause in 2.5.1 is found.
## [1.3.4] - 2026-11-26 ### 🚀 Features - add builtin `injectPlugin` with `include`/`exclude` (#11290) by @onmax - magic-string: support explicit sourcemap locations (#11884) by @IWANABETHATGUY - introduce `declaredModuleSize` to allow plugins to declare a module's real size (#11844) by @hyfdev - binding: add dropInner() to 12 binding classes and extract release_arc helper (#11855) by @Brooooooklyn - inline-common-chunks: add `maxDuplicatedSize` to keep widely copied chunks as files (#11845) by @mattlewis92 - cli: report when a watch round finishes (#11820) by @hyfdev - rolldown_plugin_vite_build_import_analysis: avoid stripping import attributes when `experimental.importAttributes` is enabled (#11802) by @sapphi-red - import-attributes: warn when a non-ESM output drops the import attributes of an external (#11797) by @shulaoda - warn when the `watch` option is passed to `build()` (#11781) by @shulaoda ### 🐛 Bug Fixes - keep_names: restore hoisted function names before the chunk's modules run (#11962) by @hyfdev - external: don't drop `_/` from relative external imports (#11968) by @hyfdev - external: don't panic on empty output filename with relative externals (#11963) by @hyfdev - use the same path as direct imports for externals re-exported with `export *` (#11964) by @hyfdev - sourcemap: don't panic on empty output filename (#11966) by @hyfdev - sourcemap: treat empty `sourcemapFileNames` as unset (#11967) by @hyfdev - rename clashing names in execution order with `chunkModulesOrder: 'module-id'` (#11943) by @hyfdev - code-splitting: stop counting JSON modules as 0 bytes (#11939) by @hyfdev - fetch changed modules from their creating resolution in incremental rebuilds (#11837) by @h-a-n-a - code-splitting: keep import order through entry re-exports (#11906) by @hyfdev - cjs: keep CommonJS named exports in `export *` of a dynamically imported module (#11835) by @hyfdev - plugin: remove internal keys from plugin and code splitting group contexts (#11914) by @hyfdev - remove the leftover `watch.notify` from the option validator (#11918) by @shulaoda - return the group chunk file from `getFileName()` for a merged emitted entry (#11858) by @IWANABETHATGUY - dev: let `this.load` of an unchanged module finish during a rebuild (#11911) by @hyfdev - code-splitting: avoid an extra shared chunk when an entry only re-exports another entry (#11847) by @hyfdev - treeshake: remove unused objects containing identity function calls (#11852) by @hyfdev - cjs: avoid `ReferenceError` when re-exporting from an external `export *` in another chunk (#11848) by @hyfdev - binding: remove stale WASI workaround in to_binding_error (#11890) by @Brooooooklyn - inline-const: respect `inlineConst` options for default exports (#11851) by @hyfdev - magic-string: keep trailing lines in decoded maps (#11882) by @IWANABETHATGUY - magic-string: preserve column mappings through trim (#11881) by @IWANABETHATGUY - magic-string: map each line of multiline replacements (#11880) by @IWANABETHATGUY - follow Rollup for module meta and moduleSideEffects set by plugins (#11792) by @h-a-n-a - code-splitting: import the bindings a CommonJS entry re-exports from an ES module (#11839) by @hyfdev - cjs: stop overwriting `module.exports` of a CommonJS entry that re-exports an ES module (#11846) by @hyfdev - sourcemap: accept undefined source entries from plugins (#11850) by @fengmk2 - code-splitting: unblock top-level awaited dynamic imports in manual groups (#11819) by @hyfdev - runtime: resolve `require()` from the calling chunk in Node ESM output (#11834) by @hyfdev - plugin: throw instead of panicking when a saved transform context calls `getCombinedSourcemap` (#11838) by @hyfdev - code-splitting: only code-less entries keep side-effect-free static import edges (#11199) by @mattlewis92 - make `getCombinedSourcemap` work with `experimental.nativeMagicString` (#11107) by @IWANABETHATGUY - plugin: avoid hangs when resolveId awaits this.load() (#11824) by @shulaoda - keep template chunk names from overwriting explicit file names (#11831) by @hyfdev - code-splitting: skip redundant re-export chunks (#11817) by @hyfdev - preserve build errors when `buildEnd` fails (#11828) by @sapphi-red - preserve top-level using with topLevelVar (#11804) by @akshathayadav378-boop - treeshake: keep array destructuring that calls an unknown iterator (#11812) by @IWANABETHATGUY - preserve `export` names starting with `*` in ModuleInfo.exports (#11825) by @sapphi-red - treeshake: keep calls to functions that direct `eval` can replace (#11811) by @IWANABETHATGUY - keep each source's content in a multi-source transform sourcemap (#11246) by @IWANABETHATGUY - treeshake: keep calls to empty functions with a rest parameter default (#11810) by @IWANABETHATGUY - plugin: allow this.load() while resolving entries (#11816) by @hyfdev - cli: avoid a WASI hang when watch mode exits normally (#11815) by @shulaoda - report effective moduleSideEffects in getModuleInfo and this.resolve (#11422) by @cestercian - code-splitting: avoid an import cycle through an entry's re-exports (#11803) by @hyfdev - treeshake: apply @__NO_SIDE_EFFECTS__ to functions exported after declaration (#11222) by @araishi - code-splitting: keep unused entry re-exports from loading lazy chunks (#11753) by @hyfdev - code-splitting: keep re-exported bindings out of dynamic import namespaces (#11799) by @hyfdev - perf-kit: Node mode times out under the inspector with `--ready exit` or an anchored `stdout:` pattern (#11416) by @IWANABETHATGUY - treeshaking: drop dead dynamic imports that form a cycle (#11768) by @hyfdev - binding: release the WASI runtime when a callable builtin plugin hook rejects (#11786) by @shulaoda - perf-kit: print real imports in the why chain (#11500) by @IWANABETHATGUY - chunk: name emitted chunks before shared chunks (#11790) by @hyfdev - cjs: forward exports from duplicate CommonJS entries (#11756) by @hyfdev - code-splitting: keep chained emitted entries from becoming empty facades (#11090) by @Huzaifa-Asif ### 💼 Other - wasi: bundle self-contained WASI loaders, staging script, and reactor checks (#11843) by @Brooooooklyn ### 🚜 Refactor - scan: remove an unreachable branch when collecting dynamic import entries (#11919) by @shulaoda - cli: replace the unreachable prototype pollution guard with a test (#11925) by @shulaoda - remove the unused `DeterminedSideEffects::to_module_side_effects` (#11926) by @shulaoda - remove more unused types, functions and re-exports (#11922) by @shulaoda - link_stage: handle required modules only in the pre-pass (#11920) by @shulaoda - cli: remove the leftover `inject` from the CLI options type (#11924) by @shulaoda - rolldown_plugin_vite_build_import_analysis: remove the unused `optimizeModulePreloadRelativePaths` option (#11923) by @shulaoda - remove experimental `freeExternalMemory` (#11886) by @shulaoda - rust: drop direct tokio dependencies from core library crates (#11841) by @Brooooooklyn - rolldown_plugin: move `normalize_transform_sourcemap` to utils (#11247) by @IWANABETHATGUY - remove the unused `plugins_are_slow` method (#11800) by @shulaoda - remove parallel plugin support (#11789) by @h-a-n-a - remove the unused `is_css` sourcemap flag (#11782) by @shulaoda ### 📚 Documentation - rename javascript to JavaScript (#11958) by @mdong1909 - say that resolveId fails the build when the same id is external and not external (#11910) by @h-a-n-a - explain which resolution sets meta and moduleSideEffects in resolveId (#11907) by @h-a-n-a - resolve the import in the `moduleSideEffects` plugin example (#11860) by @hyfdev - clarify side-effect-free module behavior (#11856) by @IWANABETHATGUY - clarify the behavior when `buildEnd` / `renderError` itself errors (#11829) by @sapphi-red - add docs for `code` / `plugin` / `pluginCode` of `RolldownLog` (#11827) by @sapphi-red - explain that a module in an entry chunk runs after the common chunks it imports (#11822) by @hyfdev - magic-string: document `generateDecodedMap` and the segments of `hires: false` maps (#11791) by @IWANABETHATGUY ### ⚡ Performance - binding: return memory to the OS once rolldown is idle (#11655) by @shulaoda - scan: reserve symbol capacity for each module's facade symbols (#11854) by @magurotuna - runtime: stop using bound functions as `__copyProps` getters (#11826) by @magurotuna - replace `IndexVec<ModuleIdx, bool>` with `IndexBitSet` (#11805) by @IWANABETHATGUY - rolldown_plugin_vite_manifest: look up chunk names by file name once per build (#11697) by @Boshen - drop module sourcemaps after the chunk is joined (#11773) by @shulaoda ### 🧪 Testing - magic-string: re-enable two passing compatibility tests (#11879) by @IWANABETHATGUY - node: add standalone runtime/proxy/retained-context tests and vitest binding staging (#11842) by @Brooooooklyn - cli: stop watch CLI tests from hanging on Windows (#11821) by @shulaoda ### ⚙️ Miscellaneous Tasks - delete cancelled pkg.pr.new runs on main and debounce for 15 mins (#11928) by @shulaoda - remove the unused `serde` features of rolldown, rolldown_plugin and rolldown_common (#11927) by @shulaoda - deps: update vite-plus to v1.8.0 in the workspace and CI (#11896) by @camc314 - deps: update rollup submodule for tests to v4.68.8 (#11901) by @rolldown-guard[bot] - deps: update test262 submodule for tests (#11902) by @rolldown-guard[bot] - remove the graphite merge-when-ready label check (#11904) by @shulaoda - deps: pin walkdir to 2.5.0 (#11897) by @hyfdev - deps: remove remove-unused-vars (#11895) by @camc314 - deps: update rust crate testing_macros to v3 (#11876) by @renovate[bot] - deps: update rust crates (#11873) by @renovate[bot] - deps: update npm packages (#11872) by @renovate[bot] - deps: upgrade oxc to 0.160.0 (#11885) by @camc314 - deps: update github actions (#11874) by @renovate[bot] - rust: standalone runtime prep (devtools sync writer, TestDir, 1ms debounce, Wasm sourcemap inline, parking_lot_core patch) (#11840) by @Brooooooklyn - run setup steps one by one on Windows (#11849) by @shulaoda ###◀️ Revert - "feat(binding): add dropInner() to 12 binding classes and extract release_arc helper (#11855)" (#11898) by @shulaoda - "fix(code-splitting): keep chained emitted entries from becoming empty facades (#11090)" (#11891) by @hyfdev ### ❤️ New Contributors * @fengmk2 made their first contribution in [#11850](#11850) * @akshathayadav378-boop made their first contribution in [#11804](#11804) * @araishi made their first contribution in [#11222](#11222) * @Huzaifa-Asif made their first contribution in [#11090](#11090) Co-authored-by: shulaoda <[email protected]>
This PR contains the following updates:
1.2.2→1.2.30.4.21→0.4.220.4.34→0.4.350.4.34→0.4.350.61.0→0.63.01.13.1→1.13.20.3.0→0.4.01.16.5→1.16.62.5.8→2.5.91.29.2→1.29.32.5.0→2.5.1Release Notes
servo/rust-url (form_urlencoded)
v1.2.3Compare Source
Stranger6667/jsonschema (jsonschema)
v0.63.0Added
json::JsonText, validating JSON text without building aserde_json::Value, behind thejson-textfeature.ValidationOptions::with_number_format, a customformatcheck that reads numbers, written asnumber(...)in#[validator].Fixed
$refto a bundled meta-schema of a draft other than the schema's own, such ashttps://json-schema.org/draft/2020-12/schemafrom a Draft 7 schema, failing to resolve.$refto ajson-schema.orgURI with no bundled meta-schema, such ashttp://json-schema.org/draft-03/schema#, never retrieved.enumending after "is not one of" instead of naming the emptyenum.HttpOptions::add_root_certificateaccepting a file without certificates.enum, or one with equal members such as[0, 0.0], passing the meta-schema check.HttpOptions::add_root_certificatereporting invalid PEM as an HTTP client build error instead of a certificate parse error that names the file.(?<n>x)\k<n>failing to build inpattern,patternPropertiesandpropertyNames.\d,\w,\sand.beyond ECMA 262, and rejecting a backreference to a group that did not match.v0.62.0Added
PatternOptions::syntaxwithPatternSyntax::Engineto matchpatternandpatternPropertiesin the regex engine's own syntax, without the ECMA 262 translation. #1895syntaxkey inpattern_optionsof#[jsonschema::validator]. #1895Resolver::lookup_dynamic_refto resolve a$dynamicRefthrough the dynamic scope. #1923minContainsandmaxContainserror kinds.evaluateon validators generated by#[jsonschema::validator].Fixed
References and
$schema$refto a$dynamicAnchorresolving through the dynamic scope like$dynamicRef, to an outer$dynamicAnchorof the same name instead of the schema it names. #1923$dynamicRefin a$refcycle resolving as on the first pass through the cycle, ignoring a$dynamicAnchorthat a later pass brings into the dynamic scope.$recursiveRefstopping at a resource without$recursiveAnchor: truein the dynamic scope instead of resolving to the outermost resource with$recursiveAnchor: true.$dynamicReflanding in another resource leaving the resource that holds it out of the dynamic scope.async_options().with_retrieverdiscarding the base URI set bywith_base_uri.Validatorresults depending on how references name a schema that a$refcycle passes through, such ascycleand#inside it.Validatorresults for a schema that references itself with#differing from the same schema reached through a$ref, such as{"not": {"$ref": "#"}}rejecting every instance.$schemaignored through a$refand in the meta-schema check, which could fail or pass it against the wrong draft.validator_map_forentries accepting every value for a subschema in Draft 2019-09 or later under a Draft 7 or earlier root.validator_map_forentries below the root differing from the same subschema reached through a$ref.$recursiveRefand$dynamicRefinside a subschema with its own$idleaving the resource that holds it out of the dynamic scope when that subschema is reached inline or through a JSON Pointer$ref.evaluateoutputminLengthandmaxLengthleaving out themaxLengthunit for accepted strings, and nesting it under a failingminLengthunit for longer ones.typethat lists several types differing fromvalidate, asis not of types (null, string)instead ofis not of types "null", "string".propertiesorpatternPropertiesbesideadditionalPropertiesreporting their subschemas inside theadditionalPropertiesunit instead of in units of their own.requiredname besidepropertiesandadditionalProperties: falsereporting the name inside theadditionalPropertiesunit, and only when missing.additionalProperties: falsereporting one error for the whole object instead of a failing unit for each extra member.requirednames besidepropertiesreporting them inside thepropertiesunit, failing it, and only when missing.propertyNames: falsereporting one error for the whole object instead of a failing unit for each name.dependentRequiredand the array form ofdependenciesreporting missing names in a nested unit at a schema location that does not exist.itemsandadditionalItemsmissing their annotations, andadditionalItemsreporting the extra items in one error instead of a unit for each.containsbesideminContainsormaxContainsmissing the matching items and their indices, and locating the subschema at the bound keyword instead of atcontains.thenandelsereported inside theifunit instead of in units of their own.oneOfwith more than one valid subschema reporting a different message thanvalidate.containsannotating an instance that is not an array.$reftarget at the URI its document was registered under instead of the$idthat document declares.Error locations and messages
$refthe keyword was reached through.$reftaking part of their path from the other route.minContainsandmaxContainsclaiming that no item is valid under thecontainssubschema.propertyNameserrors leaving out a$refinsidepropertyNames.absolute_keyword_locationof errors for names missing underdependentRequiredordependenciespointing to a schema location that does not exist.absolute_keyword_locationof errors from a resource without a base URI, such as one registered under ajson-schema:///URI, naming the$refor other keyword that reached it from a resource with one, instead of being absent.propertyNameserrors reportingpropertyNamesas their absolute keyword location instead of the keyword that rejected the name.Keywords
unevaluatedItemsin Draft 2019-09 treating items matched bycontainsas evaluated.contentEncodinggoing unchecked in Draft 7 beside an unsupportedcontentMediaType.contentEncodingandcontentMediaTypeasserted in Draft 6, which does not define them.unevaluatedPropertiesandunevaluatedItemserrors andevaluateoutput counting members as evaluated by a subschema that fails, such as a$reftarget.multipleOfwith an integer divisor above 2^53 accepting numbers too small forf64, such as1e-400, with thearbitrary-precisionfeature.patternwith a large bounded count the regex engine matches, such as^x?.{0,404600}$, failing with a regex engine error on the empty string when the size limit was raised to compile it.dereferencedereferencedropping siblings of$refin Draft 2019-09 and later when the referenced schema defines the same keyword with another value or is a boolean.dereferencemerging siblings of$refinto the referenced schema in Draft 2019-09 and later when they change what its keywords accept, such aspropertiesbesideadditionalProperties.dereferencekeeping siblings of$refthat Draft 4, 6 and 7 ignore, such asminimumor$id.#[jsonschema::validator]evaluateoutput reporting a passing unit for an unknowncontentEncodingin Draft 7.evaluateoutput for a$ref,$dynamicRefor$recursiveReflanding on the schema that holds it differing fromValidator::evaluate.contentMediaTypeat the schema root instead of atcontentEncoding.unevaluatedPropertiesandunevaluatedItemscounting members as evaluated by a subschema that fails, such as anallOfbranch.typeleaves out when keywords for that type are beside it.$refreached through another$refagainst the schema it started from instead of the resource the first one entered, sopropertyNamesaccepted names andoneOfrejected instances thatValidatordoes not.typeerror when aconstorenumbeside it accepts only values of that type.$refcycle once more when its references name one schema in different ways, such ascycleand#inside it, and applying another schema in place of the one a JSON Pointer reaches through an embedded$idresource.Validator, including the errorvalidatereturns.maxLengtherror whenminLengthis abovemaxLength.iter_errorsreporting the errors of a root that references itself with$ref: "#"beside other keywords twice, such as{"$ref": "#", "minimum": 1}.$recursiveAnchorbelow the root of a schema that uses$recursiveRef, such as ananyOferror beside a failingminProperties.Validatorfromiter_errorsandevaluate, or the same error more than once beside a$refto the same schema, where a$recursiveRefor$dynamicRefcomes back to the instance it holds, such as a schema with$recursiveAnchorthat references itself fromallOf.is_validtaking time exponential in the instance depth on a$refcycle that reaches each nested instance more than once, in a schema with$recursiveRefor$dynamicRef.propertyNameserrors with another kind and in another order thanValidator, and leaving them out whereadditionalProperties: falsebesidepatternPropertiesrejects the same names.Validator, such as an evaluation path without the$refit went through.$idresource a$refpointer enters, such asinner#/$defs/inner/minPropertiesinstead ofinner#/minProperties.Validator, or overflowing the stack on a$refcycle that comes back to the instance it holds, such as a schema referencing itself from bothallOfandadditionalProperties.unevaluatedPropertiesandunevaluatedItemsresolving references in a subschema with its own$idagainst the resource around it, and leaving that subschema out of the dynamic scope.resourcesin the draft of the schema instead of the draft their own$schemanames, such as the anchors a Draft 4idsets.$schemanames, such as an embedded resource written in Draft 7.$refcycle through the same instance in a schema with$recursiveRefor$dynamicRef.falseschema error instead of the errors of the referenced schema at a$refthat closes a cycle, in a schema with$recursiveRefor$dynamicRef.Canonicalization
satisfiabilityansweringUnknownfor an array where only some elements are valid under bothcontainsanditems.satisfiabilityansweringUnknownfor an object that must breakadditionalProperties,patternPropertiesorpropertyNames.satisfiabilityansweringUnknownfor a number that must miss amultipleOf, such as a non-integer.coversansweringUnknown, andsubtractkeeping a differencesatisfiabilitycannot decide, for a recursive$refwhose target contains the other's.canonicalizeforunevaluatedPropertiesorunevaluatedItemsreaching itself through a$ref, such as one independentSchemas.subtractkeeping a differencesatisfiabilitycannot decide for a union of three or more object variants where one variant is narrowed.canonicalizekeepingoneOfover references to unions of tagged objects that share no tag value, where a plain union says the same.Performance
Building validators
Validation
validateanditer_errorsfor recursive schemas that reach one member through several keywords, such aspropertiesand a matchingpatternProperties.evaluatefor arrays, with everyitemsandadditionalItemsannotation sharing one value.evaluatefor arrays whoseitemsis a singletype, such as{"type": "number"}, with consecutive accepted items recorded together instead of as output units per item.patternandpatternPropertieswith alternations of anchored sequences, such as^[1-5](?:[0-9]{2}|XX)$, matched in one pass without a regex engine.unevaluatedPropertiesmatching names against sequence-shapedpatternProperties, such as^[a-z0-9-]+$or^[1-5](?:[0-9]{2}|XX)$, without a regex engine.propertiesand a siblingunevaluatedPropertieschecked in one pass over the object byis_valid.patternandpatternPropertieswith fixed-length optional groups, exactly repeated groups, a leading group of alternatives, or a run of varying length after fixed characters, such as^[a-z][a-z0-9-_]{1,63}$, matched without a regex engine.#[jsonschema::validator]$refs, without copying each referenced schema.validateanditer_errorssharing one generated error function per subschema.$refs, checking each referenced schema's validity once before reporting its errors.type: arraysubschemas whoseitemsis the same$ref, reporting their errors through one shared function.$refnames, with theevaluatecode of each in a function of its own.$refcycle that reaches one instance through two keywords, such as twooneOfbranches, instead of validating the instance once per path to it.Removed
ValidationErrorKind::RegexEngineFailure.rust-lang/regex (regex)
v1.13.2Compare Source
===================
Bug fixes:
Fix a glob syntax error in
package.include.Panic in
BoundedBacktrackerwhen haystack length exceeds capacity.Revert default pool capacity change.
Allow Parser to be reused in
regex-syntax.Make Position's Ord match Eq in
regex-syntax.Fix incorrect match offsets for alternations whose branches start with the
same repetition.
Avoid PikeVM panic with excess capture slots.
The
Patterntrait now requiresunsafe.Read the high half of a serialized
ByteSetfrom the right offset.Fix a bug when
WhichCaptures::Noneis used.Fix off-by-one error.
Enhancements:
Add is_match_with to
regex-automata::meta::Regex.Performance:
Do codepoint range canonicalization in-place.
Documentation:
Document overflow for
Span::offset.saphyr-rs/saphyr (saphyr)
v0.4.0Compare Source
smallvec/smallvec (smallvec)
v1.16.6Compare Source
What's Changed
New Contributors
Full Changelog: smallvec/smallvec@v1.16.5...v1.16.6
uuid-rs/uuid (uuid)
v1.29.3Compare Source
What's Changed
New Contributors
Full Changelog: uuid-rs/uuid@v1.29.2...v1.29.3
BurntSushi/walkdir (walkdir)
v2.5.1Compare Source
Configuration
📅 Schedule: (in timezone Asia/Shanghai)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.