Skip to content

Comments

chore(deps): update napi#7317

Merged
renovate[bot] merged 1 commit intomainfrom
renovate/napi
Dec 2, 2025
Merged

chore(deps): update napi#7317
renovate[bot] merged 1 commit intomainfrom
renovate/napi

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Dec 2, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update
@napi-rs/cli 3.4.1 -> 3.5.0 age adoption passing confidence pnpm.catalog.default minor
napi 3.5.2 -> 3.6.0 age adoption passing confidence workspace.dependencies minor
napi-derive 3.3.3 -> 3.4.0 age adoption passing confidence workspace.dependencies minor

Release Notes

napi-rs/napi-rs (@​napi-rs/cli)

v3.5.0

Compare Source

Added
  • (sys) use libloading to load napi symbols at runtime on all platform (#​2996)
Fixed
  • (napi) memory leak in PromiseRaw cleanup callback (#​2995)
Other
  • (napi) mark tsfn data as pub and split SendableResolver to indent file (#​2992)
  • (napi) mark SendableResolver and PromiseRaw as pub (#​2981)
  • add sponsors

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot enabled auto-merge (squash) December 2, 2025 14:00
@renovate
Copy link
Contributor Author

renovate bot commented Dec 2, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: pnpm-lock.yaml
Scope: all 34 workspace projects
Progress: resolved 1, reused 0, downloaded 0, added 0
Progress: resolved 31, reused 0, downloaded 0, added 0
Progress: resolved 95, reused 0, downloaded 0, added 0
Progress: resolved 248, reused 0, downloaded 0, added 0
Progress: resolved 463, reused 0, downloaded 0, added 0
Progress: resolved 623, reused 0, downloaded 0, added 0
Progress: resolved 797, reused 0, downloaded 0, added 0
/tmp/renovate/repos/github/rolldown/rolldown/scripts:
 ERR_PNPM_TRUST_DOWNGRADE  High-risk trust downgrade for "[email protected]" (possible package takeover)

This error happened while installing the dependencies of @pnpm/[email protected]
 at @pnpm/[email protected]
 at @pnpm/[email protected]

Earlier versions had provenance attestation, but this version has no trust evidence. A trust downgrade may indicate a supply chain incident.

@graphite-app
Copy link
Contributor

graphite-app bot commented Dec 2, 2025

How to use the Graphite Merge Queue

Add 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.

@netlify
Copy link

netlify bot commented Dec 2, 2025

Deploy Preview for rolldown-rs canceled.

Name Link
🔨 Latest commit 2490d80
🔍 Latest deploy log https://app.netlify.com/projects/rolldown-rs/deploys/692ef10317161e00086c15d3

@github-actions
Copy link
Contributor

github-actions bot commented Dec 2, 2025

Benchmarks Rust

group                                                        pr                                     target
-----                                                        --                                     ------
bundle/bundle@multi-duplicated-top-level-symbol              1.00     67.5±2.50ms        ? ?/sec    1.07     72.3±4.10ms        ? ?/sec
bundle/bundle@multi-duplicated-top-level-symbol-sourcemap    1.00     74.3±2.28ms        ? ?/sec    1.06     79.1±2.49ms        ? ?/sec
bundle/bundle@rome_ts                                        1.00    109.5±2.78ms        ? ?/sec    1.02    111.5±2.16ms        ? ?/sec
bundle/bundle@rome_ts-sourcemap                              1.00    122.6±3.78ms        ? ?/sec    1.04    127.8±3.34ms        ? ?/sec
bundle/bundle@threejs                                        1.00     40.0±2.59ms        ? ?/sec    1.01     40.3±1.12ms        ? ?/sec
bundle/bundle@threejs-sourcemap                              1.00     44.3±0.81ms        ? ?/sec    1.01     44.9±1.02ms        ? ?/sec
bundle/bundle@threejs10x                                     1.00    411.1±8.34ms        ? ?/sec    1.00    411.2±9.03ms        ? ?/sec
bundle/bundle@threejs10x-sourcemap                           1.01    465.5±6.86ms        ? ?/sec    1.00    462.9±6.64ms        ? ?/sec
scan/scan@rome_ts                                            1.02     87.8±2.44ms        ? ?/sec    1.00     86.3±1.83ms        ? ?/sec
scan/scan@threejs                                            1.02     30.0±1.02ms        ? ?/sec    1.00     29.3±0.73ms        ? ?/sec
scan/scan@threejs10x                                         1.00    305.1±6.08ms        ? ?/sec    1.01    308.1±6.20ms        ? ?/sec

@renovate renovate bot merged commit 667bc27 into main Dec 2, 2025
49 of 50 checks passed
@renovate renovate bot deleted the renovate/napi branch December 2, 2025 14:16
@github-actions github-actions bot mentioned this pull request Dec 3, 2025
graphite-app bot pushed a commit that referenced this pull request Dec 3, 2025
close #7287
refs #7317, napi-rs/napi-rs#3041

With this change, I get the tracing output:

```
$env:RD_LOG="napi=trace"; pnpm build

> @example/typescript@ build D:\documents\GitHub\rolldown\examples\basic-typescript
> rolldown --config ./rolldown.config.js

  2025-12-03T03:05:29.770480Z DEBUG napi: BindingBundler::constructor
    at crates\rolldown_binding\src\binding_bundler.rs:26

  2025-12-03T03:05:29.772016Z DEBUG napi: BindingBundler::write
    at crates\rolldown_binding\src\binding_bundler.rs:26

  2025-12-03T03:05:29.786956Z DEBUG napi: BindingRenderedChunkMeta::chunks
    at crates\rolldown_binding\src\options\plugin\types\binding_render_chunk_meta_chunks.rs:15

  2025-12-03T03:05:29.788489Z DEBUG napi: BindingBundler::close
    at crates\rolldown_binding\src\binding_bundler.rs:26

  2025-12-03T03:05:29.788696Z DEBUG napi: shutdownAsyncRuntime
    at crates\rolldown_binding\src\lib.rs:79

  2025-12-03T03:05:29.788905Z DEBUG napi: BindingOutputChunk::getFileName
    at crates\rolldown_binding\src\types\binding_output_chunk.rs:17

  2025-12-03T03:05:29.789008Z DEBUG napi: BindingOutputChunk::getCode
    at crates\rolldown_binding\src\types\binding_output_chunk.rs:17

<DIR>/entry.js  chunk │ size: 0.23 kB

✔ rolldown v1.0.0-beta.52 Finished in 21.24 ms
```
(note: I had to comment out `debug` option, otherwise I got `failed to set global default subscriber: SetGlobalDefaultError("a global default trace dispatcher has already been set")` error)
@github-actions github-actions bot mentioned this pull request Dec 3, 2025
shulaoda added a commit that referenced this pull request Dec 3, 2025
## [1.0.0-beta.53] - 2025-12-03

💥 Breaking Changes
- Drop `i686-pc-windows-msvc` target support

🚀 Chunk Merging Optimization
- Rolldown now automatically merges shared chunks when entries import each other (when `preserveEntrySignature` is not `strict`)
```shell
Before:
entry.js   → imports → shared.js (common chunk)
entry2.js  → imports → shared.js
Output: 3 chunks (entry.js, entry2.js, shared.js)

After:
entry.js   → contains shared code
entry2.js  → imports → entry.js
Output: 2 chunks (entry.js, entry2.js)
```

### 💥 BREAKING CHANGES

- drop `i686-pc-windows-msvc` target support (#7230) by @sapphi-red

### 🚀 Features

- rolldown_plugin_vite_manifest: pass normalized options to `isLegacy` callback (#7321) by @shulaoda
- plugin/vite-resolve: add `disableCache` option (#6763) by @sapphi-red
- rolldown: export `createTokioRuntime` for tsdown (#7264) by @shulaoda
- rolldown_plugin_vite_html: sync `moduleSideEffects` for already loaded modules (#7254) by @shulaoda
- rolldown_plugin_vite_html: load module scripts with side effects to prevent tree-shaking (#7244) by @shulaoda
- rolldown_plugin_vite_css_post: implement `cssScopeTo` for scoped CSS tree-shaking (#7240) by @shulaoda

### 🐛 Bug Fixes

- export default class decl __name runtime insertion (#7316) by @IWANABETHATGUY
- chunk side effects calculation (#7273) by @IWANABETHATGUY
- node: `output.generateCode.preset: 'es2015'` should set `output.generateCode.symbols: true` by default (#7314) by @sapphi-red
- skip name helper for classes with static name property (#7312) by @IWANABETHATGUY
- preserve chunk imports relationship after chunk merging (#7303) by @shulaoda
- dev: make `register_modules` async (#7289) by @hyf0
- preserve computed property in object destructuring (#7288) by @IWANABETHATGUY
- support dynamic imports with shared dependencies (#7261) by @IWANABETHATGUY
- call `defer_sync_scan_data` in non-incremental build mode (#7255) by @shulaoda
- optimize chunk merging for shared entry points (#7194) by @IWANABETHATGUY
- add indentation for UMD format output (#7263) by @IWANABETHATGUY
- rolldown_plugin_vite_css_post: pass options to `isLegacy` callback for proper legacy detection (#7260) by @shulaoda
- rolldown_plugin_vite_css_post: also detect `?inline=true` query for inlined CSS (#7245) by @shulaoda
- rolldown_plugin_vite_css_post: distinguish empty CSS from no CSS (#7241) by @shulaoda
- add Windows support for t-run command (#7242) by @IWANABETHATGUY
- cjs: prevent duplicate require declarations for external modules with preserveModules (#7234) by @logaretm
- rolldown_plugin_vite_resolve: resolve from root for virtual modules (#7236) by @sapphi-red
- include entry level external modules in chunk exports (#7218) by @IWANABETHATGUY

### 🚜 Refactor

- dev: make `removeClient` async (#7313) by @hyf0
- move chunk merging code out of code_splitting.rs (#7285) by @IWANABETHATGUY
- extract common function util for chunk merging (#7271) by @IWANABETHATGUY
- use iterative method to merge chunks (#7256) by @IWANABETHATGUY
- use concat_string! instead of string replace for generating chunk level exports (#7247) by @IWANABETHATGUY

### 📚 Documentation

- add warning to experimental.resolveNewUrlToAsset about JS/TS files (#7300) by @Copilot
- add sequential hook execution difference in plugin-api.md (#7308) by @Copilot
- add migration example from onwarn to onLog (#7299) by @Copilot
- add migration example for manualChunks to advancedChunks (#7298) by @Copilot
- deps: bump vitepress to fix build (#7307) by @sapphi-red
- examples & text for experimental.resolveNewUrlToAsset (#7259) by @TheAlexLichter

### ⚡ Performance

- rolldown_plugin_vite_css_post: lazily load `cssScopeTo` from JS module options (#7253) by @shulaoda
- rolldown_plugin_vite_css_post: avoid unnecessary string clones in `resolve_asset_urls_in_css` (#7250) by @shulaoda

### 🧪 Testing

- generate relative path like name in advanced chunks (#7267) by @IWANABETHATGUY
- add test case for preserveEntrySignatures with re-exports (#7279) by @IWANABETHATGUY
- add test262 integration tests (#7196) by @sapphi-red

### ⚙️ Miscellaneous Tasks

- deps: update dependency rolldown-plugin-dts to v0.18.1 (#7304) by @renovate[bot]
- enable tracing feature for napi (#7322) by @sapphi-red
- deps: update napi (#7320) by @renovate[bot]
- deps: update oxc (#7318) by @renovate[bot]
- deps: update napi (#7317) by @renovate[bot]
- deps: update oxc to v0.100.0 (#7301) by @renovate[bot]
- deps: downgrade pnpm to 10.23.0 to fix Netlify build (#7306) by @shulaoda
- add `trustPolicyExclude` for chokidar and semver (#7302) by @sapphi-red
- update pnpm lockfile (#7291) by @IWANABETHATGUY
- deps: update npm packages (#7272) by @renovate[bot]
- deps: update rust crates (#7270) by @renovate[bot]
- deps: update oxc (#7262) by @renovate[bot]
- deps: update github-actions (#7269) by @renovate[bot]
- deps: update dependency dprint-typescript to v0.95.13 (#7268) by @renovate[bot]
- deps: update `html5gum` to 0.8.1 (#7265) by @shulaoda
- rolldown: remove unused `getModuleOptions` from `PluginContext` (#7266) by @shulaoda
- remove unnecessary justfile ignore (#7243) by @IWANABETHATGUY
- deps: update oxc apps (#7238) by @renovate[bot]
- add `nul` to workaround https://github.com/anthropics/claude-c… (#7237) by @IWANABETHATGUY
- deps: update dependency valibot to v1.2.0 [security] (#7231) by @renovate[bot]
- deps: update crate-ci/typos action to v1.40.0 (#7232) by @renovate[bot]

### ❤️ New Contributors

* @logaretm made their first contribution in [#7234](#7234)

Co-authored-by: shulaoda <[email protected]>
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.

0 participants