Skip to content

Conversation

@Boshen
Copy link
Member

@Boshen Boshen commented Jul 17, 2025

This update reverts a minification change from the previous version.

The minifier removed assignments that may have side effects, more specifically

export var foo;
foo = 1;

This update reverts a minification change from the previous version.

The minifier removed assignments that may have side effects, more
specifically

```
export var foo;
foo = 1;
```
@Boshen Boshen self-assigned this Jul 17, 2025
@Boshen Boshen enabled auto-merge July 17, 2025 16:02
@netlify
Copy link

netlify bot commented Jul 17, 2025

Deploy Preview for rolldown-rs canceled.

Name Link
🔨 Latest commit ce78ebb
🔍 Latest deploy log https://app.netlify.com/projects/rolldown-rs/deploys/68791e6b9c15ce0008c04a88

@socket-security
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​oxc-project/​types@​0.77.1 ⏵ 0.77.210010070 +196 +1100
Updated@​oxc-project/​runtime@​0.77.1 ⏵ 0.77.2100 +110073 +196 +1100
Updatedoxc-transform@​0.77.1 ⏵ 0.77.29810088 +196 +1100
Updatedoxc-parser@​0.77.1 ⏵ 0.77.29810010096 +1100

View full report

@Boshen Boshen added this pull request to the merge queue Jul 17, 2025
Merged via the queue into main with commit 8a5fb75 Jul 17, 2025
27 checks passed
@Boshen Boshen deleted the 07-18-feat_rolldown_oxc_v0.77.2 branch July 17, 2025 16:15
@github-actions
Copy link
Contributor

Benchmarks Rust

group                                                        pr                                     target
-----                                                        --                                     ------
bundle/bundle@multi-duplicated-top-level-symbol              1.02     80.7±2.03ms        ? ?/sec    1.00     79.3±1.81ms        ? ?/sec
bundle/bundle@multi-duplicated-top-level-symbol-sourcemap    1.02     92.1±1.91ms        ? ?/sec    1.00     90.0±1.37ms        ? ?/sec
bundle/bundle@rome_ts                                        1.01    117.8±3.78ms        ? ?/sec    1.00    116.5±1.86ms        ? ?/sec
bundle/bundle@rome_ts-sourcemap                              1.00    139.4±1.56ms        ? ?/sec    1.00    138.9±2.18ms        ? ?/sec
bundle/bundle@threejs                                        1.02     43.4±1.20ms        ? ?/sec    1.00     42.8±0.89ms        ? ?/sec
bundle/bundle@threejs-sourcemap                              1.00     52.9±0.83ms        ? ?/sec    1.00     52.7±0.83ms        ? ?/sec
bundle/bundle@threejs10x                                     1.00    446.7±3.69ms        ? ?/sec    1.00    448.5±7.59ms        ? ?/sec
bundle/bundle@threejs10x-sourcemap                           1.01    535.4±5.21ms        ? ?/sec    1.00    532.5±4.22ms        ? ?/sec
scan/scan@rome_ts                                            1.01     91.7±2.65ms        ? ?/sec    1.00     90.9±2.74ms        ? ?/sec
scan/scan@threejs                                            1.00     31.8±0.44ms        ? ?/sec    1.01     32.2±2.04ms        ? ?/sec
scan/scan@threejs10x                                         1.00    330.2±3.00ms        ? ?/sec    1.00    330.4±3.79ms        ? ?/sec

shulaoda pushed a commit that referenced this pull request Jul 17, 2025
## [1.0.0-beta.28] - 2025-07-17

### 🚀 Features

- rolldown: oxc v0.77.2 (#5328) by @Boshen
- hmr: add `module` and `exports` parameters to CJS initializer
functions (#5322) by @hyf0
- rolldown_plugin_transform: align with `vitejs/rolldown-vite#318`
(#5318) by @shulaoda
- rolldown_plugin_transform: align with `vitejs/rolldown-vite#315`
(#5315) by @shulaoda
- hmr: automatically disable treeshaking in hmr (#5311) by @hyf0
- hmr: use `trait HmrAstBuilder` to unify ast construction (#5310) by
@hyf0
- rolldown_plugin_chunk_import_map: basic implementation (#5307) by
@shulaoda
- add `watch.onInvalidate` (#5239) by @situ2001
- rolldown_plugin_chunk_import_map: implement initial `render_chunk`
logic (#5306) by @shulaoda
- rolldown: oxc v0.77.1 (#5304) by @Boshen
- js: expose `experimental.incrementalBuild` option (#5300) by
@IWANABETHATGUY
- js: support `experimental.onDemandWrapping` option (#5299) by
@IWANABETHATGUY
- support on demand wrapping for entry chunk (#5291) by @IWANABETHATGUY
- rolldown_plugin_chunk_import_map: initialize (#5289) by @shulaoda
- show owner module id for "canonical name not found for" errors (#5288)
by @sapphi-red

### 🐛 Bug Fixes

- only transform VarDeclaration when enable `keepNames` (#5323) by
@IWANABETHATGUY
- keepNames with special Ifstmt (#5320) by @IWANABETHATGUY
- incremental watch panic when adding dynamic import (#5309) by
@IWANABETHATGUY
- make leaf module wrapping optimization opt-in (#5305) by
@IWANABETHATGUY
- `keepNames` should consider exportNamed function declaration (#5298)
by @IWANABETHATGUY
- undefined `process.versions` for browser build (#5295) by @sxzz
- sanitizeFileName: entry name should be sanitized (#5283) by @shulaoda
- minify-internal-exports: ensure minifying internal exports stably
(#5281) by @hyf0
- keep legal and annotation comments for `minify: 'dce-only'` (#5280) by
@sapphi-red
- unstable chunk generation when `preserveEntrySignatures: false` is
used (#5274) by @IWANABETHATGUY

### 🚜 Refactor

- pass the while CodegenOptions to `EcmaCompiler::minify` (#5279) by
@sapphi-red
- avoid iterate `canonical_exports` twice (#5276) by @IWANABETHATGUY

### 📚 Documentation

- pluginutils: add README file (#5262) by @TheAlexLichter

### ⚡ Performance

- inline function expression when rewriting `name` property with
`keepNames` enabled (#5321) by @IWANABETHATGUY
- rolldown_sourcemap: cache source id -> source text mapping (#5285) by
@Boshen
- rolldown_sourcemap: disable rayon (#5284) by @Boshen

### 🧪 Testing

- rust: prevent meaningless snapshot change from bumping oxc runtime
versions (#5312) by @hyf0

### ⚙️ Miscellaneous Tasks

- upgrade to NAPI-RS 3.0 stable (#5324) by @Brooooooklyn
- infra: add onlyBuiltDependencies (#5287) by @situ2001
- improve the order of import keys in the exports field (#5314) by @btea
- deps: update dependency rolldown-plugin-dts to v0.13.14 (#5293) by
@renovate[bot]
- deps: lock file maintenance rust crates (#5267) by @renovate[bot]
- deps: lock file maintenance npm packages (#5266) by @renovate[bot]
- deps: update github-actions (#5265) by @renovate[bot]

### ❤️ New Contributors

* @situ2001 made their first contribution in
[#5287](#5287)

Co-authored-by: IWANABETHATGUY <[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