rollup/rollup
### [`v2.51.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2511)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.51.0...v2.51.1)
*2021-06-08*
##### Bug Fixes
- Fix error when using `defineConfig` ([#4134](https://togithub.com/rollup/rollup/issues/4134))
##### Pull Requests
- [#4134](https://togithub.com/rollup/rollup/pull/4134): export `rollup.defineConfig` at runtime ([@mshrtsr](https://togithub.com/mshrtsr))
### [`v2.51.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2510)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.50.6...v2.51.0)
*2021-06-06*
##### Features
- Add a helper for IntelliSense support in config files ([#4127](https://togithub.com/rollup/rollup/issues/4127))
##### Bug Fixes
- Improve performance when generating source maps ([#4122](https://togithub.com/rollup/rollup/issues/4122))
##### Pull Requests
- [#4122](https://togithub.com/rollup/rollup/pull/4122): User Map to optimize performance ([@izevo](https://togithub.com/izevo))
- [#4127](https://togithub.com/rollup/rollup/pull/4127): Export defineConfig defines the auxiliary function of the configuration ([@rxliuli](https://togithub.com/rxliuli))
### [`v2.50.6`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2506)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.50.5...v2.50.6)
*2021-06-03*
##### Bug Fixes
- Do not consider the object spread operator as side effect when `propertyReadSideEffects` are false ([#4119](https://togithub.com/rollup/rollup/issues/4119))
- Detect side effects when returning thenables from async arrow functions ([#4120](https://togithub.com/rollup/rollup/issues/4120))
##### Pull Requests
- [#4119](https://togithub.com/rollup/rollup/pull/4119): Respect propertyReadSideEffects in spread elements ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4120](https://togithub.com/rollup/rollup/pull/4120): Detect async arrow thenable side effects ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.50.5`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2505)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.50.4...v2.50.5)
*2021-05-30*
##### Bug Fixes
- Detect side effects when accessing thenables ([#4115](https://togithub.com/rollup/rollup/issues/4115))
##### Pull Requests
- [#4114](https://togithub.com/rollup/rollup/pull/4114): use `colorette` instead of `turbocolor` ([@ryuever](https://togithub.com/ryuever))
- [#4115](https://togithub.com/rollup/rollup/pull/4115): Tracks side effects of thenables ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.50.4`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2504)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.50.3...v2.50.4)
*2021-05-29*
##### Bug Fixes
- Fix a situation where tree-shaking would stop including nodes prematurely ([#4111](https://togithub.com/rollup/rollup/issues/4111))
- Track mutations and accessor side effects when using `__proto__` in an object literal ([#4112](https://togithub.com/rollup/rollup/issues/4112))
- Check for getter effects when spreading an object ([#4113](https://togithub.com/rollup/rollup/issues/4113))
##### Pull Requests
- [#4111](https://togithub.com/rollup/rollup/pull/4111): Always request a new tree-shaking pass when deoptimizations of a node are first included ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4112](https://togithub.com/rollup/rollup/pull/4112): Actually set the prototype when using a **proto** property ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4113](https://togithub.com/rollup/rollup/pull/4113): Track access side effects when using object spread operator ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.50.3`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2503)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.50.2...v2.50.3)
*2021-05-28*
##### Bug Fixes
- Wrap parentheses around leading elements in simplified sequence expressions if this would otherwise lead to invalid code ([#4110](https://togithub.com/rollup/rollup/issues/4110))
- Do not associate block soped variables in catch clauses with the clause parameter ([#4108](https://togithub.com/rollup/rollup/issues/4108))
- Do not associate hoisted variables in catch clauses with outside variables if they match the parameter ([#4108](https://togithub.com/rollup/rollup/issues/4108))
- Use correct "this" context for tagged template literal member expressions in simplified sequences ([#4110](https://togithub.com/rollup/rollup/issues/4110))
##### Pull Requests
- [#4108](https://togithub.com/rollup/rollup/pull/4108): Correctly handle catch declarations ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4110](https://togithub.com/rollup/rollup/pull/4110): Invalid sequence expression simplification ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.50.2`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2502)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.50.1...v2.50.2)
*2021-05-27*
##### Bug Fixes
- Avoid unnecessary side effects when using methods like `.filter` and `.map` ([#4103](https://togithub.com/rollup/rollup/issues/4103))
- Avoid crash when a module with moduleSideEffects no-treeshake imports a tree-shaken module ([#4104](https://togithub.com/rollup/rollup/issues/4104))
##### Pull Requests
- [#4103](https://togithub.com/rollup/rollup/pull/4103): Do not track side-effect-free array methods as side effects ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4104](https://togithub.com/rollup/rollup/pull/4104): Fix crash when using inlineDynamicImports with no-treeshake ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.50.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2501)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.50.0...v2.50.1)
*2021-05-26*
##### Bug Fixes
- Do not associate pure annotations in simplified expressions with wrong elements ([#4095](https://togithub.com/rollup/rollup/issues/4095))
- Prevent invalid code when simplified conditionals start with an IIFE function expression ([#4099](https://togithub.com/rollup/rollup/issues/4099))
##### Pull Requests
- [#4095](https://togithub.com/rollup/rollup/pull/4095): Correctly associate pure annotations and remove invalid ones ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4099](https://togithub.com/rollup/rollup/pull/4099): Wrap leading function expression iifes in conditionals ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.50.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2500)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.49.0...v2.50.0)
*2021-05-25*
##### Features
- Only include last elements of comma expressions if they are used or have side effects ([#4087](https://togithub.com/rollup/rollup/issues/4087))
##### Bug Fixes
- Prevent a crash that could occur when calling object methods ([#4091](https://togithub.com/rollup/rollup/issues/4091))
##### Pull Requests
- [#4085](https://togithub.com/rollup/rollup/pull/4085): Switch to ESLint ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4087](https://togithub.com/rollup/rollup/pull/4087): Drop unused last sequence element ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4091](https://togithub.com/rollup/rollup/pull/4091): Prevent crash for recursive "this" deoptimization ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.49.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2490)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.48.0...v2.49.0)
*2021-05-23*
##### Features
- Detect side-effect-free static class methods and properties ([#4018](https://togithub.com/rollup/rollup/issues/4018))
- Detect side-effect-free array elements ([#4018](https://togithub.com/rollup/rollup/issues/4018))
- Do not apply deoptimizations from dead code ([#4018](https://togithub.com/rollup/rollup/issues/4018))
##### Bug Fixes
- Handle side effect detection for getters and setters added in untracked code ([#4018](https://togithub.com/rollup/rollup/issues/4018))
- Track "this" mutations for methods, getters and setters ([#4018](https://togithub.com/rollup/rollup/issues/4018))
##### Pull Requests
- [#4018](https://togithub.com/rollup/rollup/pull/4018): Class method effects ([@marijnh](https://togithub.com/marijnh) and [@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.48.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2480)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.47.0...v2.48.0)
*2021-05-15*
##### Features
- Add replacement to conditionally insert asset extensions in `entryFileNames` when preserving modules ([#4077](https://togithub.com/rollup/rollup/issues/4077))
##### Bug Fixes
- Fix crash when dynamically assigning to namespace members ([#4070](https://togithub.com/rollup/rollup/issues/4070))
- Do not associate pure annotations in front of a semi-colon or comma with succeeding code ([#4068](https://togithub.com/rollup/rollup/issues/4068))
##### Pull Requests
- [#4068](https://togithub.com/rollup/rollup/pull/4068): ignore invalid trailing pure annotations ([@kzc](https://togithub.com/kzc))
- [#4070](https://togithub.com/rollup/rollup/pull/4070): undefined `deoptimizePath` when the first element is empty string ([@si3nloong](https://togithub.com/si3nloong))
- [#4071](https://togithub.com/rollup/rollup/pull/4071): add node.js v16 support ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4077](https://togithub.com/rollup/rollup/pull/4077): Add assetExtname replacement in entryFileNames ([@BPScott](https://togithub.com/BPScott))
- [#4080](https://togithub.com/rollup/rollup/pull/4080): Added Rollup logo in README.md ([@priyanshurav](https://togithub.com/priyanshurav))
- [#4081](https://togithub.com/rollup/rollup/pull/4081): fix comment regarding invalid annotation handling ([@kzc](https://togithub.com/kzc))
### [`v2.47.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2470)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.46.0...v2.47.0)
*2021-05-04*
##### Features
- Warn about ambiguous imports from combined external namespace reexports ([#4064](https://togithub.com/rollup/rollup/issues/4064))
- In case of combined namespace reexports, always prefer local exports over external namespaces ([#4064](https://togithub.com/rollup/rollup/issues/4064))
- Treat conflicting names in local namespace reexports as undefined ([#4064](https://togithub.com/rollup/rollup/issues/4064))
##### Pull Requests
- [#4064](https://togithub.com/rollup/rollup/pull/4064): Prefer locally defined exports and reexports over external namespaces ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.46.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2460)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.45.2...v2.46.0)
*2021-04-29*
##### Features
- Add option to disable file name sanitation ([#4058](https://togithub.com/rollup/rollup/issues/4058))
- Add information about importers to unused external import warning ([#4054](https://togithub.com/rollup/rollup/issues/4054))
##### Pull Requests
- [#4042](https://togithub.com/rollup/rollup/pull/4042): Use Github actions only ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4045](https://togithub.com/rollup/rollup/pull/4045): Fix REPL artefact branch reference ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4046](https://togithub.com/rollup/rollup/pull/4046): Use codecov action for coverage ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4054](https://togithub.com/rollup/rollup/pull/4054): Add to `UNUSED_EXTERNAL_IMPORT` warning information about the origin of the problem ([@cawa-93](https://togithub.com/cawa-93))
- [#4058](https://togithub.com/rollup/rollup/pull/4058): Add sanitizeFileName option ([@guybedford](https://togithub.com/guybedford))
### [`v2.45.2`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2452)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.45.1...v2.45.2)
*2021-04-13*
##### Bug Fixes
- Do not user a dynamic entry file name for naming a manual chunk ([#4040](https://togithub.com/rollup/rollup/issues/4040))
##### Pull Requests
- [#4040](https://togithub.com/rollup/rollup/pull/4040): Prioritize manual chunk name over dynamic entry id ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.45.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2451)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.45.0...v2.45.1)
*2021-04-10*
##### Bug Fixes
- Handle falsy return values from async plugin options hooks ([#4039](https://togithub.com/rollup/rollup/issues/4039))
##### Pull Requests
- [#4039](https://togithub.com/rollup/rollup/pull/4039): Do not fail when returning null or undefined from an async options hook ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.45.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2450)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.44.0...v2.45.0)
*2021-04-09*
##### Features
- Support private class instance methods and accessors ([#4034](https://togithub.com/rollup/rollup/issues/4034))
##### Pull Requests
- [#4034](https://togithub.com/rollup/rollup/pull/4034): feat: add support for private class methods ([@dnalborczyk](https://togithub.com/dnalborczyk))
### [`v2.44.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2440)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.43.1...v2.44.0)
*2021-03-29*
##### Features
- Add a new option `makeAbsoluteExternalsRelative` to opt out of renormalizing absolute external ids to relative ids ([#4021](https://togithub.com/rollup/rollup/issues/4021))
- Extend the `resolveId` plugin hook to allow forcing or preventing renormalization of absolute external ids ([#4021](https://togithub.com/rollup/rollup/issues/4021))
- Make the rendered code of individual modules available in the generated bundle ([#4028](https://togithub.com/rollup/rollup/issues/4028))
##### Bug Fixes
- Handle objects with `__proto__` properties correctly ([#4019](https://togithub.com/rollup/rollup/issues/4019))
##### Pull Requests
- [#4019](https://togithub.com/rollup/rollup/pull/4019): Deoptimize ObjectExpression when a `__proto__` property is present ([@marijnh](https://togithub.com/marijnh))
- [#4021](https://togithub.com/rollup/rollup/pull/4021): Improve absolute path handling ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4026](https://togithub.com/rollup/rollup/pull/4026): chore: fix vscode launch config (change tdd to bdd) ([@jameslahm](https://togithub.com/jameslahm))
- [#4027](https://togithub.com/rollup/rollup/pull/4027): Post comment for PRs from forks ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4028](https://togithub.com/rollup/rollup/pull/4028): Expose rendered module code to generateBundle hook ([@btd](https://togithub.com/btd))
### [`v2.43.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2431)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.43.0...v2.43.1)
*2021-03-28*
##### Bug Fixes
- Prevent infinite recursions in certain scenarios when calling object properties ([#4025](https://togithub.com/rollup/rollup/issues/4025))
##### Pull Requests
- [#4025](https://togithub.com/rollup/rollup/pull/4025): Handle recursive this mutation detection ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.43.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2430)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.42.4...v2.43.0)
*2021-03-27*
##### Features
- Track side effects of function properties in objects for better tree-shaking ([#4011](https://togithub.com/rollup/rollup/issues/4011))
##### Pull Requests
- [#4011](https://togithub.com/rollup/rollup/pull/4011): Disable pessimistic object deoptimization for calls when the called function doesn't ref this ([@marijnh](https://togithub.com/marijnh))
- [#4012](https://togithub.com/rollup/rollup/pull/4012): fix `sourcemap` reference in docs ([@tjenkinson](https://togithub.com/tjenkinson))
- [#4015](https://togithub.com/rollup/rollup/pull/4015): Use SIGTERM instead of SIGINT to kill test child processes in tests ([@marijnh](https://togithub.com/marijnh))
### [`v2.42.4`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2424)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.42.3...v2.42.4)
*2021-03-24*
##### Bug Fixes
- Do not discard plugin return values when using perf option ([#4010](https://togithub.com/rollup/rollup/issues/4010))
##### Pull Requests
- [#4010](https://togithub.com/rollup/rollup/pull/4010): Return hook result inside promise with async timer end ([@SuperOleg39](https://togithub.com/SuperOleg39))
### [`v2.42.3`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2423)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.42.2...v2.42.3)
*2021-03-22*
##### Bug Fixes
- Do not ignore `#__PURE__` comments in front of optional chaining expressions ([#4007](https://togithub.com/rollup/rollup/issues/4007))
##### Pull Requests
- [#4007](https://togithub.com/rollup/rollup/pull/4007): Tree-shake pure call expressions with optional chaining ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.42.2`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2422)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.42.1...v2.42.2)
*2021-03-22*
##### Bug Fixes
- Use correct import.meta.url in relative imports from transpiled config files ([#4005](https://togithub.com/rollup/rollup/issues/4005))
##### Pull Requests
- [#4005](https://togithub.com/rollup/rollup/pull/4005): Use correct import.meta.url in config files ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.42.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2421)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.42.0...v2.42.1)
*2021-03-20*
##### Bug Fixes
- Do not produce unhandled Promise rejections when plugins throw while using the `perf` option ([#4004](https://togithub.com/rollup/rollup/issues/4004))
##### Pull Requests
- [#4004](https://togithub.com/rollup/rollup/pull/4004): Fixed unhandled promise rejections ([@gluck](https://togithub.com/gluck))
### [`v2.42.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2420)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.41.5...v2.42.0)
*2021-03-19*
##### Features
- Prevent infinite loops when several plugins are using `this.resolve` in their resolveId hook ([#4000](https://togithub.com/rollup/rollup/issues/4000))
##### Pull Requests
- [#4000](https://togithub.com/rollup/rollup/pull/4000): Break infinite loops in this.resolve ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.41.5`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2415)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.41.4...v2.41.5)
*2021-03-18*
##### Bug Fixes
- Make sure unused property accesses of external namespaces can be tree-shaken ([#4001](https://togithub.com/rollup/rollup/issues/4001))
##### Pull Requests
- [#4001](https://togithub.com/rollup/rollup/pull/4001): Do not count accessing members of an external namespace as side-effects ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.41.4`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2414)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.41.3...v2.41.4)
*2021-03-16*
##### Bug Fixes
- Do not replace external namespace imports with individual named imports to avoid changing behaviour with regard to missing exports ([#3999](https://togithub.com/rollup/rollup/issues/3999))
##### Pull Requests
- [#3999](https://togithub.com/rollup/rollup/pull/3999): Allow to safely probe external namespaces ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.41.3`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2413)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.41.2...v2.41.3)
*2021-03-16*
##### Bug Fixes
- Always retain arguments passed to empty object pattern parameters ([#3998](https://togithub.com/rollup/rollup/issues/3998))
##### Pull Requests
- [#3998](https://togithub.com/rollup/rollup/pull/3998): Do not create invalid code if a function argument is an empty object pattern ([@lukastaegert](https://togithub.com/lukastaegert))
Configuration
š Schedule: 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 contains the following updates:
2.41.2
->2.51.1
Release Notes
rollup/rollup
### [`v2.51.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2511) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.51.0...v2.51.1) *2021-06-08* ##### Bug Fixes - Fix error when using `defineConfig` ([#4134](https://togithub.com/rollup/rollup/issues/4134)) ##### Pull Requests - [#4134](https://togithub.com/rollup/rollup/pull/4134): export `rollup.defineConfig` at runtime ([@mshrtsr](https://togithub.com/mshrtsr)) ### [`v2.51.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2510) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.50.6...v2.51.0) *2021-06-06* ##### Features - Add a helper for IntelliSense support in config files ([#4127](https://togithub.com/rollup/rollup/issues/4127)) ##### Bug Fixes - Improve performance when generating source maps ([#4122](https://togithub.com/rollup/rollup/issues/4122)) ##### Pull Requests - [#4122](https://togithub.com/rollup/rollup/pull/4122): User Map to optimize performance ([@izevo](https://togithub.com/izevo)) - [#4127](https://togithub.com/rollup/rollup/pull/4127): Export defineConfig defines the auxiliary function of the configuration ([@rxliuli](https://togithub.com/rxliuli)) ### [`v2.50.6`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2506) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.50.5...v2.50.6) *2021-06-03* ##### Bug Fixes - Do not consider the object spread operator as side effect when `propertyReadSideEffects` are false ([#4119](https://togithub.com/rollup/rollup/issues/4119)) - Detect side effects when returning thenables from async arrow functions ([#4120](https://togithub.com/rollup/rollup/issues/4120)) ##### Pull Requests - [#4119](https://togithub.com/rollup/rollup/pull/4119): Respect propertyReadSideEffects in spread elements ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4120](https://togithub.com/rollup/rollup/pull/4120): Detect async arrow thenable side effects ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.50.5`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2505) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.50.4...v2.50.5) *2021-05-30* ##### Bug Fixes - Detect side effects when accessing thenables ([#4115](https://togithub.com/rollup/rollup/issues/4115)) ##### Pull Requests - [#4114](https://togithub.com/rollup/rollup/pull/4114): use `colorette` instead of `turbocolor` ([@ryuever](https://togithub.com/ryuever)) - [#4115](https://togithub.com/rollup/rollup/pull/4115): Tracks side effects of thenables ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.50.4`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2504) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.50.3...v2.50.4) *2021-05-29* ##### Bug Fixes - Fix a situation where tree-shaking would stop including nodes prematurely ([#4111](https://togithub.com/rollup/rollup/issues/4111)) - Track mutations and accessor side effects when using `__proto__` in an object literal ([#4112](https://togithub.com/rollup/rollup/issues/4112)) - Check for getter effects when spreading an object ([#4113](https://togithub.com/rollup/rollup/issues/4113)) ##### Pull Requests - [#4111](https://togithub.com/rollup/rollup/pull/4111): Always request a new tree-shaking pass when deoptimizations of a node are first included ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4112](https://togithub.com/rollup/rollup/pull/4112): Actually set the prototype when using a **proto** property ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4113](https://togithub.com/rollup/rollup/pull/4113): Track access side effects when using object spread operator ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.50.3`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2503) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.50.2...v2.50.3) *2021-05-28* ##### Bug Fixes - Wrap parentheses around leading elements in simplified sequence expressions if this would otherwise lead to invalid code ([#4110](https://togithub.com/rollup/rollup/issues/4110)) - Do not associate block soped variables in catch clauses with the clause parameter ([#4108](https://togithub.com/rollup/rollup/issues/4108)) - Do not associate hoisted variables in catch clauses with outside variables if they match the parameter ([#4108](https://togithub.com/rollup/rollup/issues/4108)) - Use correct "this" context for tagged template literal member expressions in simplified sequences ([#4110](https://togithub.com/rollup/rollup/issues/4110)) ##### Pull Requests - [#4108](https://togithub.com/rollup/rollup/pull/4108): Correctly handle catch declarations ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4110](https://togithub.com/rollup/rollup/pull/4110): Invalid sequence expression simplification ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.50.2`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2502) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.50.1...v2.50.2) *2021-05-27* ##### Bug Fixes - Avoid unnecessary side effects when using methods like `.filter` and `.map` ([#4103](https://togithub.com/rollup/rollup/issues/4103)) - Avoid crash when a module with moduleSideEffects no-treeshake imports a tree-shaken module ([#4104](https://togithub.com/rollup/rollup/issues/4104)) ##### Pull Requests - [#4103](https://togithub.com/rollup/rollup/pull/4103): Do not track side-effect-free array methods as side effects ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4104](https://togithub.com/rollup/rollup/pull/4104): Fix crash when using inlineDynamicImports with no-treeshake ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.50.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2501) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.50.0...v2.50.1) *2021-05-26* ##### Bug Fixes - Do not associate pure annotations in simplified expressions with wrong elements ([#4095](https://togithub.com/rollup/rollup/issues/4095)) - Prevent invalid code when simplified conditionals start with an IIFE function expression ([#4099](https://togithub.com/rollup/rollup/issues/4099)) ##### Pull Requests - [#4095](https://togithub.com/rollup/rollup/pull/4095): Correctly associate pure annotations and remove invalid ones ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4099](https://togithub.com/rollup/rollup/pull/4099): Wrap leading function expression iifes in conditionals ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.50.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2500) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.49.0...v2.50.0) *2021-05-25* ##### Features - Only include last elements of comma expressions if they are used or have side effects ([#4087](https://togithub.com/rollup/rollup/issues/4087)) ##### Bug Fixes - Prevent a crash that could occur when calling object methods ([#4091](https://togithub.com/rollup/rollup/issues/4091)) ##### Pull Requests - [#4085](https://togithub.com/rollup/rollup/pull/4085): Switch to ESLint ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4087](https://togithub.com/rollup/rollup/pull/4087): Drop unused last sequence element ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4091](https://togithub.com/rollup/rollup/pull/4091): Prevent crash for recursive "this" deoptimization ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.49.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2490) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.48.0...v2.49.0) *2021-05-23* ##### Features - Detect side-effect-free static class methods and properties ([#4018](https://togithub.com/rollup/rollup/issues/4018)) - Detect side-effect-free array elements ([#4018](https://togithub.com/rollup/rollup/issues/4018)) - Do not apply deoptimizations from dead code ([#4018](https://togithub.com/rollup/rollup/issues/4018)) ##### Bug Fixes - Handle side effect detection for getters and setters added in untracked code ([#4018](https://togithub.com/rollup/rollup/issues/4018)) - Track "this" mutations for methods, getters and setters ([#4018](https://togithub.com/rollup/rollup/issues/4018)) ##### Pull Requests - [#4018](https://togithub.com/rollup/rollup/pull/4018): Class method effects ([@marijnh](https://togithub.com/marijnh) and [@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.48.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2480) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.47.0...v2.48.0) *2021-05-15* ##### Features - Add replacement to conditionally insert asset extensions in `entryFileNames` when preserving modules ([#4077](https://togithub.com/rollup/rollup/issues/4077)) ##### Bug Fixes - Fix crash when dynamically assigning to namespace members ([#4070](https://togithub.com/rollup/rollup/issues/4070)) - Do not associate pure annotations in front of a semi-colon or comma with succeeding code ([#4068](https://togithub.com/rollup/rollup/issues/4068)) ##### Pull Requests - [#4068](https://togithub.com/rollup/rollup/pull/4068): ignore invalid trailing pure annotations ([@kzc](https://togithub.com/kzc)) - [#4070](https://togithub.com/rollup/rollup/pull/4070): undefined `deoptimizePath` when the first element is empty string ([@si3nloong](https://togithub.com/si3nloong)) - [#4071](https://togithub.com/rollup/rollup/pull/4071): add node.js v16 support ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4077](https://togithub.com/rollup/rollup/pull/4077): Add assetExtname replacement in entryFileNames ([@BPScott](https://togithub.com/BPScott)) - [#4080](https://togithub.com/rollup/rollup/pull/4080): Added Rollup logo in README.md ([@priyanshurav](https://togithub.com/priyanshurav)) - [#4081](https://togithub.com/rollup/rollup/pull/4081): fix comment regarding invalid annotation handling ([@kzc](https://togithub.com/kzc)) ### [`v2.47.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2470) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.46.0...v2.47.0) *2021-05-04* ##### Features - Warn about ambiguous imports from combined external namespace reexports ([#4064](https://togithub.com/rollup/rollup/issues/4064)) - In case of combined namespace reexports, always prefer local exports over external namespaces ([#4064](https://togithub.com/rollup/rollup/issues/4064)) - Treat conflicting names in local namespace reexports as undefined ([#4064](https://togithub.com/rollup/rollup/issues/4064)) ##### Pull Requests - [#4064](https://togithub.com/rollup/rollup/pull/4064): Prefer locally defined exports and reexports over external namespaces ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.46.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2460) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.45.2...v2.46.0) *2021-04-29* ##### Features - Add option to disable file name sanitation ([#4058](https://togithub.com/rollup/rollup/issues/4058)) - Add information about importers to unused external import warning ([#4054](https://togithub.com/rollup/rollup/issues/4054)) ##### Pull Requests - [#4042](https://togithub.com/rollup/rollup/pull/4042): Use Github actions only ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4045](https://togithub.com/rollup/rollup/pull/4045): Fix REPL artefact branch reference ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4046](https://togithub.com/rollup/rollup/pull/4046): Use codecov action for coverage ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4054](https://togithub.com/rollup/rollup/pull/4054): Add to `UNUSED_EXTERNAL_IMPORT` warning information about the origin of the problem ([@cawa-93](https://togithub.com/cawa-93)) - [#4058](https://togithub.com/rollup/rollup/pull/4058): Add sanitizeFileName option ([@guybedford](https://togithub.com/guybedford)) ### [`v2.45.2`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2452) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.45.1...v2.45.2) *2021-04-13* ##### Bug Fixes - Do not user a dynamic entry file name for naming a manual chunk ([#4040](https://togithub.com/rollup/rollup/issues/4040)) ##### Pull Requests - [#4040](https://togithub.com/rollup/rollup/pull/4040): Prioritize manual chunk name over dynamic entry id ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.45.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2451) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.45.0...v2.45.1) *2021-04-10* ##### Bug Fixes - Handle falsy return values from async plugin options hooks ([#4039](https://togithub.com/rollup/rollup/issues/4039)) ##### Pull Requests - [#4039](https://togithub.com/rollup/rollup/pull/4039): Do not fail when returning null or undefined from an async options hook ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.45.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2450) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.44.0...v2.45.0) *2021-04-09* ##### Features - Support private class instance methods and accessors ([#4034](https://togithub.com/rollup/rollup/issues/4034)) ##### Pull Requests - [#4034](https://togithub.com/rollup/rollup/pull/4034): feat: add support for private class methods ([@dnalborczyk](https://togithub.com/dnalborczyk)) ### [`v2.44.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2440) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.43.1...v2.44.0) *2021-03-29* ##### Features - Add a new option `makeAbsoluteExternalsRelative` to opt out of renormalizing absolute external ids to relative ids ([#4021](https://togithub.com/rollup/rollup/issues/4021)) - Extend the `resolveId` plugin hook to allow forcing or preventing renormalization of absolute external ids ([#4021](https://togithub.com/rollup/rollup/issues/4021)) - Make the rendered code of individual modules available in the generated bundle ([#4028](https://togithub.com/rollup/rollup/issues/4028)) ##### Bug Fixes - Handle objects with `__proto__` properties correctly ([#4019](https://togithub.com/rollup/rollup/issues/4019)) ##### Pull Requests - [#4019](https://togithub.com/rollup/rollup/pull/4019): Deoptimize ObjectExpression when a `__proto__` property is present ([@marijnh](https://togithub.com/marijnh)) - [#4021](https://togithub.com/rollup/rollup/pull/4021): Improve absolute path handling ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4026](https://togithub.com/rollup/rollup/pull/4026): chore: fix vscode launch config (change tdd to bdd) ([@jameslahm](https://togithub.com/jameslahm)) - [#4027](https://togithub.com/rollup/rollup/pull/4027): Post comment for PRs from forks ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4028](https://togithub.com/rollup/rollup/pull/4028): Expose rendered module code to generateBundle hook ([@btd](https://togithub.com/btd)) ### [`v2.43.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2431) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.43.0...v2.43.1) *2021-03-28* ##### Bug Fixes - Prevent infinite recursions in certain scenarios when calling object properties ([#4025](https://togithub.com/rollup/rollup/issues/4025)) ##### Pull Requests - [#4025](https://togithub.com/rollup/rollup/pull/4025): Handle recursive this mutation detection ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.43.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2430) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.42.4...v2.43.0) *2021-03-27* ##### Features - Track side effects of function properties in objects for better tree-shaking ([#4011](https://togithub.com/rollup/rollup/issues/4011)) ##### Pull Requests - [#4011](https://togithub.com/rollup/rollup/pull/4011): Disable pessimistic object deoptimization for calls when the called function doesn't ref this ([@marijnh](https://togithub.com/marijnh)) - [#4012](https://togithub.com/rollup/rollup/pull/4012): fix `sourcemap` reference in docs ([@tjenkinson](https://togithub.com/tjenkinson)) - [#4015](https://togithub.com/rollup/rollup/pull/4015): Use SIGTERM instead of SIGINT to kill test child processes in tests ([@marijnh](https://togithub.com/marijnh)) ### [`v2.42.4`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2424) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.42.3...v2.42.4) *2021-03-24* ##### Bug Fixes - Do not discard plugin return values when using perf option ([#4010](https://togithub.com/rollup/rollup/issues/4010)) ##### Pull Requests - [#4010](https://togithub.com/rollup/rollup/pull/4010): Return hook result inside promise with async timer end ([@SuperOleg39](https://togithub.com/SuperOleg39)) ### [`v2.42.3`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2423) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.42.2...v2.42.3) *2021-03-22* ##### Bug Fixes - Do not ignore `#__PURE__` comments in front of optional chaining expressions ([#4007](https://togithub.com/rollup/rollup/issues/4007)) ##### Pull Requests - [#4007](https://togithub.com/rollup/rollup/pull/4007): Tree-shake pure call expressions with optional chaining ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.42.2`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2422) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.42.1...v2.42.2) *2021-03-22* ##### Bug Fixes - Use correct import.meta.url in relative imports from transpiled config files ([#4005](https://togithub.com/rollup/rollup/issues/4005)) ##### Pull Requests - [#4005](https://togithub.com/rollup/rollup/pull/4005): Use correct import.meta.url in config files ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.42.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2421) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.42.0...v2.42.1) *2021-03-20* ##### Bug Fixes - Do not produce unhandled Promise rejections when plugins throw while using the `perf` option ([#4004](https://togithub.com/rollup/rollup/issues/4004)) ##### Pull Requests - [#4004](https://togithub.com/rollup/rollup/pull/4004): Fixed unhandled promise rejections ([@gluck](https://togithub.com/gluck)) ### [`v2.42.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2420) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.41.5...v2.42.0) *2021-03-19* ##### Features - Prevent infinite loops when several plugins are using `this.resolve` in their resolveId hook ([#4000](https://togithub.com/rollup/rollup/issues/4000)) ##### Pull Requests - [#4000](https://togithub.com/rollup/rollup/pull/4000): Break infinite loops in this.resolve ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.41.5`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2415) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.41.4...v2.41.5) *2021-03-18* ##### Bug Fixes - Make sure unused property accesses of external namespaces can be tree-shaken ([#4001](https://togithub.com/rollup/rollup/issues/4001)) ##### Pull Requests - [#4001](https://togithub.com/rollup/rollup/pull/4001): Do not count accessing members of an external namespace as side-effects ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.41.4`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2414) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.41.3...v2.41.4) *2021-03-16* ##### Bug Fixes - Do not replace external namespace imports with individual named imports to avoid changing behaviour with regard to missing exports ([#3999](https://togithub.com/rollup/rollup/issues/3999)) ##### Pull Requests - [#3999](https://togithub.com/rollup/rollup/pull/3999): Allow to safely probe external namespaces ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.41.3`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2413) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.41.2...v2.41.3) *2021-03-16* ##### Bug Fixes - Always retain arguments passed to empty object pattern parameters ([#3998](https://togithub.com/rollup/rollup/issues/3998)) ##### Pull Requests - [#3998](https://togithub.com/rollup/rollup/pull/3998): Do not create invalid code if a function argument is an empty object pattern ([@lukastaegert](https://togithub.com/lukastaegert))Configuration
š Schedule: 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 WhiteSource Renovate. View repository job log here.