Skip to content

Comments

refactor: improve ScopeHoistingFinalizerContext#5739

Merged
shulaoda merged 1 commit intomainfrom
08-16-refactor_improve_scopehoistingfinalizercontext
Aug 16, 2025
Merged

refactor: improve ScopeHoistingFinalizerContext#5739
shulaoda merged 1 commit intomainfrom
08-16-refactor_improve_scopehoistingfinalizercontext

Conversation

@shulaoda
Copy link
Member

No description provided.

Copy link
Member Author

shulaoda commented Aug 15, 2025

@shulaoda shulaoda changed the title refactor: improve ScopeHoistingFinalizerContext refactor: improve ScopeHoistingFinalizerContext Aug 15, 2025
@shulaoda shulaoda marked this pull request as ready for review August 15, 2025 20:42
@shulaoda shulaoda force-pushed the 08-16-refactor_improve_scopehoistingfinalizercontext branch from 169414d to bfa4afd Compare August 15, 2025 20:47
@shulaoda shulaoda force-pushed the 08-16-refactor_move_finalize_normal_module_into_scopehoistingfinalizercontext branch from 7d8e30a to 63fa352 Compare August 15, 2025 20:47
@graphite-app graphite-app bot changed the base branch from 08-16-refactor_move_finalize_normal_module_into_scopehoistingfinalizercontext to graphite-base/5739 August 15, 2025 20:48
@shulaoda shulaoda force-pushed the graphite-base/5739 branch from 63fa352 to 9ba8995 Compare August 15, 2025 20:52
@shulaoda shulaoda force-pushed the 08-16-refactor_improve_scopehoistingfinalizercontext branch from bfa4afd to 2dfeb67 Compare August 15, 2025 20:52
@shulaoda shulaoda changed the base branch from graphite-base/5739 to 08-16-refactor_move_finalize_normal_module_into_scopehoistingfinalizercontext August 15, 2025 20:52
Base automatically changed from 08-16-refactor_move_finalize_normal_module_into_scopehoistingfinalizercontext to main August 16, 2025 06:29
@shulaoda shulaoda force-pushed the 08-16-refactor_improve_scopehoistingfinalizercontext branch from 2dfeb67 to 57cc693 Compare August 16, 2025 06:29
@netlify
Copy link

netlify bot commented Aug 16, 2025

Deploy Preview for rolldown-rs canceled.

Name Link
🔨 Latest commit 57cc693
🔍 Latest deploy log https://app.netlify.com/projects/rolldown-rs/deploys/68a02547bbb7280008693fd4

@graphite-app
Copy link
Contributor

graphite-app bot commented Aug 16, 2025

Merge activity

  • Aug 16, 6:29 AM UTC: Graphite rebased this pull request, because this pull request is set to merge when ready.

@shulaoda shulaoda enabled auto-merge August 16, 2025 06:30
@shulaoda shulaoda added this pull request to the merge queue Aug 16, 2025
@github-actions
Copy link
Contributor

Benchmarks Rust

  • target: main(b1c6939)
  • pr: 08-16-refactor_improve_scopehoistingfinalizercontext(57cc693)
group                                                        pr                                     target
-----                                                        --                                     ------
bundle/bundle@multi-duplicated-top-level-symbol              1.00     81.3±2.33ms        ? ?/sec    1.01     82.3±3.29ms        ? ?/sec
bundle/bundle@multi-duplicated-top-level-symbol-sourcemap    1.07     94.7±2.49ms        ? ?/sec    1.00     88.8±1.59ms        ? ?/sec
bundle/bundle@rome_ts                                        1.00    121.1±4.01ms        ? ?/sec    1.00    121.4±1.99ms        ? ?/sec
bundle/bundle@rome_ts-sourcemap                              1.00    141.6±2.35ms        ? ?/sec    1.00    141.3±2.08ms        ? ?/sec
bundle/bundle@threejs                                        1.00     44.7±2.12ms        ? ?/sec    1.03     46.0±2.55ms        ? ?/sec
bundle/bundle@threejs-sourcemap                              1.00     54.1±1.23ms        ? ?/sec    1.00     54.0±1.03ms        ? ?/sec
bundle/bundle@threejs10x                                     1.01    472.7±8.31ms        ? ?/sec    1.00    469.1±6.43ms        ? ?/sec
bundle/bundle@threejs10x-sourcemap                           1.01    553.5±5.15ms        ? ?/sec    1.00    549.9±5.83ms        ? ?/sec
scan/scan@rome_ts                                            1.00     94.3±2.28ms        ? ?/sec    1.01     95.5±1.49ms        ? ?/sec
scan/scan@threejs                                            1.01     33.6±2.09ms        ? ?/sec    1.00     33.3±0.40ms        ? ?/sec
scan/scan@threejs10x                                         1.00    352.8±6.19ms        ? ?/sec    1.01    355.1±5.29ms        ? ?/sec

