v0.12.2
版本发布时间: 2024-07-23 14:36:17
rolldown/rolldown最新发布版本:v0.12.2(2024-07-23 14:36:17)
What's Changed
- refactor: improve logic of
render_preliminary_assets
and add more comments by @hyf0 in https://github.com/rolldown/rolldown/pull/1622 - test(format/iife): add case of importing external modules by @hyf0 in https://github.com/rolldown/rolldown/pull/1624
- refactor: use
ArcStr
everywhere by @hyf0 in https://github.com/rolldown/rolldown/pull/1626 - feat: support output.name for iife by @underfin in https://github.com/rolldown/rolldown/pull/1627
- chore(deps): update npm-rolldown by @renovate in https://github.com/rolldown/rolldown/pull/1615
- feat(wip/css): use lightningcss as css compiler by @hyf0 in https://github.com/rolldown/rolldown/pull/1629
- refactor(rust): stop deriving
Clone
onModuleType
by @hyf0 in https://github.com/rolldown/rolldown/pull/1631 - feat(rust): Support accepting custom
ModuleType
by @hyf0 in https://github.com/rolldown/rolldown/pull/1632 - refactor(rust): tweak the data flow of
ModuleType
by @hyf0 in https://github.com/rolldown/rolldown/pull/1633 - chore(deps): update rust crate oxc_resolver to v1.10.1 by @renovate in https://github.com/rolldown/rolldown/pull/1635
- chore: update
.prettierignore
by @hyf0 in https://github.com/rolldown/rolldown/pull/1636 - chore(deps): update rust crate oxc_resolver to v1.10.2 by @renovate in https://github.com/rolldown/rolldown/pull/1638
- chore: add more comments on
ImportRecord
by @hyf0 in https://github.com/rolldown/rolldown/pull/1640 - chore: add remapping benchmark by @underfin in https://github.com/rolldown/rolldown/pull/1637
- feat: throw friendly warning message for ambiguous export by @shulaoda in https://github.com/rolldown/rolldown/pull/1634
- perf(sourcemap): lookup original token in parallel by @underfin in https://github.com/rolldown/rolldown/pull/1596
- refactor: rename
BuildError
toBuildDiagnostic
by @IWANABETHATGUY in https://github.com/rolldown/rolldown/pull/1641 - fix(node): fix type errors by @hi-ogawa in https://github.com/rolldown/rolldown/pull/1642
- feat: support banner hook by @komyg in https://github.com/rolldown/rolldown/pull/1419
- refactor: separate render chunk logic for different format by @underfin in https://github.com/rolldown/rolldown/pull/1644
- refactor(rust): improve naming related to
ModuleDefFormat
by @hyf0 in https://github.com/rolldown/rolldown/pull/1645 - refactor(rust/resolver): handle bundle-related resolve errors in one place by @hyf0 in https://github.com/rolldown/rolldown/pull/1646
- refactor(rust/resolver): rename
ResolvedRequestInfo
toResolvedId
by @hyf0 in https://github.com/rolldown/rolldown/pull/1647 - refactor(rust/resolver): make
EcmaModuleTask
holdResolveId
directly by @hyf0 in https://github.com/rolldown/rolldown/pull/1648 - refactor(rust/resolver): remove unnecessary
ResolvedPath
by @hyf0 in https://github.com/rolldown/rolldown/pull/1649 - refactor: add abstraction for rendering chunk imports targeting different format by @underfin in https://github.com/rolldown/rolldown/pull/1651
- refactor(rust): rename
ResourceId
toModuleId
by @hyf0 in https://github.com/rolldown/rolldown/pull/1650 - refactor(rust): change
pub mod format
tomod format
by @hyf0 in https://github.com/rolldown/rolldown/pull/1652 - refactor(rust): introduce
ModuleFactory
trait by @hyf0 in https://github.com/rolldown/rolldown/pull/1653 - chore: remove unreachable code by @IWANABETHATGUY in https://github.com/rolldown/rolldown/pull/1654
- fix: support banner/footer sync function by @underfin in https://github.com/rolldown/rolldown/pull/1657
- refactor: remove collapse_sourcemaps optional result by @underfin in https://github.com/rolldown/rolldown/pull/1658
- fix: external warning in dce/disable-tree-shaking by @IWANABETHATGUY in https://github.com/rolldown/rolldown/pull/1659
- chore: add render chunk remapping benchmark by @underfin in https://github.com/rolldown/rolldown/pull/1662
- chore: bump oxc to v0.21.0 by @Dunqing in https://github.com/rolldown/rolldown/pull/1656
- feat: better error report for ambiguous export by @shulaoda in https://github.com/rolldown/rolldown/pull/1661
- refactor(remapping): instante token in parallel by @underfin in https://github.com/rolldown/rolldown/pull/1666
- chore: add minify benchmark by @underfin in https://github.com/rolldown/rolldown/pull/1667
- fix: correct the behavior in texture or empty extension-customized file. by @7086cmd in https://github.com/rolldown/rolldown/pull/1668
- chore: add js side minify benchmark by @underfin in https://github.com/rolldown/rolldown/pull/1669
- feat: convert parsing errors of oxc to rolldown's errors with friendly messages by @shulaoda in https://github.com/rolldown/rolldown/pull/1670
- fix: the crate rolldown_ecmascript's test can't pass by @shulaoda in https://github.com/rolldown/rolldown/pull/1672
- refactor(rust): add
EcmaAstIdx
to indexEcmaAst
by @hyf0 in https://github.com/rolldown/rolldown/pull/1673 - refactor(rust): return
Module
instead ofEcmaModule
inEcmaModuleTask
by @hyf0 in https://github.com/rolldown/rolldown/pull/1674 - chore(deps): update npm-rolldown by @renovate in https://github.com/rolldown/rolldown/pull/1676
- chore(deps): update rust crates by @renovate in https://github.com/rolldown/rolldown/pull/1677
- docs(contrib): add
Code Styling
chapter and preferences on adding tests by @hyf0 in https://github.com/rolldown/rolldown/pull/1682 - fix: reexport star of a external module should be considered have side effect. by @IWANABETHATGUY in https://github.com/rolldown/rolldown/pull/1675
- chore: refactor sourcemap test by @underfin in https://github.com/rolldown/rolldown/pull/1685
- chore: 🤖 update generated binding format by @IWANABETHATGUY in https://github.com/rolldown/rolldown/pull/1686
- feat: support
output.exports
option. by @7086cmd in https://github.com/rolldown/rolldown/pull/1680 - ci: add FreeBSD x64 build by @Brooooooklyn in https://github.com/rolldown/rolldown/pull/1687
- fix: should include the dependencies if the module only has re-export… by @underfin in https://github.com/rolldown/rolldown/pull/1683
- chore(rolldown): add FreeBSD npm package by @Brooooooklyn in https://github.com/rolldown/rolldown/pull/1688
- release: v0.12.2 by @hyf0 in https://github.com/rolldown/rolldown/pull/1689
New Contributors
- @shulaoda made their first contribution in https://github.com/rolldown/rolldown/pull/1634
- @hi-ogawa made their first contribution in https://github.com/rolldown/rolldown/pull/1642
Full Changelog: https://github.com/rolldown/rolldown/compare/v0.12.1...v0.12.2