You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The minimal required Node version is now 18.0.0 (#5142)
The browser build now relies on a WASM artifact that needs to be provided as well (#5073)
The NodeJS build now relies on an optional native binary; for unsupported platforms, users can use the @rollup/wasm-node package that has the same interface as Rollup but relies on WASM artifacts (#5073)
The INVALID_IMPORT_ASSERTION error code has been replaced with INVALID_IMPORT_ATTRIBUTE (#5073)
Rollup will now warn for @__PURE__ and @__NO_SIDE_EFFECTS__ annotations in invalid locations (#5165)
If an entry module starts with a shebang comment #!..., this comment will be prepended to the output for es and cjs formats (#5163)
File hashes will now use url-safe base64 encoded hashes (#5155)
The maximum hash length has been reduced to 22 characters (#5155)
The RollupWarning type has been removed in favor of the RollupLog type (#5147)
Changes to Rollup Options
Acorn plugins are no longer supported, the acornInjectPlugins option has been removed (#5073)
output.externalImportAssertions has been deprecated in favor of output.externalImportAttributes (#5073)
inlineDynamicImports, manualChunks and preserveModules have been removed on input option level: Please use the corresponding output options of the same names (#5143)
"assertions" have been replaced with "attributes" in various places of the plugin interface (#5073)
If the import of a module id is handled by the load hook of a plugin, rollup.watch no longer watches the actual file if the module id corresponds to a real path; if this is intended, then the plugin is responsible for calling this.addWatchFile for any dependency files (#5150)
The normalized input options provided by buildStart and other hooks no longer contain an onwarn handler; plugins should use onLog instead (#5147)
this.moduleIds has been removed from the plugin context: Use this.getModuleIds() instead (#5143)
The hasModuleSideEffects flag has been removed from the ModuleInfo returned by this.getModuleInfo(): Use moduleSideEffects on the ModuleInfo instead (#5143)
Features
Improve parsing speed by switching to a native SWC-based parser (#5073)
Rollup will now warn for @__PURE__ and @__NO_SIDE_EFFECTS__ annotations in invalid locations (#5165)
The parser is now exposed as a separate export parseAst (#5169)
Bug Fixes
Rollup no longer tries to watch virtual files if their name corresponds to an actual file name; instead, plugins handle watching via this.addWatchFile() (#5150)
Pull Requests
#5073: [v4.0] Switch parser to SWC and introduce native/WASM code (@lukastaegert)
📅 Schedule: Branch creation - "after 9am and before 5pm on the 2nd and 4th day instance on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 4.x releases. But if you manually upgrade to 4.x then Renovate will re-enable minor and patch updates automatically.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.
1 paths audited Performance: 96 (no change from production) Accessibility: 93 (no change from production) Best Practices: 100 (no change from production) SEO: 82 (no change from production) PWA: - View the detailed breakdown and full score reports
dependenciesPull requests that update a dependency file
2 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.29.4
->4.18.0
Release Notes
rollup/rollup (rollup)
v4.18.0
Compare Source
2024-05-22
Features
Pull Requests
v4.17.2
Compare Source
2024-04-30
Bug Fixes
Pull Requests
v4.17.1
Compare Source
2024-04-29
Bug Fixes
Pull Requests
v4.17.0
Compare Source
2024-04-27
Features
Bug Fixes
Pull Requests
v4.16.4
Compare Source
2024-04-23
Bug Fixes
Pull Requests
v4.16.3
Compare Source
2024-04-23
Bug Fixes
Pull Requests
v4.16.2
Compare Source
2024-04-22
Bug Fixes
Pull Requests
v4.16.1
Compare Source
2024-04-21
Bug Fixes
Pull Requests
v4.16.0
Compare Source
2024-04-21
Features
Pull Requests
v4.15.0
Compare Source
2024-04-20
Features
Pull Requests
v4.14.3
Compare Source
2024-04-15
Bug Fixes
Pull Requests
v4.14.2
Compare Source
2024-04-12
Bug Fixes
Pull Requests
v4.14.1
Compare Source
2024-04-07
Bug Fixes
Pull Requests
v4.14.0
Compare Source
2024-04-03
Features
Pull Requests
@shikiji/vitepress-twoslash
(@sapphi-red)v4.13.2
Compare Source
2024-03-28
Bug Fixes
Pull Requests
v4.13.1
Compare Source
2024-03-27
Bug Fixes
Pull Requests
v4.13.0
Compare Source
2024-03-12
Features
Pull Requests
v4.12.1
Compare Source
2024-03-06
Bug Fixes
Pull Requests
getRollupEror
togetRollupError
(@MrRefactoring)import.meta.ROLLUP_FILE_URL_referenceId
correctly (@sapphi-red)v4.12.0
Compare Source
2024-02-16
Features
Pull Requests
v4.11.0
Compare Source
2024-02-15
Features
output.reexportProtoFromExternal
option to disable special code for handling__proto__
reexports (#5380)Bug Fixes
const
variables (#5388)Pull Requests
__proto__
for compatibility with CJS Transpiler Re-exports (@TrickyPi)v4.10.0
Compare Source
2024-02-10
Features
output.hashCharacters
option (#5371)Bug Fixes
Pull Requests
v4.9.6
Compare Source
2024-01-21
Bug Fixes
Pull Requests
v4.9.5
Compare Source
2024-01-12
Bug Fixes
Pull Requests
v4.9.4
Compare Source
2024-01-06
Bug Fixes
Pull Requests
v4.9.3
Compare Source
2024-01-05
Bug Fixes
__proto__
as export/import name (#5313)Pull Requests
v4.9.2
Compare Source
2023-12-30
Bug Fixes
Pull Requests
v4.9.1
Compare Source
2023-12-17
Bug Fixes
Pull Requests
v4.9.0
Compare Source
2023-12-13
Features
Pull Requests
v4.8.0
Compare Source
2023-12-11
Features
experimentalMinChunkSize
to take already loaded modules from dynamic imports into account (#5294)Pull Requests
v4.7.0
Compare Source
2023-12-08
Features
Bug Fixes
Pull Requests
v4.6.1
Compare Source
2023-11-30
Bug Fixes
var
several times was considered a conflict (#5276)Pull Requests
v4.6.0
Compare Source
2023-11-26
Features
this.addWatchFile
in all plugin hooks (#5270)Bug Fixes
npm
issue (#5267)this
context inthis.addWatchFile
so it does not need to be bound when passed around (#5270)Pull Requests
v4.5.2
Compare Source
2023-11-24
Bug Fixes
Pull Requests
v4.5.1
Compare Source
2023-11-21
Bug Fixes
Pull Requests
v4.5.0
Compare Source
2023-11-18
Bug Fixes
Pull Requests
v4.4.1
Compare Source
2023-11-14
Bug Fixes
Pull Requests
v4.4.0
Compare Source
2023-11-12
Features
Bug Fixes
Pull Requests
v4.3.1
Compare Source
2023-11-11
Bug Fixes
--forceExit
(#5245)Pull Requests
v4.3.0
Compare Source
2023-11-03
Features
forceExit
CLI flag for situations where the CLI does not exit gracefully (#5195)Bug Fixes
Pull Requests
forceExit
CLI flag (@raphael-theriault-swi)ENOENT
error on temp config removal (@jzempel)v4.2.0
Compare Source
2023-10-31
Features
parseAstAsync
helper function (#5202)Pull Requests
parseAstAsync
and parallelize parsing AST (@sapphi-red)v4.1.6
Compare Source
2023-10-31
Bug Fixes
Pull Requests
v4.1.5
Compare Source
2023-10-28
Bug Fixes
Pull Requests
v4.1.4
Compare Source
2023-10-16
Bug Fixes
Pull Requests
v4.1.3
Compare Source
2023-10-15
Bug Fixes
Pull Requests
v4.1.1
Compare Source
2023-10-15
Bug Fixes
Pull Requests
v4.1.0
Compare Source
2023-10-14
Features
Pull Requests
onLog
(@tjenkinson)v4.0.2
Compare Source
2023-10-06
Bug Fixes
Pull Requests
v4.0.1
Compare Source
2023-10-06
Bug Fixes
Pull Requests
v4.0.0
Compare Source
2023-10-05
BREAKING CHANGES
General Changes
@rollup/wasm-node
package that has the same interface as Rollup but relies on WASM artifacts (#5073)INVALID_IMPORT_ASSERTION
error code has been replaced withINVALID_IMPORT_ATTRIBUTE
(#5073)@__PURE__
and@__NO_SIDE_EFFECTS__
annotations in invalid locations (#5165)#!...
, this comment will be prepended to the output fores
andcjs
formats (#5163)RollupWarning
type has been removed in favor of theRollupLog
type (#5147)Changes to Rollup Options
acornInjectPlugins
option has been removed (#5073)acorn
option has been removed (#5073)output.externalImportAssertions
has been deprecated in favor ofoutput.externalImportAttributes
(#5073)inlineDynamicImports
,manualChunks
andpreserveModules
have been removed on input option level: Please use the corresponding output options of the same names (#5143)output.experimentalDeepDynamicChunkOptimization
: This option is no longer needed as Rollup now always runs the full chunking algorithmoutput.dynamicImportFunction
: Use therenderDynamicImport
plugin hook insteadoutput.namespaceToStringTag
: Useoutput.generatedCode.symbols
insteadoutput.preferConst
: Useoutput.generatedCode.constBindings
insteadPlugin API Changes
this.resolve
, the default of theskipSelf
option is nowtrue
(#5142)this.parse
now only supports theallowReturnOutsideFunction
option for now (#5073)load
hook of a plugin,rollup.watch
no longer watches the actual file if the module id corresponds to a real path; if this is intended, then the plugin is responsible for callingthis.addWatchFile
for any dependency files (#5150)buildStart
and other hooks no longer contain anonwarn
handler; plugins should useonLog
instead (#5147)this.moduleIds
has been removed from the plugin context: Usethis.getModuleIds()
instead (#5143)hasModuleSideEffects
flag has been removed from theModuleInfo
returned bythis.getModuleInfo()
: UsemoduleSideEffects
on theModuleInfo
instead (#5143)Features
@__PURE__
and@__NO_SIDE_EFFECTS__
annotations in invalid locations (#5165)parseAst
(#5169)Bug Fixes
this.addWatchFile()
(#5150)Pull Requests
Configuration
📅 Schedule: Branch creation - "after 9am and before 5pm on the 2nd and 4th day instance on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.