@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 16, 2025
@shulaoda shulaoda added this pull request to the merge queue Aug 16, 2025
Merged via the queue into main with commit 7b40229 Aug 16, 2025
22 checks passed
@shulaoda shulaoda deleted the 08-16-refactor_improve_scopehoistingfinalizercontext branch August 16, 2025 07:29
This was referenced Aug 18, 2025
hyf0 pushed a commit that referenced this pull request Aug 18, 2025
## [1.0.0-beta.33] - 2025-08-18

### 💥 BREAKING CHANGES

- only call `closeBundle` hook when bundling actually happens (#5715) by
@shulaoda

### 🚀 Features

- rolldown_plugin_vite_css_post: align transform logic except minify
(#5768) by @shulaoda
- rolldown_plugin_vite_css_post: align html inline css logic (#5767) by
@shulaoda
- support merge cjs ns in module group level (#5760) by @IWANABETHATGUY
- rolldown_plugin_vite_css_post: filter transform id (#5766) by
@shulaoda
- rolldown: oxc v0.82.2 (#5754) by @Boshen
- rollup-test: log error when `pringStatus` (#5744) by @situ2001
- rolldown_plugin_vite_css_post: initialize (#5743) by @shulaoda
- rolldown_plugin_vite_css: align `transform` hook logic (#5736) by
@shulaoda
- rolldown_plugin_vite_css: align partial transform hook logic (#5733)
by @shulaoda
- add original wrap_kind (#5729) by @IWANABETHATGUY
- concatenateWrappedModule (#5724) by @IWANABETHATGUY
- rolldown: oxc v0.82.1 (#5717) by @Boshen
- improve error message for `unresolved_import` when platform is
`neutral` (#5700) by @IWANABETHATGUY

### 🐛 Bug Fixes

- rolldown_plugin_transform: merge tsconfig jsx options even when
`oxc.jsx.runtime` is set (#5771) by @hi-ogawa
- jsx preserve break component which is default export (#5764) by
@shulaoda
- rolldown_plugin_asset: should directly stringify raw content (#5749)
by @situ2001
- resolve symbol deconfliction order for cross-chunk imports by
@IWANABETHATGUY
- rolldown_error: improve resolve diagnostic message (#5740) by
@shulaoda
- vitest ci failed (#5741) by @IWANABETHATGUY
- rolldown: options `context` should be available in renderStart (#5672)
by @situ2001
- ensure lazy module eval order when import variable from other chunk
(#5727) by @IWANABETHATGUY
- wasm build panic on stackblitz (#5723) by @shulaoda
- plugin/vite-resolve: try non-prefixed id before prefixed id (#5711) by
@sapphi-red
- devtool: shouldn't filter out spans for devtool use case (#5713) by
@hyf0
- plugin/vite-resolve: fallback on more resolution errors that happened
when trying with prefix (#5710) by @sapphi-red
- plugin/vite-resolve: don't consider ids with `npm:` prefix as a
built-in module (#5709) by @sapphi-red

### 🚜 Refactor

- rolldown_plugin_json: use common plugin utils (#5769) by @shulaoda
- hmr: remove unnecessary code of handling runtime module (#5752) by
@hyf0
- hmr: enhance HMR update logic and improve clarity (#5748) by @hyf0
- improve `ScopeHoistingFinalizerContext` (#5739) by @shulaoda
- move `finalize_normal_module` into `ScopeHoistingFinalizerContext`
(#5738) by @shulaoda
- private fields `wrap_kind` and `original_wrap_kind` and keep them sync
(#5730) by @IWANABETHATGUY

### 📚 Documentation

- rolldown_plugin_data_uri: update README (#5746) by @situ2001
- install guide for minor platforms (#5716) by @sapphi-red
- update description for platform `neutral` (#5701) by @IWANABETHATGUY

### ⚡ Performance

- hmr: only refetch changed modules (#5753) by @hyf0
- rolldown_plugin_reporter: gzip size computation (#5734) by
@IWANABETHATGUY
- hmr: reuse previous ast for non-changed modules (#5725) by @hyf0
- rolldown_ecmascript: do not run semantic twice for `dce-only` (#5707)
by @Boshen

### 🧪 Testing

- rolldown: should await for `toMatchFileSnapshot` (#5759) by @situ2001
- hmr: improve test of `import.meta.hot.invalidate` (#5747) by @hyf0

### ⚙️ Miscellaneous Tasks

- deps: lock file maintenance (#5765) by @renovate[bot]
- deps: lock file maintenance rust crates (#5763) by @renovate[bot]
- deps: lock file maintenance npm packages (#5762) by @renovate[bot]
- deps: update github-actions (#5755) by @renovate[bot]
- deps: update dependency tinybench to v5 (#5756) by @renovate[bot]
- deps: update github-actions (major) (#5757) by @renovate[bot]
- deps: update crate-ci/typos action to v1.35.4 (#5714) by
@renovate[bot]
- prepare-release: regenerate `binding.js` after version bump (#5704) by
@shulaoda
- deps: update dependency tsdown to v0.14.1 (#5705) by @renovate[bot]
- rollup-tests: skip occasionally failing test case (#5703) by @shulaoda
- update binding.js (#5702) by @shulaoda

Co-authored-by: sapphi-red <[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.

2 participants