Releases: rollup/rollup
Releases Β· rollup/rollup
v4.6.0
4.6.0
2023-11-26
Features
- Allow
this.addWatchFile
in all plugin hooks (#5270)
Bug Fixes
- Show helpful error when native binaries are not installed due to an
npm
issue (#5267) - Do not access
this
context inthis.addWatchFile
so it does not need to be bound when passed around (#5270)
Pull Requests
- #5267: Add friendly error for npm bug (@sapphi-red)
- #5270: Allow this.addWatchFile in all hooks (@lukastaegert)
- #5272: Debug deployed graphs (@lukastaegert)
v4.5.2
v4.5.1
4.5.1
2023-11-21
Bug Fixes
- Do not error when a function expression uses the same name for a parameter and its id (#5262)
Pull Requests
- #5257: Fix graphs in docs, improve REPL colors (@lukastaegert)
- #5262: Allow function expression parameters to shadow the function id (@lukastaegert)
v4.5.0
4.5.0
2023-11-18
Bug Fixes
- Show a proper error when using native Rollup on armv7 musl Linux (#5255)
Pull Requests
- #5251: doc fix import assertions to attributes in API plugin development page (@lhapaipai)
- #5253: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5255: Error for armv7 musl build (@lukastaegert)
v4.4.1
4.4.1
2023-11-14
Bug Fixes
- Do not flag duplicate function declarations in function scopes as syntax errors (#5248)
Pull Requests
- #5248: Allow functions to redeclare vars and functions in function scopes (@lukastaegert)
v4.4.0
4.4.0
2023-11-12
Features
- Replace SWC linting with faster internal linting to error on duplicate declarations etc. (#5207)
Bug Fixes
- Show proper error when an entry exports non-existing bindings (#5207)
Pull Requests
- #5207: perf: run lint while constructing nodes (@sapphi-red)
v4.3.1
v4.3.0
4.3.0
2023-11-03
Features
- Add
forceExit
CLI flag for situations where the CLI does not exit gracefully (#5195)
Bug Fixes
- Properly catch errors when removing a temporary config file fails (#5198)
Pull Requests
- #5195: Add
forceExit
CLI flag (@raphael-theriault-swi) - #5198: fix: prevent
ENOENT
error on temp config removal (@jzempel) - #5237: chore: remove unused files and deps (@TrickyPi)
- #5238: chore(deps): update dependency eslint-plugin-unicorn to v49 (@renovate[bot])
- #5239: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
v4.2.0
4.2.0
2023-10-31
Features
- Run parsing in multiple threads and introduce
parseAstAsync
helper function (#5202)
Pull Requests
- #5202: perf: introduce
parseAstAsync
and parallelize parsing AST (@sapphi-red)
v4.1.6
4.1.6
2023-10-31
Bug Fixes
- Fix a bug where emtpy block comments in certain positions could freeze Rollup (#5231)
Pull Requests
- #5228: build: ensure rust toolchain components for linting are installed (@jerome-benoit)
- #5231: Render emtpy block comments after tree-shaken statements (@lukastaegert)
- #5232: Revert specifying rustfmt and clippy in toolchain file as it breaks REPL build (@lukastaegert)