Skip to content

Comments

feat(plugin): support info/warn/debug in native plugin context#5098

Merged
shulaoda merged 1 commit intomainfrom
06-29-feat_plugin_support_info_warn_debug_in_native_plugin_context
Jun 30, 2025
Merged

feat(plugin): support info/warn/debug in native plugin context#5098
shulaoda merged 1 commit intomainfrom
06-29-feat_plugin_support_info_warn_debug_in_native_plugin_context

Conversation

@shulaoda
Copy link
Member

@shulaoda shulaoda commented Jun 29, 2025

closes #4290

Copy link
Member Author

shulaoda commented Jun 29, 2025

@netlify
Copy link

netlify bot commented Jun 29, 2025

Deploy Preview for rolldown-rs canceled.

Name Link
🔨 Latest commit d5171d8
🔍 Latest deploy log https://app.netlify.com/projects/rolldown-rs/deploys/68611bde0f9c5600080a1c61

@shulaoda shulaoda requested review from IWANABETHATGUY and hyf0 June 29, 2025 10:57
@shulaoda shulaoda marked this pull request as ready for review June 29, 2025 10:57
@github-actions
Copy link
Contributor

Benchmarks Rust

  • target: main(f6415bb)
  • pr: 06-29-feat_plugin_support_info_warn_debug_in_native_plugin_context(d5171d8)
group                                                        pr                                     target
-----                                                        --                                     ------
bundle/bundle@multi-duplicated-top-level-symbol              1.00     76.3±1.80ms        ? ?/sec    1.02     77.8±2.18ms        ? ?/sec
bundle/bundle@multi-duplicated-top-level-symbol-sourcemap    1.00     87.2±1.68ms        ? ?/sec    1.01     88.3±1.58ms        ? ?/sec
bundle/bundle@rome_ts                                        1.02    115.9±1.63ms        ? ?/sec    1.00    113.8±1.51ms        ? ?/sec
bundle/bundle@rome_ts-sourcemap                              1.01    135.3±2.70ms        ? ?/sec    1.00    134.4±1.41ms        ? ?/sec
bundle/bundle@threejs                                        1.00     41.1±2.72ms        ? ?/sec    1.00     41.2±2.31ms        ? ?/sec
bundle/bundle@threejs-sourcemap                              1.00     50.7±1.15ms        ? ?/sec    1.00     50.7±0.78ms        ? ?/sec
bundle/bundle@threejs10x                                     1.00    440.1±6.05ms        ? ?/sec    1.01    445.0±3.56ms        ? ?/sec
bundle/bundle@threejs10x-sourcemap                           1.00    514.2±4.03ms        ? ?/sec    1.00    516.1±8.24ms        ? ?/sec
scan/scan@rome_ts                                            1.00     87.1±1.30ms        ? ?/sec    1.00     87.4±1.63ms        ? ?/sec
scan/scan@threejs                                            1.00     30.2±0.45ms        ? ?/sec    1.01     30.5±1.71ms        ? ?/sec
scan/scan@threejs10x                                         1.00    319.4±4.95ms        ? ?/sec    1.00    318.5±5.50ms        ? ?/sec

@shulaoda shulaoda added this pull request to the merge queue Jun 30, 2025
Merged via the queue into main with commit 6534ea1 Jun 30, 2025
25 checks passed
@shulaoda shulaoda deleted the 06-29-feat_plugin_support_info_warn_debug_in_native_plugin_context branch June 30, 2025 03:51
Boshen pushed a commit that referenced this pull request Jun 30, 2025
## [1.0.0-beta.22] - 2025-06-30

### 🚀 Features

- plugin: use `Log` instead of `BuildDiagnostic` for `PluginContext#log` (#5099) by @shulaoda
- plugin: support info/warn/debug in native plugin context (#5098) by @shulaoda
- plugin: support vite plugin custom in `PluginContext#resolve` (#5097) by @shulaoda
- rolldown_plugin_import_glob: align edge cases with `rolldown-vite` (#5094) by @shulaoda
- rolldown_plugin_vite_resolve: align subpath import resolution (#5093) by @shulaoda
- add commonjs tree shake option (#5096) by @IWANABETHATGUY
- rolldown_plugin_web_worker_post: align with `rolldown-vite` (#5092) by @shulaoda
- manual-chunks: support `getModuleInfo` (#5087) by @hyf0
- advanced-chunks: support `getModuleInfo` in `groups.{group}.name` (#5086) by @hyf0

### 🚜 Refactor

- rolldown_loader_utils: inline unnecessary `binary_to_esm` (#5100) by @shulaoda

### ⚡ Performance

- hmr: remove `console.debug` in `runtime.registerModule` (#5091) by @sapphi-red
- hmr: remove no-op `runtime.__toCommonJS` call (#5089) by @sapphi-red

### ⚙️ Miscellaneous Tasks

- deps: lock file maintenance rust crates (#5105) by @renovate[bot]
- deps: lock file maintenance npm packages (#5104) by @renovate[bot]
- deps: update rust crate schemars to v1 (#5103) by @renovate[bot]
- deps: update dependency vite to v7 (#5102) by @renovate[bot]
- deps: update github-actions (#5101) by @renovate[bot]
- deps: update dependency rolldown-plugin-dts to v0.13.12 (#5088) by @renovate[bot]
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.

Make it possible to call log related function in native plugins

2 participants