Releases: rolldown/rolldown
v0.13.0
Important Changes
- node/rolldown: fix long time exit issue (#2135) (06b578c)
- hook filter (#2047) (6039415)
- node/rolldown: support
define
functionality (#1891) (43f6f22), closes #186 - node/rolldown: support
InputOptions#inject
(#1946) (9071d6a) - node: support CLI options. (#1963) (6d4ef7e), closes #1955
- node: support passing
custom
inPluginContext#resolve
(#1874) (6a61bad), closes /github.com/vitejs/vite/blob/main/packages/vite/src/node/plugins/resolve.ts#L181 - plugin/replace: objectGuards (#2121) (ea76b06), closes #2057 1#L46 /github.com/rollup/plugins/blob/master/packages/replace/src/index.js#L41
- plugin/replace: prevent assignment (#2093) (18ac29c), closes #2057 /github.com/rollup/plugins/blob/master/packages/replace/src/index.js#L77-L82
- rust/plugin: Support
custom
inPluginContextResolveOptions
(#1876) (0c6cae4), closes #1874 - rust/rolldown: support
inject
imports (#1933) (a2bb2ca) - rust: ensure consistency between scanned top-level symbols and scope's (#1742) (00d43e9)
- support
intro
andoutro
in plugins. (#1763) (b15d8c5), closes #1755 #1713 - support
output.esModule
option (#1812) (4999aed) - support
output.exports
forIIFE
format align with rollup. (#1691) (5418e1f), closes #1680 - support
output.footer
in plugins. (#1713) (536d5f7), closes #1702 /github.com/rolldown/rolldown/pull/1702#issuecomment-2248059655 - support
output.globals
for iife format (#1694) (8aad7d0), closes #1623 #1569 - support
output.inlineDynamicImports
option. (#2081) (63b932e), closes #1841 - support
output.intro
andoutput.outro
. (#1712) (964c5ee), closes #819 - support
OutputOptions#externalLiveBindings
(#1979) (cc41c94) - support
skipSelf
option inPluginContext.resolve
(#1703) (a18a8da), closes #1554 #819 /github.com/rollup/rollup/blob/28546b5821efcb72c2eb05f422d986524647a0e3/src/utils/PluginContext.ts#L78 - support flag for regex in plugin transform (#1969) (f4f6b49), closes #1914 #1915 /github.com/rolldown/rolldown/blob/6389d62f876a122df451d3e0151f79f59dd978cb/crates/rolldown_plugin_transform/src/lib.rs#L20-L25
- support flags for hybrid regex (#1915) (5ad5820), closes #1911
- support function for entry/chunkFileNames (#1834) (d023f2f)
- support loading dataurl as module. (#1741) (549e1e1), closes /github.com/evanw/esbuild/blob/main/internal/bundler_tests/snapshots/snapshots_loader.txt#L602
- support namespaced name and
output.extend
for IIFE format. (#1861) (bfae17d) - support plugin order (#1929) (d128866)
- transform plugin (#1914) (d37079a)
What's Changed
Please refer to https://github.com/rolldown/rolldown/blob/main/CHANGELOG.md.
New Contributors
- @DonIsaac made their first contribution in #1800
- @KermanX made their first contribution in #1732
- @yuyinws made their first contribution in #1996
- @Kreijstal made their first contribution in #2034
- @overlookmotel made their first contribution in #2040
- @hikomoon made their first contribution in #2134
Full Changelog: v0.12.2...v0.13.0
v0.12.2
What's Changed
- refactor: improve logic of
render_preliminary_assets
and add more comments by @hyf0 in #1622 - test(format/iife): add case of importing external modules by @hyf0 in #1624
- refactor: use
ArcStr
everywhere by @hyf0 in #1626 - feat: support output.name for iife by @underfin in #1627
- chore(deps): update npm-rolldown by @renovate in #1615
- feat(wip/css): use lightningcss as css compiler by @hyf0 in #1629
- refactor(rust): stop deriving
Clone
onModuleType
by @hyf0 in #1631 - feat(rust): Support accepting custom
ModuleType
by @hyf0 in #1632 - refactor(rust): tweak the data flow of
ModuleType
by @hyf0 in #1633 - chore(deps): update rust crate oxc_resolver to v1.10.1 by @renovate in #1635
- chore: update
.prettierignore
by @hyf0 in #1636 - chore(deps): update rust crate oxc_resolver to v1.10.2 by @renovate in #1638
- chore: add more comments on
ImportRecord
by @hyf0 in #1640 - chore: add remapping benchmark by @underfin in #1637
- feat: throw friendly warning message for ambiguous export by @shulaoda in #1634
- perf(sourcemap): lookup original token in parallel by @underfin in #1596
- refactor: rename
BuildError
toBuildDiagnostic
by @IWANABETHATGUY in #1641 - fix(node): fix type errors by @hi-ogawa in #1642
- feat: support banner hook by @komyg in #1419
- refactor: separate render chunk logic for different format by @underfin in #1644
- refactor(rust): improve naming related to
ModuleDefFormat
by @hyf0 in #1645 - refactor(rust/resolver): handle bundle-related resolve errors in one place by @hyf0 in #1646
- refactor(rust/resolver): rename
ResolvedRequestInfo
toResolvedId
by @hyf0 in #1647 - refactor(rust/resolver): make
EcmaModuleTask
holdResolveId
directly by @hyf0 in #1648 - refactor(rust/resolver): remove unnecessary
ResolvedPath
by @hyf0 in #1649 - refactor: add abstraction for rendering chunk imports targeting different format by @underfin in #1651
- refactor(rust): rename
ResourceId
toModuleId
by @hyf0 in #1650 - refactor(rust): change
pub mod format
tomod format
by @hyf0 in #1652 - refactor(rust): introduce
ModuleFactory
trait by @hyf0 in #1653 - chore: remove unreachable code by @IWANABETHATGUY in #1654
- fix: support banner/footer sync function by @underfin in #1657
- refactor: remove collapse_sourcemaps optional result by @underfin in #1658
- fix: external warning in dce/disable-tree-shaking by @IWANABETHATGUY in #1659
- chore: add render chunk remapping benchmark by @underfin in #1662
- chore: bump oxc to v0.21.0 by @Dunqing in #1656
- feat: better error report for ambiguous export by @shulaoda in #1661
- refactor(remapping): instante token in parallel by @underfin in #1666
- chore: add minify benchmark by @underfin in #1667
- fix: correct the behavior in texture or empty extension-customized file. by @7086cmd in #1668
- chore: add js side minify benchmark by @underfin in #1669
- feat: convert parsing errors of oxc to rolldown's errors with friendly messages by @shulaoda in #1670
- fix: the crate rolldown_ecmascript's test can't pass by @shulaoda in #1672
- refactor(rust): add
EcmaAstIdx
to indexEcmaAst
by @hyf0 in #1673 - refactor(rust): return
Module
instead ofEcmaModule
inEcmaModuleTask
by @hyf0 in #1674 - chore(deps): update npm-rolldown by @renovate in #1676
- chore(deps): update rust crates by @renovate in #1677
- docs(contrib): add
Code Styling
chapter and preferences on adding tests by @hyf0 in #1682 - fix: reexport star of a external module should be considered have side effect. by @IWANABETHATGUY in #1675
- chore: refactor sourcemap test by @underfin in #1685
- chore: 🤖 update generated binding format by @IWANABETHATGUY in #1686
- feat: support
output.exports
option. by @7086cmd in #1680 - ci: add FreeBSD x64 build by @Brooooooklyn in #1687
- fix: should include the dependencies if the module only has re-export… by @underfin in #1683
- chore(rolldown): add FreeBSD npm package by @Brooooooklyn in #1688
- release: v0.12.2 by @hyf0 in #1689
New Contributors
Full Changelog: v0.12.1...v0.12.2
v0.12.1
Important features
- Support minify output using
OutputOptions#minify
- Experimental output that strictly respect execution order #1568
- Support emit IIFE output
What's Changed
Please refer to https://github.com/rolldown/rolldown/blob/main/CHANGELOG.md.
New Contributors
- @rzvxa made their first contribution in #1560
- @brenner8023 made their first contribution in #1563
Full Changelog: v0.11.1...v0.12.1
v0.11.0
Browser support by stackblitz
With the hard work of @Brooooooklyn, you now could use rolldown in the StackBlitz.
What's Changed
Please refer to https://github.com/rolldown/rolldown/blob/main/CHANGELOG.md.
New Contributors
Full Changelog: v0.10.5...v0.11.0
v0.10.5
Important features
- Support bundling TypeScript
- Support configuring module types.
- Introduction for module types
What's Changed
Please refer to https://github.com/rolldown/rolldown/blob/main/CHANGELOG.md.
New Contributors
- @ikkz made their first contribution in #1345
- @komyg made their first contribution in #1413
- @thepassle made their first contribution in #1422
- @camc314 made their first contribution in #1440
- @AliceLanniste made their first contribution in #1369
Full Changelog: v0.10.4...v0.10.5
v0.10.4
What's Changed
Please refer to https://github.com/rolldown/rolldown/blob/main/CHANGELOG.md.
New Contributors
Full Changelog: v0.10.3...v0.10.4
v0.10.3
Important features
- Support
[hash]
placeholder inentryFileNames
andchunkFileNames
. - Support
output: 'cjs'
. - Support bundling
.json
files. - Tree shaking cares about
package.json#sideEffects
and__@PURE__
annotations. - Auto-exteranlize Node.js's builtin modules while targeting
platform: 'node'
.
Improved Rollup plugin compatibility
See #819.
Built and published with provenance
Now, you could see this mark in rolldown's homepage of npm.
More changes
Please refer to https://github.com/rolldown/rolldown/blob/main/CHANGELOG.md.
New Contributors
- @branchseer made their first contribution in #924
- @lucab made their first contribution in #945
- @PerfectPan made their first contribution in #984
- @adriencaccia made their first contribution in #1013
- @katungi made their first contribution in #1042
- @jackw made their first contribution in #1081
- @wangziling made their first contribution in #1191
- @emmanuel-ferdman made their first contribution in #1218
v0.10.0
What's Changed
pnpm add rolldown
Thanks to the original owner of the rolldown
package, we have switched the npm package name to just rolldown
!
⚠️ @rolldown/node
is now deprecated.
pnpm add rolldown@nightly
We have also set up automatic nightly releases under the nightly
npm dist tag. You can install the nightly version with pnpm add rolldown@nightly
.
v0.10.0
🚧 Notice
Rolldown is currently in active development and not usable for production yet.
To avoid conflicts with older versions of the rolldown
package, versioning for the new Rolldown bundler will start at 0.10.0
.
Since we could not follow semver exactly before we reach to 1.0.0. So the current version bumping strategies are:
- For non-breaking changes, we will bump a patch version. 0.10.0 -> 0.10.1
- For breaking changes, we will bump a minor version. 0.10.0 -> 0.11.0
More changes
Please refer to https://github.com/rolldown/rolldown/blob/main/CHANGELOG.md.
New Contributors
- @houyunlu made their first contribution in #173
- @milesj made their first contribution in #286
- @sxzz made their first contribution in #342
- @Brooooooklyn made their first contribution in #429
- @yyx990803 made their first contribution in #433
- @HerringtonDarkholme made their first contribution in #443
- @Boshen made their first contribution in #444
- @cunzaizhuyi made their first contribution in #447
- @xiaoxiangmoe made their first contribution in #449
- @suyanhanx made their first contribution in #454
- @edison1105 made their first contribution in #456
- @liulinboyi made their first contribution in #457
- @nawbc made their first contribution in #458
- @Innei made their first contribution in #459
- @fundon made their first contribution in #460
- @cijiugechu made their first contribution in #461
- @webfansplz made their first contribution in #462
- @browsnet made their first contribution in #463
- @Demivan made their first contribution in #465
- @liuseen-l made their first contribution in #470
- @KennanHunter made their first contribution in #474
- @patak-dev made their first contribution in #475
- @tmg0 made their first contribution in #480
- @maxchang3 made their first contribution in #482
- @Y80 made their first contribution in #487
- @renovate made their first contribution in #494
- @kirklin made their first contribution in #502
- @Gehbt made their first contribution in #472
- @ErKeLost made their first contribution in #481
- @zhoushaw made their first contribution in #516
- @shonya3 made their first contribution in #525
- @PengBoUESTC made their first contribution in #540
- @kazupon made their first contribution in #538
- @xjccc made their first contribution in #548
- @zackshen made their first contribution in #486
- @Dunqing made their first contribution in #551
- @zhazhazhu made their first contribution in #582
- @joinmouse made their first contribution in #583
- @talkor made their first contribution in #609
- @ryanxiang7 made their first contribution in #636
- @trivikr made their first contribution in #638
Full Changelog: https://github.com/rolldown/rolldown/commits/v0.10.0