Skip to content

chore(deps): update dependency rollup to v4 #2103

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 11, 2025
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 14, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
rollup (source) 2.79.2 -> 4.39.0 age adoption passing confidence
rollup (source) 3.29.5 -> 4.39.0 age adoption passing confidence

Release Notes

rollup/rollup (rollup)

v4.39.0

Compare Source

2025-04-02

Features
  • Do not create separate facade chunks if a chunk would contain several entry modules that allow export extension if there are no export name conflicts (#​5891)
Bug Fixes
  • Mark the id property as optional in the filter for the resolveId hook (#​5896)
Pull Requests

v4.38.0

Compare Source

2025-03-29

Features
  • Support .filter option in resolveId, load and transform hooks (#​5882)
Pull Requests

v4.37.0

Compare Source

2025-03-23

Features
  • Support Musl Linux on Riscv64 architectures (#​5726)
  • Handles class decorators placed before the export keyword (#​5871)
Bug Fixes
  • Log Rust panic messages to the console when using the WASM build (#​5875)
Pull Requests

v4.36.0

Compare Source

2025-03-17

Features
  • Extend renderDynamicImport hook to provide information about static dependencies of the imported module (#​5870)
  • Export several additional types used by Vite (#​5879)
Bug Fixes
  • Do not merge chunks if that would create a top-level await cycle between chunks (#​5843)
Pull Requests

v4.35.0

Compare Source

2025-03-08

Features
  • Pass build errors to the closeBundle hook (#​5867)
Pull Requests

v4.34.9

Compare Source

2025-03-01

Bug Fixes
  • Support JSX modes in WASM (#​5866)
  • Allow the CustomPluginOptions to be extended (#​5850)
Pull Requests

v4.34.8

Compare Source

2025-02-17

Bug Fixes
  • Do not make assumptions about the value of nested paths in logical expressions if the expression cannot be simplified (#​5846)
Pull Requests
  • #​5846: return UnknownValue if the usedbranch is unkown and the path is not empty (@​TrickyPi)

v4.34.7

Compare Source

2025-02-14

Bug Fixes
  • Ensure that calls to parameters are included correctly when using try-catch deoptimization (#​5842)
Pull Requests

v4.34.6

Compare Source

2025-02-07

Bug Fixes
  • Retain "void 0" in the output for smaller output and fewer surprises (#​5838)
Pull Requests

v4.34.5

Compare Source

2025-02-07

Bug Fixes
  • Ensure namespace reexports always include all properties of all exports (#​5837)
Pull Requests

v4.34.4

Compare Source

2025-02-05

Bug Fixes
  • Do not tree-shake properties if a rest element is used in destructuring (#​5833)
Pull Requests

v4.34.3

Compare Source

2025-02-05

Bug Fixes
  • Ensure properties of "this" are included in getters (#​5831)
Pull Requests

v4.34.2

Compare Source

2025-02-04

Bug Fixes
  • Fix an issue where not all usages of a function were properly detected (#​5827)
Pull Requests

v4.34.1

Compare Source

2025-02-03

Bug Fixes
  • Ensure throwing objects includes the entire object (#​5825)
Pull Requests

v4.34.0

Compare Source

2025-02-01

Features
  • Tree-shake unused properties in object literals (re-implements #​5420) (#​5737)
Pull Requests

v4.33.0

Compare Source

2025-02-01

Features
  • Correctly detect literal value of more negated expressions (#​5812)
Bug Fixes
  • Use the correct with/assert attribute key in dynamic imports (#​5818)
  • Fix an issue where logical expressions were considered to have the wrong value (#​5819)
Pull Requests

v4.32.1

Compare Source

2025-01-28

Bug Fixes
  • Fix possible crash when optimizing logical expressions (#​5804)
Pull Requests

v4.32.0

Compare Source

2025-01-24

Features
  • Add watch.onInvalidate option to trigger actions immediately when a file is changed (#​5799)
Bug Fixes
  • Fix incorrect urls in CLI warnings (#​5809)
Pull Requests

v4.31.0

Compare Source

2025-01-19

Features
  • Do not immediately quit when trying to use watch mode from within non-TTY environments (#​5803)
Bug Fixes
  • Handle files with more than one UTF-8 BOM header (#​5806)
Pull Requests

v4.30.1

Compare Source

2025-01-07

Bug Fixes
  • Prevent invalid code when simplifying unary expressions in switch cases (#​5786)
Pull Requests

v4.30.0

Compare Source

2025-01-06

Features
  • Inline values of resolvable unary expressions for improved tree-shaking (#​5775)
Pull Requests

v4.29.2

Compare Source

2025-01-05

Bug Fixes
  • Keep import attributes when using dynamic ESM import() expressions from CommonJS (#​5781)
Pull Requests

v4.29.1

Compare Source

2024-12-21

Bug Fixes
  • Fix crash from deoptimized logical expressions (#​5771)
Pull Requests

v4.29.0

Compare Source

2024-12-20

Features
  • Treat objects as truthy and always check second argument to better simplify logical expressions (#​5763)
Pull Requests

v4.28.1

Compare Source

2024-12-06

Bug Fixes
  • Support running Rollup natively on LoongArch (#​5749)
  • Add optional debugId to SourceMap types (#​5751)
Pull Requests

v4.28.0

Compare Source

2024-11-30

Features
  • Allow to specify how to handle import attributes when transpiling Rollup config files (#​5743)
Pull Requests

v4.27.4

Compare Source

2024-11-23

Bug Fixes
  • Update bundled magic-string to support sourcemap debug ids (#​5740)
Pull Requests

v4.27.3

Compare Source

2024-11-18

Bug Fixes
  • Revert object property tree-shaking for now (#​5736)
Pull Requests

v4.27.2

Compare Source

2024-11-15

Bug Fixes
  • Ensure unused variables in patterns are always deconflicted if rendered (#​5728)
Pull Requests

v4.27.1

Compare Source

2024-11-15

Bug Fixes
  • Fix some situations where parameter declarations could put Rollup into an infinite loop (#​5727)
Pull Requests

v4.27.0

Compare Source

2024-11-15

Features
  • Tree-shake unused properties in object literals (#​5420)
Bug Fixes
  • Change hash length limit to 21 to avoid inconsistent hash length (#​5423)
Pull Requests

v4.26.0

Compare Source

2024-11-13

Features
  • Allow to avoid await bundle.close() via explicit resource management in TypeScript (#​5721)
Pull Requests

v4.25.0

Compare Source

2024-11-09

Features
  • Add output.sourcemapDebugIds option to add matching debug ids to sourcemaps and code for tools like Sentry or Rollbar (#​5712)
Bug Fixes
  • Make it easier to manually reproduce base16 hashes by using a more standard base16 conversion algorithm (#​5719)
Pull Requests

v4.24.4

Compare Source

2024-11-04

Bug Fixes
  • Ensure mutations by handlers in Proxy definitions are always respected when tree-shaking (#​5713)
Pull Requests

v4.24.3

Compare Source

2024-10-29

Bug Fixes
  • Slightly reduce memory consumption by specifying fixed array sizes where possible (#​5703)
Pull Requests

v4.24.2

Compare Source

2024-10-27

Bug Fixes
  • Add missing build dependency (#​5705)
Pull Requests

v4.24.1

Compare Source

2024-10-27

Bug Fixes
  • Support running Rollup natively on FreeBSD (#​5698)
Pull Requests

v4.24.0

Compare Source

2024-10-02

Features
  • Support preserving and transpiling JSX syntax (#​5668)
Pull Requests

v4.23.0

Compare Source

2024-10-01

Features
  • Collect all emitted names and originalFileNames for assets (#​5686)
Pull Requests

v4.22.5

Compare Source

2024-09-27

Bug Fixes
  • Allow parsing of certain unicode characters again (#​5674)
Pull Requests

v4.22.4

Compare Source

2024-09-21

Bug Fixes
  • Fix a vulnerability in generated code that affects IIFE, UMD and CJS bundles when run in a browser context (#​5671)
Pull Requests

v4.22.3

Compare Source

2024-09-21

Bug Fixes
  • Ensure that mutations in modules without side effects are observed while properly handling transitive dependencies (#​5669)
Pull Requests

v4.22.2

Compare Source

2024-09-20

Bug Fixes
  • Revert fix for side effect free modules until other issues are investigated (#​5667)
Pull Requests

v4.22.1

Compare Source

2024-09-20

Bug Fixes
  • Revert #​5644 "stable chunk hashes" while issues are being investigated
Pull Requests

v4.22.0

Compare Source

2024-09-19

Features
  • Add additional known global values to avoid access side effects (#​5651)
Bug Fixes
  • Ensure deterministic chunk hash generation despite async renderChunk hook (#​5644)
  • Improve side effect detection when using "smallest" treeshaking preset when imports are optimized away (#​5658)
Pull Requests

v4.21.3

Compare Source

2024-09-12

Bug Fixes
  • Always respect side effects in left-hand side of optional chain (#​5642)
  • Update stack trace for augmented errors to not hide relevant information (#​5640)
Pull Requests

v4.21.2

Compare Source

2024-08-30

Bug Fixes
  • Handle IIFE/UMD namespace definitions conflicting with a builtin property (#​5605)
Pull Requests

v4.21.1

Compare Source

2024-08-26

Bug Fixes
  • Ensure closeWatcher hook is called when watch mode is aborted via Ctrl+C (#​5618)
  • Do not produce invalid code for import.meta.url in compact mode (#​5624)
  • Do not throw when generating chunk names when preserving modules in Windows (#​5625)
Pull Requests

v4.21.0

Compare Source

2024-08-18

Features
  • Add option to configure directory for virtual modules when preserving modules (#​5602)
Pull Requests

v4.20.0

Compare Source

2024-08-03

Features
  • Allow plugins to specify the original file name when emitting assets (#​5596)
Pull Requests

v4.19.2

Compare Source

2024-08-01

Bug Fixes
  • Avoid "cannot get value of null" error when using optional chaining with namespaces (#​5597)
Pull Requests

v4.19.1

Compare Source

2024-07-27

Bug Fixes
  • Do not remove parantheses when tree-shaking logical expressions (#​5584)
  • Do not ignore side effects in calls left of an optional chaining operator (#​5589)
Pull Requests

v4.19.0

Compare Source

2024-07-20

Features
  • Implement support for decorators (#​5562)
Bug Fixes
  • Improve soucemap generation when tree-shaking l

Configuration

📅 Schedule: Branch creation - "after 2am every weekday,before 5am every weekday" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).

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

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • 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 added the deps Renovate PRs label Feb 14, 2025
Copy link

aspect-workflows bot commented Feb 14, 2025

Test

All tests were cache hits

225 tests (100.0%) were fully cached saving 32s.


Test

e2e/bzlmod

All tests were cache hits

5 tests (100.0%) were fully cached saving 502ms.


Test

e2e/gyp_no_install_script

All tests were cache hits

2 tests (100.0%) were fully cached saving 151ms.


Test

e2e/js_image_oci

All tests were cache hits

1 test (100.0%) was fully cached saving 2s.


Test

e2e/npm_link_package

All tests were cache hits

3 tests (100.0%) were fully cached saving 448ms.


Test

e2e/npm_link_package-esm

All tests were cache hits

3 tests (100.0%) were fully cached saving 533ms.


Test

e2e/npm_translate_lock

All tests were cache hits

1 test (100.0%) was fully cached saving 30ms.


Test

e2e/npm_translate_lock_empty

All tests were cache hits

1 test (100.0%) was fully cached saving 30ms.


Test

e2e/npm_translate_lock_multi

All tests were cache hits

2 tests (100.0%) were fully cached saving 268ms.


Test

e2e/npm_translate_lock_partial_clone

All tests were cache hits

1 test (100.0%) was fully cached saving 31ms.


Test

e2e/npm_translate_lock_replace_packages

All tests were cache hits

3 tests (100.0%) were fully cached saving 603ms.


Test

e2e/npm_translate_lock_subdir_patch

All tests were cache hits

1 test (100.0%) was fully cached saving 98ms.


Test

e2e/npm_translate_package_lock

All tests were cache hits

1 test (100.0%) was fully cached saving 31ms.


Test

e2e/npm_translate_yarn_lock

All tests were cache hits

1 test (100.0%) was fully cached saving 31ms.


Test

e2e/package_json_module

All tests were cache hits

1 test (100.0%) was fully cached saving 253ms.


Test

e2e/pnpm_lockfiles

All tests were cache hits

42 tests (100.0%) were fully cached saving 3s.


Test

e2e/pnpm_workspace

All tests were cache hits

10 tests (100.0%) were fully cached saving 2s.


Test

e2e/pnpm_workspace_rerooted

All tests were cache hits

12 tests (100.0%) were fully cached saving 2s.


Test

e2e/repo_mapping

All tests were cache hits

3 tests (100.0%) were fully cached saving 404ms.


Test

e2e/rules_foo

All tests were cache hits

2 tests (100.0%) were fully cached saving 187ms.


Test

e2e/runfiles

All tests were cache hits

1 test (100.0%) was fully cached saving 173ms.


Test

e2e/vendored_node

All tests were cache hits

1 test (100.0%) was fully cached saving 99ms.


Buildifier      Format

@renovate renovate bot force-pushed the renovate/rollup-4.x branch 7 times, most recently from b61943f to 3cb5df2 Compare February 19, 2025 18:09
@renovate renovate bot force-pushed the renovate/rollup-4.x branch 4 times, most recently from de2bbf9 to d2803c4 Compare March 4, 2025 19:03
@renovate renovate bot force-pushed the renovate/rollup-4.x branch 6 times, most recently from b054ea0 to 3297661 Compare March 12, 2025 18:02
@renovate renovate bot force-pushed the renovate/rollup-4.x branch 5 times, most recently from bebad67 to 340da18 Compare March 18, 2025 17:06
@renovate renovate bot force-pushed the renovate/rollup-4.x branch 6 times, most recently from ab5664a to a068c8b Compare March 24, 2025 15:42
@renovate renovate bot force-pushed the renovate/rollup-4.x branch 4 times, most recently from a6472b6 to e1bb397 Compare March 29, 2025 06:44
@renovate renovate bot force-pushed the renovate/rollup-4.x branch 9 times, most recently from 2fd6ac3 to 32a9422 Compare April 6, 2025 20:33
@jbedard jbedard force-pushed the renovate/rollup-4.x branch from 32a9422 to 0c3d1a0 Compare April 11, 2025 20:21
@jbedard jbedard enabled auto-merge (squash) April 11, 2025 20:23
@jbedard jbedard force-pushed the renovate/rollup-4.x branch from 0c3d1a0 to e3e48bf Compare April 11, 2025 20:52
@renovate renovate bot force-pushed the renovate/rollup-4.x branch from e3e48bf to 38ffc8f Compare April 11, 2025 20:56
@jbedard jbedard force-pushed the renovate/rollup-4.x branch 2 times, most recently from 87e581e to 58af4b0 Compare April 11, 2025 21:17
@jbedard jbedard force-pushed the renovate/rollup-4.x branch from 58af4b0 to 0875319 Compare April 11, 2025 21:21
@jbedard jbedard merged commit f681d69 into main Apr 11, 2025
108 of 109 checks passed
@jbedard jbedard deleted the renovate/rollup-4.x branch April 11, 2025 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deps Renovate PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant