馃帀 See Announcing Rslib 1.0 for more details
What's Changed
Breaking Changes 馃嵀
- feat!: update
lib.syntaxbrowserslist baselines by @elecmonkey in #1734 - feat(core)!: infer node syntax from engines by @elecmonkey in #1746
- refactor(core)!: remove advancedEsm experiment by @Timeless0911 in #1754
- refactor(dts)!: remove native-preview support by @Timeless0911 in #1760
- feat(core)!: use modern-module externals type for ESM by @Timeless0911 in #1672
- feat(dts)!: enable declaration extension redirects by default by @Timeless0911 in #1784
- feat(wasm)!: support wasm modules in ESM output with compile and preserve modes by @elecmonkey in #1726
- feat(core)!: support mode in inspectConfig by @Timeless0911 in #1812
- feat(core)!: support Web Worker in ESM output by @elecmonkey in #1774
- feat(core)!: enable createRequire parser by default by @elecmonkey in #1814
- feat(core)!: preserve
new URLassets as relative URLs by @elecmonkey in #1781 - fix(core)!: Revert "feat(core)!: enable createRequire parser by default (#1814)" by @elecmonkey in #1833
- refactor(create-rslib)!: simplify Node.js templates by @Timeless0911 in #1837
- fix(core)!: move URL parser to a dedicated module rule by @elecmonkey in #1831
- feat(core)!: preserve env presets instead of inlining by @elecmonkey in #1764
- feat(dts)!: move temporary declarations to .rstack by @Timeless0911 in #1895
New Features 馃帀
- feat(deps): upgrade rsbuild to 2.1.5 by @Timeless0911 in #1748
- feat(create-rslib): add Solid template and related documents by @elecmonkey in #1731
- feat: support shared lib config fields by @elecmonkey in #1755
- feat(core): allow omitting lib config by @elecmonkey in #1756
- feat(deps): upgrade rsbuild to 2.1.6 by @Timeless0911 in #1773
- feat(dts): support custom TypeScript path by @elecmonkey in #1767
- feat(deps): upgrade rsbuild to 2.1.7 by @chenjiahan in #1779
- feat(core): reuse Rsbuild restart lifecycle by @chenjiahan in #1782
- feat: support shared
formatconfig by @elecmonkey in #1796 - feat: support shared
dtsconfig by @elecmonkey in #1804 - feat(deps): update Rsbuild to v2.1.10 by @Timeless0911 in #1826
- feat(create-rslib): support --no-git by @chenjiahan in #1835
- feat(deps): update Rsbuild to v2.1.11 by @elecmonkey in #1842
- feat(deps): update Rsbuild and disable createRequire parser by @Timeless0911 in #1848
- feat(deps): upgrade Rsbuild to v2.2.0-beta.1 by @Timeless0911 in #1855
- feat(plugin-dts): support custom tsconfig for DTS bundling by @Timeless0911 in #1862
- feat(create-rslib): use bundleless mode for Svelte templates by @elecmonkey in #1861
- feat(deps): upgrade Rsbuild to 2.2.0-beta.2 by @Timeless0911 in #1865
- feat(deps): upgrade Rsbuild to 2.2.0-rc.0 by @Timeless0911 in #1868
- feat(deps): upgrade Rsbuild to 2.2.0 by @Timeless0911 in #1875
- feat(deps): upgrade Rsbuild to 2.2.2 by @Timeless0911 in #1890
Bug Fixes 馃悶
- fix(create-rslib): move reference types into tsconfig by @chenjiahan in #1750
- fix(core): correct CLI subcommand help by @chenjiahan in #1768
- fix(dts): refine TypeScript path handling by @Timeless0911 in #1775
- fix(core): remove deprecated autoExternal from shared lib config by @elecmonkey in #1778
- fix(core): avoid chunk filename conflicts in multi-compiler builds by @Timeless0911 in #1777
- fix(core): preserve async config inference by @chenjiahan in #1787
- fix(dts): count
optionalDependenciesin autoExternal by @elecmonkey in #1786 - fix(core): restore config key completions in defineConfig by @chenjiahan in #1841
- fix(create-rslib): remove redundant agent preamble by @Timeless0911 in #1852
- fix(create-rslib): add pnpm config to Svelte templates by @Timeless0911 in #1856
- fix: keep scheme-less loader requests bundled by @elecmonkey in #1860
- fix(core): avoid extracting unused Node archive files by @dajiaohuang in #1872
Refactor 馃敤
- refactor(dts): avoid duplicated error label in diagnostics by @Timeless0911 in #1747
- refactor(core): replace tsconfck with get-tsconfig by @Timeless0911 in #1757
- refactor(types): simplify mergeRslibConfig types by @Timeless0911 in #1763
- refactor: remove prebundle setup by @chenjiahan in #1771
- refactor: migrate
lib.autoExternaltooutput.autoExternalby @elecmonkey in #1641 - refactor(create-rslib): use Vue Test Utils in templates by @chenjiahan in #1834
- refactor(create-rslib): simplify framework templates by @Timeless0911 in #1840
- refactor(create-rslib): layer template tsconfigs by scope by @elecmonkey in #1854
- refactor: migrate to Rsbuild splitChunks config by @chenjiahan in #1863
Document 馃摉
- docs: fix static assets examples by @Timeless0911 in #1751
- docs: update preset type configuration by @Timeless0911 in #1752
- docs: refine configuration guides by @Timeless0911 in #1762
- docs: clarify declaration entry resolution by @Timeless0911 in #1792
- docs: refresh Rstack slogan by @chenjiahan in #1793
- docs: update documentation for Rslib v1 by @Timeless0911 in #1794
- docs: add Rslib v1 upgrade guide by @Timeless0911 in #1805
- docs: remove Modern.js Module migration documentation in v1 by @elecmonkey in #1808
- docs: fix WASM runtime support docs by @elecmonkey in #1813
- docs: refine Web Workers guide by @Timeless0911 in #1815
- docs: add FAQ for preserving webpack_require by @Timeless0911 in #1816
- docs: clarify TypeScript limitation note for wasm source imports by @elecmonkey in #1818
- docs: document Node.js addon support by @Timeless0911 in #1819
- docs: unify top-level configuration terminology by @elecmonkey in #1823
- docs: clarify new URL asset handling by @Timeless0911 in #1824
- docs: update v1 upgrade guide by @elecmonkey in #1817
- docs: how to bundle createRequire deps by @elecmonkey in #1838
- docs: expand environment variable guide by @Timeless0911 in #1844
- docs: document new URL directory reference limitation by @elecmonkey in #1843
- docs: refine new URL migration guidance by @Timeless0911 in #1851
- docs: fix outdated external links by @dajiaohuang in #1874
- docs: move LLMs UI to page outline by @chenjiahan in #1879
- docs: refresh Rslib features by @Timeless0911 in #1878
- docs: refresh Rslib introduction content by @Timeless0911 in #1881
- docs: update blog UI by @Timeless0911 in #1882
- docs: improve Rslib agent guidance by @Timeless0911 in #1894
Other Changes
- chore(deps): update all non-major dependencies by @renovate[bot] in #1745
- chore(create-rslib): update React peer range by @chenjiahan in #1749
- chore: move env references to tsconfig by @Timeless0911 in #1753
- chore(plugin-dts): require Rsbuild 2 peer by @Timeless0911 in #1758
- chore(deps): update dependency @rsbuild/plugin-yaml to v2 by @renovate[bot] in #1761
- chore(deps): update all non-major dependencies by @renovate[bot] in #1765
- chore(deps): update dependency @babel/core to v8 by @renovate[bot] in #1770
- chore(deps): update dependency magic-string to v1 by @renovate[bot] in #1772
- chore(deps): update all non-major dependencies by @renovate[bot] in #1776
- chore(deps): update vulnerable dependencies by @Timeless0911 in #1783
- chore(deps): update dependency @testing-library/jest-dom to v7 by @renovate[bot] in #1791
- chore(deps): update actions/setup-node action to v7 - autoclosed by @renovate[bot] in #1790
- chore(deps): update actions/checkout digest to 3d3c42e by @renovate[bot] in #1789
- chore(deps): migrate to pnpm catalogs by @Timeless0911 in #1795
- chore(deps): upgrade Rslib to 1.0.0-beta.1 by @Timeless0911 in #1797
- chore(deps): update all non-major dependencies by @renovate[bot] in #1799
- chore(deps): reorganize TypeScript catalogs by @Timeless0911 in #1803
- chore: upgrade Rsbuild to 2.1.9 by @elecmonkey in #1810
- chore(deps): update all non-major dependencies by @renovate[bot] in #1801
- chore(deps): update brace-expansion by @Timeless0911 in #1820
- test: cover Node.js addons in asset builds by @Timeless0911 in #1821
- test: improve createRequire parser coverage by @Timeless0911 in #1822
- chore(deps): update all non-major dependencies by @renovate[bot] in #1827
- chore(deps): upgrade Rslib to 1.0.0-beta.2 by @Timeless0911 in #1829
- chore(deps): replace create-rstack with create-toolkit by @chenjiahan in #1832
- chore(deps): update all non-major dependencies by @renovate[bot] in #1836
- test: skip
import.metawarning assertions in env-define integration test by @elecmonkey in #1846 - chore(deps): upgrade Rslib to 1.0.0-beta.3 by @Timeless0911 in #1849
- chore(deps): upgrade Rslint to v0.8.0 by @Timeless0911 in #1850
- chore(deps): update all non-major dependencies by @renovate[bot] in #1845
- chore(deps): upgrade Rslib to 1.0.0-rc.0 by @Timeless0911 in #1859
- chore(lint): enable Rstest lint rules by @elecmonkey in #1858
- chore(ci): allow ecosystem CI to update PR comments by @Timeless0911 in #1866
- chore(deps): update all non-major dependencies by @renovate[bot] in #1864
- chore(deps): upgrade @ast-grep/napi to v0.45.1 by @Timeless0911 in #1867
- chore(deps): upgrade Rslib to 1.0.0-rc.1 by @Timeless0911 in #1870
- chore(deps): upgrade Rslib to 1.0.0-rc.2 by @Timeless0911 in #1877
- chore(deps): migrate to @rstackjs/doc-ui v1.14.9 by @chenjiahan in #1880
- chore: migrate lint and format to Rstack CLI by @chenjiahan in #1884
- chore: migrate hooks and staged tasks to Rstack CLI by @chenjiahan in #1885
- chore: check formatting in CI by @chenjiahan in #1886
- chore(deps): update all non-major dependencies by @renovate[bot] in #1887
- chore: use heading-case as a formatter plugin by @chenjiahan in #1888
Full Changelog: v0.23.2...v1.0.0
